/* ==========================================================================
   Hive Property Hub — Premium Design System
   ========================================================================== */

:root {
  --bg: #0b0b0d;
  --bg-alt: #121215;
  --surface: #17171b;
  --surface-2: #1e1e23;
  --surface-3: #26262c;
  --border: rgba(245, 243, 238, 0.09);
  --border-strong: rgba(245, 243, 238, 0.16);

  --gold: #c8a24d;
  --gold-light: #e6cb87;
  --gold-dark: #9c7a2e;
  --gold-soft: rgba(200, 162, 77, 0.12);

  --text: #f5f3ee;
  --text-secondary: rgba(245, 243, 238, 0.70);
  --text-muted: rgba(245, 243, 238, 0.46);

  --success: #5cb894;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-lift: 0 20px 60px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.30);

  --container: 1180px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

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

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

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

p { color: var(--text-secondary); margin: 0 0 1em; }

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

section { padding: 96px 0; }
@media (max-width: 720px) { section { padding: 64px 0; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
}

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); color: var(--text); }
.section-head p { font-size: 17px; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%, var(--gold-dark));
  color: #16130a;
  box-shadow: 0 10px 30px rgba(200, 162, 77, 0.25);
}
.btn-gold:hover { box-shadow: 0 14px 36px rgba(200, 162, 77, 0.35); }
.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-sm { padding: 10px 20px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ---------------- Navbar ---------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 13, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}
.brand .mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  color: var(--gold);
  flex-shrink: 0;
}
.brand .mark svg { width: 100%; height: 100%; }
.brand small { display: block; font-family: var(--font-body); font-size: 10px; letter-spacing: 0.18em; color: var(--text-muted); font-weight: 500; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.15s ease;
  position: relative;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -20px;
  height: 2px; background: var(--gold);
}
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  align-items: center; justify-content: center;
  cursor: pointer;
}
.mobile-panel {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.mobile-panel a {
  padding: 12px 4px;
  font-size: 15px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.mobile-panel.open { display: flex; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .brand small { display: none; }
}
@media (max-width: 480px) {
  .nav-cta .btn-gold { display: none; }
  .brand span { font-size: 17px; }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(200,162,77,0.16), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 0%, rgba(200,162,77,0.08), transparent 55%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  color: var(--text);
}
.hero h1 em { color: var(--gold-light); font-style: normal; }
.hero .lede { font-size: 18.5px; max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stats .stat b { display: block; font-family: var(--font-display); font-size: 26px; color: var(--gold-light); }
.hero-stats .stat span { font-size: 13px; color: var(--text-muted); }

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background:
    linear-gradient(160deg, var(--surface-2), var(--surface));
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.hero-visual .hex-field {
  position: absolute; inset: 0;
  opacity: 0.5;
  background-image:
    repeating-linear-gradient(60deg, transparent, transparent 38px, rgba(200,162,77,0.07) 38px, rgba(200,162,77,0.07) 40px),
    repeating-linear-gradient(-60deg, transparent, transparent 38px, rgba(200,162,77,0.07) 38px, rgba(200,162,77,0.07) 40px);
}
.hero-visual .glow {
  position: absolute; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,162,77,0.35), transparent 70%);
  top: -60px; right: -60px; filter: blur(10px);
}
.hero-visual .card-float {
  position: absolute;
  background: rgba(23,23,27,0.85);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-soft);
}
.hero-visual .card-float.c1 { top: 28px; left: 28px; right: 28px; }
.hero-visual .card-float.c2 { bottom: 28px; left: 28px; right: 28px; }
.hero-visual .badge-row { display: flex; gap: 8px; margin-bottom: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.hero-visual .mini-label { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.hero-visual .mini-value { font-family: var(--font-display); font-size: 22px; color: var(--text); }

/* ---------------- Cards ---------------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.card .icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--gold-soft);
  color: var(--gold-light);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.card .icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 19px; color: var(--text); }
.card p { font-size: 14.5px; margin-bottom: 0; }
.card .tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: var(--gold-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
  font-weight: 600;
}
.card .from-price { margin-top: 16px; font-size: 13px; color: var(--text-muted); }
.card .from-price b { color: var(--gold-light); font-family: var(--font-display); font-size: 18px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 13.5px; font-weight: 600; color: var(--gold-light); }

/* ---------------- Pricing tables ---------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-md); }
table.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  background: var(--surface);
}
table.price-table th, table.price-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
}
table.price-table thead th {
  background: var(--surface-2);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}
table.price-table tbody tr:last-child td { border-bottom: none; }
table.price-table tbody tr:hover { background: var(--surface-2); }
table.price-table td.price { color: var(--gold-light); font-weight: 600; white-space: nowrap; }
table.price-table td.muted { color: var(--text-muted); font-size: 13.5px; }

.tier-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold-light);
}

/* ---------------- Pricing plan cards ---------------- */
.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan-card.featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow-lift);
  transform: scale(1.02);
}
.plan-card .ribbon {
  position: absolute; top: -13px; left: 30px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #16130a;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
}
.plan-card h3 { font-size: 22px; margin-bottom: 6px; }
.plan-card .plan-sub { font-size: 13.5px; color: var(--text-muted); margin-bottom: 22px; }
.plan-card .plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.plan-card .plan-price .amt { font-family: var(--font-display); font-size: 36px; color: var(--text); }
.plan-card .plan-price .per { font-size: 13px; color: var(--text-muted); }
.plan-card .plan-note { font-size: 12.5px; color: var(--text-muted); margin-bottom: 24px; }
.plan-card ul { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan-card ul li { display: flex; gap: 10px; font-size: 14px; color: var(--text-secondary); align-items: flex-start; }
.plan-card ul li svg { flex-shrink: 0; width: 16px; height: 16px; color: var(--gold); margin-top: 3px; }

/* ---------------- Process steps ---------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  background: var(--surface);
}
.step .num {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--gold);
  margin-bottom: 10px;
  opacity: 0.7;
}
.step h4 { font-size: 16px; color: var(--text); margin-bottom: 8px; }
.step p { font-size: 13.5px; margin: 0; }

/* ---------------- Callout / policy boxes ---------------- */
.callout {
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--gold);
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 24px 0;
}
.callout h4 { font-size: 14.5px; color: var(--gold-light); margin-bottom: 8px; }
.callout p, .callout ul { font-size: 14px; margin-bottom: 0; }
.callout ul { padding-left: 18px; color: var(--text-secondary); }
.callout ul li { margin-bottom: 6px; }

.policy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .policy-grid { grid-template-columns: 1fr; } }
.policy-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
}
.policy-card h4 { font-size: 15.5px; color: var(--text); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.policy-card h4 svg { color: var(--gold); width: 18px; height: 18px; }
.policy-card p, .policy-card ul { font-size: 13.5px; margin-bottom: 8px; }
.policy-card ul { padding-left: 16px; }
.policy-card ul li { margin-bottom: 6px; color: var(--text-secondary); }
.policy-card .fee { color: var(--gold-light); font-weight: 600; }

/* ---------------- Comparison table (packages) ---------------- */
table.compare { width: 100%; border-collapse: collapse; min-width: 760px; }
table.compare th, table.compare td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
  text-align: center;
}
table.compare th:first-child, table.compare td:first-child { text-align: left; color: var(--text-secondary); }
table.compare thead th { background: var(--surface-2); color: var(--text); font-size: 14px; padding-top: 20px; padding-bottom: 20px; }
table.compare thead th.featured-col { color: var(--gold-light); }
table.compare td.yes { color: var(--gold-light); }
table.compare td.no { color: var(--text-muted); }

/* ---------------- Breadcrumb ---------------- */
.breadcrumb { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--gold-light); }

/* ---------------- Page header (inner pages) ---------------- */
.page-header {
  padding: 72px 0 56px;
  background:
    radial-gradient(ellipse 800px 400px at 10% 0%, rgba(200,162,77,0.14), transparent 60%),
    var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.page-header h1 { font-size: clamp(30px, 4vw, 46px); }
.page-header p { font-size: 17px; max-width: 620px; }

/* ---------------- FAQ ---------------- */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 4px;
  cursor: pointer;
  font-size: 15.5px; font-weight: 600; color: var(--text);
}
.faq-q svg { flex-shrink: 0; transition: transform 0.2s ease; color: var(--gold); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { padding: 0 4px 22px; font-size: 14.5px; }

/* ---------------- Alt section bg ---------------- */
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------------- CTA band ---------------- */
.cta-band {
  border-radius: var(--radius-lg);
  padding: 64px;
  text-align: center;
  background:
    radial-gradient(ellipse 700px 300px at 50% 0%, rgba(200,162,77,0.18), transparent 65%),
    var(--surface);
  border: 1px solid var(--border-strong);
}
.cta-band h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 12px; }
.cta-band p { font-size: 16px; max-width: 520px; margin: 0 auto 30px; }
.cta-band .hero-actions { justify-content: center; margin-bottom: 0; }
@media (max-width: 640px) { .cta-band { padding: 40px 24px; } }

/* ---------------- Footer ---------------- */
footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  background: var(--bg-alt);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h5 { font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 18px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-grid ul li a { font-size: 14px; color: var(--text-secondary); }
.footer-grid ul li a:hover { color: var(--gold-light); }
.footer-grid p { font-size: 14px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding-top: 28px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-muted);
}

/* ---------------- Price sheet (parent/child tree table) ---------------- */
.sheet-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.sheet-note { font-size: 13px; color: var(--text-muted); }
.sheet-actions { display: flex; gap: 10px; }

.table-wrap.sheet-wrap { overflow-x: auto; }
table.sheet-table { width: 100%; border-collapse: collapse; min-width: 760px; background: var(--surface); }
table.sheet-table th, table.sheet-table td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--border); font-size: 13.5px; vertical-align: top; }
table.sheet-table thead th { background: var(--surface-2); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); font-weight: 700; }
table.sheet-table tbody tr:last-child td { border-bottom: none; }

tr.sheet-parent { cursor: pointer; background: var(--surface-2); }
tr.sheet-parent:hover { background: var(--surface-3); }
tr.sheet-parent td { font-family: var(--font-display); font-weight: 600; font-size: 14.5px; color: var(--text); padding-top: 15px; padding-bottom: 15px; }
tr.sheet-parent .parent-label { display: flex; align-items: center; gap: 10px; }
tr.sheet-parent .chevron { width: 18px; height: 18px; flex-shrink: 0; transition: transform .18s ease; color: var(--text-muted); }
tr.sheet-parent.open .chevron { transform: rotate(90deg); }
tr.sheet-parent .swatch { width: 9px; height: 9px; border-radius: 3px; flex-shrink: 0; background: var(--gold); }
tr.sheet-parent .parent-range { font-family: var(--font-body); font-weight: 700; font-size: 13.5px; color: var(--gold-light); }
tr.sheet-parent .parent-count { font-family: var(--font-body); font-weight: 500; font-size: 12px; color: var(--text-muted); }

tr.sheet-child td { background: var(--surface); }
tr.sheet-child .child-item { padding-left: 28px; position: relative; font-weight: 600; color: var(--text); }
tr.sheet-child .child-item::before { content: ""; position: absolute; left: 10px; top: 50%; width: 8px; height: 8px; border-left: 1.5px solid var(--border-strong); border-bottom: 1.5px solid var(--border-strong); transform: translateY(-70%); }
tr.sheet-child td.price { font-weight: 700; white-space: nowrap; color: var(--gold-light); }
tr.sheet-child td.muted { color: var(--text-muted); }
tr.sheet-child.hidden { display: none; }

@media (max-width: 640px) {
  tr.sheet-parent td, tr.sheet-child td { padding: 12px; font-size: 12.5px; }
  table.sheet-table { min-width: 600px; }
}

@media print {
  .nav, footer, .sheet-actions, .cta-band { display: none !important; }
  tr.sheet-child.hidden { display: table-row !important; }
  tr.sheet-parent .chevron { display: none; }
  section { padding: 12px 0; }
  body { background: #fff; color: #000; }
}

/* ---------------- Utility ---------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.small { font-size: 13px; color: var(--text-muted); }

/* 2026-10-28: 7th nav item (Premium Listings) -> free space on mid widths */
@media (max-width: 1100px) { .nav-cta .btn-outline { display: none; } }
