/* ============================================================
   Living GTA — Jenny Jin real estate
   Light & clean, with subtle gold accents echoing the brand.
   ============================================================ */
:root {
  --navy: #0d1b2a;
  --navy-2: #14253a;
  --gold: #b8924a;
  --gold-soft: #d8c08a;
  --ink: #1c2430;
  --muted: #5d6776;
  --line: #e7e9ee;
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --bg-cream: #faf8f4;
  --radius: 14px;
  --shadow: 0 18px 50px -28px rgba(13, 27, 42, 0.45);
  --maxw: 1180px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: .2px; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.center { text-align: center; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 .8rem;
}
.section-head { max-width: 640px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.section-head .section-sub { color: var(--muted); margin-top: 1rem; }
.section-head.light .eyebrow { color: var(--gold-soft); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem; border-radius: 50px; font-weight: 600; font-size: .95rem;
  cursor: pointer; border: 1.5px solid transparent; transition: all .2s ease; white-space: nowrap;
}
.btn-primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-primary:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-block { width: 100%; }

.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 12px; top: 12px; background: #fff; padding: 10px 16px; z-index: 1000; border-radius: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .9); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: 72px; }
.brand-mark { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--navy); letter-spacing: .5px; }
.brand-mark span { color: var(--gold); }
.main-nav { display: flex; gap: 1.6rem; margin-left: auto; }
.main-nav a { font-weight: 500; font-size: .95rem; color: var(--ink); position: relative; padding: 4px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--gold); transition: width .25s; }
.main-nav a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.lang-switch { display: flex; gap: .35rem; font-size: .82rem; }
.lang-switch a { padding: 4px 8px; border-radius: 6px; color: var(--muted); font-weight: 500; }
.lang-switch a.active { color: var(--navy); background: var(--bg-soft); font-weight: 600; }
.header-cta { padding: .6rem 1.2rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); transition: .3s; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--bg-cream), #fff); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 48px); }
.hero-title { font-size: clamp(3rem, 8vw, 5.5rem); color: var(--navy); margin: .3rem 0; }
.hero-sub { font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.8rem); color: var(--gold); margin-bottom: 1.2rem; }
.hero-lead { color: var(--muted); font-size: 1.06rem; max-width: 46ch; }
.hero-cta { display: flex; gap: .9rem; flex-wrap: wrap; margin: 1.8rem 0; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.4rem; list-style: none; padding: 1.4rem 0 0; margin: 0; border-top: 1px solid var(--line); }
.hero-stats li { font-size: .88rem; font-weight: 600; color: var(--navy); position: relative; padding-left: 1.2rem; }
.hero-stats li::before { content: "✦"; color: var(--gold); position: absolute; left: 0; }
.hero-photo { position: relative; justify-self: center; }
.hero-photo img { width: min(420px, 90vw); border-radius: 200px 200px 18px 18px; box-shadow: var(--shadow); object-fit: cover; aspect-ratio: 4/5; }
.hero-badge { position: absolute; bottom: 22px; left: -18px; background: #fff; padding: .8rem 1.3rem; border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.hero-badge strong { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--navy); }
.hero-badge span { font-size: .78rem; color: var(--gold); text-transform: uppercase; letter-spacing: .12em; }

/* ---------- About ---------- */
.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about-photo img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; aspect-ratio: 4/5; }
.about-copy h2 { font-size: clamp(2rem, 4vw, 2.9rem); color: var(--navy); margin-bottom: .4rem; }
.about-copy .role { color: var(--gold); font-weight: 600; margin-bottom: 1.4rem; }
.about-copy p { color: var(--muted); }
.about-facts { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; margin: 1.6rem 0; padding: 1.4rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-facts dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold); margin-bottom: .25rem; }
.about-facts dd { margin: 0; font-weight: 600; color: var(--navy); }
.about-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.4rem; }

/* ---------- Cards grid ---------- */
.card-grid { display: grid; gap: 1.4rem; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.one { grid-template-columns: 1fr; max-width: 860px; margin: 0 auto; }

/* Services */
.services { background: var(--bg-soft); }
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.6rem; transition: .25s; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 12px; background: var(--bg-cream); color: var(--gold); margin-bottom: 1.1rem; }
.svc-icon svg { width: 26px; height: 26px; }
.svc-card h3 { font-size: 1.35rem; color: var(--navy); margin-bottom: .5rem; }
.svc-card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Why */
.why { background: var(--navy); color: #fff; }
.why .section-head h2 { color: #fff; }
.why-card { background: var(--navy-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 2.2rem 1.8rem; }
.why-num { font-family: var(--serif); font-size: 2.4rem; color: var(--gold); display: block; margin-bottom: .6rem; }
.why-card h3 { font-size: 1.4rem; margin-bottom: .6rem; }
.why-card p { color: rgba(255,255,255,.72); margin: 0; }

/* Listings */
.listings { background: #fff; }
.listing-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: .25s; }
.listing-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.listing-media { aspect-ratio: 4/3; background: var(--bg-soft); }
.listing-media img { width: 100%; height: 100%; object-fit: cover; }
.listing-body { padding: 1.2rem 1.3rem 1.5rem; }
.listing-price { font-family: var(--serif); font-size: 1.6rem; color: var(--navy); font-weight: 700; margin: 0; }
.listing-address { color: var(--ink); margin: .2rem 0; }
.listing-meta { color: var(--muted); font-size: .9rem; margin: 0; }
.listings-empty { text-align: center; color: var(--muted); font-size: 1.1rem; max-width: 52ch; margin: 0 auto; padding: 2rem 0; }
.center { margin-top: 2.4rem; }

/* Videos */
.videos { background: var(--bg-cream); }
.video-embed { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; cursor: pointer; background-size: cover; background-position: center; display: grid; place-items: center; }
.video-play::after { content: ""; position: absolute; inset: 0; background: rgba(13,27,42,.25); transition: .25s; }
.video-play:hover::after { background: rgba(13,27,42,.1); }
.play-icon { position: relative; z-index: 1; width: 66px; height: 66px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--gold); display: grid; place-items: center; font-size: 1.3rem; padding-left: 4px; }

/* Areas */
.areas { background: var(--navy); color: #fff; }
.areas .section-head h2 { color: #fff; }
.area-chips { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; list-style: none; padding: 0; margin: 0; max-width: 880px; margin: 0 auto; }
.area-chips li { padding: .6rem 1.3rem; border: 1px solid rgba(255,255,255,.18); border-radius: 50px; font-weight: 500; font-size: .95rem; transition: .2s; }
.area-chips li:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* Testimonials */
.testimonials { background: var(--bg-soft); }
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.8rem; margin: 0; }
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: .8rem; }
.quote-card blockquote { margin: 0 0 1.2rem; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); line-height: 1.5; }
.quote-card figcaption { color: var(--muted); font-size: .9rem; font-weight: 600; }

/* Contact */
.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-intro h2 { font-size: clamp(2rem, 4vw, 2.9rem); color: var(--navy); margin-bottom: .8rem; }
.contact-intro p { color: var(--muted); }
.contact-direct { list-style: none; padding: 0; margin: 2rem 0 0; }
.contact-direct li { padding: 1rem 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: .15rem; }
.contact-direct li span { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold); }
.contact-direct a, .contact-direct address { font-style: normal; font-weight: 600; color: var(--navy); }
.contact-form { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.4rem); }
.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-size: .82rem; font-weight: 600; color: var(--ink); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; padding: .8rem .9rem; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,146,74,.15); }
.field textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-consent { font-size: .78rem; color: var(--muted); margin: .9rem 0 0; }
.form-status { margin: .8rem 0 0; font-size: .92rem; font-weight: 600; }
.form-status.is-success { color: #1f7a45; }
.form-status.is-error { color: #c0392b; }
.form-status.is-sending { color: var(--muted); }

/* FAQ */
.faq { background: var(--bg-cream); }
.faq-inner { max-width: 800px; margin: 0 auto; }
.faq-inner h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--navy); text-align: center; margin-bottom: 2rem; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: .8rem; padding: 0 1.4rem; }
.faq-list summary { cursor: pointer; font-weight: 600; color: var(--navy); padding: 1.1rem 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-list summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); margin: 0 0 1.1rem; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.78); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding: clamp(48px, 6vw, 80px) clamp(20px,5vw,48px) clamp(32px,4vw,48px); }
.footer-brand .brand-mark { color: #fff; }
.footer-brand .brand-mark span { color: var(--gold); }
.footer-brand p { margin: 1rem 0 0; max-width: 32ch; font-size: .95rem; }
.footer-broker { color: var(--gold-soft) !important; font-weight: 600; }
.footer-col h3 { font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold); margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .6rem; font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.footer-lang a.active { color: var(--gold-soft); font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.4rem 0; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-bottom p { margin: 0; font-size: .82rem; }
.footer-bottom .disclaimer { color: rgba(255,255,255,.5); max-width: 60ch; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; }
  .about-photo { max-width: 360px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .main-nav, .header-cta, .lang-switch { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .site-header.nav-open .main-nav {
    display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column;
    background: #fff; padding: 1.2rem clamp(20px,5vw,48px); gap: 1rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .site-header.nav-open .lang-switch { display: flex; position: absolute; top: 72px; right: clamp(20px,5vw,48px); }
  .card-grid.three { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .card-grid.four { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-badge { left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
