:root {
  --navy: #071d35;
  --blue: #0b3a68;
  --blue-2: #1c5d99;
  --ice: #edf6ff;
  --paper: #ffffff;
  --ink: #132236;
  --muted: #66758a;
  --line: #d9e4ef;
  --gold: #caa45d;
  --shadow: 0 20px 60px rgba(7, 29, 53, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  background: var(--paper);
}
a { color: inherit; }
.topbar {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 7px 18px;
  color: #dce9f7;
  background: var(--navy);
  font-size: 13px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 15px clamp(18px, 5vw, 70px);
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 235px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 8px;
  font-weight: 900;
}
.brand strong, .brand small { display: block; line-height: 1.15; }
.brand small { color: var(--muted); }
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  width: 100%;
  font-size: 15px;
}
.main-nav a { text-decoration: none; font-weight: 750; color: var(--ink); }
.nav-cta { color: #fff !important; background: var(--blue); padding: 10px 14px; border-radius: 8px; }
.menu-toggle { display: none; }

.section { padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 76px); }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
  min-height: 730px;
  color: #fff;
  background:
    linear-gradient(100deg, rgba(7,29,53,.97), rgba(11,58,104,.78)),
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1800&q=82") center/cover;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1, h2, h3 { line-height: 1.08; letter-spacing: 0; }
h1 { margin: 0 0 18px; max-width: 890px; font-size: clamp(42px, 7vw, 78px); }
h2 { margin: 0 0 16px; color: var(--navy); font-size: clamp(30px, 4vw, 52px); }
h3 { margin: 0 0 10px; color: var(--navy); font-size: 24px; }
.hero p { max-width: 710px; color: #e9f2fb; font-size: 19px; }
.phone-banner {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 10px 14px;
  color: #071d35;
  background: #fff;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}
.market-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.market-strip span {
  padding: 7px 10px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  font-size: 13px;
  font-weight: 850;
}
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}
.primary { color: #fff; background: var(--blue); }
.secondary { color: var(--navy); background: #fff; }
.outline { color: #fff; border-color: rgba(255,255,255,.62); background: rgba(255,255,255,.08); }
.light { color: var(--navy); background: #fff; }
.hero-lead-panel {
  display: grid;
  gap: 16px;
}
.agent-portrait {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 10px solid rgba(255,255,255,.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--ice);
}
.hero-value-form {
  padding: 20px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 44px rgba(0,0,0,.18);
}
.hero-value-form h3 { margin-bottom: 4px; }
.hero-value-form p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 14px;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}
.split p, .section > p { color: var(--muted); font-size: 18px; }
.blue-band { color: #fff; background: linear-gradient(135deg, var(--navy), var(--blue)); }
.blue-band h2, .blue-band p, .blue-band h3 { color: #fff; }
.home-value-report {
  background: linear-gradient(135deg, #f7fbff, #ffffff);
}

.card-grid, .property-grid, .city-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}
.card, .property-card, .contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 38px rgba(7,29,53,.08);
  overflow: hidden;
}
.card { padding: 24px; }
.card p, .property-card p { color: var(--muted); margin-bottom: 0; }
.property-media {
  min-height: 220px;
  background-size: cover;
  background-position: center;
}
.property-media.one { background-image: url("https://images.unsplash.com/photo-1564013799919-ab600027ffc6?auto=format&fit=crop&w=900&q=80"); }
.property-media.two { background-image: url("https://images.unsplash.com/photo-1570129477492-45c003edd2be?auto=format&fit=crop&w=900&q=80"); }
.property-media.three { background-image: url("https://images.unsplash.com/photo-1605276374104-dee2a0ed3cd6?auto=format&fit=crop&w=900&q=80"); }
.property-body { padding: 20px; }
.property-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.property-meta span {
  padding: 6px 9px;
  color: var(--blue);
  background: var(--ice);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}
.city-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.city-grid a {
  padding: 20px;
  color: var(--navy);
  background: var(--ice);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 850;
}
.trust-section {
  background: linear-gradient(180deg, #ffffff, #f4f9ff);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.trust-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(7,29,53,.07);
}
.trust-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.trust-card p {
  margin: 0;
  color: var(--muted);
}
.trust-secondary {
  border-color: var(--line);
  box-shadow: 0 10px 24px rgba(7,29,53,.08);
}

form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.blue-band form { box-shadow: 0 18px 55px rgba(0,0,0,.22); }
label { display: grid; gap: 6px; color: var(--muted); font-weight: 800; }
input, select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid #bdcad8;
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}
textarea { min-height: 118px; resize: vertical; }
.form-success { padding: 10px 12px; border-radius: 8px; color: #075522; background: #e8f8ee; font-weight: 800; }
.form-note { margin: 0; color: var(--muted); font-size: 13px; }
.contact-card { display: grid; gap: 8px; padding: 24px; }
.contact-card img { width: 150px; border-radius: 8px; }
.page-hero {
  color: #fff;
  background: linear-gradient(120deg, rgba(7,29,53,.97), rgba(11,58,104,.78));
}
.page-hero h1 { max-width: 900px; }
.idx-box {
  padding: 26px;
  border: 1px dashed #8eb2d5;
  border-radius: 8px;
  background: #f7fbff;
}
.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr);
  gap: 28px;
  padding: 36px clamp(18px, 5vw, 76px);
  color: #dce9f7;
  background: var(--navy);
}
.site-footer p { margin: 6px 0; }
.site-footer a { color: #fff; }
.site-footer nav { display: grid; gap: 8px; }

@media (max-width: 960px) {
  .topbar { display: none; }
  .site-header { flex-wrap: wrap; }
  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    font-weight: 850;
  }
  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--line);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .hero, .split, .site-footer { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .card-grid, .property-grid, .city-grid, .trust-grid { grid-template-columns: 1fr; }
}
