/**
 * Illuminati Estates – Gold & Navy brand + Phase 9 luxury polish
 */
:root {
  --background-color: #f8f9fb;
  --default-color: #4a5568;
  --heading-color: #0a1628;
  --accent-color: #c9a227;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
  --nav-color: #0a1628;
  --nav-hover-color: #c9a227;
  --nav-dropdown-hover-color: #c9a227;
}

.dark-background {
  --background-color: #0a1628;
  --default-color: #e2e8f0;
  --heading-color: #ffffff;
  --surface-color: #1a2744;
  --contrast-color: #ffffff;
}

.accent-background {
  --background-color: #0a1628;
  --default-color: #e2e8f0;
  --heading-color: #ffffff;
  --accent-color: #c9a227;
  --surface-color: #1a2744;
  --contrast-color: #ffffff;
}

.btn-search,
.btn-main,
.call-to-action .cta-btn,
.properties .search-btn,
.hero .btn-search {
  background-color: #c9a227 !important;
  border-color: #c9a227 !important;
  color: #0a1628 !important;
}

.btn-search:hover,
.btn-main:hover,
.call-to-action .cta-btn:hover {
  background-color: #b08e1f !important;
  border-color: #b08e1f !important;
  color: #0a1628 !important;
}

/* Primary / secondary CTA links – proper button appearance site-wide */
.btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.2;
  text-decoration: none !important;
  border: 1px solid #c9a227;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-main i {
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.btn-main:hover i {
  transform: translateX(2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.2;
  text-decoration: none !important;
  background: #fff;
  color: #0a1628 !important;
  border: 1px solid #cbd5e1;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-secondary:hover {
  background: #fffbeb;
  border-color: #c9a227;
  color: #0a1628 !important;
}

.section-cta {
  text-align: center;
  margin-top: 1.5rem;
}

.section-cta .btn-main,
.section-cta .btn-secondary {
  min-width: 200px;
}

.scroll-top {
  background: #c9a227;
  color: #0a1628;
}

.scroll-top:hover {
  background: #b08e1f;
  color: #0a1628;
}

.section-title h2::after {
  background: #c9a227;
}

.hero-badge,
.topic-badge,
.tag-featured,
.status-badge {
  background-color: rgba(201, 162, 39, 0.15);
  color: #c9a227;
}

a {
  color: #1a2744;
}

a:hover {
  color: #c9a227;
}

/* Phase 9 additions below */

/* Typography */
body {
  font-family: "Roboto", system-ui, sans-serif;
  color: #4a5568;
}

h1, h2, h3, h4, h5, h6,
.sitename,
.logo-name {
  font-family: "Montserrat", "Segoe UI", sans-serif;
  letter-spacing: -0.02em;
}

/* Tone down template hero effects */
.hero .bg-effects,
.hero .gradient-orb,
.hero .grid-pattern {
  opacity: 0.35;
}

.hero.luxury-hero {
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.hero.luxury-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.hero.luxury-hero .hero-lead {
  max-width: 720px;
  margin: 1rem auto 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #64748b;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.75rem;
}

.btn-luxury-primary,
.btn-luxury-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-luxury-primary {
  background: #c9a227;
  color: #0a1628 !important;
  border: 1px solid #c9a227;
}

.btn-luxury-primary:hover {
  background: #b08e1f;
  border-color: #b08e1f;
  color: #0a1628 !important;
}

.btn-luxury-outline {
  background: transparent;
  color: #0a1628 !important;
  border: 1px solid #cbd5e1;
}

.btn-luxury-outline:hover {
  border-color: #c9a227;
  color: #0a1628 !important;
}

/* Text logo lockup */
.logo-text-lockup {
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
  gap: 0.65rem;
  line-height: 1;
}

.header .branding .logo-text-lockup {
  flex-shrink: 0;
}

.logo-text-lockup .logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0a1628 0%, #1a2744 100%);
  color: #c9a227;
  font-size: 1.1rem;
  flex-shrink: 0;
  line-height: 1;
}

.logo-text-lockup .logo-mark i {
  display: block;
  line-height: 1;
}

.logo-text-lockup .logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
}

.logo-text-lockup .logo-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0a1628;
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin: 0;
}

.logo-text-lockup .logo-tagline {
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #c9a227;
  line-height: 1.2;
  margin: 0;
}

.footer .logo-text-lockup .logo-name {
  color: #fff;
}

.footer .logo-text-lockup .logo-tagline {
  color: rgba(201, 162, 39, 0.9);
}

/* Gold labels */
.gold-label,
.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c9a227;
  margin-bottom: 0.75rem;
}

/* Property stat cards */
.property-stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}

.property-stat-card {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 8px;
  padding: 1rem 1.1rem;
  text-align: center;
}

.property-stat-card .stat-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: 0.35rem;
}

.property-stat-card .stat-value {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0a1628;
  line-height: 1.35;
}

.property-stat-card.stat-price .stat-value {
  color: #c9a227;
  font-size: 1.05rem;
}

/* Property detail sections */
.property-section-block {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 10px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

.property-section-block h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0a1628;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #eef2f6;
}

.property-section-block .lead-text,
.property-detail-content .rich-content.lead-text {
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.7;
}

.property-detail-content p {
  line-height: 1.75;
  margin-bottom: 1rem;
  color: #475569;
}

.property-detail-content .rich-content,
.blog-content .rich-content {
  line-height: 1.7;
  color: #475569;
}

.property-detail-content .rich-content p,
.blog-content .rich-content p {
  margin: 0 0 0.65rem;
  line-height: 1.7;
}

.property-detail-content .rich-content p:last-child,
.blog-content .rich-content p:last-child {
  margin-bottom: 0;
}

.property-detail-content .rich-content > *:last-child,
.blog-content .rich-content > *:last-child {
  margin-bottom: 0;
}

.property-detail-content .rich-content h2,
.property-detail-content .rich-content h3,
.blog-content .rich-content h2,
.blog-content .rich-content h3 {
  color: #0a1628;
  font-weight: 600;
  margin: 1.25rem 0 0.65rem;
}

.property-detail-content .rich-content ul,
.property-detail-content .rich-content ol,
.blog-content .rich-content ul,
.blog-content .rich-content ol {
  margin-bottom: 1rem;
  padding-left: 1.25rem;
}

.property-detail-content .rich-content a,
.blog-content .rich-content a {
  color: #c9a227;
  text-decoration: underline;
}

.property-detail-content .rich-content blockquote,
.blog-content .rich-content blockquote {
  border-left: 3px solid #c9a227;
  padding-left: 1rem;
  margin: 1rem 0;
  color: #64748b;
}

/* Gold bullet lists */
.luxury-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.luxury-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.55;
  color: #475569;
}

.luxury-bullet-list .list-bullet {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c9a227;
  margin-top: 0.55rem;
  flex-shrink: 0;
}

.rich-list-html ul,
.rich-list-html ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.rich-list-html li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.55;
  color: #475569;
}

.rich-list-html li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c9a227;
  margin-top: 0.55rem;
  flex-shrink: 0;
}

.rich-list-html ol {
  counter-reset: rich-list;
}

.rich-list-html ol > li {
  counter-increment: rich-list;
}

.rich-list-html ol > li::before {
  content: counter(rich-list) '.';
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: #c9a227;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 0.15rem;
  min-width: 1.25rem;
}

.amenity-list li .bi-check2 {
  color: #c9a227;
}

/* Premium CTA block */
.premium-cta-block {
  background: linear-gradient(135deg, #0a1628 0%, #152238 100%);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  color: #e2e8f0;
  text-align: center;
}

.premium-cta-block h2 {
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin-bottom: 0.75rem;
}

.premium-cta-block p {
  max-width: 560px;
  margin: 0 auto 1.5rem;
  opacity: 0.9;
}

/* Footer disclaimer */
.footer-disclaimer {
  font-size: 0.78rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  opacity: 1;
  padding-top: 1.5rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-disclaimer strong {
  color: #f5e6b8;
}

.footer h4 {
  color: #ffffff;
}

.footer .footer-links ul a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}

.footer .footer-links ul a:hover {
  color: #c9a227;
}

.footer .copyright a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.footer .copyright a:hover {
  color: #c9a227;
  text-decoration: underline;
}

.footer-brand-intro {
  font-size: 0.9rem;
  line-height: 1.65;
  opacity: 0.88;
  margin-top: 0.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 25% 20% 20% 35%;
  gap: 2rem;
  margin-left: 0;
  margin-right: 0;
}

.footer-grid > .footer-col {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

.footer-consultation-col .footer-consult-contact {
  margin-top: 0.65rem;
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.footer-consult-contact {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0.85rem 0 0.25rem;
}

.footer-consult-contact a,
.footer-consult-contact .footer-consult-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  line-height: 1.45;
  text-decoration: none;
}

.footer-consult-contact a:hover {
  color: #c9a227;
}

.footer-consult-contact i {
  color: #c9a227;
  flex-shrink: 0;
  margin-top: 0.1rem;
  font-size: 0.95rem;
}

.footer-column-subtitle {
  margin-top: 1.35rem;
}

.footer-advisory-note {
  opacity: 0.88;
  line-height: 1.55;
  margin: 0.5rem 0 0;
}

/* Listing cards – consistent image ratio (properties page) */
.properties .listing-card .listing-img,
.prop-card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f1f5f9;
}

/* Homepage property cards use 1:1 – see .index-page rules below */
.index-page .featured-properties .prop-card-media {
  aspect-ratio: 1 / 1;
}

.properties .listing-card .listing-img img,
.prop-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Related properties on detail page (not inside .properties section) */
.property-details .related-properties {
  border-top: 1px solid #e8edf3;
  padding-top: 2.5rem;
}

.property-details .related-properties-header .related-properties-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #0a1628;
  margin: 0;
}

.property-details .related-properties .listing-card-related {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 2px 12px rgba(10, 22, 40, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.property-details .related-properties .listing-card-related:hover {
  border-color: rgba(201, 162, 39, 0.45);
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.08);
  transform: translateY(-2px);
}

.property-details .related-properties .listing-card-related .listing-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f1f5f9;
}

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

.property-details .related-properties .listing-card-related:hover .listing-img img {
  transform: scale(1.04);
}

.property-details .related-properties .listing-card-related .listing-tags {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 1;
}

.property-details .related-properties .listing-card-related .listing-tags .tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 4px;
  line-height: 1.2;
}

.property-details .related-properties .listing-card-related .listing-tags .tag-highlight {
  background: #0a1628;
  color: #c9a227;
}

.property-details .related-properties .listing-card-related .listing-tags .tag-sale {
  background: rgba(201, 162, 39, 0.92);
  color: #0a1628;
}

.property-details .related-properties .listing-card-related .listing-body {
  padding: 1.25rem 1.35rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.property-details .related-properties .listing-card-related .listing-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: #c9a227;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.property-details .related-properties .listing-card-related .listing-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.property-details .related-properties .listing-card-related .listing-title a {
  color: #0a1628;
  text-decoration: none;
  transition: color 0.2s ease;
}

.property-details .related-properties .listing-card-related .listing-title a:hover {
  color: #c9a227;
}

.property-details .related-properties .listing-card-related .listing-address {
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 0.85rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.property-details .related-properties .listing-card-related .listing-address i {
  color: #c9a227;
  margin-right: 0.25rem;
}

.property-details .related-properties .listing-card-related .listing-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid #eef2f6;
}

.property-details .related-properties .listing-card-related .listing-specs span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e8edf3;
  border-radius: 6px;
  padding: 0.3rem 0.55rem;
  line-height: 1.3;
  max-width: 100%;
}

.property-details .related-properties .listing-card-related .listing-specs span i {
  color: #c9a227;
  flex-shrink: 0;
}

.property-details .related-properties .listing-card-related .listing-footer {
  margin-top: auto;
  padding-top: 0.25rem;
}

.property-details .related-properties .listing-card-related .details-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0a1628;
  text-decoration: none;
  padding: 0.55rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #fff;
  transition: all 0.2s ease;
  width: 100%;
  justify-content: center;
}

.property-details .related-properties .listing-card-related .details-link:hover {
  background: #c9a227;
  border-color: #c9a227;
  color: #0a1628;
}

@media (max-width: 767px) {
  .property-details .related-properties .listing-card-related .listing-specs span {
    font-size: 0.72rem;
  }
}

/* Contact cards */
.contact-channel-card {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 10px;
  padding: 1.25rem;
  height: 100%;
  transition: border-color 0.2s ease;
}

.contact-channel-card:hover {
  border-color: #c9a227;
}

.contact-channel-card .channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(201, 162, 39, 0.12);
  color: #c9a227;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.contact-channel-card h5 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

/* Blog typography */
.blog-content {
  font-size: 1.02rem;
  line-height: 1.85;
  color: #334155;
}

.blog-content p {
  margin-bottom: 1.25rem;
}

.blog-card-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Blog listing cards */
.blog-page .blog-listing-section {
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.blog-page .blog-card {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 14px rgba(10, 22, 40, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.blog-page .blog-card:hover {
  border-color: rgba(201, 162, 39, 0.45);
  box-shadow: 0 10px 28px rgba(10, 22, 40, 0.09);
  transform: translateY(-3px);
}

.blog-page .blog-card-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a1628;
}

.blog-page .blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.blog-page .blog-card:hover .blog-card-thumb img {
  transform: scale(1.05);
}

.blog-page .blog-card-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10, 22, 40, 0.35) 100%);
  pointer-events: none;
}

.blog-page .blog-card-label {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c9a227;
  background: rgba(10, 22, 40, 0.82);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 4px;
}

.blog-page .blog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem 1.35rem 1.35rem;
}

.blog-page .blog-card-meta {
  margin-bottom: 0.65rem;
}

.blog-page .blog-card-meta time {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: #64748b;
  letter-spacing: 0.02em;
}

.blog-page .blog-card-meta time i {
  color: #c9a227;
  font-size: 0.85rem;
}

.blog-page .blog-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 0.75rem;
}

.blog-page .blog-card-title a {
  color: #0a1628;
  text-decoration: none;
  transition: color 0.2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-page .blog-card-title a:hover {
  color: #c9a227;
}

.blog-page .blog-card-excerpt {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #64748b;
  margin: 0 0 1.1rem;
  flex: 1;
  -webkit-line-clamp: 3;
}

.blog-page .blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0a1628;
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}

.blog-page .blog-card-link i {
  color: #c9a227;
  transition: transform 0.2s ease;
}

.blog-page .blog-card-link:hover {
  color: #c9a227;
}

.blog-page .blog-card-link:hover i {
  transform: translateX(3px);
}

@media (max-width: 767px) {
  .blog-page .blog-card-body {
    padding: 1.1rem 1.15rem 1.2rem;
  }

  .blog-page .blog-card-title {
    font-size: 1.05rem;
  }
}

/* Map placeholder */
.map-placeholder-card {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  padding: 2rem 1.5rem;
  text-align: center;
}

.map-placeholder-card i {
  font-size: 2rem;
  color: #c9a227;
}

/* Page title price badge */
.page-title .property-price-badge {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(201, 162, 39, 0.2);
  color: #f5e6b8;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Sidebar enquiry card */
.enquiry-sidebar-card {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 8px 30px rgba(10, 22, 40, 0.06);
}

/* Enquiry forms – compact, placeholder-only, mobile-friendly */
.enquiry-form-wrap {
  width: 100%;
}

.enquiry-form-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #0a1628;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.enquiry-form-title--compact {
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #eef2f6;
}

.enquiry-form-lead {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.enquiry-form-wrap--compact .enquiry-form-fields {
  margin-top: 0;
}

.enquiry-input {
  font-size: 1rem;
  line-height: 1.4;
  color: #0a1628;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  min-height: 46px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.enquiry-textarea {
  min-height: 88px;
  resize: vertical;
}

.enquiry-input::placeholder {
  color: #94a3b8;
  opacity: 1;
}

.enquiry-input:focus {
  background: #fff;
  border-color: #c9a227;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
  outline: none;
}

.enquiry-submit-btn {
  background: #c9a227 !important;
  border: 1px solid #c9a227 !important;
  color: #0a1628 !important;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  min-height: 46px;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.enquiry-submit-btn:hover {
  background: #b08e1f !important;
  border-color: #b08e1f !important;
  color: #0a1628 !important;
}

.enquiry-loading {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.enquiry-form-wrap .enquiry-error,
.enquiry-form-wrap .enquiry-success {
  font-size: 0.88rem;
  line-height: 1.45;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.property-details .enquiry-sidebar-card .inquiry-form {
  margin-top: 0.25rem;
}

.property-details .enquiry-sidebar-card .listing-header {
  margin-bottom: 0.65rem !important;
}

.property-details .enquiry-sidebar-card .listing-header + p {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 0.85rem !important;
  line-height: 1.45;
}

.property-details .enquiry-sidebar-card .mt-3.d-grid {
  margin-top: 0.85rem !important;
}

/* Sidebar sticky wrapper – enquiry + recent list stick together (no overlap) */
.property-details .property-sidebar-sticky.sticky-top {
  top: 90px;
  z-index: 10;
}

@media (max-width: 991px) {
  .property-details .property-sidebar-sticky.sticky-top {
    position: static;
    top: auto;
  }
}

/* Sidebar compact-listing – recently added properties */
.property-details .sidebar-recent-card {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 12px;
  padding: 1.15rem;
  box-shadow: 0 4px 18px rgba(10, 22, 40, 0.04);
}

.property-details .sidebar-recent-title {
  font-size: 1rem;
  font-weight: 600;
  color: #0a1628;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #eef2f6;
}

.property-details .compact-listings {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.property-details .compact-listing {
  display: flex;
  gap: 12px;
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 8px;
  overflow: hidden;
  padding: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.property-details .compact-listing:hover {
  border-color: rgba(201, 162, 39, 0.45);
  box-shadow: 0 4px 12px rgba(10, 22, 40, 0.06);
}

.property-details .compact-listing .compact-thumb {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  border-radius: 6px;
  overflow: hidden;
  display: block;
}

.property-details .compact-listing .compact-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.property-details .compact-listing:hover .compact-thumb img {
  transform: scale(1.04);
}

.property-details .compact-listing .compact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  flex: 1;
}

.property-details .compact-listing .compact-info h5 {
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0 0 4px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.property-details .compact-listing .compact-info h5 a {
  color: #0a1628;
  text-decoration: none;
  transition: color 0.2s ease;
}

.property-details .compact-listing .compact-info h5 a:hover {
  color: #c9a227;
}

.property-details .compact-listing .location-line.sm {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.property-details .compact-listing .location-line.sm i {
  color: #c9a227;
  margin-right: 0.15rem;
}

.property-details .compact-listing .compact-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 6px;
}

.property-details .compact-listing .price-tag.sm {
  font-size: 0.82rem;
  font-weight: 700;
  color: #c9a227;
  white-space: nowrap;
}

.property-details .compact-listing .compact-specs {
  font-size: 0.7rem;
  color: #64748b;
  line-height: 1.3;
}

/* Blog detail – more insights mini cards */
.blog-page .blog-related-posts {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 12px;
  padding: 1.35rem 1.4rem;
  box-shadow: 0 4px 18px rgba(10, 22, 40, 0.04);
}

.blog-page .blog-related-posts-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0a1628;
  margin: 0.25rem 0 0;
}

.blog-page .blog-compact-listings {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.blog-page .blog-compact-listing {
  display: flex;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e8edf3;
  border-radius: 8px;
  overflow: hidden;
  padding: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.blog-page .blog-compact-listing:hover {
  background: #fff;
  border-color: rgba(201, 162, 39, 0.45);
  box-shadow: 0 4px 12px rgba(10, 22, 40, 0.06);
}

.blog-page .blog-compact-listing .compact-thumb {
  flex-shrink: 0;
  width: 96px;
  height: 72px;
  border-radius: 6px;
  overflow: hidden;
  display: block;
}

.blog-page .blog-compact-listing .compact-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-page .blog-compact-listing:hover .compact-thumb img {
  transform: scale(1.04);
}

.blog-page .blog-compact-listing .compact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  flex: 1;
}

.blog-page .blog-compact-listing .compact-info h5 {
  font-size: 0.92rem;
  font-weight: 600;
  margin: 0 0 4px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-page .blog-compact-listing .compact-info h5 a {
  color: #0a1628;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-page .blog-compact-listing .compact-info h5 a:hover {
  color: #c9a227;
}

.blog-page .blog-compact-listing .location-line.sm {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.35;
}

.blog-page .blog-compact-listing .location-line.sm i {
  color: #c9a227;
  margin-right: 0.15rem;
}

.blog-page .blog-compact-listing .compact-bottom {
  margin-top: 5px;
}

.blog-page .blog-compact-listing .compact-specs {
  font-size: 0.74rem;
  color: #64748b;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 767px) {
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

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

  .property-section-block {
    padding: 1.25rem;
  }

  .enquiry-sidebar-card {
    position: static !important;
    padding: 1rem;
  }

  .enquiry-input {
    font-size: 16px; /* prevents iOS zoom on focus */
  }

  .enquiry-form-title--compact {
    font-size: 1rem;
  }

  .property-details .compact-listing .compact-thumb {
    width: 76px;
    height: 76px;
  }

  .property-details .compact-listing .compact-info h5 {
    font-size: 0.92rem;
  }

  .property-details .compact-listing .compact-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .blog-page .blog-compact-listing .compact-thumb {
    width: 80px;
    height: 64px;
  }

  .blog-page .blog-related-posts {
    padding: 1.1rem 1.15rem;
  }
}

/* -------------------------------------------------------------------------
   Homepage – hero background image + grid overlay
   ------------------------------------------------------------------------- */
.index-page .hero.luxury-hero.hero-has-bg {
  position: relative;
  min-height: clamp(520px, 82vh, 900px);
  background: #0a1628;
  padding-top: 4rem;
  padding-bottom: 4.5rem;
}

.index-page .hero.hero-has-bg .hero-bg-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.index-page .hero.hero-has-bg .hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(10, 22, 40, 0.55) 0%,
    rgba(10, 22, 40, 0.78) 55%,
    rgba(10, 22, 40, 0.88) 100%
  );
}

.index-page .hero.hero-has-bg .bg-effects {
  z-index: 2;
  opacity: 1;
}

.index-page .hero.hero-has-bg .hero-grid-overlay {
  opacity: 1;
  background-image:
    linear-gradient(rgba(201, 162, 39, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 162, 39, 0.14) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: none;
  -webkit-mask-image: none;
}

.index-page .hero.hero-has-bg .container {
  position: relative;
  z-index: 3;
}

.index-page .hero.hero-has-bg .hero-header h1 {
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(10, 22, 40, 0.35);
}

.index-page .hero.hero-has-bg .hero-lead {
  color: #cbd5e1 !important;
}

.index-page .hero.hero-has-bg .hero-badge {
  background: rgba(10, 22, 40, 0.55) !important;
  color: #f5e6b8 !important;
  border: 1px solid rgba(201, 162, 39, 0.45) !important;
}

.index-page .hero.hero-has-bg .btn-luxury-outline {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.index-page .hero.hero-has-bg .btn-luxury-outline:hover {
  border-color: #c9a227;
  color: #ffffff !important;
  background: rgba(201, 162, 39, 0.12);
}

.index-page .hero.hero-has-bg .search-bar {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(201, 162, 39, 0.22);
  box-shadow: 0 12px 40px rgba(10, 22, 40, 0.25);
}

/* -------------------------------------------------------------------------
   Homepage – featured imagery (1:1) + readable typography/contrast
   ------------------------------------------------------------------------- */
.index-page .hero.luxury-hero:not(.hero-has-bg) {
  min-height: auto;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 55%);
}

.index-page .hero:not(.hero-has-bg) .hero-header h1 {
  color: #0a1628;
}

.index-page .hero:not(.hero-has-bg) .hero-lead {
  color: #475569;
}

.index-page .hero-badge,
.index-page .topic-badge,
.index-page .why-us .content-block .tag-label,
.index-page .call-to-action .card-body-content .label-tag {
  background: rgba(10, 22, 40, 0.06) !important;
  color: #0a1628 !important;
  border: 1px solid rgba(201, 162, 39, 0.35);
}

.index-page .section-title h2 {
  background: rgba(201, 162, 39, 0.16) !important;
  color: #0a1628 !important;
  border: 1px solid rgba(201, 162, 39, 0.35);
}

.index-page .section-title div {
  color: #0a1628 !important;
}

.index-page .section-title div .description-title {
  color: #8a7020;
}

.index-page .hero .search-bar label {
  color: #334155;
  font-weight: 600;
  font-size: 0.82rem;
}

/* Property featured images – always 1:1, capped height */
.index-page .featured-media,
.index-page .featured-properties .prop-card-media {
  position: relative;
  aspect-ratio: 1 / 1 !important;
  max-height: 1000px;
  height: auto !important;
  min-height: 0 !important;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: #0a1628;
}

.index-page .featured-media > a,
.index-page .featured-properties .prop-card-media > a {
  display: block;
  width: 100%;
  height: 100%;
}

.index-page .featured-media img,
.index-page .featured-properties .prop-card-media img {
  width: 100%;
  height: 100%;
  max-height: 1000px;
  object-fit: cover;
  display: block;
}

.index-page .featured-properties .spotlight-listing .spotlight-media {
  min-height: 0 !important;
  height: auto !important;
}

/* Spotlight showcase – rich featured property card */
.featured-properties .spotlight-showcase {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(10, 22, 40, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.featured-properties .spotlight-showcase:hover {
  border-color: rgba(201, 162, 39, 0.35);
  box-shadow: 0 12px 36px rgba(10, 22, 40, 0.1);
}

.featured-properties .spotlight-showcase-media {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #0a1628;
}

.featured-properties .spotlight-showcase-main-link {
  display: block;
  flex: 1 1 auto;
  min-height: 280px;
}

.featured-properties .spotlight-showcase-main-img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.featured-properties .spotlight-showcase-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: #0a1628;
}

.featured-properties .spotlight-showcase-thumb {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.featured-properties .spotlight-showcase-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  transition: opacity 0.2s ease, transform 0.25s ease;
}

.featured-properties .spotlight-showcase-thumb:hover img {
  opacity: 1;
  transform: scale(1.04);
}

.featured-properties .spotlight-showcase-media .tag-group {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  z-index: 2;
}

.featured-properties .spotlight-showcase-body {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.featured-properties .spotlight-showcase-header {
  margin-bottom: 1rem;
}

.featured-properties .spotlight-eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c9a227;
  margin-bottom: 0.5rem;
}

.featured-properties .spotlight-showcase-header h3 {
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}

.featured-properties .spotlight-showcase-header h3 a {
  color: #0a1628;
  transition: color 0.2s ease;
}

.featured-properties .spotlight-showcase-header h3 a:hover {
  color: #c9a227;
}

.featured-properties .spotlight-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.65rem;
  margin-bottom: 1.1rem;
}

.featured-properties .spotlight-stat {
  background: #f8fafc;
  border: 1px solid #e8edf3;
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  text-align: center;
}

.featured-properties .spotlight-stat .stat-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: 0.2rem;
}

.featured-properties .spotlight-stat .stat-value {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0a1628;
  line-height: 1.35;
}

.featured-properties .spotlight-stat-price {
  background: linear-gradient(135deg, #fffbeb 0%, #fef9e7 100%);
  border-color: rgba(201, 162, 39, 0.28);
}

.featured-properties .spotlight-stat-price .stat-value {
  color: #c9a227;
  font-size: 0.92rem;
}

.featured-properties .spotlight-excerpt {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #475569;
  margin: 0 0 1.1rem;
}

.featured-properties .spotlight-detail-block {
  background: #f8fafc;
  border: 1px solid #e8edf3;
  border-radius: 10px;
  padding: 0.9rem 1rem;
  height: 100%;
}

.featured-properties .spotlight-detail-block h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0a1628;
  margin: 0 0 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.featured-properties .spotlight-detail-block h4 i {
  color: #c9a227;
}

.featured-properties .spotlight-detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.featured-properties .spotlight-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #475569;
  margin-bottom: 0.4rem;
}

.featured-properties .spotlight-detail-list li:last-child {
  margin-bottom: 0;
}

.featured-properties .spotlight-detail-list li i {
  color: #c9a227;
  flex-shrink: 0;
  margin-top: 0.15rem;
  font-size: 0.75rem;
}

.featured-properties .spotlight-detail-columns {
  margin-bottom: 1.25rem;
}

.featured-properties .spotlight-showcase-actions {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #e8edf3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.featured-properties .spotlight-showcase-actions .btn-primary-action {
  flex: 1 1 auto;
  min-width: 160px;
  text-align: center;
  justify-content: center;
}

.featured-properties .spotlight-showcase-actions .btn-outline-action,
.featured-properties .spotlight-showcase-actions .btn-ghost-action {
  white-space: nowrap;
}

.index-page .featured-properties .prop-card-body h4 a {
  color: #0a1628;
}

.index-page .featured-properties .location-line {
  color: #64748b;
}

/* Curated / featured property labels – navy badges for readability on photos */
.featured-properties .tag.tag-accent,
.featured-properties .tag.tag-dark {
  background: #0a1628 !important;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(10, 22, 40, 0.25);
}

.featured-properties .tag.tag-accent {
  color: var(--accent-color) !important;
  border: 1px solid rgba(201, 162, 39, 0.4) !important;
}

.featured-properties .tag.tag-dark {
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.featured-properties .tag.tag-accent i {
  color: var(--accent-color);
}

.index-page .featured-services .offering-body h3 {
  color: #0a1628;
}

.index-page .featured-services .offering-body p,
.index-page .featured-services .offering-checklist li {
  color: #475569 !important;
}

.index-page .why-us .content-block h2,
.index-page .why-us .feature-card h4,
.index-page .call-to-action .card-body-content h2,
.index-page .home-about .info-block h2 {
  color: #0a1628;
}

.index-page .why-us .content-block .description,
.index-page .why-us .feature-card p,
.index-page .home-about .info-block p {
  color: #475569 !important;
}

.index-page .why-us .cta-group .btn-secondary {
  color: #0a1628 !important;
  background: #fff;
  border-color: #cbd5e1;
}

.index-page .why-us .cta-group .btn-secondary:hover {
  border-color: #c9a227;
  color: #0a1628 !important;
  background: #fffbeb;
}

.index-page .call-to-action .card-body-content p {
  color: #475569 !important;
}

@media (max-width: 991px) {
  .featured-properties .spotlight-showcase-main-link,
  .featured-properties .spotlight-showcase-main-img {
    min-height: 240px;
    max-height: 320px;
  }

  .featured-properties .spotlight-showcase-body {
    padding: 22px 20px 24px;
  }

  .featured-properties .spotlight-showcase-header h3 {
    font-size: 1.3rem;
  }

  .featured-properties .spotlight-showcase-actions .btn-primary-action {
    width: 100%;
  }
}
