/* ============================================
   ACKRES — DESIGN SYSTEM
   Minimalist Luxury Real Estate
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;1,400&display=swap');

/* --- Custom Properties --- */
:root {
  --black:        #0a0a0a;
  --off-black:    #111111;
  --dark:         #1a1a1a;
  --mid:          #2c2c2c;
  --border:       #2a2a2a;
  --muted:        #6b6b6b;
  --light-muted:  #9a9a9a;
  --off-white:    #f5f3ef;
  --white:        #ffffff;
  --gold:         #c9a96e;
  --gold-light:   #e2c99a;
  --gold-dark:    #a07b45;

  --font-sans:    'Inter', system-ui, sans-serif;
  --font-serif:   'Playfair Display', Georgia, serif;

  --ease-out:     cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out:  cubic-bezier(0.65, 0, 0.35, 1);

  --nav-h:        72px;
  --section-pad:  clamp(64px, 8vw, 120px);
  --container:    1320px;
  --gutter:       clamp(20px, 4vw, 60px);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

img, video {
  max-width: 100%;
  display: block;
}

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

ul, ol { list-style: none; }

/* --- Custom Cursor --- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s var(--ease-out), width 0.3s var(--ease-out), height 0.3s var(--ease-out), background 0.3s;
  mix-blend-mode: normal;
}

.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1px solid rgba(201,169,110,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease-out), width 0.4s var(--ease-out), height 0.4s var(--ease-out), border-color 0.3s;
}

.cursor.hover { width: 14px; height: 14px; background: var(--gold-light); }
.cursor-ring.hover { width: 56px; height: 56px; border-color: var(--gold); }

/* --- Scroll Progress --- */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  z-index: 1001;
  transition: width 0.1s linear;
}

/* --- Container --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease-out), border-color 0.4s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
}

.nav-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  display: block;
  filter: invert(1) grayscale(1) brightness(1.05);
}

.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--white);
}

.nav-logo-dot {
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  margin-left: 1px;
  margin-bottom: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--light-muted);
  position: relative;
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}

.nav-link:hover, .nav-link.active {
  color: var(--white);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  padding: 10px 24px;
  border-radius: 2px;
  transition: background 0.3s, transform 0.2s var(--ease-out);
}

.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  height: 1px;
  background: var(--white);
  transition: all 0.3s var(--ease-out);
}

.nav-hamburger span:nth-child(1) { width: 28px; }
.nav-hamburger span:nth-child(2) { width: 20px; }
.nav-hamburger span:nth-child(3) { width: 24px; }

.nav-hamburger.open span:nth-child(1) { width: 24px; transform: rotate(45deg) translate(4px, 4px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { width: 24px; transform: rotate(-45deg) translate(4px, -4px); }

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0; bottom: 0;
  background: var(--off-black);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}

.nav-mobile.open {
  opacity: 1;
  pointer-events: all;
}

.nav-mobile .nav-link {
  font-size: 28px;
  letter-spacing: 0.04em;
  text-transform: none;
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--white);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1410 50%, #0d0d0d 100%);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(201,169,110,0.06) 0%, transparent 70%);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.25;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,1) 0%, rgba(10,10,10,0.3) 50%, rgba(10,10,10,0.1) 100%);
  z-index: 1;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  padding-bottom: clamp(64px, 8vw, 100px);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.3s forwards;
}

.hero-tag-line {
  width: 32px; height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  max-width: 900px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.5s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 300;
  color: var(--light-muted);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.7s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.9s forwards;
}

.hero-stats {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(64px, 8vw, 100px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 32px;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 1.1s forwards;
}

.hero-stat-num {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 400;
  color: var(--white);
  line-height: 1;
}

.hero-stat-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  align-self: center;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 1.4s forwards;
}

.hero-scroll-text {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201,169,110,0.25);
}

.btn-outline {
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-icon {
  width: 18px; height: 18px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
}

.btn:hover .btn-icon { transform: translateX(4px); }

/* --- Section Common --- */
.section {
  padding: var(--section-pad) 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(40px, 5vw, 72px);
  flex-wrap: wrap;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-tag-line {
  width: 28px; height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.section-title em { font-style: italic; color: var(--gold); }

.section-desc {
  font-size: 15px;
  color: var(--light-muted);
  line-height: 1.75;
  max-width: 420px;
}

/* --- Property Cards --- */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2px;
}

.prop-card {
  position: relative;
  background: var(--off-black);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease-out);
}

.prop-card:hover { transform: translateY(-4px); }

.prop-card-img {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: var(--dark);
}

.prop-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), filter 0.4s;
  filter: brightness(0.85);
}

.prop-card:hover .prop-card-img img {
  transform: scale(1.04);
  filter: brightness(1);
}

.prop-card-badge {
  position: absolute;
  top: 16px; left: 16px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
  z-index: 1;
}

.badge-sale { background: var(--gold); color: var(--black); }
.badge-rent { background: transparent; border: 1px solid var(--gold); color: var(--gold); }
.badge-sold { background: var(--dark); color: var(--muted); }
.badge-new { background: var(--white); color: var(--black); }

.prop-card-wishlist {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  background: rgba(10,10,10,0.6);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1;
  transition: background 0.3s, transform 0.2s var(--ease-out);
  border: 1px solid rgba(255,255,255,0.1);
}

.prop-card-wishlist:hover {
  background: rgba(201,169,110,0.15);
  border-color: var(--gold);
  transform: scale(1.1);
}

.prop-card-wishlist svg { width: 16px; height: 16px; fill: none; stroke: var(--white); stroke-width: 1.5; transition: stroke 0.3s, fill 0.3s; }
.prop-card-wishlist.active svg { fill: var(--gold); stroke: var(--gold); }

.prop-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-top: none;
}

.prop-card-price {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 8px;
}

.prop-card-price span {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 4px;
}

.prop-card-title {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--white);
  margin-bottom: 8px;
  transition: color 0.3s;
}

.prop-card:hover .prop-card-title { color: var(--gold-light); }

.prop-card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}

.prop-card-location svg { width: 13px; height: 13px; flex-shrink: 0; }

.prop-card-specs {
  display: flex;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.prop-spec {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--light-muted);
}

.prop-spec svg { width: 14px; height: 14px; }

.prop-spec strong { color: var(--white); font-weight: 500; }

/* Featured card (large) */
.prop-card-featured {
  grid-column: 1 / -1;
  flex-direction: row;
  height: 440px;
}

.prop-card-featured .prop-card-img {
  height: auto;
  width: 55%;
  flex-shrink: 0;
}

.prop-card-featured .prop-card-body {
  border: 1px solid var(--border);
  border-left: none;
  padding: 40px;
}

.prop-card-featured .prop-card-price { font-size: 30px; }
.prop-card-featured .prop-card-title { font-size: 22px; }

/* --- Search / Filter Bar --- */
.search-bar {
  background: var(--off-black);
  border: 1px solid var(--border);
  padding: 6px 6px 6px 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border-radius: 3px;
  margin-bottom: 56px;
}

.search-field {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-field svg { width: 16px; height: 16px; color: var(--muted); flex-shrink: 0; }

.search-field input {
  flex: 1;
  font-size: 14px;
  color: var(--white);
  background: transparent;
  padding: 10px 0;
}

.search-field input::placeholder { color: var(--muted); }

.search-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
}

.search-select {
  position: relative;
  min-width: 140px;
}

.search-select select {
  appearance: none;
  -webkit-appearance: none;
  font-size: 13px;
  color: var(--light-muted);
  background: transparent;
  padding: 10px 32px 10px 0;
  cursor: pointer;
  width: 100%;
}

.search-select::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  border: 4px solid transparent;
  border-top-color: var(--muted);
  margin-top: 3px;
  pointer-events: none;
}

.search-btn {
  background: var(--gold);
  color: var(--black);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s var(--ease-out);
  white-space: nowrap;
}

.search-btn:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* Filter pills */
.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-pill {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.25s;
}

.filter-pill:hover { border-color: var(--gold); color: var(--gold); }
.filter-pill.active { background: var(--gold); border-color: var(--gold); color: var(--black); }

/* --- Stats Strip --- */
.stats-strip {
  background: var(--off-black);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}

.stat-item {
  background: var(--off-black);
  padding: 40px;
  text-align: center;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-num .stat-accent { color: var(--gold); }

.stat-label {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- Features Section --- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.feature-card {
  background: var(--off-black);
  padding: clamp(32px, 4vw, 56px);
  border: 1px solid var(--border);
  transition: border-color 0.3s, background 0.3s;
}

.feature-card:hover {
  border-color: var(--gold);
  background: rgba(201,169,110,0.02);
}

.feature-icon {
  width: 48px; height: 48px;
  background: rgba(201,169,110,0.1);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-icon svg { width: 22px; height: 22px; color: var(--gold); }

.feature-title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 1.3;
}

.feature-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

/* --- About / Split Section --- */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }

.split-img {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}

.split-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.9);
  transition: transform 0.6s var(--ease-out), filter 0.4s;
}

.split-img:hover img {
  transform: scale(1.03);
  filter: brightness(1);
}

.split-img-accent {
  position: absolute;
  bottom: -1px; right: -1px;
  width: 40%; height: 35%;
  border: 2px solid var(--gold);
  pointer-events: none;
}

.split-img-counter {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--black);
  border: 1px solid var(--border);
  padding: 20px 24px;
}

.split-img-counter-num {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--gold);
}

.split-img-counter-text {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.split-content { max-width: 520px; }

.split-body {
  font-size: 15px;
  color: var(--light-muted);
  line-height: 1.8;
  margin-top: 24px;
  margin-bottom: 40px;
}

.split-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}

.split-list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14px;
  color: var(--light-muted);
}

.split-list-item::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}

/* --- Team Grid --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2px;
}

.team-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.team-card-img {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--dark);
}

.team-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(30%) brightness(0.85);
  transition: transform 0.5s var(--ease-out), filter 0.4s;
}

.team-card:hover .team-card-img img {
  transform: scale(1.04);
  filter: grayscale(0%) brightness(1);
}

.team-card-body {
  padding: 20px 0;
}

.team-card-name {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 4px;
}

.team-card-role {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

/* --- Testimonials --- */
.testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.testimonial-card {
  background: var(--off-black);
  border: 1px solid var(--border);
  padding: 40px;
  transition: border-color 0.3s;
}

.testimonial-card:hover { border-color: rgba(201,169,110,0.3); }

.testimonial-quote {
  font-size: 28px;
  color: var(--gold);
  font-family: var(--font-serif);
  line-height: 1;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--light-muted);
  line-height: 1.75;
  margin-bottom: 32px;
  font-style: italic;
  font-family: var(--font-serif);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--dark);
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }

.testimonial-name {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 2px;
}

.testimonial-meta {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 20px;
}

.testimonial-star {
  width: 14px; height: 14px;
  fill: var(--gold);
}

/* --- CTA Section --- */
.cta-section {
  background: var(--off-black);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--section-pad) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,169,110,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 20px;
}

.cta-sub {
  font-size: 16px;
  color: var(--light-muted);
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  background: var(--off-black);
  border-top: 1px solid var(--border);
  padding-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo-img {
  height: 36px;
  width: auto;
  display: block;
  filter: invert(1) grayscale(1) brightness(1.05);
}

.footer-logo-text {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
}

.footer-logo-dot {
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  margin-left: 1px;
  margin-bottom: 3px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: border-color 0.3s, color 0.3s;
}

.footer-social:hover { border-color: var(--gold); color: var(--gold); }
.footer-social svg { width: 15px; height: 15px; }

.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
}

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

.footer-link {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.25s;
}

.footer-link:hover { color: var(--gold); }

.footer-newsletter input {
  width: 100%;
  background: var(--dark);
  border: 1px solid var(--border);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--white);
  border-radius: 2px;
  margin-bottom: 10px;
  transition: border-color 0.3s;
}

.footer-newsletter input:focus { border-color: var(--gold); }
.footer-newsletter input::placeholder { color: var(--muted); }

.footer-newsletter button {
  width: 100%;
  background: var(--gold);
  color: var(--black);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s;
}

.footer-newsletter button:hover { background: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 13px;
  color: var(--muted);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.25s;
}

.footer-legal a:hover { color: var(--gold); }

/* --- Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Page Header (inner pages) --- */
.page-header {
  padding-top: calc(var(--nav-h) + clamp(48px, 6vw, 80px));
  padding-bottom: clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,169,110,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.page-header-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.page-header-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 16px;
}

.page-header-sub {
  font-size: 15px;
  color: var(--light-muted);
  max-width: 560px;
  line-height: 1.75;
}

/* --- Property Detail --- */
.prop-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 400px 200px;
  gap: 3px;
}

.prop-gallery-main {
  grid-row: 1 / 3;
  overflow: hidden;
}

.prop-gallery-main img, .prop-gallery-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.4s var(--ease-out), filter 0.3s;
  filter: brightness(0.9);
}

.prop-gallery-thumb { overflow: hidden; }

.prop-gallery-main img:hover,
.prop-gallery-thumb img:hover {
  transform: scale(1.03);
  filter: brightness(1);
}

.prop-detail-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
  margin-top: 48px;
}

.prop-detail-price {
  font-family: var(--font-serif);
  font-size: 38px;
  color: var(--gold);
  margin-bottom: 8px;
}

.prop-detail-title {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 12px;
}

.prop-detail-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 32px;
}

.prop-detail-specs {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  margin-bottom: 40px;
}

.prop-detail-spec {
  flex: 1;
  padding: 20px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.prop-detail-spec:last-child { border-right: none; }

.prop-detail-spec-val {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--white);
  margin-bottom: 4px;
}

.prop-detail-spec-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.prop-detail-desc {
  font-size: 15px;
  color: var(--light-muted);
  line-height: 1.8;
  margin-bottom: 40px;
}

.prop-amenities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 40px;
}

.prop-amenity {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--light-muted);
}

.prop-amenity svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }

/* Contact sidebar card */
.prop-contact-card {
  background: var(--off-black);
  border: 1px solid var(--border);
  padding: 32px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.agent-info {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.agent-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--dark);
  flex-shrink: 0;
}

.agent-avatar img { width: 100%; height: 100%; object-fit: cover; }

.agent-name { font-size: 15px; font-weight: 500; margin-bottom: 3px; }
.agent-title { font-size: 12px; color: var(--muted); }

.contact-form-group { margin-bottom: 14px; }

.contact-form-group input,
.contact-form-group textarea {
  width: 100%;
  background: var(--dark);
  border: 1px solid var(--border);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--white);
  border-radius: 2px;
  transition: border-color 0.3s;
  resize: vertical;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
  border-color: var(--gold);
}

.contact-form-group input::placeholder,
.contact-form-group textarea::placeholder { color: var(--muted); }

.contact-submit {
  width: 100%;
  background: var(--gold);
  color: var(--black);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s var(--ease-out);
}

.contact-submit:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 36px;
}

.contact-info-icon {
  width: 44px; height: 44px;
  background: rgba(201,169,110,0.1);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg { width: 20px; height: 20px; color: var(--gold); }

.contact-info-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.contact-info-value {
  font-size: 16px;
  color: var(--white);
  font-weight: 400;
}

.contact-main-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-main-form .form-group {
  margin-bottom: 16px;
}

.contact-main-form label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.contact-main-form input,
.contact-main-form textarea,
.contact-main-form select {
  width: 100%;
  background: var(--off-black);
  border: 1px solid var(--border);
  padding: 14px 18px;
  font-size: 14px;
  color: var(--white);
  border-radius: 2px;
  transition: border-color 0.3s;
}

.contact-main-form select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.contact-main-form input:focus,
.contact-main-form textarea:focus,
.contact-main-form select:focus { border-color: var(--gold); }

.contact-main-form input::placeholder,
.contact-main-form textarea::placeholder { color: var(--muted); }

.contact-main-form textarea { min-height: 140px; resize: vertical; }

/* --- Map Placeholder --- */
.map-container {
  height: 400px;
  background: var(--off-black);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.map-placeholder-text {
  text-align: center;
  z-index: 1;
}

.map-placeholder-text svg { width: 32px; height: 32px; color: var(--gold); margin: 0 auto 12px; }
.map-placeholder-text p { font-size: 13px; color: var(--muted); }

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.lightbox.open { opacity: 1; pointer-events: all; }

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border: 1px solid var(--border);
}

.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  transition: border-color 0.3s, color 0.3s;
}

.lightbox-close:hover { border-color: var(--gold); color: var(--gold); }
.lightbox-close svg { width: 18px; height: 18px; }

/* --- Toast / Notification --- */
.toast {
  position: fixed;
  bottom: 32px; right: 32px;
  background: var(--off-black);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  padding: 16px 24px;
  font-size: 14px;
  color: var(--white);
  z-index: 3000;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s var(--ease-out);
  pointer-events: none;
  max-width: 320px;
}

.toast.show { transform: none; opacity: 1; }

/* --- Keyframes --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  50.01% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- Utilities --- */
.text-gold { color: var(--gold); }
.text-muted { color: var(--muted); }
.text-serif { font-family: var(--font-serif); }
.mb-0 { margin-bottom: 0; }
.mt-auto { margin-top: auto; }

/* --- Responsive --- */
@media (max-width: 1100px) {
  .split-section { grid-template-columns: 1fr; gap: 48px; }
  .split-section.reverse { direction: ltr; }
  .split-img { aspect-ratio: 16/9; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .prop-card-featured { flex-direction: column; height: auto; }
  .prop-card-featured .prop-card-img { width: 100%; height: 280px; }
}

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-track { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .prop-gallery { grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
  .prop-gallery-main { grid-row: auto; height: 320px; }
  .prop-gallery-thumb { height: 180px; }
  .prop-detail-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile { display: flex; }
  .hero-stats { display: none; }
}

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: 1fr; }
  .properties-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(36px, 10vw, 56px); }
  .prop-detail-specs { flex-wrap: wrap; }
  .prop-detail-spec { flex: 1 0 40%; border-bottom: 1px solid var(--border); }
  .contact-main-form .form-row { grid-template-columns: 1fr; }
  .toast { left: 16px; right: 16px; }
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }
}
