/* ============================================================
   Aspect Real Estate Partners — Executive Commercial Prime
   Lee brand rebrand · Burgundy #93162b / Slate #53606f
   ============================================================ */
:root {
  --primary: #93162b;
  --primary-deep: #6f0019;
  --primary-tint: #ffdada;
  --burgundy-deep: #721121;
  --secondary: #53606f;
  --slate: #576474;
  --slate-light: #F4F4F4;
  --surface: #fbf9f8;
  --surface-white: #ffffff;
  --on-surface: #1b1c1c;
  --on-surface-variant: #584141;
  --outline: #E5E7EB;
  --accent-active: #B0BC26;
  --inverse-surface: #303030;
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --container: 1280px;
  --radius-btn: 0.25rem;
  --radius-card: 0.5rem;
  --section-pad: 80px;
  --shadow-lift: 0 8px 20px rgba(0,0,0,.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  overflow-x: hidden;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  color: var(--on-surface);
  background: var(--surface-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--on-surface); }
h1 { font-size: 48px; font-weight: 700; line-height: 56px; letter-spacing: -0.02em; }
h2 { font-size: 32px; font-weight: 600; line-height: 40px; }
h3 { font-size: 24px; font-weight: 600; line-height: 32px; }
h4 { font-size: 20px; font-weight: 600; line-height: 28px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 40px; }
section { padding: var(--section-pad) 0; }
.section-alt { background: var(--slate-light); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 700; line-height: 16px;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--primary);
  display: block; margin-bottom: 12px;
}
.lead { font-size: 18px; line-height: 28px; color: var(--slate); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-deep); }
.btn-outline { background: transparent; color: var(--secondary); border-color: var(--secondary); }
.btn-outline:hover { background: var(--secondary); color: #fff; }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: var(--primary-tint); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--outline);
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   make it the containing block for the fixed-position mobile nav panel. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-wrap {
  max-width: var(--container); margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 44px; height: 44px; }
.brand-name {
  font-family: var(--font-head); font-weight: 700; font-size: 17px;
  color: var(--primary-deep); line-height: 1.15;
}
.brand-name span { display: block; font-size: 10px; font-weight: 600; letter-spacing: .14em; color: var(--slate); text-transform: uppercase; }

.main-nav { display: flex; align-items: center; }
.main-nav ul { list-style: none; display: flex; align-items: center; flex-wrap: nowrap; gap: 2px; }
.main-nav a {
  display: block; padding: 10px 12px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: var(--on-surface); white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a.active { color: var(--primary); }
.main-nav a.active { border-bottom-color: var(--primary); }

.has-dropdown { position: relative; }
.has-dropdown > a::after { content: " \25BE"; font-size: 10px; color: var(--slate); }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 240px;
  background: #fff; border: 1px solid var(--outline);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lift);
  padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown li { display: block; }
.dropdown a { padding: 10px 18px; border-bottom: none; font-weight: 500; }
.dropdown a:hover { background: var(--slate-light); }

.nav-cta { flex-shrink: 0; }
.nav-cta .btn { padding: 11px 20px; font-size: 12px; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 42px; height: 42px; position: relative;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--on-surface);
  margin: 5px auto; transition: transform .2s, opacity .2s;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 560px;
  display: flex; align-items: center;
  background-size: cover; background-position: center;
  padding: 100px 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(13,18,28,.82) 0%, rgba(20,28,44,.58) 55%, rgba(13,18,28,.30) 100%);
}
.hero .container { position: relative; z-index: 1; }
.hero-card { max-width: 640px; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero p { color: rgba(255,255,255,.92); font-size: 18px; line-height: 28px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.page-hero {
  background: linear-gradient(100deg, var(--primary-deep), var(--primary) 70%, #a83246);
  padding: 88px 0 72px;
}
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,.9); font-size: 18px; line-height: 28px; max-width: 760px; }
.page-hero .eyebrow { color: var(--primary-tint); }

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface-white);
  border: 1px solid var(--outline);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
  display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.card-img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.card-body { padding: 26px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.card-body h3 { font-size: 20px; line-height: 28px; }
.card-body p { color: var(--slate); font-size: 14px; line-height: 22px; flex: 1; }
.card-link {
  font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--primary); display: inline-flex; align-items: center; gap: 6px;
}
.card-link:hover { text-decoration: underline; }

.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head p { margin-top: 14px; color: var(--slate); font-size: 17px; line-height: 27px; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-img { border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--outline); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { margin-bottom: 18px; }
.split p { color: var(--slate); margin-bottom: 16px; }

.stats { display: flex; gap: 48px; margin: 28px 0; }
.stat-num { font-family: var(--font-head); font-size: 40px; font-weight: 700; color: var(--primary); line-height: 1.1; }
.stat-label { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--slate); margin-top: 4px; }

/* ---------- Feature list ---------- */
.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature-icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: var(--radius-btn);
  background: var(--primary-tint); color: var(--primary-deep);
  display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature h4 { margin-bottom: 6px; font-size: 17px; line-height: 24px; }
.feature p { color: var(--slate); font-size: 14px; line-height: 22px; }

/* ---------- Team ---------- */
.team-card { text-align: left; }
.team-photo {
  width: 100%; aspect-ratio: 1/1; object-fit: cover; object-position: top center;
}
.team-role {
  font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--secondary);
}
.team-card h3 { font-size: 20px; }
.team-phone { font-size: 14px; color: var(--primary); font-weight: 600; }
.team-bio { font-size: 14px; line-height: 22px; color: var(--slate); }
details.bio-more summary {
  cursor: pointer; font-size: 13px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--primary); list-style: none; margin-top: 6px;
}
details.bio-more summary::-webkit-details-marker { display: none; }
details.bio-more[open] summary { display: none; }

/* ---------- Testimonials ---------- */
.quote-card {
  position: relative;
  background: var(--surface-white);
  border: 1px solid var(--outline);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex; flex-direction: column; gap: 18px;
}
.quote-card p { color: var(--on-surface); font-size: 15px; line-height: 24px; font-style: italic; }
.quote-card::after {
  content: "\201D";
  position: absolute; right: 22px; bottom: 4px;
  font-family: Georgia, serif; font-size: 72px; line-height: 1;
  color: var(--primary-tint);
}
.quote-who { margin-top: auto; }
.quote-who strong { display: block; font-family: var(--font-head); font-size: 15px; }
.quote-who span { font-size: 13px; color: var(--slate); }

.quote-feature {
  background: var(--secondary); color: #fff; text-align: center;
  border-radius: var(--radius-card); padding: 56px 48px;
}
.quote-feature p { font-size: 19px; line-height: 30px; font-style: italic; color: #fff; max-width: 860px; margin: 0 auto 24px; }
.quote-feature strong { font-family: var(--font-head); }
.quote-feature span { display: block; font-size: 13px; color: rgba(255,255,255,.75); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--primary-deep); text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.88); max-width: 640px; margin: 0 auto 30px; font-size: 17px; line-height: 27px; }

/* ---------- Prose (long-form service pages) ---------- */
.prose { max-width: 820px; }
.prose h2 { margin: 44px 0 16px; font-size: 28px; line-height: 36px; }
.prose h3 { margin: 30px 0 10px; font-size: 20px; line-height: 28px; }
.prose p { margin-bottom: 16px; color: #3c3c3c; font-size: 16px; line-height: 26px; }
.prose ul { margin: 0 0 16px 22px; color: #3c3c3c; line-height: 26px; }

/* ---------- News ---------- */
.article-meta { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--secondary); }

/* ---------- Contact ---------- */
.contact-panel {
  background: var(--surface-white); border: 1px solid var(--outline);
  border-radius: var(--radius-card); padding: 36px;
}
.contact-panel h3 { margin-bottom: 18px; }
.contact-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.contact-row svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.contact-row a { font-weight: 600; }
.map-frame { border: 1px solid var(--outline); border-radius: var(--radius-card); overflow: hidden; }
.map-frame iframe { display: block; width: 100%; height: 420px; border: 0; }

form .field { margin-bottom: 18px; }
form label {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--secondary); margin-bottom: 6px;
}
form input, form textarea {
  width: 100%; padding: 12px 14px; font-family: var(--font-body); font-size: 15px;
  border: 1px solid var(--outline); border-radius: var(--radius-btn);
  background: #fff; color: var(--on-surface);
}
form input:focus, form textarea:focus {
  outline: none; border-bottom: 2px solid var(--primary);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--inverse-surface); color: #cfcfcf; padding: 64px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 48px; }
.site-footer h4 {
  color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 18px; font-weight: 700;
}
.site-footer p { line-height: 24px; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: #cfcfcf; }
.site-footer a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { width: 40px; height: 40px; }
.footer-brand strong { font-family: var(--font-head); color: #fff; font-size: 16px; }
.socials { display: flex; gap: 12px; margin-top: 18px; }
.socials a {
  width: 38px; height: 38px; border-radius: var(--radius-btn);
  border: 1px solid #4a4a4a; display: flex; align-items: center; justify-content: center;
}
.socials a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.socials svg { width: 17px; height: 17px; }
.footer-bottom {
  border-top: 1px solid #454545; padding: 22px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: #9a9a9a;
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .container, .nav-wrap { padding: 0 24px; }
  .main-nav a { padding: 10px 8px; font-size: 12.5px; }
}
@media (max-width: 960px) {
  h1 { font-size: 34px; line-height: 42px; }
  h2 { font-size: 26px; line-height: 34px; }
  section { padding: 56px 0; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .main-nav {
    position: fixed; inset: 76px 0 0 0; background: #fff;
    transform: translateX(100%); transition: transform .25s ease, visibility .25s;
    visibility: hidden;
    overflow-y: auto; padding: 20px 24px;
  }
  .nav-open .main-nav { transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a { padding: 14px 8px; font-size: 16px; border-bottom: 1px solid var(--outline); }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    border: none; box-shadow: none; padding: 0 0 0 16px; min-width: 0;
  }
}
@media (max-width: 620px) {
  .container, .nav-wrap { padding: 0 16px; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 480px; padding: 72px 0; }
  .stats { gap: 28px; flex-wrap: wrap; }
  .brand-name { font-size: 14px; }
}
