/* ============================================================
   SHORTLETS LONDON — Main Stylesheet
   Aesthetic: Refined London Luxury — Deep Navy, Warm Gold, Cream
   Fonts: Cormorant Garamond (display) + DM Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --navy:        #0d1b2a;
  --navy-mid:    #152336;
  --navy-light:  #1e3350;
  --gold:        #c9a84c;
  --gold-light:  #e0c070;
  --gold-pale:   #f5e9c8;
  --cream:       #f8f4ed;
  --cream-dark:  #ede8df;
  --white:       #ffffff;
  --charcoal:    #2d3748;
  --mist:        #8fa0b4;
  --fog:         #c5d0dc;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', -apple-system, sans-serif;

  --radius-sm:   4px;
  --radius:      8px;
  --radius-lg:   16px;
  --radius-pill: 999px;

  --shadow-sm:   0 2px 8px rgba(13,27,42,0.12);
  --shadow:      0 8px 32px rgba(13,27,42,0.18);
  --shadow-lg:   0 24px 64px rgba(13,27,42,0.28);
  --shadow-gold: 0 4px 24px rgba(201,168,76,0.25);

  --transition:  0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --container:   1320px;
  --gutter:      clamp(20px, 5vw, 60px);
}

/* ── RESET & BASE ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }
ul { list-style: none; }

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--navy);
}

h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 300; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

p { max-width: 68ch; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── LAYOUT ─────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  border: 1.5px solid var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-sm { padding: 10px 22px; font-size: 0.8rem; }
.btn-lg { padding: 18px 44px; font-size: 1rem; }

/* ── HEADER / NAV ────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition-slow);
}

#site-header.transparent {
  background: transparent;
}

#site-header.scrolled {
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(201,168,76,0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 2rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-mark {
  width: 40px; height: 40px;
  background: var(--gold);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--navy);
  font-weight: 600;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text .name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.02em;
}

.logo-text .tagline {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.primary-nav a {
  padding: 8px 18px;
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.04em;
  transition: var(--transition);
  position: relative;
}

.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 18px; right: 18px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: var(--transition);
}

.primary-nav a:hover,
.primary-nav a.current {
  color: var(--white);
}

.primary-nav a:hover::after,
.primary-nav a.current::after {
  transform: scaleX(1);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--white);
  transition: var(--transition);
}

@media (max-width: 900px) {
  .primary-nav { display: none; }
  .nav-toggle { display: flex; }

  .primary-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 80px; left: 0; right: 0; bottom: 0;
    background: var(--navy);
    padding: 3rem var(--gutter);
    gap: 4px;
    z-index: 999;
  }

  .primary-nav.open a {
    font-size: 1.5rem;
    font-family: var(--font-display);
    padding: 14px 0;
    color: var(--cream);
    border-bottom: 1px solid rgba(201,168,76,0.15);
  }
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    175deg,
    rgba(13,27,42,0.72) 0%,
    rgba(13,27,42,0.45) 40%,
    rgba(13,27,42,0.75) 100%
  );
  z-index: 1;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%; height: 100%;
  z-index: 0;
  transform: scale(1.05);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}

/* Fallback gradient when no image */
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(201,168,76,0.08) 0%, transparent 60%),
    linear-gradient(165deg, #0d1b2a 0%, #152336 40%, #1a2e47 70%, #0d1b2a 100%);
  z-index: 0;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 100px;
  padding-top: 140px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 2rem;
  width: fit-content;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  color: var(--white);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

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

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.65);
  font-weight: 300;
  max-width: 540px;
  margin-bottom: 3rem;
  line-height: 1.7;
  font-family: var(--font-body);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(201,168,76,0.18);
  padding: 28px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 640px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

.hero-stat {
  padding: 16px var(--gutter);
  border-right: 1px solid rgba(201,168,76,0.12);
}

.hero-stat:last-child { border-right: none; }

.hero-stat .number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
}

.hero-stat .label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* ── SEARCH BAR ──────────────────────────────────────────── */
.search-bar-section {
  background: var(--white);
  padding: 0;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 100;
}

.search-bar-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr auto;
  align-items: stretch;
  min-height: 80px;
}

@media (max-width: 900px) {
  .search-bar-inner {
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--cream-dark);
  }
}

@media (max-width: 520px) {
  .search-bar-inner {
    grid-template-columns: 1fr;
  }
}

.search-field {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 24px;
  border-right: 1px solid var(--cream-dark);
  background: var(--white);
  transition: var(--transition);
}

.search-field:hover,
.search-field:focus-within {
  background: var(--cream);
}

.search-field label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 4px;
}

.search-field input,
.search-field select {
  border: none;
  background: none;
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 500;
  outline: none;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.search-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238fa0b4' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 20px;
}

.search-submit {
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  padding: 0 40px;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-submit:hover {
  background: var(--gold-light);
}

.search-submit svg {
  width: 16px; height: 16px;
}

/* ── SECTION DEFAULTS ────────────────────────────────────── */
.section {
  padding-block: clamp(60px, 8vw, 120px);
}

.section-header {
  margin-bottom: clamp(40px, 5vw, 70px);
}

.section-header .eyebrow {
  margin-bottom: 12px;
  display: block;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--mist);
  margin-top: 16px;
  font-weight: 300;
  line-height: 1.7;
}

/* ── PROPERTY CARD ───────────────────────────────────────── */
.property-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.property-card-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.property-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.property-card:hover .property-card-image img {
  transform: scale(1.06);
}

.property-card-image-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
}

.property-card-image-placeholder svg {
  width: 48px; height: 48px;
  opacity: 0.25;
  color: var(--white);
}

.property-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.property-badge.featured { background: var(--navy); color: var(--gold); }
.property-badge.new { background: #2d7a4f; color: var(--white); }

.property-wishlist {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  border: none;
}

.property-wishlist:hover { background: var(--white); transform: scale(1.1); }
.property-wishlist svg { width: 16px; height: 16px; color: var(--navy); }
.property-wishlist.active svg { fill: var(--gold); color: var(--gold); }

.property-card-body {
  padding: 22px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--mist);
  font-weight: 400;
  margin-bottom: 8px;
}

.property-location svg { width: 12px; height: 12px; flex-shrink: 0; }

.property-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 12px;
  transition: var(--transition);
}

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

.property-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.property-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  color: var(--charcoal);
}

.property-meta-item svg { width: 14px; height: 14px; color: var(--gold); }

.property-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--cream-dark);
  margin-top: auto;
}

.property-price {
  display: flex;
  flex-direction: column;
}

.property-price .amount {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
}

.property-price .period {
  font-size: 0.72rem;
  color: var(--mist);
  letter-spacing: 0.06em;
}

.property-cta {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.property-cta svg { width: 14px; height: 14px; transition: var(--transition); }
.property-cta:hover svg { transform: translateX(3px); }

/* ── FEATURED PROPERTY (large card) ─────────────────────── */
.property-card-featured {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

@media (max-width: 768px) {
  .property-card-featured { grid-template-columns: 1fr; }
}

.property-card-featured:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.property-card-featured .property-card-image {
  aspect-ratio: auto;
  min-height: 320px;
}

.property-card-featured .property-card-body {
  padding: 40px;
  justify-content: center;
}

/* ── MAP SECTION ─────────────────────────────────────────── */
#property-map {
  width: 100%;
  height: 600px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}

.map-section {
  background: var(--navy);
  padding-block: clamp(60px, 8vw, 100px);
}

.map-section .section-header h2,
.map-section .section-header .eyebrow { color: var(--white); }
.map-section .section-header p { color: rgba(255,255,255,0.55); }

.map-controls {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.map-filter-btn {
  padding: 8px 18px;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.05);
  transition: var(--transition);
  letter-spacing: 0.04em;
}

.map-filter-btn:hover,
.map-filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

/* Leaflet custom marker */
.leaflet-popup-content-wrapper {
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow) !important;
  padding: 0 !important;
  overflow: hidden;
  border: none !important;
}

.leaflet-popup-content {
  margin: 0 !important;
  width: 240px !important;
}

.map-popup {
  padding: 16px;
}

.map-popup-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 4px;
}

.map-popup-location {
  font-size: 0.75rem;
  color: var(--mist);
  margin-bottom: 10px;
}

.map-popup-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
}

.map-popup-link {
  display: block;
  text-align: center;
  padding: 10px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: var(--transition);
}

.map-popup-link:hover { background: var(--navy-light); }

.custom-map-marker {
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  border: 2px solid var(--white);
  cursor: pointer;
  transition: var(--transition);
}

.custom-map-marker:hover,
.custom-map-marker.active {
  background: var(--navy);
  color: var(--gold);
  transform: scale(1.1);
}

/* ── NEIGHBORHOODS ───────────────────────────────────────── */
.neighborhoods-section { background: var(--navy); }
.neighborhoods-section .section-header h2 { color: var(--white); }
.neighborhoods-section .eyebrow { color: var(--gold); }

.neighborhood-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  background: var(--navy-mid);
}

.neighborhood-card:nth-child(1) { aspect-ratio: 3/4; }
.neighborhood-card:nth-child(2) { aspect-ratio: 3/4; }

.neighborhood-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.neighborhood-card-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(145deg, var(--navy-mid), var(--navy-light));
}

.neighborhood-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(13,27,42,0.85) 0%, rgba(13,27,42,0.1) 50%);
  transition: var(--transition);
}

.neighborhood-card:hover img { transform: scale(1.08); }
.neighborhood-card:hover::after { background: linear-gradient(0deg, rgba(13,27,42,0.9) 0%, rgba(13,27,42,0.2) 60%); }

.neighborhood-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  padding: 28px;
}

.neighborhood-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 4px;
}

.neighborhood-count {
  font-size: 0.8rem;
  color: var(--gold-light);
  letter-spacing: 0.08em;
}

.neighborhood-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .neighborhood-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* ── WHY US / FEATURES ───────────────────────────────────── */
.features-section { background: var(--cream); }

.feature-card {
  padding: 36px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--cream-dark);
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}

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

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--mist);
  line-height: 1.7;
  max-width: 100%;
}

/* ── TESTIMONIALS ────────────────────────────────────────── */
.testimonials-section { background: var(--cream-dark); }

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--gold);
  opacity: 0.2;
  position: absolute;
  top: 10px; left: 24px;
  line-height: 1;
  pointer-events: none;
}

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

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

.testimonial-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--charcoal);
  margin-bottom: 24px;
  max-width: 100%;
}

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

.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold);
  font-weight: 500;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}

.testimonial-meta {
  font-size: 0.78rem;
  color: var(--mist);
}

/* ── PROPERTY ARCHIVE / LISTING PAGE ────────────────────── */
.archive-hero {
  background: var(--navy);
  padding: 120px 0 60px;
}

.archive-hero h1 { color: var(--white); }
.archive-hero .eyebrow { color: var(--gold); }
.archive-hero p { color: rgba(255,255,255,0.55); font-family: var(--font-body); }

.archive-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: start;
}

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

/* Sidebar Filters */
.filter-sidebar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
}

.filter-sidebar-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--cream-dark);
}

.filter-group {
  margin-bottom: 28px;
}

.filter-group:last-child { margin-bottom: 0; }

.filter-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 12px;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  padding: 7px 14px;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  color: var(--charcoal);
  background: var(--cream);
  transition: var(--transition);
  cursor: pointer;
}

.filter-chip:hover,
.filter-chip.active {
  border-color: var(--gold);
  background: var(--gold-pale);
  color: var(--navy);
}

.filter-range {
  width: 100%;
  accent-color: var(--gold);
}

.filter-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--mist);
  margin-top: 8px;
}

.filter-select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--charcoal);
  background: var(--cream);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238fa0b4' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  outline: none;
  transition: var(--transition);
}

.filter-select:focus { border-color: var(--gold); }

.filter-reset {
  width: 100%;
  padding: 12px;
  background: none;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--mist);
  transition: var(--transition);
  margin-top: 24px;
}

.filter-reset:hover { border-color: var(--navy); color: var(--navy); }

/* Properties Grid */
.properties-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.properties-count {
  font-size: 0.9rem;
  color: var(--mist);
}

.properties-count strong { color: var(--navy); }

.sort-select {
  padding: 9px 16px;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--charcoal);
  background: var(--white);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238fa0b4' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 32px;
  outline: none;
}

.view-toggle {
  display: flex;
  gap: 4px;
}

.view-btn {
  width: 36px; height: 36px;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  color: var(--mist);
  transition: var(--transition);
}

.view-btn.active, .view-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--cream);
}

.view-btn svg { width: 16px; height: 16px; }

.properties-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.properties-grid.list-view {
  grid-template-columns: 1fr;
}

.properties-grid.list-view .property-card {
  flex-direction: row;
  height: 180px;
}

.properties-grid.list-view .property-card .property-card-image {
  width: 240px;
  flex-shrink: 0;
  aspect-ratio: auto;
}

.properties-grid.list-view .property-card .property-card-body {
  padding: 20px 24px;
}

@media (max-width: 640px) {
  .properties-grid { grid-template-columns: 1fr; }
  .properties-grid.list-view .property-card { flex-direction: column; height: auto; }
  .properties-grid.list-view .property-card .property-card-image { width: 100%; aspect-ratio: 16/9; }
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 60px;
}

.page-btn {
  min-width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--charcoal);
  background: var(--white);
  transition: var(--transition);
}

.page-btn:hover, .page-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* ── SINGLE PROPERTY ─────────────────────────────────────── */
.single-property-hero {
  padding-top: 80px;
  background: var(--navy);
}

.property-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  height: 540px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 32px;
}

.property-gallery-main {
  grid-row: 1 / 3;
}

.property-gallery img,
.property-gallery-placeholder {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.property-gallery-placeholder {
  background: linear-gradient(145deg, var(--navy-mid), var(--navy-light));
}

.gallery-more {
  position: relative;
  cursor: pointer;
}

.gallery-more::after {
  content: 'View all photos';
  position: absolute;
  inset: 0;
  background: rgba(13,27,42,0.6);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

@media (max-width: 768px) {
  .property-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: 280px;
    height: auto;
  }
  .property-gallery > *:not(.property-gallery-main) { display: none; }
  .property-gallery-main { grid-row: auto; }
}

.single-property-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  align-items: start;
  padding-block: 60px;
}

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

.property-header-block {
  padding: 48px 0 40px;
}

.property-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.property-breadcrumb a { color: var(--gold); }
.property-breadcrumb svg { width: 12px; height: 12px; }

.property-title-main {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 14px;
}

.property-meta-bar {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.property-meta-bar .meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
}

.property-meta-bar .meta-item svg { width: 15px; height: 15px; color: var(--gold); }

.property-rating {
  display: flex;
  align-items: center;
  gap: 6px;
}

.property-rating .stars {
  display: flex;
  gap: 2px;
}

.property-rating .stars svg {
  width: 14px; height: 14px;
  fill: var(--gold); color: var(--gold);
}

.property-rating .score {
  font-weight: 600;
  color: var(--white);
  font-size: 0.875rem;
}

.property-rating .count {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}

/* Property Content */
.property-description {
  margin-bottom: 40px;
}

.property-description h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.property-description p {
  color: var(--charcoal);
  line-height: 1.8;
  margin-bottom: 16px;
  max-width: 100%;
}

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

@media (max-width: 640px) {
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--charcoal);
  padding: 10px 14px;
  background: var(--cream);
  border-radius: var(--radius);
}

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

.amenity-item.unavailable { opacity: 0.4; }
.amenity-item.unavailable svg { color: var(--mist); }

/* Booking Sidebar */
.booking-sidebar {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: sticky;
  top: 100px;
}

.booking-sidebar-header {
  background: var(--navy);
  padding: 28px;
}

.booking-price-main {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
}

.booking-price-main span {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 400;
  color: rgba(255,255,255,0.55);
}

.booking-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
}

.booking-body {
  padding: 28px;
}

.booking-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
}

.booking-date-field {
  padding: 12px 16px;
  background: var(--cream);
}

.booking-date-field:first-child {
  border-right: 1px solid var(--cream-dark);
}

.booking-date-field label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 4px;
}

.booking-date-field input {
  border: none;
  background: none;
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 500;
  outline: none;
  width: 100%;
}

.booking-guests {
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
}

.booking-guests label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
  padding: 10px 16px 0;
}

.booking-guests select {
  border: none;
  background: none;
  padding: 6px 16px 12px;
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 500;
  width: 100%;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238fa0b4' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.booking-total {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 20px;
}

.booking-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.booking-total-row.total {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  padding-top: 10px;
  border-top: 1px solid var(--cream-dark);
  margin-bottom: 0;
  margin-top: 10px;
}

.booking-btn {
  width: 100%;
  padding: 16px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border: none;
  border-radius: var(--radius);
  transition: var(--transition);
  margin-bottom: 12px;
}

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

.booking-contact-btn {
  width: 100%;
  padding: 13px;
  background: none;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: var(--transition);
}

.booking-contact-btn:hover {
  background: var(--navy);
  color: var(--white);
}

.booking-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--mist);
  margin-top: 14px;
}

/* ── NEWSLETTER / CTA BANNER ─────────────────────────────── */
.cta-banner {
  background: linear-gradient(130deg, var(--navy) 0%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
  padding: clamp(60px, 8vw, 100px) 0;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 768px) {
  .cta-banner-inner { grid-template-columns: 1fr; }
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 12px;
}

.cta-banner p {
  color: rgba(255,255,255,0.55);
  font-size: 1rem;
  max-width: 100%;
}

.newsletter-form {
  display: flex;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius-pill);
  overflow: hidden;
  min-width: 360px;
}

@media (max-width: 640px) {
  .newsletter-form { min-width: 100%; flex-direction: column; border-radius: var(--radius); }
}

.newsletter-form input {
  flex: 1;
  padding: 14px 22px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 0.9rem;
  outline: none;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }

.newsletter-form button {
  padding: 14px 28px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

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

/* ── FOOTER ──────────────────────────────────────────────── */
#site-footer {
  background: #070e18;
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(201,168,76,0.1);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand p {
  color: rgba(255,255,255,0.45);
  font-size: 0.875rem;
  line-height: 1.75;
  max-width: 280px;
  margin-top: 16px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  transition: var(--transition);
}

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

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-family: var(--font-body);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}

.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

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

.footer-legal a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  transition: var(--transition);
}

.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* ── UTILS & ANIMATIONS ──────────────────────────────────── */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }
.text-muted { color: var(--mist); }

.mt-auto { margin-top: auto; }
.mb-0 { margin-bottom: 0; }
.bg-navy { background: var(--navy); }
.bg-cream { background: var(--cream); }
.bg-white { background: var(--white); }

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

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

/* Loading skeleton */
.skeleton {
  background: linear-gradient(90deg, var(--cream-dark) 25%, var(--cream) 50%, var(--cream-dark) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.8s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* No results state */
.no-results {
  text-align: center;
  padding: 80px 20px;
  grid-column: 1 / -1;
}

.no-results svg {
  width: 64px; height: 64px;
  color: var(--fog);
  margin: 0 auto 20px;
}

.no-results h3 {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.no-results p {
  color: var(--mist);
  margin: 0 auto 24px;
}

/* ── PRINT ───────────────────────────────────────────────── */
@media print {
  #site-header, #site-footer, .booking-sidebar { display: none; }
  .single-property-layout { grid-template-columns: 1fr; }
}
