:root {
  --ink: #111827;
  --muted: #5d6676;
  --line: #dfe5ee;
  --soft: #f5f7fb;
  --paper: #ffffff;
  --navy: #102036;
  --navy-2: #07111f;
  --blue: #175ea8;
  --gold: #c9a14a;
  --gold-soft: #fff4cf;
  --shadow: 0 18px 50px rgba(17, 24, 39, .11);
  --radius: 8px;
}

* { box-sizing: border-box; }

html {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  text-size-adjust: 100%;
}

body { margin: 0; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }

.shell { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: flex; align-items: center; gap: 12px; font-weight: 850; color: var(--navy); }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand span { display: block; line-height: 1.1; }

.navlinks { display: flex; align-items: center; gap: 18px; color: #2d3748; font-weight: 750; font-size: 14px; }
.navlinks a:hover { color: var(--blue); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  text-align: center;
}

.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(16, 32, 54, .16); }
.btn.primary { background: var(--gold); color: #1a1303; }
.btn.dark { background: var(--navy); color: #fff; }
.btn.outline { background: #fff; border-color: var(--line); color: var(--navy); }

.page-hero {
  background:
    linear-gradient(90deg, rgba(7,17,31,.9) 0%, rgba(16,32,54,.74) 58%, rgba(16,32,54,.32) 100%),
    url('/wp-content/themes/goldengate365/assets/img/hero-real-estate.jpg') center/cover no-repeat;
  color: #fff;
  padding: 96px 0 118px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.24);
  color: #ffe7a6;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.eyebrow::before { content: ""; width: 9px; height: 9px; background: var(--gold); border-radius: 50%; }

h1 {
  max-width: 880px;
  margin: 18px 0 20px;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  line-height: .98;
  letter-spacing: 0;
  font-weight: 950;
}

.hero-copy {
  max-width: 760px;
  color: #eef5ff;
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

section { padding: 76px 0; }
.section-kicker { color: var(--blue); font-size: 13px; font-weight: 900; text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.05; margin-bottom: 18px; color: var(--navy); }
.section-lead { max-width: 820px; color: var(--muted); font-size: 1.1rem; }

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.card h3 { color: var(--navy); margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 0; }
.card a { color: var(--blue); font-weight: 850; }
.card .meta { display: block; color: var(--blue); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }

.feature-band { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.article-card { min-height: 150px; }

.cta-box {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.cta-box h2 { margin-bottom: 8px; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.cta-box p { margin-bottom: 0; color: #d8e5f6; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

footer {
  padding: 30px 0;
  background: var(--navy-2);
  color: #b8c5d6;
  font-size: 14px;
}

.footer-inner { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1fr); gap: 18px; }
.footer-inner p { margin: 0 0 8px; }
.footer-inner a { color: #f2d47b; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .navlinks { display: none; }
  .card-grid, .article-grid, .cta-box { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .shell { padding: 0 18px; }
  .page-hero { padding: 62px 0 86px; }
  h1 { font-size: 2.8rem; }
  section { padding: 54px 0; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; }
}
