/* =============================================
   OPAL & GOLD REALTORS — LUXURY REAL ESTATE
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --gold-pale: #F5EDD4;
  --opal: #D9F7F2;
  --opal-blue: #A8DDE8;
  --opal-mint: #BFE8D4;
  --opal-pink: #F3C9D8;
  --opal-deep: #6FB7B8;
  --opal-glow: rgba(217,247,242,0.26);
  --black: #0A0A0A;
  --charcoal: #1A1A1A;
  --dark: #111111;
  --mid: #2C2C2C;
  --muted: #888888;
  --light: #F8F6F1;
  --white: #FFFFFF;
  --border: rgba(201,168,76,0.2);
  --opal-border: rgba(217,247,242,0.24);
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── UTILITIES ─── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.section-pad { padding: 100px 0; }
.gold { color: var(--gold); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--black);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: 'Inter', sans-serif;
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--opal) 100%);
  box-shadow: 0 14px 34px rgba(111,183,184,0.22);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-outline:hover {
  background: rgba(217,247,242,0.08);
  border-color: var(--opal-blue);
  color: var(--opal);
}

.btn-outline-dark {
  background: transparent;
  color: var(--black);
  border: 1px solid rgba(0,0,0,0.25);
}
.btn-outline-dark:hover {
  border-color: var(--opal-deep);
  color: var(--opal-deep);
}

/* ─── NAVBAR ─── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 0;
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(20px);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: var(--transition);
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.35));
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .nav-logo-img { height: 36px; }
}

.logo-text {
  color: var(--white);
  min-width: 0;
}

.logo-text .brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 1px;
  display: block;
  line-height: 1;
  overflow-wrap: anywhere;
}

.logo-text .sub {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: var(--transition);
}

/* ─── HERO ─── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active { opacity: 1; }

.hero-slide-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-slide.active .hero-slide-bg { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 26%, rgba(217,247,242,0.16) 0%, rgba(217,247,242,0) 34%),
    linear-gradient(
      135deg,
      rgba(0,0,0,0.82) 0%,
      rgba(0,0,0,0.45) 55%,
      rgba(0,0,0,0.18) 100%
    );
  z-index: 1;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 2;
}

.hero-text { max-width: 680px; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: '';
  width: 50px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero-title em {
  font-style: italic;
  color: var(--opal);
  text-shadow: 0 0 24px rgba(217,247,242,0.26);
}

.hero-title {
  text-shadow: 0 10px 30px rgba(0,0,0,0.7);
}

.hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.95);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 480px;
  text-shadow: 0 6px 20px rgba(0,0,0,0.55);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}



.hero-dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.hero-dot.active {
  background: linear-gradient(90deg, var(--gold), var(--opal-blue));
  width: 24px;
  border-radius: 3px;
}

/* ─── SEARCH BAR ─── */
#search-bar {
  background: var(--white);
  padding: 0;
  border-bottom: 1px solid rgba(111,183,184,0.16);
  position: sticky;
  top: 76px;
  z-index: 100;
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}

.search-inner {
  display: flex;
  align-items: stretch;
}

.search-tabs {
  display: flex;
  border-right: 1px solid #eee;
  flex-shrink: 0;
}

.search-tab {
  padding: 22px 24px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: var(--transition);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}

.search-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  background: linear-gradient(180deg, rgba(217,247,242,0.28), rgba(217,247,242,0));
}

.search-fields {
  flex: 1;
  display: flex;
  align-items: center;
  overflow: visible;
}

.search-field {
  flex: 1;
  padding: 18px 20px;
  border-right: 1px solid #eee;
  min-width: 0;
}

.search-field label {
  display: block;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
  font-weight: 500;
}

.search-field select,
.search-field input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 13px;
  color: var(--black);
  background: transparent;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  appearance: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-submit {
  padding: 0 28px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 62%, var(--opal) 100%);
  color: var(--black);
  border: none;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
  flex-shrink: 0;
  white-space: nowrap;
}

.search-submit:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--opal) 100%);
  box-shadow: 0 12px 26px rgba(111,183,184,0.2);
}

/* ─── SEARCH BAR MOBILE ─── */
@media (max-width: 768px) {
  #search-bar {
    position: relative;
    top: 0;
    box-shadow: none;
    border-bottom: none;
  }

  .search-inner {
    flex-direction: column;
    background: var(--white);
    border: 1px solid #e8e8e8;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    margin: 0 16px;
    position: relative;
    top: -32px;
    border-radius: 0;
  }

  .search-tabs {
    border-right: none;
    border-bottom: 1px solid #eee;
    justify-content: center;
  }

  .search-tab {
    padding: 14px 20px;
    font-size: 11px;
    flex: 1;
    text-align: center;
    border-bottom: 2px solid transparent;
  }

  .search-fields {
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
  }

  .search-field {
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .search-field label {
    min-width: 90px;
    margin-bottom: 0;
    font-size: 9px;
    flex-shrink: 0;
  }

  .search-field select,
  .search-field input {
    font-size: 16px;
    flex: 1;
  }

  #search-bar .custom-select-trigger {
    min-height: 44px;
    font-size: 16px;
  }

  .search-submit {
    justify-content: center;
    padding: 16px 20px;
    min-height: 48px;
    font-size: 12px;
    letter-spacing: 0.15em;
    width: 100%;
  }
}

/* ─── FEATURED PROPERTIES ─── */
#featured { background: var(--light); }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.property-card {
  background: var(--white);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  border-radius: 12px;
  border: 1px solid rgba(111,183,184,0.10);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.property-card:hover {
  transform: translateY(-6px);
  border-color: rgba(111,183,184,0.32);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 0 34px rgba(217,247,242,0.16);
}

.card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.property-card:hover .card-image img { transform: scale(1.06); }

.card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 12px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  background: linear-gradient(135deg, var(--gold) 0%, var(--opal) 100%);
  color: var(--black);
}

.card-body { padding: 24px 28px 28px; }

.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 6px;
  color: var(--black);
}

.card-location {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--mid);
}

.card-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(111,183,184,0.16);
}

.card-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--gold);
  overflow-wrap: anywhere;
}

/* ─── WHO WE ARE ─── */
#about { background: var(--charcoal); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.about-left .section-title { color: var(--white); }
.about-left .section-title em {
  font-style: italic;
  color: var(--opal);
  text-shadow: 0 0 22px rgba(217,247,242,0.22);
}

.about-desc {
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  line-height: 1.9;
  margin: 28px 0 40px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.value-item {
  padding: 24px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.value-item:hover {
  border-color: var(--opal-blue);
  background: linear-gradient(135deg, rgba(201,168,76,0.05), rgba(217,247,242,0.05));
}

.value-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 28px;
}

.value-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--white);
  margin-bottom: 8px;
}

.value-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
}

/* ─── TESTIMONIALS ─── */
#testimonials { background: var(--white); overflow: hidden; }

.testimonials-heading p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

#testimonials .section-header { align-items: center; }

.testimonials-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.testimonials-share {
  padding: 10px 20px;
  font-size: 12px;
  white-space: nowrap;
}

.testimonials-track-wrap { overflow: hidden; }

.testimonials-track {
  display: flex;
  gap: 28px;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform;
}

.testimonials-track.is-single { justify-content: center; }

.testimonial-card {
  min-width: 560px;
  max-width: 560px;
  background: var(--light);
  padding: 48px 52px;
  position: relative;
  flex-shrink: 0;
  box-sizing: border-box;
}

.quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 90px;
  color: var(--gold);
  opacity: 0.25;
  position: absolute;
  top: 12px;
  left: 36px;
  line-height: 1;
  pointer-events: none;
}

.testimonial-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.7;
  color: var(--black);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.testimonial-author { display: flex; align-items: center; gap: 16px; }

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}

.author-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--black);
}

.author-role {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

.testimonials-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-empty-note {
  margin:24px 0 0;
  color:var(--muted);
  font-size:15px;
}

.testimonial-submit-panel {
  max-width:820px;
  margin:72px auto 0;
  padding:clamp(24px,5vw,48px);
  background:var(--light);
  border:1px solid rgba(0,0,0,0.06);
}

.testimonial-submit-panel h3 {
  margin:4px 0 8px;
  color:var(--black);
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(26px,4vw,34px);
  font-weight:500;
}

.testimonial-submit-intro { margin-bottom:24px; color:var(--muted); font-size:14px; line-height:1.6; }
.testimonial-submit-form { display:flex; flex-direction:column; gap:18px; }
.testimonial-form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.testimonial-field { display:flex; flex-direction:column; gap:8px; color:#57534c; font-size:12px; font-weight:600; }
.testimonial-field small { color:var(--muted); font-weight:400; text-transform:none; letter-spacing:0; }
.testimonial-field input,
.testimonial-field textarea {
  width:100%;
  min-width:0;
  padding:13px 14px;
  border:1px solid #ddd9d0;
  border-radius:2px;
  background:#fff;
  color:var(--black);
  font:400 14px 'Inter',sans-serif;
}
.testimonial-field textarea { resize:vertical; line-height:1.6; }
.testimonial-field input:focus,
.testimonial-field textarea:focus { outline:2px solid rgba(201,168,76,0.25); border-color:var(--gold); }
.testimonial-consent { display:flex; align-items:flex-start; gap:10px; color:#625e56; font-size:12px; line-height:1.55; }
.testimonial-consent input { margin:2px 0 0; accent-color:var(--gold); flex:0 0 auto; }
.testimonial-submit-form .btn { align-self:flex-start; border:0; cursor:pointer; }
.testimonial-notice { padding:13px 16px; margin:0 0 18px; font-size:13px; line-height:1.5; }
.testimonial-notice-success { color:#245c38; background:#eaf5ee; border:1px solid #b8ddc4; }
.testimonial-notice-error { color:#8d2b24; background:#fff0ee; border:1px solid #efc5c0; }
.testimonial-honeypot { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }

/* ─── TESTIMONIALS MOBILE ─── */
@media (max-width: 768px) {
  .testimonials-track-wrap {
    overflow: hidden;
    margin: 0 -20px;
    padding: 0 20px;
  }

  #testimonials .testimonial-card {
    flex: 0 0 100%;
    min-width: 0;
    max-width: 100%;
    padding: clamp(24px, 6vw, 32px) clamp(20px, 5vw, 28px);
  }

  .testimonial-text {
    font-size: 17px;
    margin-bottom: 24px;
    line-height: 1.65;
  }

  .quote-mark {
    font-size: 64px;
    top: 8px;
    left: 20px;
  }

  .testimonials-nav {
    gap: 10px;
  }

  .testimonial-submit-panel { margin-top:48px; }
  .testimonial-form-row { grid-template-columns:1fr; gap:18px; }
  .testimonial-submit-form .btn { width:100%; justify-content:center; }

  #testimonials .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 36px;
  }

  .testimonials-actions {
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
  }

  .testimonials-nav {
    flex: 0 0 auto;
  }

  #testimonials .testimonials-share {
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
    justify-content: center;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
  }
}

@media (max-width: 480px) {
  .testimonials-track-wrap {
    margin: 0 -16px;
    padding: 0 16px;
  }

  .testimonials-actions { gap: 10px; }
  .testimonials-actions .nav-arrow { width: 44px; height: 44px; }
  #testimonials .testimonials-share { padding: 10px 12px; font-size: 10px; }
}

.nav-arrow {
  width: 52px;
  height: 52px;
  border: 1px solid #ddd;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--black);
  transition: var(--transition);
}
.nav-arrow:hover { border-color: var(--gold); color: var(--gold); }

/* ─── CONTACT ─── */
#contact { background: var(--dark); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-title { color: var(--white); }

.contact-details {
  margin: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.detail-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 18px;
  flex-shrink: 0;
}

.detail-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.detail-value {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-group label {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  padding: 16px 20px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: var(--transition);
  width: 100%;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--opal-blue);
  background: rgba(217,247,242,0.06);
  box-shadow: 0 0 0 3px rgba(217,247,242,0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.25);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ─── FOOTER ─── */
/* footer styles moved to bottom */

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) minmax(150px, 0.8fr) minmax(230px, 1fr) minmax(280px, 1.2fr);
  gap: 48px;
  align-items: start;
  margin-bottom: 56px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  max-width: 100%;
}

.footer-logo img {
  height: 52px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.58);
  line-height: 1.8;
  margin-top: 20px;
  max-width: 300px;
}

.footer-heading {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.58);
  font-size: 14px;
  transition: var(--transition);
}

.footer-links a:hover { color: var(--gold); }

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.58);
  margin-bottom: 12px;
  line-height: 1.6;
}

.footer-contact i {
  color: var(--gold);
  width: 16px;
  padding-top: 4px;
  text-align: center;
  flex-shrink: 0;
}

.footer-newsletter {
  padding: 24px;
  border: 1px solid rgba(217,247,242,0.18);
  background: linear-gradient(135deg, rgba(255,255,255,0.035), rgba(217,247,242,0.045));
}

.footer-newsletter > p:not(.footer-heading) {
  font-size: 13px;
  color: rgba(255,255,255,0.58);
  margin-bottom: 16px;
  line-height: 1.7;
}

.newsletter-form {
  display: flex;
  margin-top: 16px;
}

.newsletter-form input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-right: none;
  color: var(--white);
  padding: 14px 16px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  outline: none;
  min-width: 0;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.25); }

.newsletter-form button {
  background: var(--gold);
  border: none;
  width: 48px;
  min-height: 48px;
  color: var(--black);
  cursor: pointer;
  font-size: 18px;
  transition: var(--transition);
  flex-shrink: 0;
}

.newsletter-form button:hover { background: var(--gold-light); }

.footer-blog-link {
  margin-top: 18px;
}

.footer-blog-link a {
  color: var(--gold);
  font-size: 13px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

.footer-bottom p:last-child {
  color: rgba(255,255,255,0.24);
  font-size: 11px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.social-links a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 15px;
  transition: var(--transition);
  text-decoration: none;
}

.social-links a:hover {
  border-color: var(--opal-blue);
  color: var(--opal);
  box-shadow: 0 0 18px rgba(217,247,242,0.16);
}

/* ─── PROPERTY DETAIL PAGE ─── */
.property-hero {
  padding-top: 100px;
  background: var(--dark);
}

.property-breadcrumb {
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.property-breadcrumb a { color: var(--gold); }
.property-breadcrumb span { margin: 0 10px; }

.property-header {
  padding: 20px 0 40px;
}

.property-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.property-title-block .property-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
}

.property-location {
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.property-price-block { text-align: right; }

.property-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.price-note { font-size: 12px; color: rgba(255,255,255,0.3); margin-top: 4px; }

/* Gallery */
.gallery-section { padding: 0; background: #0d0d0d; }

.gallery-main {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* show full image, no crop */
  transition: opacity 0.3s ease;
  display: block;
}

/* Thumbnail strip */
:root {
  --thumb-gap: 8px;
  --thumb-side-w: 140px;
  --thumb-side-h: 95px;
  --thumb-mid-w: 190px;
  --thumb-mid-h: 128px;
}

#thumb-wrap {
  width: calc(var(--thumb-side-w) * 2 + var(--thumb-mid-w) + var(--thumb-gap) * 2);
  max-width: 100%;
  height: var(--thumb-mid-h);
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

#thumb-track {
  display: flex;
  align-items: center;
  gap: var(--thumb-gap);
  transition: transform 0.35s ease;
}

.gthumb {
  flex-shrink: 0;
  box-sizing: border-box;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.35s ease;
  border-radius: 10px;
  border: 2px solid transparent;
}

.gthumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  border-radius: 8px;
}

.gthumb:hover {
  opacity: 0.9 !important;
  border-color: rgba(201,168,76,0.5) !important;
}

/* Hide scrollbar on thumb strip */
#thumb-track::-webkit-scrollbar { display: none; }

/* Property Body */
.property-body { padding: 80px 0; }

.property-body-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
}

.property-specs {
  display: flex;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  margin-bottom: 40px;
}

.spec-item { text-align: center; flex: 1; }

.spec-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 300;
  color: var(--black);
  display: block;
}

.spec-label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.property-desc {
  font-size: 15px;
  line-height: 1.9;
  color: #444;
  margin-bottom: 40px;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.amenity {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--mid);
}

.amenity::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  flex-shrink: 0;
}

.unit-options-section {
  padding-top: 8px;
}

.unit-options-grid {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 18px;
}

.unit-option-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 0.34fr);
  gap: 32px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid #e9e3d8;
}

.unit-option-main h3 {
  color: var(--black);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 10px;
}

.unit-option-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.unit-option-meta p {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  color: #5f5b53;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

.unit-option-meta p i {
  width: 14px;
  color: #b18d31;
  font-size: 12px;
  line-height: 1.65;
  text-align: center;
  flex-shrink: 0;
}

.unit-option-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  text-align: right;
}

.unit-option-price span {
  color: #8f887a;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.unit-option-price strong {
  color: #9f7a24;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.unit-option-note {
  color: #2f6f67 !important;
  font-weight: 500;
}

/* Sidebar */
.property-sidebar { position: sticky; top: 100px; }

.sidebar-card {
  background: var(--light);
  padding: 36px;
  margin-bottom: 24px;
}

.sidebar-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  margin-bottom: 24px;
  color: var(--black);
}

.sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-actions .btn { justify-content: center; width: 100%; }

/* Map */
.map-section { margin-bottom: 48px; }
.map-section h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  margin-bottom: 20px;
}
.map-embed {
  width: 100%;
  height: 400px;
  border: none;
}

/* Video */
.video-section { margin-bottom: 48px; }
.video-section h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  margin-bottom: 20px;
}
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ─── LISTINGS PAGE ─── */
.page-hero {
  padding: 160px 0 80px;
  background: var(--dark);
}

.page-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 300;
  color: var(--white);
}

.legal-hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(217,247,242,0.12), transparent 34%),
    var(--dark);
}

.legal-section {
  background: var(--white);
  padding: 80px 0 100px;
}

.legal-container {
  max-width: 860px;
}

.legal-updated {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 28px;
}

.legal-content {
  color: var(--mid);
  font-size: 15px;
  line-height: 1.85;
}

.legal-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--black);
  margin: 36px 0 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(111,183,184,0.18);
}

.legal-content p {
  margin-bottom: 16px;
}

.legal-content a {
  color: var(--opal-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.listings-filters {
  padding: 40px 0;
  background: var(--light);
  position: sticky;
  top: 76px;
  z-index: 99;
}

.filters-inner {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.filter-select-wrap {
  width: auto;
  min-width: 160px;
}

.filter-select-wrap .custom-select-trigger,
.filter-select {
  padding: 12px 36px 12px 18px;
  border: 1px solid #ddd;
  background: var(--white);
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  color: var(--black);
  min-height: 0;
}

.filter-select-wrap .custom-select-trigger:focus,
.filter-select-wrap.is-open .custom-select-trigger {
  border-color: var(--gold);
  background: var(--white);
}

.filter-select-wrap .custom-select-arrow {
  right: 14px;
  color: var(--muted);
  font-size: 10px;
}

.filter-select-wrap .custom-select-menu {
  background: var(--white);
  border: 1px solid #e8e8e8;
  box-shadow: 0 14px 32px rgba(0,0,0,0.1);
}

.filter-select-wrap .custom-select-option {
  color: var(--black);
  font-size: 13px;
}

.filter-select-wrap .custom-select-option:hover,
.filter-select-wrap .custom-select-option:focus,
.filter-select-wrap .custom-select-option.is-selected {
  background: var(--gold-pale);
  color: var(--black);
}

.filter-count {
  margin-left: auto;
  font-size: 13px;
  color: var(--muted);
}

.listings-grid {
  padding: 60px 0;
}

.listings-grid-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* ─── ADMIN PANEL ─── */
.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
}

.login-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 60px 56px;
  width: 100%;
  max-width: 440px;
}

.login-logo {
  text-align: center;
  margin-bottom: 40px;
}

.login-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  color: var(--white);
  text-align: center;
  margin-bottom: 8px;
}

.login-sub {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 40px;
  letter-spacing: 0.05em;
}

.admin-wrapper {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 260px;
  background: var(--charcoal);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.admin-sidebar-logo {
  padding: 28px 28px 24px;
  border-bottom: 1px solid var(--border);
}

.admin-nav { padding: 20px 0; flex: 1; }

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.admin-nav-item:hover,
.admin-nav-item.active {
  color: var(--white);
  background: rgba(201,168,76,0.08);
  border-right: 2px solid var(--gold);
}

.admin-nav-item .nav-icon { font-size: 18px; color: var(--gold); }
.admin-nav-footer { margin-top:auto; padding:20px 0; border-top:1px solid var(--border); }

.admin-main { flex: 1; background: #f5f5f0; overflow-y: auto; }

.admin-topbar {
  background: var(--white);
  padding: 20px 36px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  color: var(--black);
}

.admin-content { padding: 40px 36px; }

.stats-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.dashboard-stats { grid-template-columns:repeat(5,minmax(0,1fr)); }
.dashboard-quick-actions {
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:14px;
  margin-bottom:40px;
}
.admin-pending-notice {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:-18px 0 28px;
  padding:14px 18px;
  border:1px solid #efdca2;
  background:#fff8e4;
  color:#73550b;
  font-size:13px;
}
.admin-pending-notice span,
.admin-pending-notice a { display:inline-flex; align-items:center; gap:9px; }
.admin-pending-notice a { color:#73550b; font-weight:600; text-decoration:none; }

.stat-card {
  background: var(--white);
  padding: 28px;
  border: 1px solid #eee;
}

.stat-card-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 300;
  color: var(--gold);
  display: block;
  line-height: 1;
}

.stat-card-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 4px;
}

.admin-table-wrap {
  background: var(--white);
  border: 1px solid #eee;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid #eee;
}

.admin-table-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
}

table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table-wrap table {
  min-width: 720px;
}

thead th {
  text-align: left;
  padding: 14px 28px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  background: var(--light);
  border-bottom: 1px solid #eee;
}

tbody td {
  padding: 18px 28px;
  font-size: 14px;
  color: var(--mid);
  border-bottom: 1px solid #f5f5f5;
}

tbody tr:hover td { background: #fbfaf8; }

.badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge-gold { background: var(--gold-pale); color: #8a6a10; }
.badge-green { background: #e8f5e9; color: #2e7d32; }
.badge-gray { background: #f5f5f5; color: #666; }

.table-actions { display: flex; gap: 10px; }

.table-btn {
  padding: 6px 14px;
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid #ddd;
  background: none;
  color: var(--mid);
}

.table-btn:hover { border-color: var(--gold); color: var(--gold); }
.table-btn.danger:hover { border-color: #e53935; color: #e53935; }

/* Admin Form */
.admin-form-wrap {
  background: var(--white);
  padding: 40px;
  border: 1px solid #eee;
}

.form-section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #eee;
}

.form-section:last-child { border-bottom: none; }

.form-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  margin-bottom: 24px;
  color: var(--black);
}

.admin-form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }

.admin-form-group label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.admin-form-group input,
.admin-form-group select,
.admin-form-group textarea {
  border: 1px solid #ddd;
  padding: 12px 16px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: var(--transition);
  width: 100%;
  background: var(--white);
  color: var(--black);
}

.admin-form-group input:focus,
.admin-form-group select:focus,
.admin-form-group textarea:focus {
  border-color: var(--gold);
}

.upload-zone {
  border: 2px dashed #ddd;
  padding: 40px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.upload-zone:hover { border-color: var(--gold); }
.upload-zone p { color: var(--muted); font-size: 14px; margin-top: 12px; }
.upload-icon { font-size: 36px; color: var(--muted); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .container { padding: 0 28px; }
  .properties-grid,
  .listings-grid-inner { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr; gap: 40px; }
  .footer-newsletter { grid-column: span 2; }
  .stats-cards { grid-template-columns: repeat(2, 1fr); }
  .property-body-grid { grid-template-columns: 1fr; }
  .property-sidebar { position: static; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section-pad { padding: 72px 0; }
  #navbar { padding: 16px 0; }
  .nav-inner { gap: 12px; }
  .nav-logo { gap: 10px; min-width: 0; }
  .logo-text .brand { font-size: 18px; }
  .logo-text .sub { font-size: 8px; }
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .hamburger { display: flex; }
  .properties-grid,
  .listings-grid-inner { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(40px, 10vw, 56px); }
  #hero { min-height: 620px; height: 100svh; }
  #hero .hero-content { align-items: flex-end; padding-bottom: 80px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  /* search mobile styles handled in #search-bar section above */
  .listings-filters { position: static; }
  .filters-inner { align-items: stretch; }
  .filter-select-wrap,
  .filter-count { width: 100%; margin-left: 0; }
  .filter-select-wrap .custom-select-menu { left: 0; right: 0; }
  .card-footer { align-items: flex-start; flex-direction: column; }
  .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-newsletter { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
  .gallery-main { height: min(70vh, 420px); }
  :root {
    --thumb-gap: 8px;
    --thumb-side-w: 110px;
    --thumb-side-h: 74px;
    --thumb-mid-w: 150px;
    --thumb-mid-h: 101px;
  }
  .property-specs { flex-wrap: wrap; gap: 18px; }
  .spec-item { flex: 1 1 calc(50% - 18px); }
  .amenities-grid { grid-template-columns: 1fr; }
  .property-header-inner { flex-direction: column; gap: 20px; }
  .property-price-block { text-align: left; }
  .property-price { font-size: 38px; }
  .admin-wrapper { flex-direction: column; }
  .admin-sidebar { width: 100%; }
  .admin-content { padding: 28px 20px; }
  .admin-topbar { padding: 18px 20px; gap: 12px; align-items: flex-start; flex-direction: column; }
  .admin-form-wrap { padding: 28px 20px; }
  .stats-cards { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
}

/* ─── ADMIN MOBILE LAYOUT ─── */
@media (max-width: 768px) {
  .admin-wrapper { min-height:100vh; }
  .admin-sidebar {
    position:sticky;
    top:0;
    z-index:100;
    width:100%;
    border-right:0;
    border-bottom:1px solid var(--border);
  }
  .admin-sidebar-logo { padding:10px 16px; }
  .admin-sidebar-logo .nav-logo-img { height:34px; width:auto; }
  .admin-nav {
    display:flex;
    align-items:stretch;
    gap:4px;
    overflow-x:auto;
    padding:6px 10px;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:thin;
  }
  .admin-nav-item {
    flex:0 0 auto;
    gap:8px;
    white-space:nowrap;
    padding:10px 12px;
    border-right:0 !important;
    border-bottom:2px solid transparent;
    font-size:11px;
  }
  .admin-nav-item:hover,
  .admin-nav-item.active { border-bottom-color:var(--gold); }
  .admin-nav-item[style] { padding-left:12px !important; }
  .admin-nav-item .nav-icon { font-size:15px; }
  .admin-nav-footer {
    display:flex;
    flex:0 0 auto;
    gap:4px;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
  }
  .admin-main { min-width:0; overflow:visible; }
  .admin-content { min-width:0; padding:20px 14px; }
  .admin-topbar { padding:14px 16px; gap:10px; }
  .admin-page-title { font-size:23px; }
  .admin-form-wrap { padding:22px 16px; }
  .admin-form-wrap [style*="display:grid"],
  .admin-content[style*="grid-template-columns"],
  .admin-content form[style*="grid-template-columns"],
  .admin-content > form[style*="grid-template-columns"] {
    grid-template-columns:1fr !important;
  }
  .admin-content [style*="repeat(6,1fr)"] { grid-template-columns:repeat(3,minmax(0,1fr)) !important; }
  .dashboard-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .dashboard-quick-actions { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .dashboard-topbar-actions { width:100%; justify-content:space-between; gap:10px !important; flex-wrap:wrap; }
  .admin-pending-notice { align-items:flex-start; flex-direction:column; }
  .admin-form-wrap [style*="grid-column"] { grid-column:1 / -1 !important; }
  .settings-group-body { grid-template-columns:1fr !important; padding:18px !important; }
  .img-thumb-grid,
  .preview-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .stats-cards { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .stat-card { padding:18px 14px; }
  .stat-card-num { font-size:36px; }
  .admin-table-header { padding:16px; gap:12px; }
  .admin-table-wrap { max-width:100%; }
  .admin-table-wrap table { min-width:680px; }
  .table-actions { flex-wrap:wrap; }
  .upload-zone { padding:28px 16px; }
}

@media (max-width: 480px) {
  .admin-sidebar-logo { padding:8px 12px; }
  .admin-content { padding:16px 10px; }
  .admin-topbar { padding:12px; }
  .admin-topbar .btn { width:auto; }
  .admin-form-wrap { padding:18px 12px; }
  .stats-cards { grid-template-columns:1fr 1fr; }
  .admin-content [style*="repeat(6,1fr)"] { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  .dashboard-quick-actions { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .dashboard-topbar-actions > span { font-size:12px !important; }
  .dashboard-topbar-actions > .btn { padding:10px 14px !important; }
  .admin-table-header { align-items:flex-start; flex-direction:column; }
  .img-thumb-grid,
  .preview-grid { gap:8px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  :root {
    --thumb-gap: 6px;
    --thumb-side-w: 88px;
    --thumb-side-h: 59px;
    --thumb-mid-w: 120px;
    --thumb-mid-h: 81px;
  }
  .btn { width: 100%; justify-content: center; padding: 13px 20px; }
  .hero-actions { width: 100%; }
  footer { padding: 64px 0 32px; }
  .footer-grid { gap: 34px; margin-bottom: 40px; }
  .footer-logo img { height: 46px; }
  .footer-newsletter { padding: 20px; }
  .newsletter-form { flex-direction: column; gap: 10px; }
  .newsletter-form input { border-right: 1px solid rgba(255,255,255,0.1); }
  .newsletter-form button { width: 100%; }
  .search-tab { padding-inline: 12px; }
  .search-field { align-items: flex-start; flex-direction: column; gap: 6px; }
  .search-field label { min-width: 0; }
  .testimonial-card { min-width: calc(100vw - 32px); max-width: calc(100vw - 32px); padding: 28px 22px; }
  .property-specs { display: grid; grid-template-columns: 1fr 1fr; }
  .spec-value { font-size: 24px; }
  .stats-cards { grid-template-columns: 1fr; }
}

/* ─── ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(360px, 90vw);
  height: 100vh;
  background: var(--dark);
  z-index: 2000;
  padding: 80px 40px 40px;
  transition: right 0.4s ease;
  border-left: 1px solid var(--border);
}

.mobile-nav.open { right: 0; }

.mobile-nav-close {
  position: absolute;
  top: 28px;
  right: 28px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
}

.mobile-nav a {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  letter-spacing: 0.06em;
  transition: var(--transition);
}

.mobile-nav a:hover { color: var(--gold); }

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-overlay.open { opacity: 1; pointer-events: auto; }

/* Success message */
.form-success {
  background: rgba(46,125,50,0.15);
  border: 1px solid rgba(46,125,50,0.3);
  color: #2e7d32;
  padding: 16px 20px;
  font-size: 14px;
  display: none;
}


/* ─── CONTACT SPLIT LAYOUT ─── */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background: var(--dark);
}

.contact-image-panel {
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

.contact-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-img-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 24%, rgba(217,247,242,0.18) 0%, rgba(217,247,242,0) 32%),
    linear-gradient(135deg, rgba(0,0,0,0.68) 0%, rgba(10,10,10,0.34) 50%, rgba(0,0,0,0.80) 100%);
}

.contact-img-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 52px;
}

.contact-img-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 3.5vw, 56px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}

.contact-img-title {
  text-shadow: 0 6px 18px rgba(0,0,0,0.6);
  font-weight: 400;
}

.contact-img-desc {
  color: rgba(255,255,255,0.92);
  font-size: 15px;
  line-height: 1.85;
  max-width: 380px;
  margin-bottom: 44px;
  text-shadow: 0 4px 12px rgba(0,0,0,0.45);
}

.contact-img-content {
  /* subtle interior backdrop to guarantee contrast on very bright areas */
  background: linear-gradient(180deg, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.25) 40%, rgba(0,0,0,0.55) 100%);
}

.contact-img-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-img-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 48px;
}

.contact-img-icon {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(201,168,76,0.55);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--dark);
  background:
    radial-gradient(circle at 32% 24%, rgba(255,255,255,0.78), transparent 32%),
    linear-gradient(135deg, var(--opal) 0%, var(--gold) 100%);
  font-size: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.28), 0 0 18px rgba(217,247,242,0.16);
}

.contact-img-icon i {
  line-height: 1;
}

.contact-img-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2px;
}

.contact-img-value {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
}

.contact-form-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px;
  background:
    radial-gradient(circle at 100% 0%, rgba(217,247,242,0.08), transparent 34%),
    var(--dark);
  overflow-y: auto;
  margin-top: 92px;
  min-height: calc(100vh - 92px);
}

.contact-map-section {
  background: var(--dark);
  padding: 0 24px 48px;
}

.contact-map {
  width: min(100%, 1100px);
  height: 420px;
  border: none;
  display: block;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0,0,0,0.28), 0 0 34px rgba(217,247,242,0.08);
}

@media (max-width: 1024px) {
  .contact-split { grid-template-columns: 1fr; }
  .contact-image-panel { min-height: 460px; }
  .contact-img-content { padding: 40px 36px; }
  .contact-img-desc { display: none; }
  .contact-form-panel {
    margin-top: 0;
    min-height: 0;
    padding: 56px 36px;
  }
}

@media (max-width: 768px) {
  .contact-split {
    min-height: 0;
  }
  .contact-image-panel { min-height: 560px; }
  .contact-img-content { padding: 92px 24px 28px; }
  .contact-img-details { gap: 12px; }
  .contact-form-panel { padding: 40px 24px; }
  .contact-map { height: 340px; }
  .unit-options-grid {
    grid-template-columns: 1fr;
  }
  .unit-option-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 0;
  }
  .unit-option-price {
    align-items: flex-start;
    text-align: left;
  }
  .unit-option-price strong {
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .contact-image-panel { min-height: 520px; }
  .contact-img-title { font-size: 34px; }
  .contact-img-icon {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  .contact-map { height: 300px; }
}

/* ─── FOOTER BACKGROUND IMAGE ─── */
footer {
  background: var(--black);
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?w=1600&q=60');
  background-size: cover;
  background-position: center;
  opacity: 0.07;
  pointer-events: none;
}

footer > .container {
  position: relative;
  z-index: 1;
}

footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.95) 100%);
  pointer-events: none;
  z-index: 0;
}
/* ─── CUSTOM SELECT — DARK THEME ─── */
.custom-select-wrap {
  position: relative;
  display: block;
}

.custom-select {
  width: 100%;
  padding: 16px 48px 16px 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.custom-select.is-enhanced {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.custom-select:focus {
  border-color: var(--opal-blue);
  background: rgba(217,247,242,0.06);
}

.custom-select option {
  background: #1a1a1a;
  color: #ffffff;
  padding: 12px 16px;
}

.custom-select-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--opal);
  font-size: 12px;
  pointer-events: none;
  transition: transform 0.3s ease;
}

.custom-select:focus + .custom-select-arrow {
  transform: translateY(-50%) rotate(180deg);
}

.custom-select-trigger {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 48px 16px 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.custom-select-trigger:focus {
  outline: none;
  border-color: var(--opal-blue);
  background: rgba(217,247,242,0.06);
}

.custom-select-wrap.is-open .custom-select-trigger {
  border-color: var(--opal-blue);
  background: rgba(217,247,242,0.06);
}

.custom-select-wrap.is-open .custom-select-arrow {
  transform: translateY(-50%) rotate(180deg);
}

.custom-select-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 30;
  max-height: min(260px, calc(100vh - 32px));
  overflow-y: auto;
  background: #1a1a1a;
  border: 1px solid rgba(217,247,242,0.45);
  box-shadow: 0 18px 36px rgba(0,0,0,0.45), 0 0 22px rgba(217,247,242,0.12);
  display: none;
}

.custom-select-wrap.opens-up .custom-select-menu {
  top: auto;
  bottom: calc(100% + 6px);
}

.custom-select-wrap.is-open .custom-select-menu {
  display: block;
}

.custom-select-option {
  width: 100%;
  display: block;
  padding: 12px 20px;
  background: transparent;
  border: 0;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.custom-select-option:hover,
.custom-select-option:focus,
.custom-select-option.is-selected {
  outline: none;
  background: linear-gradient(90deg, rgba(201,168,76,0.18), rgba(217,247,242,0.12));
  color: var(--opal);
}

@media (max-width: 480px) {
  .custom-select-trigger,
  .custom-select-option {
    font-size: 16px;
  }
}

/* ─── CUSTOM SELECT — LIGHT THEME (search bar) ─── */
#search-bar .custom-select-wrap {
  width: 100%;
}

#search-bar .custom-select-trigger {
  min-height: 0;
  padding: 0 24px 0 0;
  background: transparent;
  border: none;
  color: var(--black);
  font-size: 13px;
  line-height: 1.35;
}

#search-bar .custom-select-trigger:focus,
#search-bar .custom-select-wrap.is-open .custom-select-trigger {
  border-color: transparent;
  background: transparent;
}

#search-bar .custom-select-arrow {
  right: 0;
  color: var(--muted);
  font-size: 10px;
}

#search-bar .custom-select-menu {
  left: -20px;
  right: -20px;
  top: calc(100% + 14px);
  background: var(--white);
  border: 1px solid #e8e8e8;
  box-shadow: 0 18px 36px rgba(0,0,0,0.12);
}

#search-bar .custom-select-wrap.opens-up .custom-select-menu {
  top: auto;
  bottom: calc(100% + 14px);
}

#search-bar .custom-select-option {
  color: var(--black);
  font-size: 13px;
}

#search-bar .custom-select-option:hover,
#search-bar .custom-select-option:focus,
#search-bar .custom-select-option.is-selected {
  background: var(--gold-pale);
  color: var(--black);
}

@media (max-width: 768px) {
  #search-bar .custom-select-menu {
    left: 0;
    right: 0;
  }
}

/* ─── BLOG PAGE ─── */
.blog-toolbar {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.blog-categories {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex: 1;
}

.blog-search {
  display: flex;
  gap: 0;
}

.blog-search input {
  border: 1px solid #ddd;
  padding: 9px 16px;
  font-size: 13px;
  outline: none;
  font-family: 'Inter', sans-serif;
  width: 220px;
}

.blog-search button {
  background: var(--gold);
  border: none;
  padding: 9px 16px;
  cursor: pointer;
  color: var(--black);
}

.blog-featured-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  overflow: hidden;
  background: var(--charcoal);
}

.blog-featured-body {
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 1024px) {
  .blog-posts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .blog-featured-grid { grid-template-columns: 1fr; }
  .blog-featured-body { padding: 36px 32px; }
}

@media (max-width: 768px) {
  .blog-toolbar { gap: 14px; }
  .blog-search { width: 100%; }
  .blog-search input { width: 100%; flex: 1; }
  .blog-posts-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 640px) {
  .blog-posts-grid { grid-template-columns: 1fr; }
  .blog-featured-body { padding: 28px 20px; }
  .blog-featured-body div[style*="justify-content:space-between"] {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .page-hero.blog-hero,
  .blog-hero {
    padding: 110px 0 40px !important;
  }
}

@media (max-width: 640px) {
  .blog-hero nav[style*="font-size:13px"] {
    font-size: 12px;
    word-break: break-word;
  }
}
