/* Ali Al-Khafaji, REALTOR — brand system: burgundy + ivory + gold accent,
   Playfair Display for headlines (editorial/luxury), Inter for body (warm,
   readable, welcoming). Redesigned 2026-07-31 for a "luxury + welcoming"
   feel per Ali's direction — no stock/AI property photography used (see
   project_website_build memory for why), so the elevation comes from
   type, color, and space rather than imagery. */
:root {
  --brand: #7a1730;
  --brand-2: #a83250;
  --gold: #b08d57;
  --gold-soft: #e8dcc4;
  --dark: #1c1618;
  --dark-2: #2c2224;
  --ink: #201a1c;
  --muted: #6b6265;
  --bg: #faf6f1;
  --card: #ffffff;
  --border: #ece4db;
  --radius: 14px;
  --shadow: 0 3px 14px rgba(60, 30, 20, 0.06);
  --shadow-lg: 0 20px 50px rgba(60, 30, 20, 0.16);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .brand { font-family: var(--serif); }
a { color: var(--brand); }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ── Header / nav ─────────────────────────────────────────── */
header.site {
  background: rgba(250, 246, 241, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 40;
}
header.site .bar { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; max-width: 1120px; margin: 0 auto; position: relative; }
header.site .brand { font-weight: 700; font-size: 21px; color: var(--brand); text-decoration: none; letter-spacing: .2px; }
header.site .brand span { color: var(--muted); font-weight: 400; font-size: 12px; font-family: var(--sans); letter-spacing: .6px; text-transform: uppercase; display: block; margin-top: 2px; }
header.site nav { display: flex; gap: 28px; align-items: center; }
header.site nav a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: .2px; }
header.site nav a:hover { color: var(--brand); }
header.site .cta-btn { background: var(--brand); color: #fff !important; padding: 10px 20px; border-radius: 999px; font-weight: 600; }
header.site .cta-btn:hover { background: var(--brand-2); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; border: none; background: none; cursor: pointer; padding: 0;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; margin: 0 auto; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  header.site nav {
    display: none; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--card); border-bottom: 1px solid var(--border);
    padding: 8px 24px 18px; box-shadow: var(--shadow);
  }
  header.site nav.open { display: flex; }
  header.site nav a { padding: 10px 0; border-bottom: 1px solid var(--border); }
  header.site nav a:last-child { border-bottom: none; }
  header.site .cta-btn { text-align: center; margin-top: 6px; }
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 100%);
  color: #fff; padding: 88px 24px; text-align: center; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% -10%, rgba(168,50,80,.28), transparent 60%);
}
.hero .eyebrow {
  font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold);
  font-weight: 600; margin-bottom: 16px; display: block;
}
.hero h1 { font-size: 44px; font-weight: 600; line-height: 1.15; margin-bottom: 16px; }
.hero p { font-size: 18px; opacity: .85; max-width: 620px; margin: 0 auto 30px; font-family: var(--sans); }
.hero .btnrow { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }
.hero-portrait {
  width: 128px; height: 128px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--gold); box-shadow: var(--shadow-lg);
  margin: 0 auto 22px; display: block; position: relative;
}
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 999px; font-weight: 600;
  text-decoration: none; font-size: 15px; cursor: pointer; border: none;
  letter-spacing: .2px; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: #fff; color: var(--brand); }
.btn-primary:hover { box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-solid { background: var(--brand); color: #fff; }
.btn-solid:hover { background: var(--brand-2); box-shadow: 0 8px 20px rgba(122,23,48,.28); }

/* ── Cards / sections ──────────────────────────────────────── */
section { padding: 72px 24px; }
section h2 { color: var(--ink); font-size: 30px; font-weight: 600; margin-bottom: 10px; }
section .subhead { color: var(--muted); margin-bottom: 36px; font-size: 16px; max-width: 560px; }
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 800px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow); border: 1px solid var(--border);
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card h3 { color: var(--ink); font-size: 19px; font-weight: 600; margin-bottom: 10px; font-family: var(--serif); }
.card p { color: var(--muted); font-size: 14.5px; }

/* ── FAQ / answer blocks (AEO-shaped) ─────────────────────── */
.qa { margin-bottom: 26px; padding-bottom: 26px; border-bottom: 1px solid var(--border); }
.qa:last-child { border-bottom: none; }
.qa h3 { font-size: 18px; font-weight: 600; color: var(--ink); margin-bottom: 8px; font-family: var(--serif); }
.qa p { color: var(--muted); font-size: 15.5px; }

/* ── Forms ─────────────────────────────────────────────────── */
form.capture { background: var(--card); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); border: 1px solid var(--border); }
form.capture label { display: block; font-size: 13px; font-weight: 600; margin: 16px 0 7px; color: var(--ink); letter-spacing: .2px; }
form.capture input, form.capture select, form.capture textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 9px;
  font-size: 15px; font-family: inherit; background: #fffdfb; transition: border-color .15s ease;
}
form.capture input:focus, form.capture select:focus, form.capture textarea:focus {
  outline: none; border-color: var(--brand);
}
form.capture .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { form.capture .row2 { grid-template-columns: 1fr; } }
form.capture button { margin-top: 24px; width: 100%; }
.consent-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; line-height: 1.6; }

/* ── Popup ─────────────────────────────────────────────────── */
.popup-overlay {
  position: fixed; inset: 0; background: rgba(32,26,28,.6); display: none;
  align-items: center; justify-content: center; z-index: 1000; padding: 20px;
}
.popup-overlay.show { display: flex; }
.popup-box {
  background: #fff; border-radius: 18px; padding: 40px 34px; max-width: 440px; width: 100%;
  text-align: center; box-shadow: var(--shadow-lg); position: relative;
}
.popup-box h2 { color: var(--ink); font-size: 24px; font-weight: 600; margin-bottom: 10px; }
.popup-box p { color: var(--muted); font-size: 14.5px; margin-bottom: 26px; font-family: var(--sans); }
.popup-box .choice { display: block; width: 100%; padding: 15px; margin-bottom: 11px; border-radius: 11px;
  border: 1.5px solid var(--border); background: #fffdfb; font-weight: 600; font-size: 15px; cursor: pointer;
  text-decoration: none; color: var(--ink); transition: border-color .15s, background .15s; }
.popup-box .choice:hover { border-color: var(--brand); background: #fbf1f2; }
.popup-close { position: absolute; top: 14px; right: 18px; background: none; border: none; font-size: 22px; color: #aaa; cursor: pointer; }

/* ── Social / video showcase ──────────────────────────────── */
.showcase-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.showcase-item { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); background: #fff; border: 1px solid var(--border); }
.showcase-item img, .showcase-item video { width: 100%; display: block; aspect-ratio: 4/5; object-fit: cover; }
.showcase-item .cap { padding: 10px 12px; font-size: 12px; color: var(--muted); }
.social-links { display: flex; gap: 16px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.social-links a { color: var(--brand); font-weight: 600; text-decoration: none; font-size: 14px; }

/* ── Trust / reviews strip ───────────────────────────────────── */
.trust-strip {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 8px;
}
.trust-strip a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px;
  border: 1.5px solid var(--gold); border-radius: 999px; color: var(--ink);
  text-decoration: none; font-size: 14px; font-weight: 600; background: #fffdfb;
  transition: background .15s ease, border-color .15s ease;
}
.trust-strip a:hover { background: var(--gold-soft); }

/* ── Footer ────────────────────────────────────────────────── */
footer.site { background: #201a1c; color: #c9c0c2; padding: 52px 24px; margin-top: 48px; font-size: 13px; }
footer.site .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
footer.site a { color: #c9c0c2; text-decoration: none; }
footer.site a:hover { color: #fff; }
footer.site .col h4 { color: #fff; font-size: 12px; letter-spacing: .8px; text-transform: uppercase; margin-bottom: 14px; font-family: var(--sans); font-weight: 600; }
footer.site .col a { display: block; margin-bottom: 8px; }
footer.site .legal { text-align: center; margin-top: 32px; padding-top: 24px; border-top: 1px solid #3a3234; color: #93898b; font-size: 12px; }
