/* ===========================================================
   The Olivier Group — shared site stylesheet
   Brand system: KW red on white, charcoal text only (never as a
   background fill), Segoe UI stack, rounded-rectangle photos.
   See .claude/skills/suburb-market-report/references/brand-system.md
   =========================================================== */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root{
  --red: #B21F26;
  --red-dark: #7E151A;
  --charcoal: #1C1C1C;
  --grey: #686868;
  --grey-light: #A6A6A6;
  --bg-soft: #F6F5F3;
  --line: #E4E1DC;
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
  color: #232323;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
  width: 100%;
}
img { max-width: 100%; display: block; }
a { color: var(--red); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- sticky nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: #ffffff; border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
.site-nav .band { height: 4px; background: var(--red); }
.site-nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
}
.site-nav-logo { height: 40px; flex-shrink: 0; }
.site-nav-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.site-nav-links a {
  color: var(--charcoal); text-decoration: none; font-size: 14px; font-weight: 600;
}
.site-nav-links a:hover { color: var(--red); }
.site-nav-links a.active { color: var(--red); }
.nav-cta {
  background: var(--red); color: #fff !important; text-decoration: none;
  font-size: 13px; font-weight: 700; padding: 10px 16px; border-radius: 4px;
  white-space: nowrap; flex-shrink: 0;
}
.nav-cta:hover { background: var(--red-dark); }
@media (max-width: 700px) {
  .site-nav-logo { height: 30px; }
  .nav-cta { font-size: 11.5px; padding: 8px 12px; }
  .site-nav-links {
    order: 3; width: 100%; justify-content: center; gap: 16px;
    padding-top: 10px; margin-top: 8px; border-top: 1px solid var(--line);
  }
  .site-nav-links a { font-size: 13px; }
}

/* ---------- hero ---------- */
.hero {
  background: var(--charcoal);
  background-image: radial-gradient(circle at 85% 0%, rgba(178,31,38,0.45), transparent 55%);
  color: #fff;
  padding: 56px 0 44px 0;
  position: relative;
}
.hero .band { position:absolute; top:0; left:0; right:0; height:4px; background: var(--red); }
.eyebrow2 { color: #ff8f93; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; font-weight: 700; margin-bottom: 14px; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); font-weight: 800; letter-spacing: -1.5px; line-height: 1.05; margin-bottom: 16px; }
.hero p { font-size: clamp(14px, 2vw, 16px); color: #d8d8d8; max-width: 600px; line-height: 1.6; margin-bottom: 28px; }

/* ---------- generic sections ---------- */
section { padding: 56px 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: none; }
.eyebrow { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--red); font-weight: 700; margin-bottom: 10px; }
h2 { font-size: clamp(24px, 4vw, 34px); font-weight: 800; color: var(--charcoal); letter-spacing: -0.5px; margin-bottom: 16px; line-height: 1.15; }
p.lede { font-size: 15px; line-height: 1.7; color: #3a3a3a; max-width: 700px; margin-bottom: 8px; }

/* ---------- stat cards ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
@media (min-width: 720px) { .stat-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 720px) { .stat-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.stat-card { background: var(--bg-soft); border-radius: 6px; padding: 20px 16px; border-top: 3px solid var(--red); }
.stat-card .num { font-size: clamp(22px, 4vw, 28px); font-weight: 800; color: var(--charcoal); letter-spacing: -0.5px; }
.stat-card .lbl { font-size: 11px; color: var(--grey); text-transform: uppercase; letter-spacing: 0.6px; margin-top: 6px; line-height: 1.4; }

/* ---------- two column ---------- */
.two-col { display: grid; grid-template-columns: 1fr; gap: 32px; margin-top: 28px; align-items: start; }
@media (min-width: 720px) { .two-col { grid-template-columns: 1fr 1fr; } }

/* ---------- checklist ---------- */
ul.check { list-style: none; margin-top: 12px; }
ul.check li { position: relative; padding-left: 22px; margin-bottom: 14px; font-size: 14.5px; line-height: 1.6; color: #383838; }
ul.check li:before { content: ""; position: absolute; left: 0; top: 5px; width: 11px; height: 11px; background: var(--red); border-radius: 2px; }
ul.check li b { color: var(--charcoal); }

/* ---------- callouts ---------- */
.callout { background: var(--red); color: #fff; border-radius: 6px; padding: 24px; margin-top: 28px; }
.callout .t { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.72); margin-bottom: 8px; }
.callout .v { font-size: 15px; line-height: 1.65; }
.callout b { color: #fff; }

/* ---------- agent card ---------- */
.agent-card {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  background: var(--bg-soft); border-radius: 8px; padding: 24px; max-width: 560px;
}
.agent-card img.photo { width: 84px; height: 118px; border-radius: 6px; object-fit: cover; object-position: top center; border: 3px solid var(--red); }
.agent-card .name { font-size: 19px; font-weight: 800; color: var(--charcoal); }
.agent-card .role { font-size: 13px; color: var(--grey); margin-top: 2px; margin-bottom: 10px; }
.agent-card .deets { font-size: 14px; color: #333; line-height: 1.8; }
.agent-card .deets a { color: #333; text-decoration: none; }
.agent-card .deets a:hover { color: var(--red); }

/* ---------- buttons ---------- */
.cta-buttons { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; padding: 14px 26px; border-radius: 5px; text-decoration: none; }
.btn-red { background: var(--red); color: #fff !important; }
.btn-red:hover { background: var(--red-dark); }
.btn-light { background: #fff; color: var(--red) !important; }
.btn-light:hover { background: #f2f2f2; }
.btn-outline-dark { background: transparent; color: var(--charcoal) !important; border: 1.5px solid var(--charcoal); }
.btn-outline-dark:hover { background: var(--charcoal); color: #fff !important; }
.btn-outline { background: transparent; color: #fff !important; border: 1.5px solid rgba(255,255,255,0.6); }
.btn-outline:hover { border-color: #fff; }
.btn-whatsapp { background: #25D366; color: #fff !important; }
.btn-whatsapp:hover { background: #1ebe5a; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- card grid (reports / listings) ---------- */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
@media (min-width: 640px) { .card-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .card-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; } }
.item-card {
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden; text-decoration: none;
  display: block; color: inherit; transition: box-shadow 0.15s ease;
}
.item-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.08); }
.item-card .thumb { height: 160px; background: var(--charcoal); background-size: cover; background-position: center; position: relative; }
.item-card .thumb .price-tag {
  position: absolute; bottom: 10px; left: 10px; background: var(--red); color: #fff;
  font-size: 13px; font-weight: 800; padding: 5px 10px; border-radius: 4px;
}
.item-card .body { padding: 18px; }
.item-card .eyebrow-sm { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--red); font-weight: 700; margin-bottom: 6px; }
.item-card h3 { font-size: 18px; font-weight: 800; color: var(--charcoal); margin-bottom: 6px; }
.item-card p { font-size: 13.5px; color: var(--grey); line-height: 1.5; }

/* ---------- testimonials ---------- */
.testimonial { background: var(--bg-soft); border-radius: 8px; padding: 22px; }
.testimonial p { font-size: 14.5px; color: #333; line-height: 1.65; font-style: italic; margin-bottom: 12px; }
.testimonial .who { font-size: 13px; font-weight: 700; color: var(--charcoal); font-style: normal; }
.testimonial .stars { color: var(--red); font-size: 13px; margin-bottom: 8px; letter-spacing: 1px; }

/* ---------- contact section (bold red) ---------- */
.contact-section { background: var(--red); color: #fff; padding: 56px 0; }
.contact-section h2 { color: #fff; }
.contact-section .eyebrow { color: rgba(255,255,255,0.85); }
.contact-section p.lede { color: rgba(255,255,255,0.9); }
.contact-section .agent-card { background: #fff; }

/* ---------- listing hero photo ---------- */
.listing-hero {
  height: 60vh; min-height: 340px; max-height: 560px;
  background-size: cover; background-position: center;
  position: relative; display: flex; align-items: flex-end;
}
.listing-hero:before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0) 55%);
}
.listing-hero .band { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--red); z-index: 2; }
.listing-hero .tag {
  position: absolute; top: 20px; left: 20px; background: var(--red); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  padding: 6px 12px; border-radius: 4px; z-index: 2;
}
.listing-hero-content { position: relative; z-index: 1; padding: 28px 20px; color: #fff; max-width: 1080px; margin: 0 auto; width: 100%; }
.listing-hero-content .addr { font-size: clamp(24px, 4vw, 36px); font-weight: 800; letter-spacing: -0.5px; }
.listing-hero-content .price { font-size: clamp(20px, 3vw, 26px); font-weight: 800; color: #ff9599; margin-top: 6px; }

/* ---------- specs bar ---------- */
.specs-bar { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.specs-bar .wrap { display: flex; flex-wrap: wrap; gap: 28px; padding: 18px 20px; }
.specs-bar .spec { text-align: left; }
.specs-bar .spec .n { font-size: 20px; font-weight: 800; color: var(--charcoal); }
.specs-bar .spec .l { font-size: 10.5px; color: var(--grey); text-transform: uppercase; letter-spacing: 0.6px; margin-top: 2px; }

/* ---------- photo gallery (static grid, legacy) ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-grid img { width: 100%; height: 180px; object-fit: cover; border-radius: 6px; }

/* ---------- listing gallery carousel ---------- */
.listing-gallery { position: relative; background: var(--charcoal); }
.listing-gallery .band { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--red); z-index: 3; }
.listing-gallery-main { position: relative; height: 60vh; min-height: 340px; max-height: 560px; overflow: hidden; }
.listing-gallery-main img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.listing-gallery-main:before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0) 45%);
  pointer-events: none;
}
.listing-gallery .tag {
  position: absolute; top: 20px; left: 20px; background: var(--red); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  padding: 6px 12px; border-radius: 4px; z-index: 2;
}
.listing-gallery-content { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 28px 20px; color: #fff; max-width: 1080px; margin: 0 auto; width: 100%; }
.listing-gallery-content .addr { font-size: clamp(22px, 4vw, 36px); font-weight: 800; letter-spacing: -0.5px; }
.listing-gallery-content .price { font-size: clamp(19px, 3vw, 26px); font-weight: 800; color: #ff9599; margin-top: 6px; }
.gallery-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(0,0,0,0.45); color: #fff; font-size: 18px; display: flex; align-items: center; justify-content: center;
}
.gallery-arrow:hover { background: rgba(0,0,0,0.7); }
.gallery-arrow.prev { left: 16px; }
.gallery-arrow.next { right: 16px; }
.gallery-counter {
  position: absolute; top: 20px; right: 20px; z-index: 2; background: rgba(0,0,0,0.45); color: #fff;
  font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 4px;
}
.listing-gallery-thumbs {
  display: flex; gap: 8px; padding: 10px 16px; overflow-x: auto; background: #000;
  -webkit-overflow-scrolling: touch; scrollbar-width: thin;
}
.listing-gallery-thumbs img {
  width: 84px; height: 60px; object-fit: cover; border-radius: 4px; flex-shrink: 0; cursor: pointer;
  opacity: 0.55; border: 2px solid transparent; transition: opacity 0.15s ease, border-color 0.15s ease;
}
.listing-gallery-thumbs img:hover { opacity: 0.85; }
.listing-gallery-thumbs img.active { opacity: 1; border-color: var(--red); }

/* ---------- sticky sidebar (desktop) ---------- */
@media (min-width: 900px) {
  .listing-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
  .listing-sidebar { position: sticky; top: 82px; display: flex; flex-direction: column; gap: 16px; }
}
.listing-sidebar .side-card { background: var(--bg-soft); border-radius: 8px; padding: 22px; }
.listing-sidebar .side-card h3 { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--red); font-weight: 800; margin-bottom: 14px; }
.listing-sidebar .agent-card { max-width: none; padding: 0; background: transparent; margin-bottom: 16px; }
.listing-sidebar .side-buttons { display: flex; flex-direction: column; gap: 10px; }
.listing-sidebar .side-buttons .btn { width: 100%; justify-content: center; }
.share-buttons { display: flex; flex-direction: column; gap: 10px; }
.share-buttons button, .share-buttons a {
  width: 100%; justify-content: center; font-size: 13.5px; padding: 11px 16px;
}
.btn-share {
  background: #fff; color: var(--charcoal) !important; border: 1.5px solid var(--line);
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; border-radius: 5px; text-decoration: none; cursor: pointer;
}
.btn-share:hover { border-color: var(--charcoal); }
.btn-share svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ---------- mobile sticky action bar ---------- */
.mobile-action-bar { display: none; }
@media (max-width: 899px) {
  .mobile-action-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)) 12px; gap: 10px;
  }
  .mobile-action-bar a {
    flex: 1; text-align: center; justify-content: center; font-size: 13px; padding: 12px 8px;
  }
  body { padding-bottom: 68px; }
}

/* ---------- enquiry form ---------- */
.enquiry-form { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 24px; max-width: 640px; }
@media (min-width: 640px) { .enquiry-form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } }
.enquiry-form label { display: block; font-size: 12.5px; font-weight: 700; color: var(--charcoal); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.4px; }
.enquiry-form input, .enquiry-form textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 5px; padding: 12px 14px;
  font-family: inherit; font-size: 14.5px; color: #232323; background: #fff;
}
.enquiry-form input:focus, .enquiry-form textarea:focus { outline: none; border-color: var(--red); }
.enquiry-form textarea { min-height: 110px; resize: vertical; }
.enquiry-form .hp-field { position: absolute; left: -9999px; top: -9999px; }
.enquiry-form button[type="submit"] {
  background: var(--red); color: #fff; border: none; font-size: 14.5px; font-weight: 700;
  padding: 15px 28px; border-radius: 5px; cursor: pointer; width: fit-content;
}
.enquiry-form button[type="submit"]:hover { background: var(--red-dark); }
.form-note { font-size: 12.5px; color: var(--grey); margin-top: -6px; }

/* ---------- footer ---------- */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,0.55); padding: 24px 0; }
.site-footer .foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 11px; }
.site-footer img { height: 16px; opacity: 0.85; }
.site-footer .brand { display: flex; align-items: center; gap: 10px; }
.site-footer .legal { max-width: 1080px; margin: 16px auto 0 auto; padding: 16px 20px 0 20px; border-top: 1px solid rgba(255,255,255,0.15); font-size: 10px; line-height: 1.7; color: rgba(255,255,255,0.4); }
