/* =========================================================
   iSella Realty — design tokens
   ========================================================= */
:root {
  --navy-950: #050f1c;
  --navy-900: #0a2540;
  --navy-800: #0f3358;
  --navy-700: #164a80;
  --teal-500: #00b2d0;
  --teal-400: #2fd0ea;
  --orange-500: #ff9922;
  --orange-600: #f3800a;
  --gold-300: #e8cf9a;
  --gold-400: #d3af6c;
  --gold-500: #bc9152;
  --gold-600: #9c7638;
  /* Slightly darker than gold-600, used only for gold text/icons on light
     backgrounds - gold-500/600 don't clear 4.5:1 against white, this does
     (~4.6:1). Dark-section gold text already passes with gold-400/500 and
     should keep using those instead of this. */
  --gold-text: #936f35;
  /* Deep end of the .btn-primary gradient (paired with --gold-text) - both
     stops clear 4.5:1 against white button text, unlike gold-400/gold-600. */
  --gold-bronze: #6e5024;
  --ink: #16202c;
  --ink-soft: #46586b;
  --paper: #ffffff;
  --paper-soft: #f5f7fa;
  --cream: #faf7f1;
  --border: #e4e9ef;
  --border-gold: rgba(188, 145, 82, 0.35);
  --shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.08);
  --shadow-md: 0 8px 24px rgba(10, 37, 64, 0.12);
  --shadow-lg: 0 24px 60px rgba(10, 37, 64, 0.18);
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1200px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--navy-900);
}
p { margin: 0 0 1em; }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 0.8em;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--gold-500);
}
.eyebrow.center { justify-content: center; }
.section-head .eyebrow::before,
.hero .eyebrow::before { background: var(--gold-400); }
em, .accent {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--gold-500);
}
.section-navy .eyebrow, .hero .eyebrow { color: var(--gold-400); }
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--cream); }
.section-navy { background: linear-gradient(155deg, var(--navy-900), var(--navy-950)); color: #dce6f0; }
.section-navy h2, .section-navy h3 { color: #fff; }
.text-center { text-align: center; }
.max-w { max-width: 680px; margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold-text), var(--gold-bronze));
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { box-shadow: 0 10px 26px rgba(110, 80, 36, 0.35); }
.btn-outline { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--gold-400); }
.btn-navy { background: var(--navy-900); color: #fff; }
.btn-navy:hover { background: var(--navy-800); box-shadow: var(--shadow-md); }
.btn-gold-outline { border-color: var(--border-gold); color: var(--navy-900); background: transparent; }
.btn-gold-outline:hover { background: var(--gold-400); border-color: var(--gold-400); color: #fff; }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 11px 22px; font-size: 0.72rem; }

/* =========================================================
   Accessibility: skip-to-content link
   ========================================================= */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  background: var(--navy-900);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  z-index: 1000;
}
.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
}
#main-content { outline: none; }

/* =========================================================
   Header / Nav
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 15, 28, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-gold);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand img { height: 58px; width: auto; max-width: none; flex-shrink: 0; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  position: relative;
  color: rgba(255,255,255,0.82);
  padding: 10px 15px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.15s ease;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 4px;
  height: 1px;
  background: var(--gold-400);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: 0.92rem; }
.header-phone svg { width: 16px; height: 16px; color: var(--gold-400); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 940px) {
  .main-nav { display: none; }
  .header-phone { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 1024px) {
  .find-home-btn { display: none; }
}

@media (max-width: 480px) {
  .site-header .container { height: 76px; }
  .brand img { height: 42px; }
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--navy-900);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: #fff;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: #fff;
  background: linear-gradient(180deg, rgba(5,15,28,0.5), rgba(5,15,28,0.88)), var(--hero-image, none) center/cover no-repeat;
  text-align: center;
}
.hero-inner { position: relative; z-index: 2; padding: 90px 0; width: 100%; }
.hero .eyebrow { justify-content: center; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  max-width: 900px;
  margin: 0 auto 0.3em;
  font-weight: 600;
  letter-spacing: 0.005em;
}
.hero p.lead {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.82);
  max-width: 580px;
  margin: 0 auto 2.4em;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; margin-bottom: 0; }

.trust-bar {
  border-top: 1px solid var(--border-gold);
  background: var(--navy-950);
  padding: 26px 0;
}
.trust-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.trust-bar span {
  color: rgba(255,255,255,0.65);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.trust-bar .dot { color: var(--gold-400); }

/* Search widget */
.search-card {
  background: rgba(255,255,255,0.97);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
  max-width: 980px;
}
.search-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 14px;
  align-items: end;
}
@media (max-width: 860px) {
  .search-grid { grid-template-columns: 1fr 1fr; }
}
.field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.field select, .field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
}
.field select:focus, .field input:focus { border-color: var(--teal-500); }

/* =========================================================
   Cards / Property grid
   ========================================================= */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.section-head h2 { margin: 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 980px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } }

.property-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.property-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--border-gold); }
.property-media { position: relative; aspect-ratio: 4/3; background: var(--paper-soft); overflow: hidden; }
.property-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.property-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--orange-500);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}
.property-tag.sold { background: var(--navy-900); }
.property-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.property-price { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--navy-900); }
.property-address { color: var(--ink-soft); font-size: 0.92rem; margin: 6px 0 14px; }
.property-stats {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: auto;
}
.property-stats strong { color: var(--ink); }

/* =========================================================
   Feature list / icons
   ========================================================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr; } }
.feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal-500), var(--navy-700));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  margin-bottom: 18px;
}
.feature-icon svg { width: 24px; height: 24px; }

/* Stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 700px) { .stats-strip { grid-template-columns: 1fr 1fr; } }
.stat-num { font-family: var(--font-display); font-size: 2.1rem; color: #fff; font-weight: 700; }
.stat-label { font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--teal-400); margin-top: 4px; }

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--gold-500), var(--navy-900) 78%);
  border-radius: var(--radius);
  padding: 56px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: #fff; margin-bottom: 6px; }
.cta-banner .btn-navy { background: rgba(5,15,28,0.55); border: 1px solid rgba(255,255,255,0.25); }
.cta-banner .btn-navy:hover { background: var(--navy-950); }

/* =========================================================
   Filters (search results page)
   ========================================================= */
.filters-bar {
  background: var(--paper-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 32px;
}
.filters-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr) auto;
  gap: 12px;
  align-items: end;
}
@media (max-width: 980px) { .filters-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 640px) { .filters-grid { grid-template-columns: 1fr 1fr; } }
.results-meta { color: var(--ink-soft); margin: 0; font-size: 0.92rem; flex: 1 1 auto; }
.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.sort-form { flex: 0 0 auto; }
.sort-select.sort-select {
  width: auto;
  max-width: 160px;
  min-width: 0;
  padding: 6px 26px 6px 10px;
  font-size: 0.78rem;
  border-radius: 999px;
}
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-soft);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

/* =========================================================
   Property detail
   ========================================================= */
.detail-gallery {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
}
.detail-gallery .main-photo,
.detail-gallery .side-photos button {
  position: relative;
  display: block;
  padding: 0;
  border: none;
  box-sizing: border-box;
  background: var(--paper-soft);
  cursor: pointer;
  overflow: hidden;
}
/* .main-photo is the only in-flow child, so .detail-gallery's height comes
   from it alone (via aspect-ratio). .side-photos is then absolutely
   positioned with top/bottom:0 against that now-definite height, so its
   two tiles are pixel-exact to the main photo's actual rendered height -
   not approximated by independently aspect-ratio'd tiles plus a gap, which
   left a visible sliver and broke the rounded corner at that edge. */
.detail-gallery .main-photo {
  width: calc(66.6667% - 5px);
  aspect-ratio: 16/11;
}
.detail-gallery .side-photos {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: calc(33.3333% - 5px);
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}
.detail-gallery .side-photos button { width: 100%; height: 100%; }
.detail-gallery .main-photo img,
.detail-gallery .side-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.show-all-photos--main { display: none; }
@media (max-width: 760px) {
  .detail-gallery .main-photo { width: 100%; }
  .detail-gallery .side-photos { display: none; }
  .show-all-photos--main { display: inline-block; }
}
.detail-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .detail-layout { grid-template-columns: 1fr; } }
.share-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.share-label { font-size: 0.85rem; font-weight: 700; color: var(--ink-soft); margin-right: 4px; }
.share-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--navy-900);
  background: #fff;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.share-icon svg { width: 17px; height: 17px; fill: currentColor; }
.share-icon:hover { background: var(--gold-text); border-color: var(--gold-text); color: #fff; }
.share-copy-feedback { font-size: 0.82rem; font-weight: 600; color: var(--gold-text); }
.detail-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 24px 0;
}
@media (max-width: 560px) { .detail-facts { grid-template-columns: 1fr 1fr; } }
.detail-facts .fact-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); }
.detail-facts .fact-val { font-weight: 700; font-size: 1.05rem; color: var(--navy-900); }
.show-all-photos {
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: rgba(5,15,28,0.75);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: var(--radius-sm);
  padding: 9px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.15s ease;
}
.show-all-photos:hover { background: rgba(5,15,28,0.92); border-color: var(--gold-400); }

.photo-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(5,15,28,0.96);
  padding: 24px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.photo-lightbox.open { display: flex; }
.photo-lightbox-stage {
  width: 100%;
  max-width: 1100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-lightbox-stage img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: var(--radius-sm);
  object-fit: contain;
}
.photo-lightbox-counter {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin: 18px 0 0;
}
.photo-lightbox-close {
  position: fixed;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 1001;
}
.photo-lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-lightbox-nav:hover { background: rgba(255,255,255,0.2); border-color: var(--gold-400); }
.photo-lightbox-prev { left: 20px; }
.photo-lightbox-next { right: 20px; }
@media (max-width: 640px) {
  .photo-lightbox-nav { width: 40px; height: 40px; font-size: 1.4rem; }
  .photo-lightbox-prev { left: 8px; }
  .photo-lightbox-next { right: 8px; }
}

.contact-card {
  background: var(--paper-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  position: sticky;
  top: 104px;
}
/* On the property page, the share bar is grafted onto the bottom of the
   sticky contact card so the two scroll and stick together as one unit,
   rather than the card sliding over a separately-positioned share bar. */
.contact-sticky-group { position: sticky; top: 104px; }
.contact-sticky-group .contact-card {
  position: static;
  border-radius: var(--radius) var(--radius) 0 0;
  border-bottom: none;
}
.contact-sticky-group .share-bar {
  margin-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--paper);
}

/* =========================================================
   Forms
   ========================================================= */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid .full { grid-column: 1 / -1; }
label.form-label { display: block; font-size: 0.8rem; font-weight: 700; margin-bottom: 6px; color: var(--ink-soft); }
input[type=text], input[type=email], input[type=tel], textarea, select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
textarea { resize: vertical; min-height: 120px; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.7); border-top: 1px solid var(--border-gold); }
.footer-top { padding: 64px 0 40px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 980px) { .footer-top { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 640px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .footer-top { grid-template-columns: 1fr; } }
.footer-top h4 { color: #fff; font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; }
.footer-top a { display: block; color: rgba(255,255,255,0.7); padding: 6px 0; font-size: 0.92rem; }
.footer-top a:hover { color: #fff; }
.footer-brand img { height: 40px; margin-bottom: 14px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  padding: 0;
}
.footer-social svg { width: 17px; height: 17px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-bottom a { color: rgba(255,255,255,0.6); }

/* Utility */
.badge {
  display: inline-block;
  background: rgba(188,145,82,0.12);
  color: var(--gold-text);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.page-hero {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  color: #fff;
  padding: 76px 0 56px;
}
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.78); max-width: 620px; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,0.85); }

/* =========================================================
   Agents / team
   ========================================================= */
.agent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 860px) { .agent-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; } }
.agent-card { text-align: center; }
.agent-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  margin-bottom: 22px;
  box-shadow: var(--shadow-md);
}
.agent-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(65%) contrast(1.02);
  transform: scale(1.01);
  transition: filter 0.5s ease, transform 0.6s ease;
}
.agent-card:hover .agent-photo img { filter: grayscale(0%); transform: scale(1.05); }
.agent-photo::after {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  pointer-events: none;
}
.agent-name { font-size: 1.3rem; margin-bottom: 2px; }
.agent-title {
  display: block;
  color: var(--gold-text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.agent-bio { color: var(--ink-soft); font-size: 0.92rem; max-width: 300px; margin: 0 auto 14px; }
.agent-phone {
  display: block;
  font-weight: 600;
  color: var(--navy-900);
  font-size: 0.95rem;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.agent-phone:hover { color: var(--gold-text); }
.agent-card .btn { font-size: 0.7rem; padding: 10px 20px; }

/* Elegant divider */
.divider-gold {
  width: 60px;
  height: 1px;
  background: var(--gold-400);
  margin: 0 auto 28px;
}
.divider-gold.left { margin: 0 0 28px; }

/* Sister companies / partner cards */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (max-width: 760px) { .partner-grid { grid-template-columns: 1fr; } }
.partner-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px;
}
.partner-card .feature-icon { background: linear-gradient(135deg, var(--gold-text), var(--gold-bronze)); }
.partner-card .partner-name { font-size: 1.5rem; margin-bottom: 2px; }
.partner-card .partner-domain {
  display: block;
  color: var(--gold-text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.partner-card p { color: var(--ink-soft); }
.partner-card .btn { margin-top: 12px; }

/* Pull quote / brand statement */
.brand-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.5;
  color: var(--navy-900);
  max-width: 780px;
  margin: 0 auto;
}
.brand-quote-navy { color: #fff; }

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  background: var(--navy-950);
  border-top: 1px solid var(--border-gold);
  padding: 16px 0;
  transform: translateY(110%);
  transition: transform 0.35s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.8);
  max-width: 760px;
}
.cookie-banner a { color: var(--gold-400); font-weight: 600; }
.cookie-banner-actions { flex-shrink: 0; }
@media (max-width: 680px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-banner-actions { display: flex; justify-content: center; }
}
