/* ---------- Design tokens ---------- */
:root {
  --navy-950: #060d1f;
  --navy-900: #0a1530;
  --navy-800: #0f1e40;
  --navy-700: #16295a;
  --navy-600: #1f3a7a;
  --gold-500: #d4af37;
  --gold-400: #e6c568;
  --gold-300: #f2dc9b;
  --ink: #0c1220;
  --paper: #ffffff;
  --paper-soft: #f6f4ee;
  --line: #e4ddc9;
  --muted: #5b6376;
  --radius: 14px;
  --shadow-lg: 0 20px 40px -12px rgba(6, 13, 31, 0.35);
  --shadow-sm: 0 4px 14px rgba(6, 13, 31, 0.08);
  --font-head: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; margin: 0 0 0.5em; line-height: 1.15; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-500);
  margin: 0 0 0.6em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85em 1.7em;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--navy-950);
  box-shadow: var(--shadow-sm);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(230, 197, 104, 0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo { height: 48px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-head);
  color: #fff;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  font-weight: 700;
}
.brand-tag {
  color: var(--gold-400);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.site-nav a {
  color: #e8ecf7;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.15s ease;
}
.site-nav a:hover { color: var(--gold-400); }
.nav-cta { margin-left: 6px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: #fff;
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse at top right, rgba(230,197,104,0.16), transparent 55%),
    linear-gradient(160deg, var(--navy-950), var(--navy-800) 60%, var(--navy-700));
  color: #fff;
  padding: 110px 0 90px;
}
.hero-inner { max-width: 720px; }
.hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); color: #fff; }
.hero-sub { color: #c7cfe4; font-size: 1.08rem; max-width: 560px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin: 30px 0 50px; }
.hero-stats {
  display: flex;
  gap: 44px;
  margin: 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stats dt {
  font-family: var(--font-head);
  color: var(--gold-400);
  font-size: 1.6rem;
  font-weight: 700;
}
.hero-stats dd {
  margin: 2px 0 0;
  color: #aeb7ce;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Section shared ---------- */
section { padding: 90px 0; }
.section-head { max-width: 620px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--navy-900); }
.section-sub { color: var(--muted); }
.listings .section-head, .contact .section-head { margin-bottom: 48px; }

/* ---------- Listings ---------- */
.listings { background: var(--paper-soft); }
.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.listing-card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.listing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.listing-media {
  position: relative;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.listing-icon { width: 56px; height: 56px; fill: rgba(255,255,255,0.85); }
.grad-1 { background: linear-gradient(135deg, #0f1e40, #2a4a8c); }
.grad-2 { background: linear-gradient(135deg, #1a2a52, #3d5fa6); }
.grad-3 { background: linear-gradient(135deg, #0d1b3e, #b6862c); }
.grad-4 { background: linear-gradient(135deg, #16295a, #4b74c4); }
.grad-5 { background: linear-gradient(135deg, #0a1530, #8a6a2a); }
.grad-6 { background: linear-gradient(135deg, #12224a, #d4af37); }
.listing-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--gold-500);
  color: var(--navy-950);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 10px;
  border-radius: 999px;
}
.listing-body { padding: 20px 22px 24px; }
.listing-price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy-900);
}
.listing-price span { font-size: 0.85rem; font-weight: 400; color: var(--muted); }
.listing-card h3 { font-size: 1.05rem; margin: 6px 0 2px; color: var(--ink); }
.listing-loc { color: var(--muted); font-size: 0.9rem; margin-bottom: 14px; }
.listing-meta {
  display: flex;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.listing-meta li {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-700);
}

/* ---------- About ---------- */
.about-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}
.about-text h2 { color: var(--navy-900); }
.about-text p { color: var(--muted); }
.feature-list { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.feature-list li {
  padding-left: 26px;
  position: relative;
  color: var(--ink);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background: var(--gold-500);
  border-radius: 50%;
}
.about-card {
  background: var(--navy-950);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}
.about-logo { max-width: 240px; }

/* ---------- Contact ---------- */
.contact { background: var(--paper-soft); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 46px;
  align-items: start;
}
.contact-form {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field { margin-bottom: 18px; display: flex; flex-direction: column; }
.form-field label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 11px 13px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}
.form-field textarea { resize: vertical; }
.field-error {
  color: #b3261e;
  font-size: 0.78rem;
  min-height: 1.1em;
  margin-top: 4px;
}
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: #b3261e;
}
.form-status {
  margin: 16px 0 0;
  font-weight: 600;
  font-size: 0.92rem;
}
.form-status.success { color: #1a7f37; }
.form-status.error { color: #b3261e; }

.contact-info {
  background: var(--navy-950);
  color: #e8ecf7;
  border-radius: var(--radius);
  padding: 34px;
}
.contact-info h3 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 20px;
}
.contact-info p { color: #aeb7ce; font-size: 0.92rem; }
.contact-info strong { color: var(--gold-400); display: block; margin-bottom: 3px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: #9aa4bd;
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: #fff;
}
.footer-brand img { height: 34px; }
.footer-nav { display: flex; gap: 22px; }
.footer-nav a { font-size: 0.9rem; }
.footer-nav a:hover { color: var(--gold-400); }
.footer-copy { width: 100%; text-align: center; font-size: 0.8rem; margin: 20px 0 0; color: #6f7994; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .about-inner, .contact-grid { grid-template-columns: 1fr; }
  .about-card { order: -1; padding: 26px; }
  .about-logo { max-width: 180px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--navy-900);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    border-bottom: 1px solid rgba(230,197,104,0.25);
  }
  .site-nav.open { max-height: 320px; }
  .site-nav a {
    width: 100%;
    padding: 16px 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav-cta { margin: 12px 24px; width: calc(100% - 48px); text-align: center; }
  .hero { padding: 80px 0 60px; }
  .hero-stats { gap: 28px; flex-wrap: wrap; }
  section { padding: 64px 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { justify-content: center; text-align: center; }
}
