/* FlexHomes — Main Stylesheet */
/* Palette: Near-black #0D0D0D, Warm off-white #F2EDE6, Gold accent #C5A369, Muted gold #8C6E3F */

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

:root {
  --black: #0D0D0D;
  --black-2: #141414;
  --black-3: #1C1C1C;
  --gold: #C5A369;
  --gold-light: #D4B885;
  --gold-dark: #8C6E3F;
  --white: #F2EDE6;
  --white-2: #E8E1D8;
  --gray: #6B6660;
  --gray-light: #9B948E;
  --nav-h: 72px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.4s var(--ease);
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font-family: inherit; }

/* SCROLLBAR */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); }

/* CONTAINER */
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 768px) { .container { padding: 0 24px; } }

/* ============ NAV ============ */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  transition: background var(--transition), border-color var(--transition);
}
#nav.scrolled {
  background: rgba(13,13,13,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(197,163,105,0.15);
}
.nav-logo {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--white);
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-light);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-menu-btn {
  display: none; flex-direction: column; gap: 5px; padding: 8px;
}
.nav-menu-btn span {
  display: block; width: 22px; height: 1px;
  background: var(--white); transition: var(--transition);
}
@media (max-width: 768px) {
  #nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-menu-btn { display: flex; }
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  background: rgba(13,13,13,0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(197,163,105,0.15);
  padding: 24px;
  display: flex; flex-direction: column; gap: 20px;
  transform: translateY(-10px); opacity: 0; pointer-events: none;
  transition: var(--transition);
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray-light); transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--white); }

/* ============ BUTTONS ============ */
.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: var(--gold);
  color: var(--black);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-ghost {
  display: inline-block;
  padding: 13px 32px;
  border: 1px solid rgba(197,163,105,0.4);
  color: var(--gold);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(197,163,105,0.06); }

.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  background: #25D366;
  color: #fff;
  font-size: 12px; font-weight: 500; letter-spacing: 0.06em;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-whatsapp:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-email {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 28px;
  border: 1px solid rgba(197,163,105,0.4);
  color: var(--gold);
  font-size: 12px; font-weight: 400; letter-spacing: 0.06em;
  transition: border-color 0.2s, background 0.2s;
}
.btn-email:hover { border-color: var(--gold); background: rgba(197,163,105,0.06); }

/* ============ TYPOGRAPHY ============ */
.section-eyebrow {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.01em;
}
.section-header { margin-bottom: 56px; }

/* ============ HERO ============ */
.hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: flex-end;
  padding-bottom: 100px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-img.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(13,13,13,0.85) 0%,
    rgba(13,13,13,0.4) 50%,
    rgba(13,13,13,0.2) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  padding-left: 80px; max-width: 720px;
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.hero-content.visible { opacity: 1; transform: translateY(0); }
.hero-eyebrow {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 300;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-sub {
  font-size: 15px; color: rgba(242,237,230,0.65);
  max-width: 440px; margin-bottom: 40px; line-height: 1.7;
}
.hero-scroll-hint {
  position: absolute; bottom: 40px; right: 48px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero-scroll-hint span {
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(197,163,105,0.6); writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, rgba(197,163,105,0.6), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0%, 100% { opacity: 0.4; transform: scaleY(1) translateY(0); }
  50% { opacity: 1; transform: scaleY(1.1) translateY(4px); }
}
@media (max-width: 768px) {
  .hero-content { padding-left: 24px; padding-right: 24px; }
  .hero-scroll-hint { display: none; }
}

/* ============ INTRO STRIP ============ */
.intro-strip {
  padding: 48px 0;
  border-top: 1px solid rgba(197,163,105,0.12);
  border-bottom: 1px solid rgba(197,163,105,0.12);
  background: var(--black-2);
}
.intro-grid {
  display: flex; align-items: center; justify-content: center;
  gap: 0;
}
.intro-stat {
  flex: 1; text-align: center;
  display: flex; flex-direction: column; gap: 6px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 300;
  color: var(--gold);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gray);
}
.intro-divider { width: 1px; height: 48px; background: rgba(197,163,105,0.2); margin: 0 40px; }

/* ============ FEATURED LISTINGS ============ */
.section-featured { padding: 120px 0; }
.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.listing-card {
  position: relative; overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  background: var(--black-3);
}
.listing-card:first-child { grid-column: 1 / 3; aspect-ratio: 16/9; }
.listing-card-img {
  position: absolute; inset: 0;
  transition: transform 0.8s var(--ease);
}
.listing-card:hover .listing-card-img { transform: scale(1.04); }
.listing-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,0.88) 0%, transparent 55%);
  transition: opacity 0.3s;
}
.listing-card:hover .listing-card-overlay { opacity: 0.95; }
.listing-card-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 32px;
}
.listing-card-location {
  font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.listing-card-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.2;
}
.listing-card-price {
  font-size: 13px; font-weight: 400;
  color: rgba(242,237,230,0.7);
}
.listing-card-arrow {
  position: absolute; top: 24px; right: 24px;
  width: 36px; height: 36px;
  border: 1px solid rgba(197,163,105,0.4);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translate(4px, -4px);
  transition: var(--transition);
}
.listing-card-arrow svg { width: 14px; height: 14px; stroke: var(--gold); }
.listing-card:hover .listing-card-arrow { opacity: 1; transform: translate(0, 0); }
.section-footer { margin-top: 64px; text-align: center; }

@media (max-width: 900px) {
  .listings-grid { grid-template-columns: 1fr 1fr; }
  .listing-card:first-child { grid-column: 1 / 3; }
}
@media (max-width: 600px) {
  .listings-grid { grid-template-columns: 1fr; gap: 1px; }
  .listing-card:first-child { grid-column: auto; aspect-ratio: 4/3; }
  .listing-card { aspect-ratio: 4/3; }
}

/* ============ MAP TEASER ============ */
.map-teaser {
  background: var(--black-2);
  border-top: 1px solid rgba(197,163,105,0.08);
  border-bottom: 1px solid rgba(197,163,105,0.08);
  padding: 100px 0;
}
.map-teaser-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
}
.map-teaser-desc {
  color: var(--gray-light); font-size: 15px; margin: 24px 0 36px;
  line-height: 1.8; max-width: 420px;
}
.map-teaser-visual { position: relative; }
.map-dots-bg {
  background: rgba(197,163,105,0.03);
  border: 1px solid rgba(197,163,105,0.12);
  padding: 40px; display: flex; align-items: center; justify-content: center;
}
.usa-outline { width: 100%; max-width: 500px; }
.map-dot-pulse {
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; r: 5; }
  50% { opacity: 1; r: 7; }
}
@media (max-width: 900px) {
  .map-teaser-inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  .map-teaser-inner { padding: 0 24px; }
}

/* ============ CURATOR ============ */
.curator-preview { padding: 120px 0; }
.curator-inner {
  display: grid; grid-template-columns: 420px 1fr;
  gap: 80px; align-items: start;
}
.curator-img-wrap { position: relative; }
.curator-img {
  height: 560px;
  background-size: cover; background-position: center top;
  filter: grayscale(20%);
}
.curator-img-wrap::after {
  content: '';
  position: absolute; bottom: -20px; right: -20px;
  width: 120px; height: 120px;
  border: 1px solid rgba(197,163,105,0.3);
  z-index: -1;
}
.curator-name {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300; color: var(--white);
  margin-bottom: 4px; line-height: 1.1;
}
.curator-title {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 28px;
}
.curator-bio {
  color: var(--gray-light); font-size: 15px; line-height: 1.9;
  margin-bottom: 36px; max-width: 520px;
}
.curator-stats {
  display: flex; gap: 40px; margin-bottom: 36px;
  padding: 28px 0;
  border-top: 1px solid rgba(197,163,105,0.15);
  border-bottom: 1px solid rgba(197,163,105,0.15);
}
.curator-stats > div { display: flex; flex-direction: column; gap: 4px; }
.curator-stats strong {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 300;
  color: var(--gold); letter-spacing: -0.02em;
}
.curator-stats span {
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gray);
}
@media (max-width: 900px) {
  .curator-inner { grid-template-columns: 1fr; }
  .curator-img { height: 420px; }
  .curator-img-wrap::after { display: none; }
}

/* ============ CONTACT ============ */
.contact-section { padding: 100px 0; background: var(--black-2); }
.contact-inner { text-align: center; max-width: 600px; margin: 0 auto; }
.contact-desc { color: var(--gray-light); font-size: 15px; margin: 20px 0 44px; }
.contact-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============ FOOTER ============ */
.footer { padding: 60px 0 40px; border-top: 1px solid rgba(197,163,105,0.1); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 48px; }
.footer-brand p {
  font-size: 13px; color: var(--gray); margin-top: 12px; line-height: 1.7;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.footer-links a {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray); transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.admin-link { color: var(--black-3) !important; transition: color 0.2s !important; }
.admin-link:hover { color: var(--gold-dark) !important; }
.footer-base { border-top: 1px solid rgba(197,163,105,0.08); padding-top: 24px; }
.footer-base p { font-size: 11px; color: var(--gray); letter-spacing: 0.06em; }
@media (max-width: 600px) {
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-links { align-items: flex-start; }
}

/* ============ CINEMATIC HERO ============ */
.hero-cinematic {
  position: relative;
  height: 100vh; min-height: 680px;
  overflow: hidden;
  display: flex; align-items: center;
  background: #080808;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1.8s cubic-bezier(0.4,0,0.2,1), transform 8s ease;
  will-change: opacity, transform;
}
.hero-slide.active { opacity: 1; transform: scale(1.0); }
.hero-cinematic-overlay {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(to right, rgba(8,8,8,0.82) 0%, rgba(8,8,8,0.3) 60%, rgba(8,8,8,0.15) 100%),
    linear-gradient(to top, rgba(8,8,8,0.95) 0%, rgba(8,8,8,0.1) 45%, transparent 100%),
    linear-gradient(to bottom, rgba(8,8,8,0.6) 0%, transparent 25%);
}
.hero-grain {
  position: absolute; inset: 0; z-index: 3;
  width: 100%; height: 100%;
  pointer-events: none; mix-blend-mode: overlay; opacity: 0.55;
}
.hero-particles {
  position: absolute; inset: 0; z-index: 4;
  width: 100%; height: 100%; pointer-events: none;
}
.hero-line-top {
  position: absolute; top: 100px; left: 60px; right: 60px;
  height: 1px; z-index: 5;
  background: linear-gradient(to right, rgba(197,163,105,0.5) 0%, rgba(197,163,105,0.08) 40%, transparent 100%);
  transform: scaleX(0); transform-origin: left;
  animation: lineReveal 1.2s cubic-bezier(0.16,1,0.3,1) 0.4s forwards;
}
.hero-line-bottom {
  position: absolute; bottom: 100px; left: 60px; right: 60px;
  height: 1px; z-index: 5;
  background: linear-gradient(to right, rgba(197,163,105,0.3) 0%, rgba(197,163,105,0.05) 50%, transparent 100%);
  transform: scaleX(0); transform-origin: left;
  animation: lineReveal 1.4s cubic-bezier(0.16,1,0.3,1) 0.6s forwards;
}
@keyframes lineReveal { to { transform: scaleX(1); } }
.hero-cinematic-content {
  position: relative; z-index: 6;
  padding: 0 80px; max-width: 860px;
  transition: transform 0.1s linear, opacity 0.1s linear;
}
.hero-tag-line {
  font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 28px;
  display: flex; flex-wrap: wrap; overflow: hidden;
}
.htl-char {
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  white-space: pre;
}
.hero-cinematic-title {
  display: flex; flex-direction: column;
  font-family: var(--font-display); font-weight: 300;
  line-height: 1.05; letter-spacing: -0.025em; margin-bottom: 32px;
}
.hct-line {
  display: block;
  font-size: clamp(52px, 8vw, 108px);
  color: var(--white);
  opacity: 0; transform: translateY(40px) skewY(1.5deg);
  transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1);
  will-change: opacity, transform;
}
.hct-line.visible { opacity: 1; transform: translateY(0) skewY(0deg); }
.hct-italic { font-style: italic; color: var(--gold-light); font-size: clamp(44px, 7vw, 92px); }
.hero-cinematic-sub {
  font-size: 15px; color: rgba(242,237,230,0.58);
  max-width: 480px; line-height: 1.8; margin-bottom: 44px;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.hero-cinematic-sub.visible { opacity: 1; transform: translateY(0); }
.hero-cinematic-cta {
  display: flex; align-items: center; gap: 36px; flex-wrap: wrap;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.hero-cinematic-cta.visible { opacity: 1; transform: translateY(0); }
.btn-cinematic {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 36px; background: transparent;
  border: 1px solid var(--gold); color: var(--gold);
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.16em; text-transform: uppercase;
  position: relative; overflow: hidden; transition: color 0.4s ease;
}
.btn-cinematic::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gold); transform: translateX(-101%);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1); z-index: 0;
}
.btn-cinematic:hover::before { transform: translateX(0); }
.btn-cinematic:hover { color: var(--black); }
.btn-cinematic span, .btn-cinematic svg { position: relative; z-index: 1; }
.hero-property-count {
  display: flex; flex-direction: column; gap: 2px;
  padding-left: 36px; border-left: 1px solid rgba(197,163,105,0.25);
}
.hpc-num {
  font-family: var(--font-display); font-size: 36px;
  font-weight: 300; color: var(--gold); line-height: 1; letter-spacing: -0.02em;
}
.hpc-label { font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray); }
.hero-indicators {
  position: absolute; right: 48px; top: 50%;
  transform: translateY(-50%); z-index: 7;
  display: flex; flex-direction: column; gap: 10px;
}
.hero-ind {
  width: 2px; height: 28px;
  background: rgba(197,163,105,0.25);
  cursor: pointer; transition: background 0.3s, height 0.3s; position: relative;
}
.hero-ind::after {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 0%; background: var(--gold); transition: height 0s;
}
.hero-ind.active { height: 56px; background: rgba(197,163,105,0.15); }
.hero-ind.active::after { height: 100%; transition: height 6s linear; }
.hero-ticker-wrap {
  position: absolute; bottom: 52px; left: 0; right: 0; z-index: 7;
  overflow: hidden; padding: 12px 0;
  border-top: 1px solid rgba(197,163,105,0.1);
  border-bottom: 1px solid rgba(197,163,105,0.1);
  background: rgba(8,8,8,0.3); backdrop-filter: blur(4px);
}
.hero-ticker { display: flex; gap: 0; white-space: nowrap; will-change: transform; }
.hero-ticker span {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(242,237,230,0.4); padding: 0 20px; transition: color 0.3s;
}
.hero-ticker span:hover { color: var(--gold); }
.ticker-dot { color: rgba(197,163,105,0.4) !important; padding: 0 4px !important; letter-spacing: 0 !important; }
.hero-cinematic .hero-scroll-hint { position: absolute; bottom: 130px; right: 48px; z-index: 7; }

@media (max-width: 768px) {
  .hero-cinematic-content { padding: 0 28px; }
  .hero-line-top, .hero-line-bottom { left: 24px; right: 24px; }
  .hero-indicators { display: none; }
  .hero-cinematic .hero-scroll-hint { display: none; }
  .hero-ticker-wrap { bottom: 40px; }
  .hero-property-count { display: none; }
}

/* ============ EDITORIAL INTRO ============ */
.editorial-intro {
  padding: 100px 0;
  background: var(--black);
  border-bottom: 1px solid rgba(197,163,105,0.1);
}
.editorial-intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.editorial-quote {
  position: relative;
  padding-left: 28px;
  border-left: 1px solid var(--gold);
}
.editorial-quote p {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 300;
  line-height: 1.45;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.editorial-quote p em { font-style: italic; color: var(--gold-light); }
.editorial-quote span {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
}
.editorial-body p {
  font-size: 15px;
  color: rgba(242,237,230,0.65);
  line-height: 1.95;
  margin-bottom: 20px;
}
.editorial-body p:last-child { margin-bottom: 0; }

.section-intro {
  font-size: 15px;
  color: rgba(242,237,230,0.55);
  margin-top: 16px;
  max-width: 540px;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .editorial-intro-inner { grid-template-columns: 1fr; gap: 48px; }
}


.page-header {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 60px;
  background: var(--black-2);
  border-bottom: 1px solid rgba(197,163,105,0.12);
}
.page-header-inner {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 40px;
}
.explore-filters {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.filter-btn {
  padding: 9px 20px;
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gray-light);
  border: 1px solid rgba(197,163,105,0.2);
  transition: all 0.2s;
  cursor: pointer;
}
.filter-btn:hover, .filter-btn.active {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(197,163,105,0.06);
}
.explore-section { padding: 60px 0 120px; }
.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2px;
}
.explore-card {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--black-3);
}
.explore-card-img {
  position: absolute; inset: 0;
  transition: transform 0.8s var(--ease);
}
.explore-card:hover .explore-card-img { transform: scale(1.04); }
.explore-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,0.88) 0%, transparent 55%);
}
.explore-card-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; }
.explore-card-location {
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 6px;
}
.explore-card-title {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 300;
  color: var(--white); margin-bottom: 8px; line-height: 1.2;
}
.explore-card-meta {
  font-size: 12px; color: rgba(242,237,230,0.6);
  display: flex; gap: 14px;
}
.explore-card-meta span::before { content: ''; }
.no-results {
  grid-column: 1/-1; text-align: center;
  padding: 80px 0; color: var(--gray);
  font-family: var(--font-display); font-size: 24px; font-weight: 300;
}

/* ============ PROPERTY PAGE ============ */
.property-hero {
  height: 100vh; min-height: 600px;
  position: relative; overflow: hidden;
}
.property-hero-img { position: absolute; inset: 0; }
.property-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,0.9) 0%, rgba(13,13,13,0.3) 60%, transparent 100%);
}
.property-hero-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 60px 80px;
}
.property-ref {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: 16px;
}
.property-title-hero {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 300; color: var(--white);
  line-height: 1.05; margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.property-location-hero {
  font-size: 13px; color: rgba(242,237,230,0.65);
  letter-spacing: 0.06em;
}
.property-price-hero {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 300; color: var(--gold);
  margin-top: 8px;
}
@media (max-width: 768px) {
  .property-hero-content { padding: 40px 24px; }
}

/* GALLERY */
.property-gallery {
  background: var(--black-2);
  padding: 2px 0;
}
.gallery-strip {
  display: flex; overflow-x: auto; gap: 2px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.gallery-strip::-webkit-scrollbar { height: 2px; }
.gallery-strip::-webkit-scrollbar-thumb { background: var(--gold-dark); }
.gallery-thumb {
  flex-shrink: 0; width: 240px; height: 160px;
  scroll-snap-align: start;
  overflow: hidden; cursor: pointer;
  position: relative; opacity: 0.6;
  transition: opacity 0.2s;
}
.gallery-thumb.active { opacity: 1; }
.gallery-thumb:hover { opacity: 0.85; }
.gallery-main-wrap {
  position: relative; overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--black-3);
}
.gallery-main { position: absolute; inset: 0; transition: opacity 0.4s; }
.gallery-main.fade-out { opacity: 0; }
.gallery-nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 24px;
  background: var(--black-2);
}
.gallery-counter { font-size: 11px; color: var(--gray); letter-spacing: 0.1em; }
.gallery-arrows { display: flex; gap: 12px; }
.gallery-arrow {
  width: 40px; height: 40px;
  border: 1px solid rgba(197,163,105,0.3);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s;
}
.gallery-arrow:hover { border-color: var(--gold); background: rgba(197,163,105,0.08); }
.gallery-arrow svg { width: 16px; height: 16px; stroke: var(--gold); }

/* PROPERTY BODY */
.property-body { padding: 80px 0; }
.property-layout { display: grid; grid-template-columns: 1fr 380px; gap: 80px; }
.property-description {
  font-size: 16px; color: rgba(242,237,230,0.8);
  line-height: 2.0;
}
.property-description p + p { margin-top: 20px; }
.property-specs-block { margin-top: 48px; }
.property-specs-title {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.spec-item { display: flex; flex-direction: column; gap: 4px; }
.spec-label { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray); }
.spec-value { font-size: 15px; color: var(--white); }

/* SIDEBAR */
.property-sidebar { position: sticky; top: 100px; height: fit-content; }
.price-card {
  background: var(--black-2);
  border: 1px solid rgba(197,163,105,0.2);
  padding: 36px;
  margin-bottom: 24px;
}
.price-label { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray); margin-bottom: 8px; }
.price-value {
  font-family: var(--font-display);
  font-size: 42px; font-weight: 300; color: var(--gold);
  line-height: 1; margin-bottom: 28px;
}
.enquiry-btn-main {
  display: block; width: 100%; padding: 16px;
  background: var(--gold);
  color: var(--black);
  font-size: 11px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; text-align: center;
  border: none; cursor: pointer;
  transition: background 0.2s;
}
.enquiry-btn-main:hover { background: var(--gold-light); }
.amenities-card {
  background: var(--black-2);
  border: 1px solid rgba(197,163,105,0.1);
  padding: 28px;
}
.amenities-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.amenity-item {
  font-size: 13px; color: rgba(242,237,230,0.7);
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(197,163,105,0.08);
}
.amenity-item:last-child { border-bottom: none; padding-bottom: 0; }
.amenity-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

@media (max-width: 900px) {
  .property-layout { grid-template-columns: 1fr; }
  .property-sidebar { position: static; }
}

/* SIMILAR PROPERTIES */
.similar-section { padding: 80px 0 100px; background: var(--black-2); }

/* ENQUIRY MODAL */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(13,13,13,0.88);
  backdrop-filter: blur(8px);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-panel {
  background: var(--black-2);
  border-top: 1px solid rgba(197,163,105,0.3);
  border-left: 1px solid rgba(197,163,105,0.15);
  border-right: 1px solid rgba(197,163,105,0.15);
  width: 100%; max-width: 600px;
  padding: 48px;
  transform: translateY(40px);
  transition: transform 0.4s var(--ease);
}
.modal-overlay.open .modal-panel { transform: translateY(0); }
.modal-close {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px;
  border: 1px solid rgba(197,163,105,0.2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--gray);
  transition: all 0.2s;
}
.modal-close:hover { border-color: var(--gold); color: var(--gold); }
.modal-title {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 300; color: var(--white);
  margin-bottom: 8px;
}
.modal-subtitle { font-size: 13px; color: var(--gray); margin-bottom: 36px; }
.modal-options { display: flex; gap: 14px; flex-wrap: wrap; }
.modal-option {
  flex: 1; min-width: 200px;
  padding: 20px 24px;
  border: 1px solid rgba(197,163,105,0.2);
  display: flex; align-items: center; gap: 14px;
  cursor: pointer; transition: all 0.2s;
  color: var(--white);
  text-decoration: none;
}
.modal-option:hover { border-color: var(--gold); background: rgba(197,163,105,0.05); }
.modal-option-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.modal-option-icon.whatsapp { background: rgba(37,211,102,0.15); color: #25D366; }
.modal-option-icon.email { background: rgba(197,163,105,0.12); color: var(--gold); }
.modal-option-text strong { display: block; font-size: 14px; font-weight: 500; margin-bottom: 2px; }
.modal-option-text span { font-size: 12px; color: var(--gray); }

/* ============ ABOUT PAGE ============ */
.about-hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 80px;
  background: var(--black-2);
}
.about-grid { display: grid; grid-template-columns: 1fr 480px; gap: 100px; align-items: start; }
.about-photo { height: 600px; background-size: cover; background-position: center top; filter: grayscale(10%); }
.about-body { padding-top: 20px; }
.about-body p { font-size: 16px; color: rgba(242,237,230,0.75); line-height: 1.95; margin-bottom: 22px; }
.about-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.badge {
  padding: 9px 18px;
  border: 1px solid rgba(197,163,105,0.25);
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gray-light);
}
@media (max-width: 1000px) { .about-grid { grid-template-columns: 1fr; } .about-photo { height: 400px; } }

/* ============ ADMIN PAGE ============ */
.admin-page { min-height: 100vh; padding-top: var(--nav-h); background: var(--black); }
.admin-login-wrap {
  display: flex; align-items: center; justify-content: center;
  min-height: calc(100vh - var(--nav-h));
  padding: 40px;
}
.admin-login-card {
  background: var(--black-2);
  border: 1px solid rgba(197,163,105,0.2);
  padding: 56px; width: 100%; max-width: 440px;
}
.admin-login-card h2 {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 300; color: var(--white);
  margin-bottom: 8px;
}
.admin-login-card p { font-size: 13px; color: var(--gray); margin-bottom: 36px; }
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block; font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gray);
  margin-bottom: 8px;
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 13px 16px;
  background: var(--black-3);
  border: 1px solid rgba(197,163,105,0.2);
  color: var(--white); font-family: var(--font-body); font-size: 14px;
  transition: border-color 0.2s;
  outline: none;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--gold);
}
.form-field textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.form-field select { appearance: none; }
.form-error { font-size: 12px; color: #E24B4A; margin-top: 20px; }
.admin-panel { padding: 0; }
.admin-topbar {
  background: var(--black-2);
  border-bottom: 1px solid rgba(197,163,105,0.12);
  padding: 20px 40px;
  display: flex; justify-content: space-between; align-items: center;
}
.admin-topbar h1 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 300; color: var(--white);
}
.admin-content { max-width: 1280px; margin: 0 auto; padding: 48px 40px; }
.admin-section-title {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(197,163,105,0.12);
}
.admin-listings-table { width: 100%; border-collapse: collapse; margin-bottom: 48px; }
.admin-listings-table th {
  font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gray); font-weight: 400; padding: 10px 0;
  border-bottom: 1px solid rgba(197,163,105,0.12);
  text-align: left;
}
.admin-listings-table td {
  padding: 16px 0; font-size: 13px; color: rgba(242,237,230,0.75);
  border-bottom: 1px solid rgba(197,163,105,0.06);
  vertical-align: middle;
}
.admin-listings-table td:first-child { font-size: 10px; color: var(--gold-dark); letter-spacing: 0.1em; }
.admin-row-title { font-size: 14px !important; color: var(--white) !important; }
.admin-status {
  display: inline-block; padding: 3px 10px;
  font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase;
}
.admin-status.published { background: rgba(37,211,102,0.1); color: #25D366; }
.admin-status.draft { background: rgba(197,163,105,0.1); color: var(--gold); }
.admin-row-actions { display: flex; gap: 10px; }
.admin-action-btn {
  font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gray); padding: 5px 10px;
  border: 1px solid rgba(197,163,105,0.1);
  cursor: pointer; transition: all 0.2s;
}
.admin-action-btn:hover { border-color: var(--gold); color: var(--gold); }
.admin-action-btn.delete:hover { border-color: #E24B4A; color: #E24B4A; }
.add-listing-form {
  background: var(--black-2);
  border: 1px solid rgba(197,163,105,0.12);
  padding: 40px; margin-top: 16px;
}

/* PASTE TOOL */
.paste-tool {
  background: rgba(197,163,105,0.04);
  border: 1px solid rgba(197,163,105,0.2);
  padding: 20px 24px;
  margin-bottom: 32px;
}
.paste-tool-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 20px;
}
.paste-tool-title {
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 6px;
}
.paste-tool-desc {
  font-size: 12px; color: var(--gray); line-height: 1.6; max-width: 560px;
}
.paste-tool-toggle {
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); padding: 8px 18px;
  border: 1px solid rgba(197,163,105,0.3);
  background: none; cursor: pointer; flex-shrink: 0;
  transition: all 0.2s;
}
.paste-tool-toggle:hover { border-color: var(--gold); background: rgba(197,163,105,0.08); }
.paste-tool-body { margin-top: 16px; }
.paste-tool-body textarea {
  width: 100%; padding: 14px 16px;
  background: var(--black-3);
  border: 1px solid rgba(197,163,105,0.2);
  color: var(--white); font-family: var(--font-body); font-size: 13px;
  line-height: 1.6; resize: vertical; outline: none;
  transition: border-color 0.2s;
}
.paste-tool-body textarea:focus { border-color: var(--gold); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.img-upload-area {
  border: 1px dashed rgba(197,163,105,0.3);
  padding: 32px;
  text-align: center; cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.img-upload-area:hover { border-color: var(--gold); background: rgba(197,163,105,0.03); }
.img-upload-area p { font-size: 12px; color: var(--gray); margin-top: 8px; }
.img-upload-area input[type="file"] { display: none; }
.img-preview-strip { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.img-preview-thumb {
  width: 80px; height: 60px; position: relative;
  background: var(--black-3);
}
.img-preview-thumb img { width: 100%; height: 100%; object-fit: cover; }
.img-remove {
  position: absolute; top: 2px; right: 2px;
  width: 18px; height: 18px;
  background: rgba(226,75,74,0.8);
  color: white; border: none; cursor: pointer;
  font-size: 10px; display: flex; align-items: center; justify-content: center;
}
.admin-toggle {
  display: flex; align-items: center; gap: 12px;
  cursor: pointer;
}
.toggle-track {
  width: 44px; height: 24px;
  background: var(--black-3);
  border: 1px solid rgba(197,163,105,0.3);
  border-radius: 12px; position: relative;
  transition: background 0.2s;
}
.toggle-track.on { background: var(--gold-dark); }
.toggle-thumb {
  position: absolute; top: 3px; left: 3px;
  width: 16px; height: 16px;
  background: var(--white); border-radius: 50%;
  transition: transform 0.2s;
}
.toggle-track.on .toggle-thumb { transform: translateX(20px); }
.admin-save-btn {
  display: inline-block; padding: 14px 40px;
  background: var(--gold); color: var(--black);
  font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  border: none; cursor: pointer; transition: background 0.2s;
  margin-top: 32px;
}
.admin-save-btn:hover { background: var(--gold-light); }
.toast {
  position: fixed; bottom: 32px; right: 32px; z-index: 300;
  background: var(--black-2); border: 1px solid rgba(197,163,105,0.3);
  padding: 16px 24px; font-size: 13px; color: var(--white);
  transform: translateY(20px); opacity: 0;
  transition: all 0.3s var(--ease);
  pointer-events: none;
}
.toast.show { transform: translateY(0); opacity: 1; }
.amenities-input-wrap { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.amenity-tag {
  background: rgba(197,163,105,0.1);
  border: 1px solid rgba(197,163,105,0.25);
  padding: 5px 12px;
  font-size: 11px; color: var(--gold);
  display: flex; align-items: center; gap: 8px;
}
.amenity-tag button { background: none; border: none; color: var(--gray); cursor: pointer; font-size: 12px; padding: 0; }
.amenity-tag button:hover { color: #E24B4A; }
.amenity-add-row { display: flex; gap: 8px; margin-top: 8px; }
.amenity-add-row input { flex: 1; }
.amenity-add-btn {
  padding: 0 16px;
  background: rgba(197,163,105,0.1);
  border: 1px solid rgba(197,163,105,0.3);
  color: var(--gold); font-size: 18px; cursor: pointer;
  transition: background 0.2s;
}
.amenity-add-btn:hover { background: rgba(197,163,105,0.2); }

/* ============ PORTAL TRANSITION ============ */
.portal-transition {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--black);
  clip-path: circle(0% at 50% 50%);
  transition: clip-path 0.7s var(--ease);
  pointer-events: none;
}
.portal-transition.open { clip-path: circle(150% at 50% 50%); pointer-events: all; }

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
