/* ============================================================
   Blue Orbit Realty — Brand stylesheet
   Design tokens lifted directly from the brand guidelines.
   ============================================================ */

:root {
  /* Colours */
  --navy:        #0A1E3A;   /* Midnight Navy  */
  --blue:        #1450A6;   /* Orbit Blue     */
  --orange:      #F15A22;   /* Solar Orange   */
  --ember:       #D2491A;   /* Orange hover   */
  --sky:         #EAF1FB;   /* Sky Tint       */
  --cream:       #FAF7F2;   /* Cream          */
  --beige:       #EFEAE2;   /* Canvas Beige   */
  --slate:       #59657A;   /* Secondary text */
  --ink:         #161C28;   /* Body text      */
  --line:        rgba(10,30,60,.08);  /* card border */

  /* Fonts */
  --serif: 'Spectral', Georgia, 'Times New Roman', serif;
  --sans:  'Hanken Grotesk', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Shape */
  --r-card: 18px;
  --r-panel: 26px;
  --r-input: 11px;
  --shadow-card-hover: 0 26px 50px -30px rgba(10,30,60,.4);
  --shadow-hero: 0 30px 60px -30px rgba(0,0,0,.5);

  --maxw: 1280px;
  --pad-x: 40px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  font-family: var(--sans);
  color: var(--ink);
  width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--orange); color: #fff; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }

/* ---------- Typography helpers ---------- */
.serif { font-family: var(--serif); }
.eyebrow {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .2em; color: var(--orange);
}
.eyebrow.slate { color: var(--slate); letter-spacing: .16em; }

h1, h2, h3 { font-family: var(--serif); letter-spacing: -.01em; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250,247,242,.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  padding-top: 14px; padding-bottom: 14px;
  display: flex; align-items: center; justify-content: space-between;
}
.site-header .logo img { height: 46px; width: auto; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 34px; font-size: 15px; font-weight: 500; color: #283041; }
.nav a { transition: color .18s ease; }
.nav a:not(.btn-pill):hover { color: var(--orange); }
.nav a.active { color: var(--orange); font-weight: 700; }

.btn-pill {
  background: var(--orange); color: #fff; font-weight: 700;
  padding: 11px 22px; border-radius: 40px; transition: background .18s ease;
}
.btn-pill:hover { background: var(--ember); }

/* Hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle svg { display: block; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  font-family: inherit; font-weight: 700; font-size: 15px;
  border: none; cursor: pointer; border-radius: 9px;
  padding: 13px 28px; transition: background .18s ease, color .18s ease, gap .18s ease;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--ember); }
.btn-outline {
  background: transparent; color: var(--navy);
  border: 1px solid rgba(10,30,60,.25); border-radius: 40px; padding: 12px 26px;
}
.btn-outline:hover { border-color: var(--navy); background: rgba(10,30,60,.04); }
.link-arrow { font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: 8px; transition: gap .18s ease; }
.link-arrow:hover { gap: 12px; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 96px var(--pad-x); }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 44px; flex-wrap: wrap; gap: 18px;
}
.section-head h2,
.h2 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(32px, 3.8vw, 48px); line-height: 1.05; margin-top: 14px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero .wrap {
  padding-top: 88px; padding-bottom: 100px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center;
  position: relative; z-index: 2;
}
.hero h1 {
  font-weight: 700; font-size: clamp(46px, 5.4vw, 78px); line-height: 1.02;
  margin: 26px 0 22px;
}
.hero h1 em { font-style: italic; font-weight: 500; color: var(--orange); }
.hero-sub { font-size: 19px; line-height: 1.6; color: rgba(255,255,255,.74); max-width: 480px; margin-bottom: 36px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  color: #FBC9B3; font-weight: 700;
  border: 1px solid rgba(255,255,255,.2); padding: 8px 16px; border-radius: 40px;
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }

/* Orbit rings (signature motif) */
.orbit-ring { position: absolute; border-radius: 50%; pointer-events: none; }
.hero .ring-1 { right: -160px; top: -160px; width: 560px; height: 560px; border: 1.5px solid rgba(241,90,34,.35); }
.hero .ring-2 { right: -40px; top: -40px; width: 340px; height: 340px; border: 1.5px solid rgba(255,255,255,.14); }
.hero .orbit-dot {
  position: absolute; right: 120px; top: 130px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 6px rgba(241,90,34,.18); pointer-events: none;
}

/* Search card */
.search-card { background: #fff; border-radius: 16px; padding: 8px; box-shadow: var(--shadow-hero); max-width: 560px; }
.search-tabs { display: flex; gap: 6px; padding: 6px 6px 12px; }
.search-tab {
  color: var(--slate); font-size: 13px; font-weight: 600; padding: 7px 16px;
  border-radius: 30px; border: none; background: none; cursor: pointer; font-family: inherit;
}
.search-tab.active { background: var(--navy); color: #fff; }
.search-tab:not(.active):hover { background: #F4F1EB; }
.search-row {
  display: flex; align-items: center; gap: 10px;
  background: var(--cream); border-radius: var(--r-input); padding: 6px 6px 6px 18px;
}
.search-row input {
  flex: 1; border: none; background: transparent; font-family: inherit;
  font-size: 15px; color: #283041; outline: none; padding: 12px 0; min-width: 0;
}

.hero-stats { display: flex; gap: 40px; margin-top: 42px; flex-wrap: wrap; }
.hero-stats .num { font-family: var(--serif); font-size: 34px; font-weight: 700; }
.hero-stats .lbl { font-size: 13px; color: rgba(255,255,255,.55); letter-spacing: .04em; }

.hero-photo { position: relative; }
.hero-photo > img { width: 100%; aspect-ratio: .86; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow-hero); }
.hero-badge {
  position: absolute; left: -26px; bottom: 34px; background: #fff; color: var(--ink);
  border-radius: 14px; padding: 18px 22px; box-shadow: 0 24px 50px -24px rgba(0,0,0,.45);
  display: flex; align-items: center; gap: 14px;
}
.icon-chip {
  width: 44px; height: 44px; border-radius: 11px; background: var(--sky);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust .wrap {
  padding-top: 30px; padding-bottom: 30px; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.trust-items { display: flex; gap: 38px; flex-wrap: wrap; font-size: 15px; color: #283041; font-weight: 500; }
.trust-items span { display: flex; align-items: center; gap: 9px; }
.trust-items .star { color: var(--orange); }

/* ============================================================
   PROPERTY CARDS
   ============================================================ */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.prop-card {
  background: #fff; border-radius: var(--r-card); overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 1px 3px rgba(10,30,60,.05); display: block;
  transition: box-shadow .22s ease, transform .22s ease;
}
.prop-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.prop-card .photo { position: relative; }
.prop-card .photo img { width: 100%; aspect-ratio: 1.3; object-fit: cover; }
.pill-tag {
  position: absolute; top: 14px; left: 14px; color: #fff; font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; padding: 6px 13px; border-radius: 30px;
}
.prop-card .body { padding: 22px; }
.prop-card .price { font-family: var(--serif); font-size: 24px; font-weight: 600; margin-bottom: 4px; }
.prop-card .title { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.prop-card .loc { font-size: 14px; color: var(--slate); display: flex; align-items: center; gap: 6px; margin-bottom: 16px; }
.prop-card .specs {
  display: flex; gap: 18px; border-top: 1px solid var(--line);
  padding-top: 14px; font-size: 13px; color: var(--slate);
}

/* ============================================================
   AREAS
   ============================================================ */
.center-intro { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.center-intro p { font-size: 17px; line-height: 1.6; color: var(--slate); margin-top: 16px; }
.areas-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 22px; }
.area-tile { position: relative; border-radius: var(--r-card); overflow: hidden; min-height: 380px; display: block; }
.area-tile img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .4s ease; }
.area-tile:hover img { transform: scale(1.05); }
.area-tile .scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(10,30,60,.82) 0%, rgba(10,30,60,.25) 45%, transparent 75%);
}
.area-tile .label { position: absolute; left: 26px; bottom: 24px; z-index: 2; color: #fff; }
.area-tile .label .name { font-family: var(--serif); font-size: 28px; font-weight: 700; }
.area-tile .label .meta { font-size: 14px; color: rgba(255,255,255,.8); margin-top: 4px; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.howitworks { background: var(--sky); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step-card { background: #fff; border-radius: var(--r-card); padding: 34px 30px; border: 1px solid var(--line); }
.step-num {
  width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 22px; color: #fff; margin-bottom: 22px;
}
.step-card h3 { font-size: 21px; font-weight: 700; margin-bottom: 12px; }
.step-card p { font-size: 15px; line-height: 1.6; color: var(--slate); }

/* ============================================================
   SELL CTA
   ============================================================ */
.sell-section { background: var(--cream); }
.sell-panel {
  position: relative; overflow: hidden; background: var(--navy); color: #fff;
  border-radius: var(--r-panel); padding: 64px 60px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center;
}
.sell-panel .ring-1 { position: absolute; left: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; border: 1.5px solid rgba(241,90,34,.3); pointer-events: none; }
.sell-panel .ring-2 { position: absolute; left: -40px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.12); pointer-events: none; }
.sell-panel h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; margin: 14px 0 18px; position: relative; }
.sell-panel p { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.74); margin-bottom: 30px; max-width: 440px; position: relative; }
.sell-stats { display: flex; flex-direction: column; gap: 14px; position: relative; }
.sell-stat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 20px 24px; display: flex; align-items: baseline; gap: 14px; }
.sell-stat .num { font-family: var(--serif); font-size: 30px; font-weight: 700; color: #fff; }
.sell-stat .lbl { font-size: 14px; color: rgba(255,255,255,.7); }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testimonial { background: #fff; text-align: center; }
.testimonial .wrap { max-width: 860px; }
.testimonial .quote { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(24px, 3vw, 34px); line-height: 1.35; color: var(--ink); }
.testimonial .who { display: inline-flex; align-items: center; gap: 14px; margin-top: 36px; }
.testimonial .avatar { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; background: var(--sky); }
.testimonial .who .name { font-weight: 700; font-size: 16px; text-align: left; }
.testimonial .who .role { font-size: 14px; color: var(--slate); text-align: left; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--beige); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; margin: 14px 0 16px; }
.contact-lead { font-size: 17px; line-height: 1.6; color: var(--slate); margin-bottom: 36px; max-width: 420px; }
.contact-row { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.contact-row .icon-chip svg { stroke: var(--blue); }
.contact-row .c-label { font-size: 13px; color: var(--slate); }
.contact-row .c-value { font-size: 16px; font-weight: 600; color: var(--ink); }

.form-card { background: #fff; border-radius: 20px; padding: 32px; border: 1px solid var(--line); box-shadow: 0 1px 3px rgba(10,30,60,.05); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--slate); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
  border: 1px solid rgba(10,30,60,.16); border-radius: var(--r-input); padding: 13px 15px; outline: none;
  background: #fff; transition: border-color .18s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { border-color: var(--blue); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.segmented { display: flex; gap: 8px; }
.segmented button {
  flex: 1; font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  padding: 12px; border-radius: var(--r-input); border: 1px solid rgba(10,30,60,.16);
  background: #fff; color: var(--slate); transition: all .15s ease;
}
.segmented button.active { background: var(--navy); color: #fff; border-color: var(--navy); }

.form-status { font-size: 14px; margin-top: 14px; min-height: 20px; }
.form-status.ok { color: var(--blue); }
.form-status.err { color: var(--ember); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 72px var(--pad-x) 36px; }
.footer-lattice {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(241,90,34,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(241,90,34,.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .plate { background: var(--cream); border-radius: 14px; padding: 12px 16px; display: inline-block; margin-bottom: 20px; }
.footer-brand .plate img { height: 42px; width: auto; }
.footer-brand .tag { font-family: var(--serif); font-style: italic; font-size: 20px; color: #fff; margin-bottom: 12px; }
.footer-brand .blurb { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.6); max-width: 280px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .16em; color: rgba(255,255,255,.5); margin-bottom: 18px; font-family: var(--sans); font-weight: 700; }
.footer-col a, .footer-col .line { display: block; font-size: 15px; color: rgba(255,255,255,.78); margin-bottom: 12px; transition: color .15s ease; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { position: relative; border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom .copy { font-size: 14px; color: rgba(255,255,255,.5); }
.footer-bottom .sig { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--orange); }

/* Mini footer (listings / property pages) */
.mini-footer { position: relative; overflow: hidden; background: var(--navy); color: #fff; text-align: center; padding: 56px var(--pad-x); }
.mini-footer .tag { font-family: var(--serif); font-style: italic; font-size: 24px; margin-bottom: 10px; position: relative; }
.mini-footer .copy { font-size: 14px; color: rgba(255,255,255,.55); position: relative; }

/* ============================================================
   WHATSAPP WIDGET
   ============================================================ */
.wa-widget { position: fixed; right: 24px; bottom: 24px; z-index: 80; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa-bubble {
  background: #fff; color: var(--ink); border-radius: 16px; padding: 14px 18px;
  box-shadow: 0 18px 40px -16px rgba(10,30,60,.4); max-width: 240px; font-size: 14px; line-height: 1.45;
  position: relative; border: 1px solid var(--line);
  opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .25s ease, transform .25s ease;
}
.wa-bubble.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.wa-bubble strong { display: block; font-weight: 700; margin-bottom: 2px; }
.wa-bubble .close { position: absolute; top: 6px; right: 8px; cursor: pointer; color: var(--slate); font-size: 16px; line-height: 1; border: none; background: none; }
.wa-btn {
  width: 60px; height: 60px; border-radius: 50%; background: #25D366; border: none; cursor: pointer;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,.6); display: flex; align-items: center; justify-content: center;
  transition: transform .2s ease;
}
.wa-btn:hover { transform: scale(1.06); }
.wa-btn svg { width: 32px; height: 32px; }

/* ============================================================
   LISTINGS PAGE
   ============================================================ */
.search-band { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.search-band .wrap { padding-top: 56px; padding-bottom: 56px; position: relative; z-index: 2; }
.breadcrumb { font-size: 14px; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.breadcrumb a:hover { color: #fff; }
.search-band h1 { font-size: clamp(32px, 4vw, 46px); font-weight: 700; line-height: 1.05; margin-bottom: 28px; }
.listings-search { background: #fff; border-radius: 14px; padding: 10px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; max-width: 980px; }
.listings-search .ls-input { flex: 1; min-width: 180px; display: flex; align-items: center; gap: 10px; background: var(--cream); border-radius: var(--r-input); padding: 6px 16px; }
.listings-search .ls-input input { flex: 1; border: none; background: transparent; font-family: inherit; font-size: 15px; outline: none; padding: 11px 0; color: var(--ink); min-width: 0; }
.listings-search select {
  font-family: inherit; font-size: 14px; color: var(--ink); border: 1px solid rgba(10,30,60,.16);
  border-radius: var(--r-input); padding: 12px 14px; background: #fff; cursor: pointer; outline: none;
}
.listings-search select:focus { border-color: var(--blue); }

.results-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; margin-bottom: 30px; }
.filter-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  padding: 9px 18px; border-radius: 30px; border: 1px solid rgba(10,30,60,.18);
  background: #fff; color: var(--slate); transition: all .15s ease;
}
.chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip:not(.active):hover { border-color: var(--navy); }
.results-count { font-size: 14px; color: var(--slate); }
.load-more-wrap { text-align: center; margin-top: 48px; }

/* ============================================================
   PROPERTY DETAIL PAGE
   ============================================================ */
.detail-wrap { max-width: var(--maxw); margin: 0 auto; padding: 36px var(--pad-x) 0; }
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 480px; margin-bottom: 44px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.gallery .main { grid-row: 1 / 3; }
.detail-body { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; padding-bottom: 80px; }

.title-block { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.title-block h1 { font-size: 40px; font-weight: 700; line-height: 1.1; margin: 12px 0 10px; }
.title-block .loc { font-size: 15px; color: var(--slate); display: flex; align-items: center; gap: 7px; }
.title-block .price { font-family: var(--serif); font-size: 34px; font-weight: 700; color: var(--ink); text-align: right; white-space: nowrap; }
.title-block .persqft { font-size: 14px; color: var(--slate); text-align: right; margin-top: 4px; }

.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 40px; }
.stat-cards .sc { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; text-align: center; }
.stat-cards .sc .v { font-family: var(--serif); font-size: 26px; font-weight: 700; }
.stat-cards .sc .l { font-size: 13px; color: var(--slate); margin-top: 4px; }

.detail-body h2 { font-size: 26px; font-weight: 700; margin-bottom: 16px; }
.detail-body .about p { font-size: 16px; line-height: 1.7; color: var(--slate); margin-bottom: 16px; }
.detail-section { margin-bottom: 40px; }
.amenities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.amenity { display: flex; align-items: center; gap: 10px; background: var(--sky); border-radius: 10px; padding: 14px 16px; font-size: 15px; font-weight: 500; }
.amenity .check { width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }

.map-placeholder { position: relative; height: 280px; border-radius: 18px; overflow: hidden; background: var(--sky);
  background-image: linear-gradient(rgba(20,80,166,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(20,80,166,.07) 1px, transparent 1px);
  background-size: 36px 36px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; }
.map-placeholder .pin { width: 18px; height: 18px; border-radius: 50% 50% 50% 0; background: var(--orange); transform: rotate(-45deg); box-shadow: 0 0 0 6px rgba(241,90,34,.18); }
.map-placeholder .map-label { font-size: 15px; font-weight: 600; color: var(--navy); }

.agent-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; position: sticky; top: 96px; }
.agent-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.agent-head .avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--sky); object-fit: cover; }
.agent-head .name { font-weight: 700; font-size: 17px; }
.agent-head .role { font-size: 13px; color: var(--slate); }
.agent-card .btn { width: 100%; justify-content: center; margin-bottom: 12px; }
.agent-card .respond { font-size: 13px; color: var(--slate); text-align: center; margin-top: 6px; display: flex; align-items: center; justify-content: center; gap: 7px; }
.agent-card .respond .live { width: 8px; height: 8px; border-radius: 50%; background: #25D366; }
.verified-card { background: var(--sky); border-radius: 16px; padding: 22px; margin-top: 20px; }
.verified-card .vc-head { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.verified-card .vc-head svg { stroke: var(--blue); }
.verified-card p { font-size: 14px; line-height: 1.55; color: var(--slate); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root { --pad-x: 28px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .hero-photo { max-width: 560px; }
  .sell-panel { grid-template-columns: 1fr; gap: 36px; padding: 48px 40px; }
  .detail-body { grid-template-columns: 1fr; gap: 32px; }
  .agent-card { position: static; }
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .area-tile:first-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --pad-x: 20px; }
  .section { padding: 64px var(--pad-x); }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px); background: var(--cream);
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 6px;
    padding: 90px 28px 28px; transform: translateX(100%); transition: transform .3s ease;
    box-shadow: -20px 0 60px -30px rgba(10,30,60,.5); z-index: 55; }
  .nav.open { transform: translateX(0); }
  .nav a { font-size: 18px; padding: 10px 0; width: 100%; }
  .nav a.btn-pill { margin-top: 12px; }
  .nav-toggle { display: block; z-index: 56; }
  .card-grid, .steps-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; }
  .area-tile:first-child { grid-column: auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; }
  .gallery .main { grid-row: auto; height: 260px; }
  .gallery .thumb { height: 180px; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
  .amenities { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .title-block .price, .title-block .persqft { text-align: left; }
  .trust-items { gap: 18px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Visible keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid rgba(20,80,166,.5); outline-offset: 2px; border-radius: 4px;
}

/* ============================================================
   VIDEO TUTORIALS SECTION
   ============================================================ */
.videos-section { background: var(--cream); }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.video-card {
  background: #fff; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(10,30,60,.05); display: block; transition: box-shadow .22s ease, transform .22s ease;
}
.video-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.video-thumb { position: relative; aspect-ratio: 1.6; background: var(--navy); overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb.empty {
  display: flex; align-items: center; justify-content: center;
  background-image: linear-gradient(rgba(241,90,34,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(241,90,34,.08) 1px, transparent 1px);
  background-size: 36px 36px;
}
.play-btn {
  position: absolute; inset: 0; margin: auto; width: 60px; height: 60px; border-radius: 50%;
  background: rgba(241,90,34,.92); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px -8px rgba(241,90,34,.7);
}
.play-btn svg { width: 24px; height: 24px; margin-left: 3px; }
.video-card .body { padding: 20px 22px 24px; }
.video-card .v-cat { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--blue); }
.video-card .v-title { font-family: var(--serif); font-size: 19px; font-weight: 600; margin: 8px 0 6px; line-height: 1.25; }
.video-card .v-desc { font-size: 14px; line-height: 1.55; color: var(--slate); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10,30,60,.88); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox .lb-inner { width: min(900px, 100%); }
.lightbox video, .lightbox iframe { width: 100%; aspect-ratio: 16/9; border-radius: 14px; border: none; background: #000; }
.lightbox .lb-close { position: absolute; top: 20px; right: 24px; background: none; border: none; color: #fff; font-size: 34px; cursor: pointer; line-height: 1; }

/* Real interactive map (Leaflet + OpenStreetMap) */
.prop-map { height: 320px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--sky); z-index: 1; }
.prop-map .leaflet-control-attribution { font-size: 10px; }
.prop-map .leaflet-popup-content { font-family: var(--sans); font-weight: 600; color: var(--ink); }
