/* ============================================================================
   COUNCIL — LANDING PAGE STYLES
   ----------------------------------------------------------------------------
   Ported 1:1 from the original design system. Every token, colour, radius,
   shadow, easing curve and animation is preserved from the source build.

   Palette    : obsidian #0A0A0A · champagne #C9A96E · warm off-white #F8F7F5
   Typography : Playfair Display (display) · Inter (body)
   ========================================================================= */

/* ---------------------------------------------------------------- TOKENS -- */

:root {
  --obsidian: #0A0A0A;
  --white: #FFFFFF;
  --champagne: #C9A96E;
  --champagne-light: #E8D5A3;
  --champagne-dark: #A8883E;
  --champagne-hover: #B8964E;
  --warm-off-white: #F8F7F5;
  --charcoal: #1C1C1C;
  --charcoal-light: #2A2A2A;

  --muted: #6B6B6B;
  --muted-light: #999999;
  --line: #333333;

  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(201, 169, 110, 0.2);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --ease-lux: cubic-bezier(0.23, 1, 0.32, 1);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 999px;

  --header-h: 64px;
  --shell: 1280px;
}

/* ----------------------------------------------------------------- RESET -- */

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

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

body {
  margin: 0;
  background: var(--obsidian);
  color: var(--warm-off-white);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

p { margin: 0; }

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
  transition: all 0.3s var(--ease-lux);
}

button { cursor: pointer; background: none; border: none; }

::selection {
  background-color: var(--champagne);
  color: var(--obsidian);
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--obsidian); }
::-webkit-scrollbar-thumb { background: var(--champagne); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--champagne-light); }

:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 2px;
}

/* Accessible skip link — visible only on keyboard focus. */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--champagne);
  color: var(--obsidian);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.25s ease;
}

.skip-link:focus { top: 12px; }

/* Visually hidden but available to screen readers. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------- LAYOUT -- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}

.section { position: relative; padding: 96px 0; }

.section-head { text-align: center; margin-bottom: 64px; }

.eyebrow {
  display: inline-block;
  color: var(--champagne);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
}

.section-title {
  margin-top: 16px;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--white);
}

.section-sub {
  margin: 16px auto 0;
  max-width: 560px;
  color: var(--muted-light);
}

/* --------------------------------------------------------- GOLD SHIMMER -- */

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

.gold-shimmer {
  background: linear-gradient(90deg, var(--champagne) 0%, var(--champagne-light) 50%, var(--champagne) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: goldShimmer 3s linear infinite;
}

/* ------------------------------------------------------------ ANIMATIONS -- */

@keyframes fadeIn       { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fadeInUp     { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fadeInScale  { from { opacity: 0; transform: scale(0.95); }     to { opacity: 1; transform: scale(1); } }
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(201, 169, 110, 0.3); }
  50%      { box-shadow: 0 0 24px rgba(201, 169, 110, 0.6); }
}
@keyframes scrollDot {
  0%   { transform: translateY(0);   opacity: 1; }
  60%  { transform: translateY(12px); opacity: 0.2; }
  100% { transform: translateY(0);   opacity: 1; }
}
@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(24px, -18px) scale(1.06); }
}
@keyframes spin { to { transform: rotate(360deg); } }

.animate-fade-in   { animation: fadeIn 0.6s ease-out both; }
.animate-fade-in-up { animation: fadeInUp 0.8s ease-out both; }

.stagger-1 { animation-delay: 0.10s; }
.stagger-2 { animation-delay: 0.20s; }
.stagger-3 { animation-delay: 0.30s; }
.stagger-4 { animation-delay: 0.40s; }
.stagger-5 { animation-delay: 0.50s; }
.stagger-6 { animation-delay: 0.60s; }

/* Scroll reveal — the element starts offset and is released by JS via
   IntersectionObserver adding .is-visible. */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-lux), transform 0.9s var(--ease-lux);
  will-change: opacity, transform;
}

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

/* Hero entrance (runs on load, not on scroll). */
.hero-title,
.hero-subtitle,
.hero-search,
.hero-stats {
  opacity: 0;
}

.hero-title    { animation: fadeInUp 1.2s var(--ease-lux) 0.30s both; }
.hero-subtitle { animation: fadeInUp 0.8s var(--ease-lux) 0.70s both; }
.hero-search   { animation: fadeInScale 0.8s var(--ease-lux) 0.95s both; }
.hero-stats    { animation: fadeInUp 0.8s var(--ease-lux) 1.20s both; }

/* --------------------------------------------------------------- HEADER -- */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header.is-scrolled {
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(201, 169, 110, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

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

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(201, 169, 110, 0.3);
  background: var(--charcoal);
  display: grid;
  place-items: center;
}

.brand-mark img { width: 100%; height: 100%; object-fit: cover; }

/* Text fallback shown when no logo file is present. */
.brand-initials {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--champagne);
  letter-spacing: 0.02em;
}

/* Applied by script.js when assets/images/logo.png is missing: the mark
   becomes a solid champagne disc carrying a dark monogram. */
.brand-mark--fallback {
  background: linear-gradient(140deg, var(--champagne), var(--champagne-light));
}

.brand-mark--fallback .brand-initials {
  color: var(--obsidian);
  font-weight: 600;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--warm-off-white);
  letter-spacing: 0.03em;
}

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

.nav-link {
  position: relative;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted-light);
  border-radius: var(--radius-sm);
  transition: color 0.2s ease;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--champagne);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-link:hover::after { width: 80%; }

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

.btn-submit-property {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  background: var(--champagne);
  color: var(--obsidian);
  box-shadow: 0 0 20px rgba(201, 169, 110, 0.15);
  transition: all 0.25s ease;
}

.btn-submit-property:hover {
  background: var(--champagne-light);
  box-shadow: 0 0 30px rgba(201, 169, 110, 0.25);
}

.nav-toggle {
  display: none;
  padding: 8px;
  border-radius: var(--radius-sm);
  color: var(--muted-light);
}

.nav-toggle:hover { color: var(--warm-off-white); background: rgba(255, 255, 255, 0.05); }

.nav-toggle svg { width: 24px; height: 24px; }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-lux);
  visibility: hidden;
}

.mobile-nav.is-open { transform: none; visibility: visible; }

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.mobile-nav-close {
  padding: 8px;
  color: var(--muted-light);
}

.mobile-nav-close svg { width: 26px; height: 26px; }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-links a {
  padding: 14px 4px;
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--warm-off-white);
  border-bottom: 1px solid rgba(201, 169, 110, 0.1);
  transition: color 0.2s ease, padding-left 0.3s var(--ease-lux);
}

.mobile-nav-links a:hover { color: var(--champagne); padding-left: 12px; }

/* ------------------------------------------------------------ HERO ------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--header-h) + 48px) 0 64px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.6s ease, transform 1.6s ease;
}

.hero-bg.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-bg--1 { background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 30%, #16213e 60%, #0f3460 100%); }
.hero-bg--2 { background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 30%, #16213e 60%, #0a0a0a 100%); }
.hero-bg--3 { background: linear-gradient(135deg, #16213e 0%, #0a0a0a 30%, #1a1a2e 60%, #0f3460 100%); }

.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: transform 0.6s ease-out;
}

.orb { position: absolute; border-radius: 50%; filter: blur(70px); }

.orb-1 {
  left: 10%; bottom: 0;
  width: 30%; height: 30%;
  background: rgba(255, 255, 255, 0.02);
  animation: floatOrb 14s ease-in-out infinite;
}

.orb-2 {
  right: 15%; bottom: 0;
  width: 25%; height: 25%;
  background: rgba(255, 255, 255, 0.03);
  animation: floatOrb 18s ease-in-out infinite reverse;
}

.orb-3 {
  left: 5%; top: 20%;
  width: 15%; height: 15%;
  background: rgba(201, 169, 110, 0.05);
  animation: floatOrb 12s ease-in-out infinite;
}

.hero-fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(248, 247, 245, 0.05), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.hero-title {
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-title span { display: block; }

.hero-subtitle {
  max-width: 640px;
  margin: 0 auto 40px;
  color: var(--muted-light);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.7;
}

/* ------------------------------------------------------- SEARCH PANEL --- */

.search-panel {
  max-width: 900px;
  margin: 0 auto 64px;
  padding: 12px;
  border-radius: var(--radius-2xl);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.search-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.search-tabs {
  display: flex;
  padding: 4px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.search-tab {
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

.search-tab.is-active {
  background: var(--champagne);
  color: var(--obsidian);
}

.search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  min-width: 0;
}

.search-field:last-of-type { border-right: none; }

.search-field .label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.search-field .value {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-pin { color: var(--champagne); flex-shrink: 0; }

.search-chevron { margin-left: auto; color: var(--muted); flex-shrink: 0; }

.search-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 32px;
  border-radius: var(--radius-lg);
  background: var(--champagne);
  color: var(--obsidian);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.search-go:hover {
  background: var(--champagne-hover);
  box-shadow: 0 8px 24px rgba(201, 169, 110, 0.25);
}

/* -------------------------------------------------------- HERO STATS ---- */

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

.stat { text-align: center; }

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  color: var(--champagne);
  font-weight: 600;
}

.stat-label {
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted-light);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  display: flex;
  justify-content: center;
  z-index: 2;
}

.scroll-cue i {
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--champagne);
  animation: scrollDot 1.5s ease-in-out infinite;
}

/* --------------------------------------------------------- GLASS CARD --- */

.glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--glass-shadow);
}

.card {
  padding: 32px;
  transition: transform 0.5s var(--ease-lux), box-shadow 0.5s var(--ease-lux), border-color 0.4s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 169, 110, 0.4);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

/* ------------------------------------------------------- PROPERTY GRID -- */

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.property-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 169, 110, 0.12);
  transition: transform 0.5s var(--ease-lux), border-color 0.4s ease, box-shadow 0.5s var(--ease-lux);
}

.property-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 169, 110, 0.4);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.35);
}

.property-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #16213e 0%, #0f3460 45%, #1a1a2e 100%);
}

.property-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.75), transparent 55%);
}

.property-media .glyph {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  color: rgba(201, 169, 110, 0.35);
}

.property-badge {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--champagne);
  color: var(--obsidian);
}

.property-badge.is-sold { background: rgba(10, 10, 10, 0.85); color: var(--champagne); }

.property-price {
  position: absolute;
  z-index: 2;
  bottom: 16px;
  left: 16px;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--white);
}

.property-body { padding: 22px 24px 24px; }

.property-title {
  font-size: 19px;
  color: var(--white);
  margin-bottom: 6px;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--muted-light);
  margin-bottom: 18px;
}

.property-location svg { color: var(--champagne); flex-shrink: 0; }

.property-specs {
  display: flex;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: var(--muted-light);
}

.property-specs span { display: inline-flex; align-items: center; gap: 7px; }
.property-specs svg { color: var(--champagne); flex-shrink: 0; }

.grid-cta { text-align: center; margin-top: 48px; }

/* ------------------------------------------------------------ BUTTONS --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 30px;
  border: 1px solid transparent;
  transition: all 0.3s var(--ease-lux);
  text-align: center;
}

.btn--gold {
  background: var(--champagne);
  color: var(--obsidian);
}

.btn--gold:hover:not(:disabled) {
  background: var(--champagne-hover);
  box-shadow: 0 10px 30px rgba(201, 169, 110, 0.28);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.btn--ghost:hover:not(:disabled) { background: rgba(255, 255, 255, 0.1); }

.btn--outline {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(201, 169, 110, 0.3);
  color: var(--champagne);
}

.btn--outline:hover:not(:disabled) {
  background: var(--champagne);
  color: var(--obsidian);
  box-shadow: 0 10px 30px rgba(201, 169, 110, 0.22);
}

.btn--block { width: 100%; }

.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Inline spinner used by the submitting state. */
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(10, 10, 10, 0.25);
  border-top-color: var(--obsidian);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

/* --------------------------------------------------- FEATURE / VALUE ---- */

.feature-band {
  position: relative;
  overflow: hidden;
}

.feature-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #0A0A0A, #0f1115, #0A0A0A);
}

.feature-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.feature-card { text-align: center; }

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-lg);
  background: rgba(201, 169, 110, 0.1);
  border: 1px solid rgba(201, 169, 110, 0.2);
  color: var(--champagne);
  transition: all 0.4s var(--ease-lux);
}

.feature-card:hover .feature-icon {
  background: rgba(201, 169, 110, 0.2);
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(201, 169, 110, 0.15);
}

.feature-title { font-size: 17px; color: var(--white); margin-bottom: 8px; }
.feature-text { font-size: 14px; color: var(--muted-light); line-height: 1.65; }

/* ------------------------------------------------------- TESTIMONIALS --- */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.testimonial { display: flex; flex-direction: column; }

.stars { display: flex; gap: 4px; margin-bottom: 16px; color: var(--champagne); }

.testimonial-text {
  flex: 1;
  font-size: 14px;
  font-style: italic;
  line-height: 1.75;
  color: rgba(248, 247, 245, 0.82);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--champagne), var(--champagne-dark));
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}

.author-name { font-size: 14px; font-weight: 600; color: var(--white); }
.author-role { font-size: 12px; color: var(--muted); }

/* ------------------------------------------------------------- CONTACT -- */

.contact {
  position: relative;
  padding: 96px 0;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #0A0A0A, #0d0f13, #0A0A0A);
}

.contact-shell { position: relative; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: start;
}

.form-card { padding: 40px; }

.form-card:hover { transform: none; }

.form-title {
  font-size: 26px;
  color: var(--white);
  margin-bottom: 8px;
}

.form-intro {
  font-size: 14px;
  color: var(--muted-light);
  margin-bottom: 30px;
}

.field { margin-bottom: 20px; }

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field label {
  display: block;
  font-size: 13px;
  color: var(--muted-light);
  margin-bottom: 8px;
}

.field label .req { color: var(--champagne); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--charcoal);
  border: 1px solid #2e2e2e;
  color: var(--warm-off-white);
  font-size: 15px;
}

.field input::placeholder,
.field textarea::placeholder { color: #5e5e5e; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--champagne);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.12);
}

.field textarea {
  min-height: 124px;
  resize: vertical;
  line-height: 1.6;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23C9A96E' d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}

.field select option { background: var(--charcoal); color: var(--warm-off-white); }

/* Invalid state is driven by JS after validation, so a pristine form never
   shows red before the visitor has typed anything. */
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #e05555;
}

.field.has-error input:focus,
.field.has-error select:focus,
.field.has-error textarea:focus {
  box-shadow: 0 0 0 3px rgba(224, 85, 85, 0.15);
}

.field-error {
  display: none;
  margin-top: 7px;
  font-size: 12.5px;
  color: #f08a8a;
}

.field.has-error .field-error { display: block; }

/* Honeypot: off-screen, non-focusable, invisible to humans and ignored by
   browser autofill. Bots that parse the DOM still fill it in. */
.honeypot {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.privacy-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(201, 169, 110, 0.06);
  border: 1px solid rgba(201, 169, 110, 0.16);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted-light);
}

.privacy-note a { color: var(--champagne); text-decoration: underline; }

/* ----------------------------------------------------- FORM STATES ------ */

.form-status {
  display: none;
  margin-bottom: 24px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  font-size: 14.5px;
  line-height: 1.6;
}

.form-status.is-visible { display: block; animation: fadeIn 0.4s ease-out both; }

.form-status__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-status__title svg { flex-shrink: 0; }

.form-status__body { color: rgba(248, 247, 245, 0.78); font-size: 13.5px; }

.form-status--sending {
  background: rgba(201, 169, 110, 0.08);
  border: 1px solid rgba(201, 169, 110, 0.22);
}

.form-status--success {
  background: rgba(76, 175, 120, 0.1);
  border: 1px solid rgba(76, 175, 120, 0.3);
}

.form-status--success .form-status__title { color: #7fd4a3; }

.form-status--partial {
  background: rgba(201, 169, 110, 0.1);
  border: 1px solid rgba(201, 169, 110, 0.32);
}

.form-status--partial .form-status__title { color: var(--champagne); }

.form-status--error {
  background: rgba(224, 85, 85, 0.1);
  border: 1px solid rgba(224, 85, 85, 0.3);
}

.form-status--error .form-status__title { color: #f08a8a; }

.form-status__actions { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }

.btn--sm { padding: 10px 18px; font-size: 13.5px; border-radius: var(--radius-md); }

/* WhatsApp action button */
.btn--whatsapp {
  background: #25D366;
  color: #052e17;
}

.btn--whatsapp:hover:not(:disabled) {
  background: #1ebe5b;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.25);
}

/* --------------------------------------------------------- INFO PANELS -- */

.info-stack { display: flex; flex-direction: column; gap: 24px; }

.info-card { padding: 32px; }

.info-card:hover { transform: none; }

.info-card h3 {
  font-size: 19px;
  color: var(--white);
  margin-bottom: 18px;
}

.info-list { display: flex; flex-direction: column; gap: 14px; }

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: rgba(248, 247, 245, 0.8);
}

.info-row svg { color: var(--champagne); flex-shrink: 0; margin-top: 3px; }

.info-row a { transition: color 0.2s ease; }
.info-row a:hover { color: var(--champagne); }

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14.5px;
  color: rgba(248, 247, 245, 0.8);
}

.hours-row span:last-child { color: var(--muted-light); white-space: nowrap; }

/* --------------------------------------------------------------- CTA ---- */

.cta-section {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(201, 169, 110, 0.1), transparent, rgba(201, 169, 110, 0.1));
}

.cta-section .shell { position: relative; max-width: 800px; }
.cta-section p { margin: 20px auto 32px; max-width: 520px; color: var(--muted-light); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ------------------------------------------------------------- FOOTER --- */

.footer {
  background: var(--obsidian);
  border-top: 1px solid rgba(201, 169, 110, 0.1);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding: 64px 0;
}

.footer-about-text {
  margin: 20px 0;
  max-width: 320px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted-light);
}

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

.social {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  color: var(--muted-light);
  transition: all 0.25s ease;
}

.social:hover {
  color: var(--champagne);
  border-color: var(--champagne);
}

.social svg { width: 16px; height: 16px; }

.footer-heading {
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--champagne);
  margin-bottom: 20px;
}

.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; color: var(--muted-light); transition: color 0.2s ease; }
.footer-links a:hover { color: var(--warm-off-white); }

.footer-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; font-size: 14px; }
.footer-contact .k { color: var(--muted-light); font-size: 13px; margin-bottom: 3px; }
.footer-contact .v { color: rgba(248, 247, 245, 0.85); }
.footer-contact a:hover { color: var(--champagne); }

.footer-bottom {
  border-top: 1px solid rgba(201, 169, 110, 0.1);
  padding: 22px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted);
}

.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-legal a:hover { color: var(--champagne); }

/* --------------------------------------------------------- RESPONSIVE --- */

@media (max-width: 1080px) {
  .property-grid,
  .testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .btn-submit-property { display: none; }

  .search-row { flex-direction: column; }
  .search-tabs { justify-content: stretch; }
  .search-tab { flex: 1; }
  .search-field { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .search-field:last-of-type { border-bottom: none; }
  .search-go { width: 100%; }

  .section { padding: 72px 0; }
}

@media (max-width: 720px) {
  .shell { padding: 0 18px; }

  .hero { padding-top: calc(var(--header-h) + 32px); }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

  .property-grid,
  .testimonial-grid,
  .feature-grid,
  .footer-main { grid-template-columns: minmax(0, 1fr); }

  .field-row { grid-template-columns: minmax(0, 1fr); }

  .card,
  .form-card,
  .info-card { padding: 24px; }

  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
}

@media (max-width: 420px) {
  .btn { padding: 13px 22px; font-size: 14px; }
  .search-tab { padding: 10px 14px; font-size: 13px; }
  .stat-value { font-size: 1.45rem; }
}

/* ---------------------------------------------------- REDUCED MOTION ---- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal { opacity: 1; transform: none; }
  .hero-title, .hero-subtitle, .hero-search, .hero-stats { opacity: 1; }
}

/* ------------------------------------------------------------ PRINT ----- */

@media print {
  .header, .mobile-nav, .scroll-cue, .cta-section, .footer { display: none; }
  body { background: #fff; color: #000; }
}
