/* ============================================================
   Vantora — Public Frontend Stylesheet v1.0
   Luxury Dark Mode: deep navy/black, gold accents, glassy cards.
   All brand colours from CSS variables (set in layouts/public.php).
   ============================================================ */

/* ── TOKENS ──────────────────────────────────────────────────*/
:root {
  --primary:      #C9A227;   /* muted gold — primary accent      */
  --primary-dk:   #A8841C;   /* darker gold for hover states      */
  --primary-lt:   rgba(201,162,39,.12);
  --secondary:    #0B0F1A;   /* near-black navy                   */
  --accent:       #D4AF37;   /* brighter gold — highlights         */
  --danger:       #EF4444;
  --text:         #E8E3D8;   /* warm off-white body text          */
  --text-2:       #C9C2B0;   /* secondary warm grey text           */
  --muted:        #8B8576;   /* muted warm grey                    */
  --border:       rgba(255,255,255,.08);
  --border-2:     rgba(255,255,255,.16);
  --bg:           #0B0F1A;   /* page background                    */
  --bg-2:         #10162B;   /* card / panel background            */
  --white:        #10162B;   /* "white" cards are dark panels here */
  --navy:         #0B0F1A;
  --ink:          #060810;   /* deepest black for hero/footer       */
  --card-radius:  14px;
  --radius:       8px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.4);
  --shadow:       0 4px 20px rgba(0,0,0,0.45);
  --shadow-md:    0 10px 32px rgba(0,0,0,0.5);
  --shadow-lg:    0 20px 50px rgba(0,0,0,0.55);
  --shadow-gold:  0 8px 28px rgba(201,162,39,.18);
  --font-display: 'Playfair Display', Georgia, serif;
}

/* ── RESET & BASE ────────────────────────────────────────────*/
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body  { font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
        color: var(--text); background: var(--bg);
        line-height: 1.6; font-size: 15px; }
a     { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--accent); }
img   { max-width: 100%; display: block; }
button { font-family: inherit; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); }

/* ── LAYOUT ──────────────────────────────────────────────────*/
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 820px;  margin: 0 auto; padding: 0 24px; }
.container-lg { max-width: 1400px; margin: 0 auto; padding: 0 32px; }

/* ── NAVBAR ──────────────────────────────────────────────────*/
.navbar {
  position: sticky; top: 0; z-index: 200;
  background: rgba(11,15,26,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex; align-items: center;
  height: 68px; gap: 20px;
}
.nav-brand {
  font-family: var(--font-display);
  font-size: 21px; font-weight: 700;
  color: #F5F1E6; letter-spacing: 0.5px;
  display: flex; align-items: center; gap: 8px;
  flex-shrink: 0;
}
.nav-brand:hover { text-decoration: none; color: var(--accent); }
.nav-brand-text { line-height: 1; }
.nav-brand-dot  { color: var(--primary); }

.nav-links { display: flex; list-style: none; gap: 2px; flex: 1; }
.nav-links a {
  color: var(--text-2); padding: 7px 13px;
  border-radius: 7px; font-size: 13.5px; font-weight: 500;
  letter-spacing: .2px;
  transition: all .15s;
}
.nav-links a:hover { color: var(--accent); background: var(--primary-lt); text-decoration: none; }

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

/* ── BUTTONS ─────────────────────────────────────────────────*/
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; padding: 9px 20px;
  border-radius: var(--radius); font-size: 14px; font-weight: 600;
  cursor: pointer; border: 1.5px solid transparent;
  transition: all .15s; text-decoration: none; line-height: 1.3;
}
.btn:hover { text-decoration: none; }

.btn-primary       { background: var(--primary); color: #0B0F1A; border-color: var(--primary); }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); color: #0B0F1A;
                     box-shadow: var(--shadow-gold); }

.btn-outline       { border-color: var(--border-2); color: var(--text-2); background: transparent; }
.btn-outline:hover { border-color: var(--primary); color: var(--accent); background: var(--primary-lt); }

.btn-ghost         { color: var(--muted); background: transparent; border-color: transparent; }
.btn-ghost:hover   { color: var(--text); background: rgba(255,255,255,.05); }

.btn-nav-login    { border-color: var(--border-2); color: var(--text-2); background: transparent;
                    padding: 6px 16px; font-size: 13.5px; border-radius: var(--radius); }
.btn-nav-login:hover { border-color: var(--primary); color: var(--accent); }

.btn-nav-cta      { background: var(--primary); color: #0B0F1A; border-color: var(--primary);
                    padding: 7px 18px; font-size: 13.5px; border-radius: var(--radius); font-weight: 700; }
.btn-nav-cta:hover { background: var(--accent); color: #0B0F1A; }

.btn-nav-dash     { border-color: var(--border-2); color: var(--text-2); background: transparent;
                    padding: 6px 14px; font-size: 13px; border-radius: var(--radius); }
.btn-nav-dash:hover { border-color: var(--primary); color: var(--accent); }

.btn-sm    { padding: 5px 14px; font-size: 13px; }
.btn-lg    { padding: 13px 28px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }
.btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-success { background: #2E7D5B; color: #fff; border-color: #2E7D5B; }

/* ── HERO ────────────────────────────────────────────────────*/
.hero {
  position: relative;
  background: linear-gradient(165deg, #060810 0%, #10162B 55%, #060810 100%);
  overflow: hidden;
  padding: 96px 0 200px;
  min-height: 88vh;
  display: flex; flex-direction: column; justify-content: center;
}
/* subtle gold-flecked grid overlay */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,162,39,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,162,39,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
/* gold glow blob */
.hero::after {
  content: '';
  position: absolute; top: -120px; right: -120px;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,.16) 0%, transparent 70%);
  pointer-events: none;
}

/* hero with carousel image */
.hero-slide-themed {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-slide-themed.has-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(165deg, rgba(6,8,16,.92) 0%, rgba(11,15,26,.72) 100%);
}

.hero-inner {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 760px; margin: 0 auto;
  padding: 0 24px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,162,39,.08);
  border: 1px solid rgba(201,162,39,.3);
  border-radius: 100px; padding: 6px 18px;
  font-size: 11.5px; font-weight: 600; color: var(--accent);
  letter-spacing: 1.2px; text-transform: uppercase;
  margin-bottom: 30px;
}
.hero-eyebrow-dot { width: 6px; height: 6px; border-radius: 50%;
                    background: var(--accent); animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1}50%{opacity:.3} }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 62px);
  font-weight: 700; line-height: 1.15;
  color: #F5F1E6; margin-bottom: 22px;
  letter-spacing: -0.5px;
}
.hero-title em { font-style: italic; color: var(--accent); }

.hero-sub {
  font-size: 17px; color: var(--text-2);
  line-height: 1.75; margin-bottom: 42px;
  max-width: 560px; margin-left: auto; margin-right: auto;
  font-weight: 300;
}

.hero-actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-btn-primary {
  background: var(--primary); color: #0B0F1A;
  border: none; padding: 14px 32px;
  border-radius: var(--radius); font-size: 14.5px; font-weight: 700;
  cursor: pointer; text-decoration: none;
  letter-spacing: .3px;
  transition: all .2s; display: inline-flex; align-items: center; gap: 8px;
}
.hero-btn-primary:hover { background: var(--accent); transform: translateY(-1px);
                          box-shadow: 0 10px 28px rgba(201,162,39,.35); color: #0B0F1A; text-decoration: none; }
.hero-btn-outline {
  background: transparent; color: rgba(245,241,230,.85);
  border: 1.5px solid rgba(201,162,39,.4);
  padding: 13px 28px; border-radius: var(--radius);
  font-size: 14.5px; font-weight: 600; cursor: pointer;
  text-decoration: none; transition: all .2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-btn-outline:hover { background: rgba(201,162,39,.08); border-color: var(--accent);
                          color: #F5F1E6; text-decoration: none; }

/* ── HERO SEARCH ─────────────────────────────────────────────*/
.hero-search-wrap {
  position: absolute; bottom: 0; left: 0; right: 0;
  z-index: 10; padding: 0 24px;
}
.hero-search-box {
  max-width: 900px; margin: 0 auto;
  background: rgba(16,22,43,0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(201,162,39,.18);
  border-bottom: none;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -10px 50px rgba(0,0,0,.4);
  overflow: hidden;
}
.hs-tabs {
  display: flex; border-bottom: 1px solid var(--border);
  padding: 0 8px;
}
.hs-tab {
  padding: 14px 18px; border: none; background: transparent;
  font-size: 13px; font-weight: 600; color: var(--muted);
  letter-spacing: .3px;
  cursor: pointer; border-bottom: 2px solid transparent;
  margin-bottom: -1px; transition: all .15s;
}
.hs-tab.active { color: var(--accent); border-bottom-color: var(--primary); }
.hs-tab:hover  { color: var(--text-2); }

.hs-body {
  display: flex; align-items: stretch; min-height: 66px;
}
.hs-field {
  display: flex; flex-direction: column; justify-content: center;
  padding: 10px 18px; border-right: 1px solid var(--border);
  min-width: 150px;
}
.hs-field-grow { flex: 1; }
.hs-field-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .8px; color: var(--muted); margin-bottom: 3px;
}
.hs-field select, .hs-field input {
  border: none; outline: none; font-size: 14px; font-weight: 500;
  color: var(--text); background: transparent; padding: 0;
  width: 100%; font-family: inherit;
}
.hs-field select option { background: var(--bg-2); color: var(--text); }
.hs-field input::placeholder { color: var(--muted); }
.hs-submit {
  flex-shrink: 0; padding: 0 28px; background: var(--primary);
  color: #0B0F1A; border: none; font-size: 14.5px; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; gap: 9px;
  letter-spacing: .3px;
  transition: background .15s;
}
.hs-submit:hover { background: var(--accent); }
.hs-submit svg  { flex-shrink: 0; }

/* ── HERO CAROUSEL CONTROLS ──────────────────────────────────*/
.hero-carousel-wrap { position: relative; }
.carousel-prev, .carousel-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(201,162,39,.1); backdrop-filter: blur(8px);
  border: 1px solid rgba(201,162,39,.3); color: #F5F1E6;
  width: 44px; height: 44px; border-radius: 50%;
  font-size: 20px; cursor: pointer; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.carousel-prev { left: 24px; }
.carousel-next { right: 24px; }
.carousel-prev:hover, .carousel-next:hover { background: rgba(201,162,39,.2); border-color: var(--accent); }
.carousel-dots {
  position: absolute; bottom: 220px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 10;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.2); border: none;
  cursor: pointer; transition: all .2s; padding: 0;
}
.dot.active { background: var(--primary); width: 24px; border-radius: 4px; }

/* ── STATS STRIP ─────────────────────────────────────────────*/
.stats-strip {
  background: var(--bg-2); border-bottom: 1px solid var(--border);
  padding: 0;
}
.stats-row {
  display: grid; grid-template-columns: repeat(4,1fr);
  border-left: 1px solid var(--border);
}
.stat-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 30px 16px; text-align: center;
  border-right: 1px solid var(--border);
  transition: background .15s;
}
.stat-item:hover { background: rgba(201,162,39,.04); }
.stat-icon { font-size: 22px; margin-bottom: 8px; filter: sepia(.3) saturate(1.4); }
.stat-num  {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 700; color: var(--accent);
  letter-spacing: -0.5px; line-height: 1;
}
.stat-lbl  {
  font-size: 11.5px; color: var(--muted); margin-top: 6px;
  font-weight: 500; text-transform: uppercase; letter-spacing: .6px;
}

/* ── SECTIONS ────────────────────────────────────────────────*/
.section        { padding: 84px 0; }
.section-alt    { padding: 84px 0; background: var(--bg-2); }
.section-dark   { padding: 84px 0; background: var(--ink); }

.section-label {
  display: inline-block;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: var(--primary);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700; color: #F5F1E6; line-height: 1.25;
  letter-spacing: -0.3px;
}
.section-title-white { color: #F5F1E6; }

.section-head {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 42px;
}
.section-head-center { text-align: center; justify-content: center; margin-bottom: 50px; }

/* ── PROPERTY CARDS ──────────────────────────────────────────*/
.prop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  overflow: visible;
}
.prop-card {
  background: var(--bg-2); border-radius: var(--card-radius);
  border: 1px solid var(--border);
  overflow: hidden; transition: all .25s;
  display: flex; flex-direction: column;
}
.prop-card:hover { box-shadow: var(--shadow-md), 0 0 0 1px rgba(201,162,39,.25);
                   transform: translateY(-4px); border-color: rgba(201,162,39,.3); }

.prop-card-img {
  position: relative; height: 210px; overflow: hidden;
  background: var(--bg);
}
.prop-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
  filter: saturate(1.05) contrast(1.03);
}
.prop-card:hover .prop-card-img img { transform: scale(1.05); }
.prop-no-img {
  width: 100%; height: 100%; display: flex;
  align-items: center; justify-content: center;
  color: var(--border-2); font-size: 48px;
}

.prop-badge-row {
  position: absolute; top: 12px; left: 12px; right: 12px;
  display: flex; justify-content: space-between; align-items: flex-start;
}
.pbadge {
  font-size: 10.5px; font-weight: 700; padding: 3px 11px;
  border-radius: 100px; letter-spacing: .3px;
}
.pbadge-type { background: rgba(6,8,16,.78); color: #F5F1E6; backdrop-filter: blur(4px); }
.pbadge-sale { background: var(--primary); color: #0B0F1A; }
.pbadge-rent { background: #2E7D5B;  color: #fff; }
.pbadge-feat { background: var(--accent); color: #0B0F1A; }

.prop-save-btn {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(6,8,16,.7); border: 1px solid rgba(201,162,39,.25);
  width: 32px; height: 32px; border-radius: 50%;
  font-size: 14px; cursor: pointer; color: #F5F1E6;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.3); transition: all .15s;
}
.prop-save-btn:hover { background: rgba(201,162,39,.2); border-color: var(--accent); transform: scale(1.1); }

.prop-card-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.prop-price {
  font-family: var(--font-display);
  font-size: 21px; font-weight: 700; color: var(--accent);
  letter-spacing: -0.3px; margin-bottom: 7px;
}
.prop-price-unit { font-size: 12.5px; font-weight: 400; color: var(--muted); }
.prop-title {
  font-family: 'Inter', sans-serif;
  font-size: 14.5px; font-weight: 600; color: #F0ECE0;
  line-height: 1.4; margin-bottom: 7px;
}
.prop-title a { color: inherit; }
.prop-title a:hover { color: var(--accent); text-decoration: none; }
.prop-location { font-size: 12.5px; color: var(--muted); margin-bottom: 13px; }
.prop-specs {
  display: flex; gap: 12px; flex-wrap: wrap;
  font-size: 12px; color: var(--text-2);
  padding-top: 13px; border-top: 1px solid var(--border);
  margin-top: auto;
}
.prop-spec { display: flex; align-items: center; gap: 4px; }

/* ── CITY CARDS ──────────────────────────────────────────────*/
.cities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.city-card {
  display: block; border-radius: var(--card-radius);
  overflow: hidden; position: relative; height: 124px;
  text-decoration: none; border: 1px solid var(--border);
  transition: all .25s;
}
.city-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md), 0 0 0 1px rgba(201,162,39,.25);
                   border-color: rgba(201,162,39,.3); text-decoration: none; }
.city-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s;
                 filter: saturate(1.05); }
.city-card:hover img { transform: scale(1.06); }
.city-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--bg-2), var(--ink));
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; opacity: .7;
}
.city-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 13px 15px;
  background: linear-gradient(transparent, rgba(6,8,16,.9));
}
.city-name  { color: #F5F1E6; font-weight: 600; font-size: 14px; font-family: var(--font-display); }
.city-state { color: var(--text-2); font-size: 11px; }

/* ── WHY CARDS ───────────────────────────────────────────────*/
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.why-card {
  padding: 30px 26px; border-radius: var(--card-radius);
  border: 1px solid var(--border); background: var(--bg-2);
  transition: all .25s;
}
.why-card:hover { border-color: rgba(201,162,39,.35); box-shadow: 0 0 0 1px rgba(201,162,39,.15), var(--shadow); }
.why-icon-wrap {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--primary-lt); display: flex;
  align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 18px;
  border: 1px solid rgba(201,162,39,.2);
}
.why-title { font-family: var(--font-display); font-size: 16px; font-weight: 600;
             color: #F5F1E6; margin-bottom: 9px; }
.why-desc  { font-size: 13.5px; color: var(--text-2); line-height: 1.75; }

/* ── AGENT CARDS ─────────────────────────────────────────────*/
.agents-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.agent-card {
  background: var(--bg-2); border-radius: var(--card-radius);
  border: 1px solid var(--border); padding: 26px 20px;
  text-align: center; text-decoration: none; color: inherit;
  transition: all .25s; display: block;
}
.agent-card:hover { box-shadow: var(--shadow-md), 0 0 0 1px rgba(201,162,39,.25);
                    border-color: rgba(201,162,39,.3);
                    transform: translateY(-3px); text-decoration: none; }
.agent-avatar {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 14px; border: 2px solid rgba(201,162,39,.3);
}
.agent-initials {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  display: flex; align-items: center; justify-content: center;
  color: #0B0F1A; font-size: 20px; font-weight: 800;
  margin: 0 auto 14px;
  font-family: var(--font-display);
}
.agent-name     { font-family: var(--font-display); font-size: 15px; font-weight: 600;
                  color: #F5F1E6; margin-bottom: 3px; }
.agent-role     { font-size: 11.5px; color: var(--primary); font-weight: 600; margin-bottom: 5px;
                  text-transform: uppercase; letter-spacing: .4px; }
.agent-branch   { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.agent-rating   { display: flex; align-items: center; justify-content: center; gap: 5px;
                  font-size: 12px; color: var(--text-2); }
.stars          { color: var(--accent); font-size: 12px; letter-spacing: 1px; }
.agent-listings { background: rgba(255,255,255,.06); padding: 2px 9px; border-radius: 20px; font-size: 11px; }

/* ── CTA SECTION ─────────────────────────────────────────────*/
.cta-section {
  padding: 92px 0;
  background: linear-gradient(135deg, #060810 0%, #10162B 60%, #060810 100%);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,.16) 0%, transparent 70%);
}
.cta-section::after {
  content: '';
  position: absolute; bottom: -60px; left: -60px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,.1) 0%, transparent 70%);
}
.cta-inner {
  position: relative; z-index: 2;
  display: flex; align-items: center;
  justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px); font-weight: 700;
  color: #F5F1E6; line-height: 1.25; margin-bottom: 14px;
  letter-spacing: -.3px;
}
.cta-text p { font-size: 15.5px; color: var(--text-2); max-width: 480px; line-height: 1.75; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
.cta-btn-white {
  background: var(--primary); color: #0B0F1A; font-weight: 700;
  padding: 13px 28px; border-radius: var(--radius);
  font-size: 14.5px; text-decoration: none;
  transition: all .2s; display: inline-block;
  border: 1.5px solid var(--primary);
}
.cta-btn-white:hover { background: var(--accent); text-decoration: none; color: #0B0F1A;
                       box-shadow: var(--shadow-gold); }
.cta-btn-outline {
  background: transparent; color: rgba(245,241,230,.85);
  border: 1.5px solid rgba(201,162,39,.35);
  font-weight: 600; padding: 13px 28px;
  border-radius: var(--radius); font-size: 14.5px;
  text-decoration: none; transition: all .2s; display: inline-block;
}
.cta-btn-outline:hover { background: rgba(201,162,39,.08); color: #F5F1E6; text-decoration: none; }

/* ── FOOTER ──────────────────────────────────────────────────*/
.footer { background: var(--ink); color: var(--muted); padding: 64px 0 0;
          border-top: 1px solid rgba(201,162,39,.12); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 23px; font-weight: 700; color: #F5F1E6;
  margin-bottom: 12px; letter-spacing: 0.3px;
}
.footer-brand-name span { color: var(--primary); }
.footer-tagline {
  font-size: 13.5px; color: var(--muted);
  line-height: 1.75; max-width: 280px; margin-bottom: 22px;
}
.footer-social { display: flex; gap: 8px; }
.footer-social-btn {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,.05); display: flex;
  align-items: center; justify-content: center;
  color: var(--text-2); transition: all .2s;
  border: 1px solid var(--border);
}
.footer-social-btn:hover { background: var(--primary); color: #0B0F1A; text-decoration: none;
                           border-color: var(--primary); }
.footer-col-title {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.4px; color: rgba(201,162,39,.5);
  margin-bottom: 18px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: 13.5px; color: var(--text-2); transition: color .15s; }
.footer-links a:hover { color: var(--accent); text-decoration: none; }
.footer-contact-list { list-style: none; }
.footer-contact-list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; color: var(--text-2); margin-bottom: 13px;
}
.footer-contact-list a { color: var(--text-2); }
.footer-contact-list a:hover { color: var(--accent); }
.footer-bottom {
  padding: 18px 0;
  display: flex; justify-content: center; align-items: center;
  gap: 8px; font-size: 11.5px; color: rgba(139,133,118,.5);
}

/* ── FLASH ───────────────────────────────────────────────────*/
.flash { padding: 14px 24px; font-size: 14px; font-weight: 500; }
.flash-success { background: rgba(46,125,91,.18); color: #6EE7B7; border-bottom: 1px solid rgba(46,125,91,.3); }
.flash-error   { background: rgba(239,68,68,.15); color: #FCA5A5; border-bottom: 1px solid rgba(239,68,68,.3); }
.flash-info    { background: rgba(201,162,39,.12); color: var(--accent); border-bottom: 1px solid rgba(201,162,39,.25); }

/* ── FORM ELEMENTS ───────────────────────────────────────────*/
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 12.5px; font-weight: 600;
  margin-bottom: 7px; color: var(--text-2);
  letter-spacing: .2px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 10px 13px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius); font-size: 14px;
  background: var(--bg); color: var(--text);
  transition: border-color .15s; font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(201,162,39,.12);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── AUTH ────────────────────────────────────────────────────*/
.auth-page {
  min-height: calc(100vh - 68px);
  display: flex; align-items: center; justify-content: center;
  background: var(--bg); padding: 48px 20px;
}
.auth-card {
  background: var(--bg-2); border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 46px 42px; width: 100%; max-width: 440px;
}
.auth-title { font-family: var(--font-display); font-size: 26px; font-weight: 700;
              color: #F5F1E6; margin-bottom: 7px; letter-spacing: -.2px; }
.auth-sub   { color: var(--muted); font-size: 13.5px; margin-bottom: 30px; }
.auth-footer { text-align: center; font-size: 13px; margin-top: 22px; color: var(--muted); }

/* ── PAGE BREADCRUMB ─────────────────────────────────────────*/
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--muted);
  margin-bottom: 22px; flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { opacity: .4; }

/* ── BADGES ──────────────────────────────────────────────────*/
.badge { display: inline-block; font-size: 10.5px; font-weight: 700;
         padding: 2px 10px; border-radius: 100px; letter-spacing: .3px; }
.badge-success { background: rgba(46,125,91,.18); color: #6EE7B7; }
.badge-warning { background: rgba(212,175,55,.15); color: var(--accent); }
.badge-danger  { background: rgba(239,68,68,.15); color: #FCA5A5; }
.badge-info    { background: rgba(201,162,39,.12); color: var(--accent); }

/* ── CARDS (generic) ─────────────────────────────────────────*/
.card { background: var(--bg-2); border-radius: var(--card-radius);
        border: 1px solid var(--border); overflow: hidden; transition: all .25s; }
.card:hover { box-shadow: var(--shadow-md), 0 0 0 1px rgba(201,162,39,.2); transform: translateY(-3px); }
.card-img { width: 100%; height: 180px; object-fit: cover; display: block; }
.card-body { padding: 18px 20px 20px; }
.card-price {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 700; color: var(--accent);
  letter-spacing: -0.3px;
}
.card-title {
  font-size: 14px; font-weight: 600; color: #F0ECE0;
  line-height: 1.4; margin-top: 6px;
}
.card-title a { color: inherit; }
.card-title a:hover { color: var(--accent); text-decoration: none; }
.card-meta {
  display: flex; gap: 12px; flex-wrap: wrap;
  font-size: 12px; color: var(--muted);
}

/* ── MOBILE NAV ──────────────────────────────────────────────*/
.nav-toggle {
  display: none; flex-direction: column;
  justify-content: center; align-items: center;
  gap: 5px; width: 40px; height: 40px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: transparent; cursor: pointer; flex-shrink: 0; padding: 0;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px;
  background: var(--text-2); border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-panel {
  display: none; max-height: 0; overflow: hidden;
  background: var(--bg-2); border-bottom: 1px solid var(--border);
  transition: max-height .25s ease;
}
.nav-mobile-panel.open { max-height: 80vh; overflow-y: auto; }
.nav-mobile-links { list-style: none; padding: 8px 16px; }
.nav-mobile-links li { border-bottom: 1px solid var(--border); }
.nav-mobile-links li:last-child { border-bottom: none; }
.nav-mobile-links a {
  display: block; padding: 13px 4px;
  color: var(--text-2); font-size: 15px; font-weight: 500;
}
.nav-mobile-links a:hover { color: var(--accent); text-decoration: none; }
.nav-mobile-actions {
  display: flex; flex-direction: column; gap: 8px;
  padding: 14px 16px 20px;
}

/* ── CONFIRM / ALERT MODAL ───────────────────────────────────*/
.pn-modal-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(6,8,16,.7);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity .15s;
}
.pn-modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.pn-modal-box {
  background: var(--bg-2); border: 1px solid rgba(201,162,39,.2);
  border-radius: 16px;
  max-width: 400px; width: 100%; padding: 28px;
  box-shadow: var(--shadow-lg);
  transform: translateY(8px) scale(.97); transition: transform .15s;
}
.pn-modal-overlay.is-open .pn-modal-box { transform: translateY(0) scale(1); }
.pn-modal-icon {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 14px; background: var(--primary-lt);
  border: 1px solid rgba(201,162,39,.25);
}
.pn-modal-overlay[data-tone="danger"]  .pn-modal-icon { background: rgba(239,68,68,.12); }
.pn-modal-overlay[data-tone="success"] .pn-modal-icon { background: rgba(46,125,91,.15); }
.pn-modal-title { font-family: var(--font-display); font-size: 16px; font-weight: 700;
                  color: #F5F1E6; margin-bottom: 7px; }
.pn-modal-msg   { font-size: 13.5px; color: var(--text-2); line-height: 1.65; margin-bottom: 22px; }
.pn-modal-actions { display: flex; gap: 10px; justify-content: flex-end; }
.pn-modal-actions button {
  border: none; border-radius: var(--radius); padding: 9px 20px;
  font-size: 13.5px; font-weight: 700; cursor: pointer; font-family: inherit;
}
.pn-modal-cancel { background: rgba(255,255,255,.06); color: var(--text); }
.pn-modal-ok     { background: var(--primary); color: #0B0F1A; }
.pn-modal-overlay[data-tone="danger"] .pn-modal-ok { background: var(--danger); color: #fff; }

/* ── RESPONSIVE ──────────────────────────────────────────────*/
@media (max-width: 1024px) {
  .prop-grid    { grid-template-columns: repeat(2, 1fr); }
  .agents-grid  { grid-template-columns: repeat(2, 1fr); }
  .why-grid     { grid-template-columns: repeat(2, 1fr); }
  .cities-grid  { grid-template-columns: repeat(3, 1fr); }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links    { display: none; }
  .nav-actions  { display: none; }
  .nav-toggle   { display: flex; }
  .nav-mobile-panel { display: block; }

  .prop-grid    { grid-template-columns: 1fr; }
  .agents-grid  { grid-template-columns: repeat(2, 1fr); }
  .why-grid     { grid-template-columns: 1fr; }
  .cities-grid  { grid-template-columns: repeat(2, 1fr); }
  .stats-row    { grid-template-columns: repeat(2, 1fr); }
  .cta-inner    { flex-direction: column; text-align: center; }
  .form-row     { grid-template-columns: 1fr; }
  .auth-card    { padding: 32px 24px; }
  .section, .section-alt, .section-dark { padding: 58px 0; }

  .hero { padding: 80px 0 260px; min-height: auto; }
  .hero-title { letter-spacing: -.3px; }
  .hero-sub { font-size: 15.5px; }

  .hs-body      { flex-direction: column; }
  .hs-field     { border-right: none; border-bottom: 1px solid var(--border); min-width: 100%; }
  .hs-submit    { padding: 16px; justify-content: center; }
  .carousel-dots { bottom: 270px; }
}

@media (max-width: 640px) {
  .agents-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .cities-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding-bottom: 340px; }
  .carousel-dots { bottom: 350px; }
}
