/* =====================================================================
   MERIDIAN CRE — Premium Multi-Page Commercial Real-Estate Template
   Plain HTML5 + CSS3. No frameworks. Offline-ready (no external images).
   ---------------------------------------------------------------------
   REBRAND TIP: Change the brand look by editing the CSS variables in
   :root below. Swap --accent for your primary color, adjust --ink /
   --surface to match, and update --font-head / --font-body plus the
   Google Fonts <link> in each HTML file. Everything else cascades.
   ===================================================================== */

:root {
  /* --- Brand palette (edit these to rebrand) --- */
  --bg:        #ffffff;   /* page background                          */
  --ink:       #0b1f3a;   /* deep navy — headings / dark sections     */
  --ink-2:     #07182c;   /* deepest navy for gradients               */
  --accent:    #1f6feb;   /* primary blue (links, buttons, accents)   */
  --accent-2:  #4f97ff;   /* lighter blue for gradient highlights     */
  --muted:     #5b6b80;   /* muted body / secondary text              */
  --surface:   #f3f6fa;   /* soft alternate background / chips        */
  --line:      #e3e9f1;   /* borders / dividers                       */
  --white:     #ffffff;

  /* --- Status colors --- */
  --green:     #16a34a;
  --amber:     #d97706;

  /* --- Fonts --- */
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* --- Shape & motion --- */
  --radius:    18px;
  --radius-sm: 12px;
  --shadow:    0 10px 30px rgba(11, 31, 58, .08);
  --shadow-lg: 0 24px 60px rgba(11, 31, 58, .16);
  --ease:      .35s cubic-bezier(.4, 0, .2, 1);

  /* --- Layout --- */
  --maxw: 1180px;
  --gutter: 24px;
}

/* ---------------------------------------------------------------------
   RESET / BASE
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: #2a394b;
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.45rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1rem; }

a { color: var(--accent); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--ink); }

img, svg { max-width: 100%; display: block; }

ul { margin: 0; padding: 0; list-style: none; }

/* ---------------------------------------------------------------------
   LAYOUT HELPERS
   --------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: 92px 0; }
.section--soft { background: var(--surface); }
.section--tight { padding: 64px 0; }

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head--left { margin-left: 0; text-align: left; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(31, 111, 235, .08);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.lead { font-size: 1.12rem; color: #3a4a5e; }
.muted { color: var(--muted); }

/* ---------------------------------------------------------------------
   BUTTONS
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  padding: 14px 26px;
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), color var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 22px rgba(31, 111, 235, .32);
}
.btn-primary:hover { background: #195fd0; color: #fff; box-shadow: 0 12px 30px rgba(31, 111, 235, .42); }

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-light {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.btn-light:hover { background: #fff; color: var(--ink); }

.btn-sm { padding: 10px 18px; font-size: .9rem; }

/* ---------------------------------------------------------------------
   HEADER / NAV  (shared, identical IDs on every page)
   --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  letter-spacing: -.02em;
}
.brand:hover { color: var(--ink); }
.brand .logo-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(31, 111, 235, .35);
}
.brand small { font-weight: 600; opacity: .75; font-size: .72em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .96rem;
  color: #3a4a5e;
  padding: 8px 14px;
  border-radius: 10px;
  transition: background var(--ease), color var(--ease);
}
.nav-links a:hover { background: var(--surface); color: var(--accent); }
.nav-links a.active { color: var(--accent); font-weight: 600; }

.nav-cta { margin-left: 8px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: var(--surface);
  border: none;
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------------
   HERO (home)
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(79,151,255,.18), transparent 60%),
    radial-gradient(700px 500px at 0% 110%, rgba(31,111,235,.12), transparent 55%),
    linear-gradient(180deg, #fff 0%, var(--surface) 100%);
  padding: 86px 0 92px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 18px; }
.hero h1 span { color: var(--accent); }
.hero .lead { max-width: 540px; margin-bottom: 26px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-meta {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.hero-meta div strong {
  font-family: var(--font-head);
  font-size: 1.7rem;
  color: var(--ink);
  display: block;
  line-height: 1;
}
.hero-meta div span { font-size: .88rem; color: var(--muted); }

/* Hero search bar (visual / demo) */
.search-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 12px;
  align-items: end;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.search-field { display: flex; flex-direction: column; text-align: left; }
.search-field label {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}
.search-field input, .search-field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ink);
  padding: 11px 12px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.search-field input:focus, .search-field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(31,111,235,.12);
}
.search-bar .btn { height: 46px; justify-content: center; }
.search-result {
  margin-top: 14px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--accent);
  min-height: 1.2em;
  text-align: left;
}

/* Hero visual — pure CSS commercial-building skyline */
.hero-visual {
  position: relative;
  background: linear-gradient(160deg, var(--ink-2), var(--accent));
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow-lg);
  color: #fff;
  overflow: hidden;
}
.hero-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(420px 320px at 85% 12%, rgba(79,151,255,.4), transparent 60%);
  pointer-events: none;
}
.hv-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; position: relative; z-index: 1; }
.hv-dot { display: flex; gap: 6px; }
.hv-dot i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.35); }
.hv-tag { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.75); }

/* Skyline of buildings using gradient bars */
.skyline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 220px;
  padding: 0 4px;
  border-bottom: 2px solid rgba(255,255,255,.25);
  margin-bottom: 18px;
}
.skyline .tower {
  flex: 1;
  border-radius: 8px 8px 0 0;
  background:
    repeating-linear-gradient(180deg, rgba(255,255,255,.16) 0 3px, transparent 3px 16px),
    linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,.08));
  position: relative;
}
.skyline .tower::before {
  content: "";
  position: absolute; left: 22%; right: 22%; top: -10px; height: 10px;
  background: rgba(255,255,255,.18);
  border-radius: 3px 3px 0 0;
}
.skyline .tower.t1 { height: 58%; }
.skyline .tower.t2 { height: 86%; }
.skyline .tower.t3 { height: 70%; }
.skyline .tower.t4 { height: 100%; background:
    repeating-linear-gradient(180deg, rgba(255,255,255,.22) 0 3px, transparent 3px 16px),
    linear-gradient(180deg, var(--accent-2), rgba(79,151,255,.3)); }
.skyline .tower.t5 { height: 64%; }
.skyline .tower.t6 { height: 80%; }

.hv-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; position: relative; z-index: 1; }
.hv-stat { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; padding: 12px; }
.hv-stat strong { font-family: var(--font-head); font-size: 1.25rem; display: block; line-height: 1.1; }
.hv-stat span { font-size: .72rem; color: rgba(255,255,255,.75); }

/* ---------------------------------------------------------------------
   STATS STRIP
   --------------------------------------------------------------------- */
.stats-strip { border-bottom: 1px solid var(--line); background: #fff; }
.stats-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 44px;
  padding-bottom: 44px;
  text-align: center;
}
.stats-strip .s strong {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  color: var(--ink);
  display: block;
  line-height: 1;
}
.stats-strip .s span { font-size: .9rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   CARDS / GRIDS
   --------------------------------------------------------------------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(31,111,235,.25); }

.card .icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--surface);
  display: grid; place-items: center;
  font-size: 1.7rem;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: #3a4a5e; margin-bottom: 0; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
}
.card-link span { transition: transform var(--ease); }
.card-link:hover span { transform: translateX(4px); }

/* Feature list */
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .tick {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(31,111,235,.3);
}
.feature h3 { font-size: 1.12rem; margin-bottom: 4px; }
.feature p { margin-bottom: 0; font-size: .98rem; }

/* Split section */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--reverse .split-media { order: 2; }
.split-media {
  border-radius: 22px;
  min-height: 380px;
  background: linear-gradient(150deg, var(--ink-2), var(--accent));
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
  padding: 32px;
}
.split-media::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(400px 300px at 80% 20%, rgba(79,151,255,.35), transparent 60%);
}

/* ---------------------------------------------------------------------
   PROPERTY CARDS (listings + featured)
   --------------------------------------------------------------------- */
.property-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.prop-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.prop-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(31,111,235,.25); }

/* Gradient "photo" — each variant gets its own gradient + glyph */
.prop-media {
  position: relative;
  height: 200px;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.92);
  font-size: 3.2rem;
  overflow: hidden;
}
.prop-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 38px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0 1px, transparent 1px 38px);
}
.pm-1 { background: linear-gradient(150deg, #0b1f3a, #1f6feb); }
.pm-2 { background: linear-gradient(150deg, #123a63, #4f97ff); }
.pm-3 { background: linear-gradient(150deg, #0b2a4a, #2b8a8a); }
.pm-4 { background: linear-gradient(150deg, #1a2c52, #5566c9); }
.pm-5 { background: linear-gradient(150deg, #0e2745, #1f8fb0); }
.pm-6 { background: linear-gradient(150deg, #14233f, #3f6fd1); }
.pm-7 { background: linear-gradient(150deg, #0b1f3a, #6a4fb0); }
.pm-8 { background: linear-gradient(150deg, #103253, #2f9e6f); }
.pm-9 { background: linear-gradient(150deg, #1c2b4a, #4f97ff); }

.prop-badges {
  position: absolute;
  top: 14px; left: 14px; right: 14px;
  display: flex;
  justify-content: space-between;
  z-index: 1;
}
.badge {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .04em;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.95);
  color: var(--ink);
  box-shadow: 0 4px 10px rgba(0,0,0,.12);
}
.badge-type { background: rgba(11,31,58,.85); color: #fff; }
.badge-status { background: rgba(255,255,255,.95); color: var(--green); }
.badge-status.lease { color: var(--accent); }
.badge-status.sale { color: var(--amber); }

.prop-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.prop-price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}
.prop-price .per { font-size: .8rem; color: var(--muted); font-weight: 500; }
.prop-title { font-size: 1.12rem; margin: 6px 0 4px; }
.prop-address { font-size: .9rem; color: var(--muted); margin-bottom: 16px; }
.prop-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: .88rem;
  color: #3a4a5e;
}
.prop-specs li { display: inline-flex; align-items: center; gap: 6px; }
.prop-specs b { font-family: var(--font-head); color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------------------
   FILTER BAR (properties page)
   --------------------------------------------------------------------- */
.filter-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 12px;
  align-items: end;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.filter-bar .btn { height: 46px; justify-content: center; }

.list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 26px;
}
.list-count { margin: 0; font-size: .98rem; color: var(--muted); }
.list-count strong { color: var(--ink); font-family: var(--font-head); }
.sort-field { display: flex; align-items: center; gap: 10px; }
.sort-field label { font-size: .85rem; font-weight: 600; color: var(--muted); font-family: var(--font-head); }
.sort-field select {
  font-family: var(--font-body);
  font-size: .92rem;
  color: var(--ink);
  padding: 9px 12px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

/* Pagination */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 48px; }
.page-btn {
  min-width: 42px; height: 42px;
  display: grid; place-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  color: #3a4a5e;
  background: #fff;
  transition: all var(--ease);
}
.page-btn:hover { border-color: var(--accent); color: var(--accent); }
.page-btn.is-current { background: var(--accent); border-color: var(--accent); color: #fff; }
.page-ellipsis { color: var(--muted); padding: 0 4px; }

/* ---------------------------------------------------------------------
   STATS BAND (dark)
   --------------------------------------------------------------------- */
.stats-band { background: linear-gradient(135deg, var(--ink-2), var(--accent)); color: #fff; }
.stats-band .section-head h2 { color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.stat strong {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3rem);
  display: block;
  line-height: 1;
  background: linear-gradient(120deg, #fff, var(--accent-2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat span { color: rgba(255,255,255,.8); font-size: .95rem; }

/* ---------------------------------------------------------------------
   TESTIMONIALS / CLIENTS
   --------------------------------------------------------------------- */
.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 34px;
  box-shadow: var(--shadow);
}
.quote-card .stars { color: #f59e0b; margin-bottom: 14px; letter-spacing: 2px; }
.quote-card blockquote {
  margin: 0 0 22px;
  font-size: 1.1rem;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.5;
}
.quote-author { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.quote-author b { display: block; font-family: var(--font-head); color: var(--ink); }
.quote-author span { font-size: .88rem; color: var(--muted); }

/* Client logo strip */
.client-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 46px;
  margin-top: 8px;
}
.client-strip span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--muted);
  opacity: .68;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity var(--ease), color var(--ease);
}
.client-strip span:hover { opacity: 1; color: var(--accent); }

/* ---------------------------------------------------------------------
   CTA BAND
   --------------------------------------------------------------------- */
.cta-band {
  background:
    radial-gradient(600px 400px at 90% 10%, rgba(79,151,255,.28), transparent 60%),
    linear-gradient(135deg, var(--ink-2), var(--accent));
  color: #fff;
  border-radius: 28px;
  padding: 60px 48px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------------------
   PAGE BANNER (inner pages)
   --------------------------------------------------------------------- */
.page-banner {
  background:
    radial-gradient(700px 400px at 85% -20%, rgba(79,151,255,.18), transparent 60%),
    linear-gradient(180deg, var(--surface), #fff);
  padding: 60px 0 52px;
  border-bottom: 1px solid var(--line);
}
.page-banner h1 { margin-bottom: 10px; }
.page-banner p { max-width: 640px; color: #3a4a5e; margin-bottom: 0; }
.page-banner--compact { padding: 26px 0 22px; }
.breadcrumb {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--accent); }
.breadcrumb span { margin: 0 6px; }
.page-banner--compact .breadcrumb { margin-bottom: 0; }

/* ---------------------------------------------------------------------
   SERVICES PAGE-STYLE BLOCKS (home services + sectors)
   --------------------------------------------------------------------- */
.sector-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.sector-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(31,111,235,.25); }
.sector-card .s-ic {
  width: 48px; height: 48px; flex: 0 0 auto;
  border-radius: 12px;
  background: var(--surface);
  display: grid; place-items: center;
  font-size: 1.5rem;
}
.sector-card h3 { font-size: 1.02rem; margin: 0 0 2px; }
.sector-card p { margin: 0; font-size: .85rem; color: var(--muted); }

.tags-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.chip {
  font-size: .82rem;
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--accent);
  background: var(--surface);
  padding: 6px 13px;
  border-radius: 999px;
}

/* ---------------------------------------------------------------------
   ABOUT — values + team
   --------------------------------------------------------------------- */
.value-card .icon { background: linear-gradient(135deg, rgba(31,111,235,.1), rgba(79,151,255,.2)); }

.team-card { text-align: center; }
.team-card .team-photo {
  width: 110px; height: 110px;
  border-radius: 24px;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.9rem;
  color: #fff;
  box-shadow: var(--shadow);
}
.gr-1 { background: linear-gradient(135deg, #0b1f3a, #1f6feb); }
.gr-2 { background: linear-gradient(135deg, #123a63, #4f97ff); }
.gr-3 { background: linear-gradient(135deg, #0b2a4a, #2b8a8a); }
.gr-4 { background: linear-gradient(135deg, #1a2c52, #5566c9); }
.team-card h3 { font-size: 1.15rem; margin-bottom: 2px; }
.team-card .role { color: var(--accent); font-family: var(--font-head); font-weight: 600; font-size: .9rem; margin-bottom: 10px; }
.team-card p { font-size: .92rem; color: var(--muted); margin-bottom: 0; }

/* ---------------------------------------------------------------------
   PROPERTY DETAIL PAGE
   --------------------------------------------------------------------- */
.property-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 28px;
}
.property-head .badge-type { position: static; display: inline-block; margin-bottom: 12px; }
.property-title { margin: 0 0 6px; }
.property-address { color: var(--muted); margin: 0; }
.property-price-box { text-align: right; }
.property-price-box .price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2rem;
  color: var(--ink);
  display: block;
  line-height: 1;
}
.property-price-box .price-note { font-size: .9rem; color: var(--muted); }

/* Gallery */
.gallery { margin-bottom: 44px; }
.gallery-main {
  height: 420px;
  border-radius: var(--radius);
  display: grid; place-items: center;
  color: rgba(255,255,255,.92);
  font-size: 5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: background var(--ease);
}
.gallery-main::after {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 46px);
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 14px;
}
.gallery-thumb {
  height: 90px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  display: grid; place-items: center;
  font-size: 1.6rem;
  color: rgba(255,255,255,.9);
  transition: border-color var(--ease), transform var(--ease);
}
.gallery-thumb:hover { transform: translateY(-3px); }
.gallery-thumb.is-active { border-color: var(--accent); }

.property-layout {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 44px;
  align-items: start;
}
.property-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 34px;
}
.p-chip {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  text-align: center;
}
.p-chip .ic { font-size: 1.5rem; }
.p-chip .num { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--ink); display: block; line-height: 1.2; margin-top: 4px; }
.p-chip .lab { font-size: .8rem; color: var(--muted); }

.property-block { margin-bottom: 40px; }
.property-block h2 { font-size: 1.5rem; margin-bottom: 14px; }
.features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
}
.features-list li { color: #3a4a5e; font-size: .96rem; }
.features-list li::before { content: "✓ "; color: var(--accent); font-weight: 700; }

/* Broker contact card */
.property-sidebar { position: sticky; top: 96px; }
.broker-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.broker-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.broker-head .avatar { width: 56px; height: 56px; border-radius: 16px; font-size: 1.2rem; }
.broker-head h3 { margin: 0; font-size: 1.15rem; }
.broker-head .role { color: var(--accent); font-size: .88rem; font-family: var(--font-head); font-weight: 600; }
.broker-info { margin-bottom: 20px; }
.broker-info li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: .94rem; color: #3a4a5e; border-bottom: 1px solid var(--line); }
.broker-info li:last-child { border-bottom: none; }

/* ---------------------------------------------------------------------
   CONTACT / FORMS
   --------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .9rem;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(31,111,235,.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.field .error-msg { color: #dc2626; font-size: .82rem; margin-top: 5px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #dc2626; }
.field.invalid .error-msg { display: block; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #047857;
  font-weight: 500;
}
.form-status.show { display: block; }

.info-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 22px;
}
.info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.info-row:last-child { margin-bottom: 0; }
.info-row .info-ic {
  width: 44px; height: 44px; flex: 0 0 auto;
  border-radius: 12px; background: #fff;
  display: grid; place-items: center; font-size: 1.3rem;
  box-shadow: var(--shadow);
}
.info-row b { font-family: var(--font-head); color: var(--ink); display: block; }
.info-row span { font-size: .94rem; }

/* Map placeholder */
.map-placeholder {
  border-radius: var(--radius);
  min-height: 240px;
  background:
    linear-gradient(rgba(31,111,235,.06), rgba(31,111,235,.06)),
    repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 42px),
    var(--surface);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  text-align: center;
  color: var(--muted);
  padding: 24px;
}
.map-placeholder .pin { font-size: 2.4rem; }
.map-placeholder b { font-family: var(--font-head); color: var(--ink); display: block; }

/* ---------------------------------------------------------------------
   FOOTER (shared)
   --------------------------------------------------------------------- */
.site-footer {
  background: var(--ink-2);
  color: rgba(255,255,255,.75);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand:hover { color: #fff; }
.footer-about p { font-size: .95rem; color: rgba(255,255,255,.7); max-width: 320px; }
.footer-col h4 {
  color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a { display: block; color: rgba(255,255,255,.72); padding: 5px 0; font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.1);
  display: grid; place-items: center;
  font-size: 1rem;
}
.social a:hover { background: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .88rem;
  color: rgba(255,255,255,.6);
}
.footer-bottom a { color: rgba(255,255,255,.75); }

/* ---------------------------------------------------------------------
   SCROLL-REVEAL
   --------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.no-io .reveal { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .property-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 520px; }
  .property-layout { grid-template-columns: 1fr; gap: 32px; }
  .property-sidebar { position: static; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 74px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 14px var(--gutter) 22px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--ease), transform var(--ease);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .property-grid { grid-template-columns: 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split-media { order: 0; }
  .stats-strip .container { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .search-bar, .filter-bar { grid-template-columns: 1fr; }
  .property-chips { grid-template-columns: 1fr 1fr; }
  .features-list { grid-template-columns: 1fr; }
  .property-head { align-items: flex-start; }
  .property-price-box { text-align: left; }
  .cta-band { padding: 44px 26px; }
  .gallery-main { height: 300px; font-size: 3.5rem; }
}

@media (max-width: 480px) {
  .stats-strip .container, .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-thumbs { grid-template-columns: repeat(2, 1fr); }
  .property-chips { grid-template-columns: 1fr; }
}
