/* ==========================================================================
   The Tameer Properties — pages.css
   Page-level sections: heroes, listings, details, about, valuation, news,
   contact and page-specific layouts.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Home hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(100vh, 920px);
  display: flex;
  align-items: flex-end;
  padding: 130px 0 64px;
  background: #0a0312;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transition: opacity 1.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}
.hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

/* Subtle top gradient only for header navigation clarity */
.hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 130px;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 3, 18, 0.65) 0%, rgba(10, 3, 18, 0) 100%);
  pointer-events: none;
}

/* Theme gradient ONLY from bottom 30% — skyline & towers remain clear and visible */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 35%;
  z-index: -1;
  background: linear-gradient(to top, #0b0314 0%, rgba(11, 3, 20, 0.94) 25%, rgba(11, 3, 20, 0.6) 65%, rgba(11, 3, 20, 0) 100%);
  pointer-events: none;
}

.hero__container {
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero__content-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 36px;
  width: 100%;
}

.hero__main-col {
  flex: 1 1 0;
  min-width: 0;
  max-width: 740px;
  padding: clamp(22px, 3vw, 38px);
  background: rgba(22, 10, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.hero__launch-col {
  flex: 0 0 380px;
  max-width: 400px;
  margin-bottom: 4px;
}

@media (max-width: 991px) {
  .hero {
    min-height: auto;
    padding: 90px 0 34px;
  }
  .hero::after {
    height: 22%;
    background: linear-gradient(to top, #0b0314 0%, rgba(11, 3, 20, 0.5) 45%, rgba(11, 3, 20, 0) 100%);
  }
  .hero::before {
    height: 84px;
    background: linear-gradient(180deg, rgba(10, 3, 18, 0.55) 0%, rgba(10, 3, 18, 0) 100%);
  }
  .hero__content-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hero__launch-col {
    flex: 1 1 auto;
    max-width: 100%;
    margin-bottom: 0;
  }
  .hero__main-col {
    flex: 0 1 auto;
    max-width: 100%;
    padding: 18px 18px;
    background: rgba(36, 18, 66, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }
  .fam-launch-inner {
    padding: 14px 18px;
    background: rgba(36, 18, 66, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 82px 0 26px;
  }
  .hero__main-col {
    padding: 16px 16px 14px;
    border-radius: 16px;
    background: rgba(38, 18, 70, 0.52);
  }
  .hero__eyebrow {
    font-size: 0.74rem;
    margin-bottom: 6px;
    gap: 6px;
  }
  .hero__eyebrow svg {
    width: 12px;
    height: 12px;
  }
  .hero__title {
    font-size: 1.62rem;
    line-height: 1.18;
    margin-bottom: 8px;
  }
  .hero__sub {
    font-size: 0.85rem;
    line-height: 1.42;
    margin-bottom: 12px;
  }
  .search-panel__tabs {
    gap: 6px;
    margin-bottom: 8px;
    padding: 3px 4px 6px 4px;
    overflow: visible !important;
    overflow-x: visible !important;
  }
  .search-tab {
    padding: 6px 13px;
    font-size: 0.78rem;
  }
  .fam-search-row {
    padding: 3px 4px 3px 12px;
  }
  .fam-search-input {
    font-size: 0.82rem;
    padding: 6px 0;
  }
  .fam-search-btn {
    padding: 7px 14px;
    font-size: 0.8rem;
  }
  .fam-launch-banner {
    margin-top: 0;
  }
  .fam-launch-inner {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(38, 18, 70, 0.52);
  }
  .fam-launch-top {
    margin-bottom: 4px;
  }
  .fam-launch-tag {
    font-size: 0.64rem;
    letter-spacing: 0.1em;
  }
  .fam-launch-title {
    font-size: 1.05rem;
    margin-bottom: 2px;
  }
  .fam-launch-sub {
    font-size: 0.75rem;
    margin-bottom: 6px;
  }
  .fam-launch-meta-row {
    gap: 8px;
    margin-bottom: 8px;
  }
  .fam-launch-meta-item .meta-label {
    font-size: 0.62rem;
  }
  .fam-launch-meta-item .meta-val {
    font-size: 0.78rem;
  }
  .fam-launch-cta {
    font-size: 0.76rem;
  }
  .hero__scroll {
    bottom: 8px;
    font-size: 0.65rem;
  }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}
.hero__eyebrow svg { width: 14px; height: 14px; color: #C4B5FD; }

.hero__title {
  color: #fff;
  font-size: clamp(2.3rem, 4.6vw, 3.8rem);
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.14;
  margin-bottom: 14px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.85);
}
.hero__title .star-sparkle {
  color: #ffffff;
  display: inline-block;
  margin-left: 6px;
  font-size: 0.85em;
  vertical-align: middle;
}
.hero__sub {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 580px;
  margin-bottom: 24px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 54px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 34px; color: #fff; }
.hero__stat b { font-family: var(--font-head); font-size: 1.5rem; color: #ffffff; display: block; }
.hero__stat span { font-size: 0.8rem; color: rgba(244, 241, 250, 0.65); }

.hero__search-wrap { margin-top: 0; width: 100%; max-width: 660px; overflow: visible !important; }

.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6); font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-decoration: none;
}
.hero__scroll:hover { color: #ffffff; }
.hero__scroll svg { width: 16px; height: 16px; animation: tp-float 2.2s infinite; }

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: 130px 0 84px;
  background: var(--purple-950);
  isolation: isolate;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: rgba(26, 9, 50, 0.35); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(30, 10, 56, 0.92) 10%, rgba(42, 15, 74, 0.74) 55%, rgba(30, 10, 56, 0.5) 100%);
}
.page-hero__inner { max-width: 760px; }
.page-hero__title { color: #fff; margin-bottom: 14px; }
.page-hero__title em {
  font-style: italic;
  background: linear-gradient(110deg, #C4B5FD 0%, #FFFFFF 50%, #DDD6FE 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.page-hero__sub { color: rgba(244, 241, 250, 0.82); font-size: 1.02rem; max-width: 620px; margin: 0 0 20px; }
.page-hero .breadcrumb { margin-top: 22px; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(640px 300px at 88% 20%, rgba(90, 39, 163, 0.24), transparent 62%),
    radial-gradient(560px 320px at 8% 100%, rgba(116, 64, 196, 0.4), transparent 60%),
    var(--purple-gradient);
  border-radius: var(--radius-xl);
  padding: 64px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 36px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cta-band__content { max-width: 560px; }
.cta-band__content .eyebrow { color: #C4B5FD; }
.cta-band__content h2 { color: #fff; margin-bottom: 12px; }
.cta-band__content p { color: var(--text-on-dark-muted); margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-band__contact { display: flex; align-items: center; gap: 12px; margin-top: 18px; color: rgba(244,241,250,0.85); font-size: 0.95rem; }
.cta-band__contact svg { width: 17px; height: 17px; color: #C4B5FD; }
.cta-band__contact a { color: #fff; font-weight: 700; }

/* --------------------------------------------------------------------------
   Valuation split (home)
   -------------------------------------------------------------------------- */
.valuation-section { background: var(--purple-gradient-soft); position: relative; overflow: hidden; }
.valuation-section::before {
  content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 39, 163, 0.14), transparent 68%);
  top: -160px; right: -140px;
}
.valuation-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 54px; align-items: center; position: relative; }
.valuation-copy .eyebrow { margin-bottom: 12px; }
.valuation-copy h2 { margin-bottom: 16px; }
.valuation-copy > p { color: var(--text-muted); margin-bottom: 24px; }
.valuation-points { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.valuation-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.94rem; }
.valuation-points svg { width: 21px; height: 21px; color: var(--purple-600); flex: none; margin-top: 2px; }
.valuation-points b { color: var(--text-strong); }
.valuation-form-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 34px 32px;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.valuation-form-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--purple-gradient);
}
.valuation-form-card h3 { font-size: 1.45rem; margin-bottom: 6px; }
.valuation-form-card > p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 22px; }

/* --------------------------------------------------------------------------
   Listing pages (buy / rent / properties)
   -------------------------------------------------------------------------- */
.listing-layout {
  display: grid; grid-template-columns: 292px 1fr; gap: 34px;
  align-items: start;
}
.filters-panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  position: sticky; top: calc(var(--header-h) + 20px);
  overflow: hidden;
}
.filters-panel__head {
  padding: 18px 22px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--purple-gradient-soft);
}
.filters-panel__head h3 { margin: 0; font-size: 1.08rem; display: flex; align-items: center; gap: 10px; }
.filters-panel__head h3 svg { width: 18px; height: 18px; color: var(--purple-600); }
.filters-reset {
  font-size: 0.78rem; font-weight: 700; color: var(--purple-600);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.filters-reset:hover { color: var(--purple-800); }
.filters-panel__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 17px; }
.filters-panel__actions { display: grid; gap: 10px; margin-top: 6px; }

.listing-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 18px;
  box-shadow: var(--shadow-sm); margin-bottom: 26px; flex-wrap: wrap;
}
.listing-count { font-size: 0.92rem; color: var(--text-muted); }
.listing-count b { color: var(--purple-700); font-size: 1.05rem; }
.listing-toolbar__right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.listing-toolbar__sort { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--text-muted); }
.listing-toolbar__sort .select { padding: 9px 38px 9px 13px; font-size: 0.86rem; border-radius: 10px; width: auto; }
.view-toggle { display: flex; gap: 6px; }
.view-toggle button {
  width: 38px; height: 38px; border-radius: 10px;
  border: 1.5px solid var(--border-strong); color: var(--charcoal-400);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all var(--dur) var(--ease);
}
.view-toggle button svg { width: 17px; height: 17px; }
.view-toggle button.is-active { background: var(--purple-700); border-color: var(--purple-700); color: #fff; }

.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.listing-grid--2 { grid-template-columns: repeat(2, 1fr); }

/* list view */
.listing-grid.is-list { grid-template-columns: 1fr; }
.listing-grid.is-list .property-card { flex-direction: row; }
.listing-grid.is-list .property-card__media { flex: 0 0 38%; aspect-ratio: auto; min-height: 100%; }
.listing-grid.is-list .property-card__body { padding: 24px 26px; }
.listing-grid.is-list .property-card__specs { border-bottom: none; padding-bottom: 0; }

.mobile-filter-bar { display: none; }

/* --------------------------------------------------------------------------
   Property / project detail pages
   -------------------------------------------------------------------------- */
.detail-hero { padding: 40px 0 8px; }
.detail-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.detail-title-row h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 10px; }
.detail-title-row__sub { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 0.92rem; }
.detail-title-row__sub svg { width: 15px; height: 15px; color: var(--purple-600); }
.detail-price-box { text-align: right; }
.detail-price-box .price { font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; color: var(--purple-800); line-height: 1.1; }
.detail-price-box .price small { font-size: 0.95rem; color: var(--purple-700); font-family: var(--font-body); font-weight: 600; }
.detail-price-box .price-note { font-size: 0.78rem; color: var(--text-muted); }

.gallery { display: grid; grid-template-columns: 2.1fr 1fr; gap: 12px; border-radius: var(--radius-lg); overflow: hidden; }
.gallery__main {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden; cursor: zoom-in;
  border-radius: var(--radius-lg); background: var(--purple-50);
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery__main:hover img { transform: scale(1.04); }
.gallery__main::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(30, 10, 56, 0.45));
}
.gallery__zoom {
  position: absolute; right: 16px; bottom: 14px; z-index: 2;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.94); color: var(--purple-700);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(20, 8, 40, 0.35);
  transition: all var(--dur) var(--ease);
}
.gallery__zoom:hover { background: var(--purple-700); color: #ffffff; }
.gallery__zoom svg { width: 20px; height: 20px; }
.gallery__thumbs { display: grid; grid-template-rows: repeat(3, 1fr); gap: 12px; }
.gallery__thumb {
  position: relative; overflow: hidden; border-radius: var(--radius); cursor: pointer;
  background: var(--purple-50); aspect-ratio: 16 / 10;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; transition: all var(--dur) var(--ease); }
.gallery__thumb.is-active { outline: 3px solid var(--purple-600); outline-offset: -3px; }
.gallery__thumb:hover img { transform: scale(1.06); }
.gallery__thumb--more::after {
  content: "View All"; position: absolute; inset: 0;
  background: rgba(30, 10, 56, 0.68); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em;
}

.detail-layout { display: grid; grid-template-columns: 1fr 366px; gap: 34px; align-items: start; padding: 34px 0 10px; }
.detail-main { min-width: 0; }
.detail-aside { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 22px; }

.detail-section { margin-bottom: 36px; }
.detail-section > h2 {
  font-size: 1.45rem; padding-bottom: 14px; margin-bottom: 20px;
  border-bottom: 2px solid var(--purple-100); position: relative;
}
.detail-section > h2::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 64px; height: 2px;
  background: var(--purple-gradient);
}
.specs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.spec-tile {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 14px; text-align: center;
  box-shadow: var(--shadow-sm);
}
.spec-tile svg { width: 22px; height: 22px; color: var(--purple-500); margin: 0 auto 8px; }
.spec-tile b { display: block; font-size: 1.02rem; color: var(--text-strong); }
.spec-tile span { font-size: 0.74rem; color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.detail-section p { color: var(--charcoal-500); }

.amenities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.amenity {
  display: flex; align-items: center; gap: 10px;
  background: var(--purple-50); border: 1px solid var(--purple-100);
  border-radius: 11px; padding: 12px 15px;
  font-size: 0.87rem; font-weight: 600; color: var(--charcoal-700);
}
.amenity svg { width: 17px; height: 17px; color: var(--purple-600); flex: none; }

/* payment plan table */
.payment-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.payment-table th {
  background: var(--purple-gradient); color: #fff; text-align: left;
  padding: 15px 20px; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.payment-table td { padding: 15px 20px; border-top: 1px solid var(--border); font-size: 0.92rem; color: var(--charcoal-500); }
.payment-table td b { color: var(--text-strong); }
.payment-table .pct { font-weight: 700; color: var(--purple-700); white-space: nowrap; }
.payment-table tr.total td { background: var(--purple-50); font-weight: 700; color: var(--purple-900); }
.payment-table tr.total td:first-child { border-top: 2px solid var(--purple-400); }

.progress-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.progress-card__label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.progress-card__label b { font-size: 1.05rem; color: var(--purple-800); }
.progress-card__label span { font-size: 0.8rem; color: var(--text-muted); }
.progress-track--lg { height: 12px; }
.progress-card__note { font-size: 0.78rem; color: var(--text-muted); margin-top: 10px; }

/* --------------------------------------------------------------------------
   About page
   -------------------------------------------------------------------------- */
.story-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.story-media { position: relative; }
.story-media img { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); aspect-ratio: 4/3.2; object-fit: cover; width: 100%; }
.story-media__badge {
  position: absolute; right: -18px; bottom: -20px;
  background: var(--purple-gradient); color: #fff;
  border-radius: var(--radius-lg); padding: 22px 26px;
  box-shadow: var(--shadow-lg); text-align: center;
  border-bottom: 4px solid var(--purple-600);
}
.story-media__badge b { display: block; font-family: var(--font-head); font-size: 2rem; color: #ffffff; line-height: 1; }
.story-media__badge span { font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.8); }
.story-copy .eyebrow { margin-bottom: 12px; }
.story-copy h2 { margin-bottom: 18px; }
.story-copy p { color: var(--text-muted); }

.ceo-message {
  background: var(--purple-gradient); border-radius: var(--radius-xl);
  padding: 54px 56px; position: relative; overflow: hidden;
  color: var(--text-on-dark);
  box-shadow: var(--shadow-lg);
}
.ceo-message::before {
  content: "\201C"; position: absolute; top: -30px; left: 34px;
  font-family: var(--font-head); font-size: 12rem; color: rgba(139, 92, 246, 0.15); line-height: 1;
}
.ceo-message__inner { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.ceo-message blockquote {
  margin: 0 0 26px; font-family: var(--font-head); font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.6; color: #fff;
}
.ceo-message blockquote em { color: #C4B5FD; }
.ceo-message__who { display: flex; align-items: center; gap: 16px; }
.ceo-message__avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1); border: 2px solid var(--purple-400);
  color: #C4B5FD; font-family: var(--font-head); font-size: 1.6rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.ceo-message__who b { display: block; color: #fff; font-size: 1.1rem; }
.ceo-message__who span { color: #C4B5FD; font-size: 0.84rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* timeline */
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 34px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 3px;
  border-radius: 3px; background: linear-gradient(var(--purple-700), var(--purple-500));
}
.timeline__item { position: relative; padding: 0 0 34px 26px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: ""; position: absolute; left: -34px; top: 5px;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--surface); border: 4px solid var(--purple-600);
  box-shadow: 0 0 0 5px rgba(90, 39, 163, 0.18);
}
.timeline__year {
  display: inline-block; font-family: var(--font-head); font-weight: 800;
  color: var(--purple-700); font-size: 1.15rem; margin-bottom: 6px;
}
.timeline__item h3 { font-size: 1.1rem; margin-bottom: 6px; }
.timeline__item p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

/* values cards reuse .feature-card */

/* process steps */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.process-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px 26px;
  box-shadow: var(--shadow-sm); position: relative; counter-increment: step;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.process-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.process-card::before {
  content: "0" counter(step);
  position: absolute; top: 18px; right: 22px;
  font-family: var(--font-head); font-size: 2.6rem; font-weight: 800;
  color: var(--purple-100); line-height: 1;
}
.process-card h3 { font-size: 1.1rem; margin-bottom: 8px; padding-right: 54px; }
.process-card p { color: var(--text-muted); font-size: 0.88rem; margin: 0; }
.process-card__icon {
  width: 50px; height: 50px; border-radius: 14px;
  background: var(--purple-gradient); color: #ffffff;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  box-shadow: 0 8px 20px rgba(69, 27, 123, 0.35);
}
.process-card__icon svg { width: 23px; height: 23px; }

/* --------------------------------------------------------------------------
   Valuation page
   -------------------------------------------------------------------------- */
.valuation-page-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 54px; align-items: start; }
.estimator-card {
  background: var(--purple-gradient); border-radius: var(--radius-xl);
  padding: 34px 32px; color: var(--text-on-dark);
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.estimator-card::before {
  content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22), transparent 65%);
  top: -120px; right: -100px;
}
.estimator-card h3 { color: #fff; font-size: 1.4rem; margin-bottom: 6px; position: relative; }
.estimator-card > p { color: var(--text-on-dark-muted); font-size: 0.88rem; margin-bottom: 24px; position: relative; }
.estimator-card .field label { color: rgba(244, 241, 250, 0.85); }
.estimator-card .input, .estimator-card .select {
  background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.2); color: #fff;
}
.estimator-card .input::placeholder { color: rgba(255, 255, 255, 0.4); }
.estimator-card .input:focus, .estimator-card .select:focus {
  border-color: var(--purple-400); box-shadow: 0 0 0 4px rgba(90, 39, 163, 0.18);
}
.estimator-card .select { color: #fff; }
.estimator-card .select option { color: var(--charcoal-700); }
.estimator-result {
  margin-top: 22px; padding: 22px; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07); border: 1px dashed rgba(139, 92, 246, 0.4);
  display: none; text-align: center; position: relative;
}
.estimator-result.is-visible { display: block; animation: tp-fade-up 0.5s var(--ease) both; }
.estimator-result__label { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: #C4B5FD; font-weight: 700; margin-bottom: 10px; }
.estimator-result__range {
  font-family: var(--font-head); font-size: clamp(1.3rem, 2.6vw, 1.75rem); font-weight: 800; color: #fff; line-height: 1.3;
}
.estimator-result__range span { color: #ffffff; }
.estimator-result__note { font-size: 0.76rem; color: var(--text-on-dark-muted); margin-top: 12px; }

/* --------------------------------------------------------------------------
   News / blog pages
   -------------------------------------------------------------------------- */
.news-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 38px; }
.news-search { position: relative; width: min(360px, 100%); }
.news-search .input { padding-left: 44px; border-radius: 999px; }
.news-search svg { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--purple-600); }

.article-layout { display: grid; grid-template-columns: 1fr 330px; gap: 44px; align-items: start; }
.article-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); overflow: hidden;
}
.article-cover { aspect-ratio: 21/9; overflow: hidden; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { padding: 40px 46px 46px; }
.article-body__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 18px; font-size: 0.82rem; color: var(--text-muted); }
.article-body__meta svg { width: 14px; height: 14px; color: var(--purple-600); }
.article-body__meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-body h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 22px; }
.article-body h3 { font-size: 1.3rem; margin: 30px 0 12px; color: var(--purple-800); }
.article-body p { color: var(--charcoal-500); line-height: 1.8; }
.article-body blockquote {
  margin: 30px 0; padding: 22px 28px;
  background: var(--purple-50); border-left: 4px solid var(--purple-600);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-head); font-style: italic; font-size: 1.12rem; color: var(--purple-800);
}
.article-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--border); }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.article-share { display: flex; align-items: center; gap: 8px; }
.article-share span { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); margin-right: 4px; }
.article-author {
  display: flex; align-items: center; gap: 16px;
  background: var(--purple-gradient-soft); border: 1px solid var(--purple-100);
  border-radius: var(--radius-lg); padding: 22px 24px; margin-top: 30px;
}
.article-author__avatar {
  width: 58px; height: 58px; border-radius: 50%; flex: none;
  background: var(--purple-gradient); color: #C4B5FD;
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--purple-400);
}
.article-author b { display: block; }
.article-author span { font-size: 0.8rem; color: var(--text-muted); }

.article-sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 24px; }
.sidebar-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm);
}
.sidebar-card h3 { font-size: 1.1rem; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--purple-100); position: relative; }
.sidebar-card h3::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 44px; height: 2px; background: var(--purple-gradient); }
.sidebar-post { display: flex; gap: 13px; padding: 12px 0; border-bottom: 1px dashed var(--border-strong); }
.sidebar-post:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-post img { width: 74px; height: 58px; object-fit: cover; border-radius: 9px; flex: none; }
.sidebar-post b { font-size: 0.88rem; line-height: 1.4; font-weight: 600; display: block; }
.sidebar-post b a { color: var(--text-strong); }
.sidebar-post b a:hover { color: var(--purple-700); }
.sidebar-post span { font-size: 0.74rem; color: var(--text-muted); }
.sidebar-cats { display: flex; flex-direction: column; gap: 9px; }
.sidebar-cat { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; border-radius: 10px; background: var(--surface-alt); font-size: 0.88rem; font-weight: 600; color: var(--charcoal-700); }
.sidebar-cat:hover { background: var(--purple-50); color: var(--purple-700); }
.sidebar-cat span { background: var(--purple-100); color: var(--purple-700); font-size: 0.72rem; padding: 2px 9px; border-radius: 99px; }

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */
.contact-map-card {
  border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md);
  border: 1px solid var(--border); background: var(--surface);
}
.contact-map-card iframe { display: block; width: 100%; height: 420px; border: 0; filter: saturate(0.9); }
.contact-map-card__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 24px; flex-wrap: wrap;
}
.contact-map-card__foot p { margin: 0; font-size: 0.9rem; color: var(--charcoal-500); display: flex; align-items: center; gap: 9px; }
.contact-map-card__foot svg { width: 16px; height: 16px; color: var(--purple-600); }

/* --------------------------------------------------------------------------
   Responsive — pages
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .listing-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-aside { position: static; flex-direction: row; flex-wrap: wrap; }
  .detail-aside > * { flex: 1 1 300px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .article-sidebar > * { flex: 1 1 300px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .valuation-page-layout { grid-template-columns: 1fr; }
  .valuation-split { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 960px) {
  .listing-layout { grid-template-columns: 1fr; }
  .filters-panel { position: static; display: none; margin-bottom: 24px; }
  .filters-panel.is-open { display: block; animation: tp-fade-up 0.35s ease; }
  .mobile-filter-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 12px 16px; box-shadow: var(--shadow-sm);
    margin-bottom: 22px;
  }
  .mobile-filter-bar .listing-count { font-size: 0.85rem; }
  .story-split { grid-template-columns: 1fr; gap: 36px; }
  .story-media__badge { position: absolute; right: 14px; bottom: 14px; padding: 16px 20px; }
  .ceo-message { padding: 40px 32px; }
  .ceo-message__inner { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .gallery { grid-template-columns: 1fr; gap: 10px; }
  .gallery__thumbs { grid-template-rows: none; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .listing-grid { grid-template-columns: 1fr; }
  .listing-grid.is-list .property-card { flex-direction: column; }
  .listing-grid.is-list .property-card__media { flex: none; aspect-ratio: 16/11; }
  .process-grid { grid-template-columns: 1fr; }
  .article-body { padding: 26px 20px 30px; }
  .cta-band { padding: 38px 22px; gap: 24px; border-radius: var(--radius-lg); text-align: center; }
  .cta-band__content { max-width: 100%; }
  .cta-band__actions { justify-content: center; width: 100%; }
  .cta-band__actions .btn { width: 100%; }
  .cta-band__contact { justify-content: center; }
  .spec-tile { padding: 14px 10px; }
  .valuation-form-card { padding: 24px 18px; border-radius: var(--radius-lg); }
  .hero { min-height: auto; padding: 94px 0 80px; }
  .hero__stats { gap: 22px; }
  .detail-title-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .detail-price-box { text-align: left; }
  .detail-price-box .price { font-size: 1.65rem; }
  .page-hero { padding: 94px 0 40px; }
  .page-hero__title { font-size: clamp(1.75rem, 5.5vw, 2.3rem); }
  .page-hero__sub { font-size: 0.92rem; }
  .contact-map-card iframe { height: 280px; }
  .payment-table { font-size: 0.84rem; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .payment-table th, .payment-table td { padding: 10px 12px; }
}

/* ==========================================================================
   fam Properties Hero Look & Feel (matching Image 1)
   ========================================================================== */
.search-panel {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.hero__search-wrap .search-panel__form {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 660px;
  box-sizing: border-box !important;
}

.search-panel__tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px 8px 4px;
  margin-bottom: 12px;
  overflow: visible !important;
  overflow-x: visible !important;
  flex-wrap: nowrap;
  max-width: 100%;
}
.search-panel__tabs::-webkit-scrollbar {
  display: none;
}
.search-tab {
  flex: 0 0 auto;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a0a2a;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}
.search-tab:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  color: #000000;
}
.search-tab.is-active {
  background: linear-gradient(135deg, #2A0F4A 0%, #451B7B 60%, #5A27A3 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(69, 27, 123, 0.45);
  border: 1px solid rgba(139, 92, 246, 0.45);
}

.fam-search-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border-radius: 999px;
  padding: 5px 6px 5px 20px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4);
  margin-bottom: 0;
  width: 100%;
  max-width: 660px;
  box-sizing: border-box;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.fam-search-row:focus-within {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 0 3px rgba(69, 27, 123, 0.28);
  transform: translateY(-1px);
  border-color: var(--purple-400);
}
.fam-search-input {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  width: 0 !important;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  font-size: 0.96rem;
  color: #1e1133;
  padding: 9px 0;
  font-family: inherit;
  font-weight: 500;
  box-shadow: none !important;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.fam-search-input::placeholder {
  color: #6b7280;
  font-size: 0.92rem;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.fam-search-btn {
  background: linear-gradient(135deg, #371563 0%, #451B7B 55%, #5A27A3 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 10px 24px;
  font-size: 0.92rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(69, 27, 123, 0.45);
  transition: all 0.2s ease;
  flex-shrink: 0;
  white-space: nowrap;
}
.fam-search-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.fam-search-btn:hover {
  background: linear-gradient(135deg, #2A0F4A 0%, #371563 55%, #451B7B 100%) !important;
  border-color: var(--purple-400);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(69, 27, 123, 0.6);
}

.fam-filters-grid {
  display: none;
}

/* Featured Launch Banner inside Hero (Image 1) */
.fam-launch-banner {
  margin-top: 0;
  width: 100%;
}
.fam-launch-inner {
  background: rgba(22, 10, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  transition: border-color 0.3s ease, transform 0.3s ease;
  position: relative;
}
.fam-launch-inner:hover {
  border-color: rgba(139, 92, 246, 0.6);
  transform: translateY(-3px);
}
.fam-launch-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.fam-launch-tag {
  color: #C4B5FD;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.fam-launch-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 2px;
  line-height: 1.3;
  font-family: var(--font-head);
  transition: opacity 0.3s ease;
}
.fam-launch-sub {
  color: rgba(244, 241, 250, 0.75);
  font-size: 0.84rem;
  margin-bottom: 14px;
  transition: opacity 0.3s ease;
}
.fam-launch-meta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.fam-launch-meta-item .meta-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 241, 250, 0.55);
  margin-bottom: 4px;
}
.fam-launch-meta-item .meta-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}
.fam-launch-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.fam-launch-cta {
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease, transform 0.2s ease;
}
.fam-launch-cta:hover {
  color: #C4B5FD;
  transform: translateX(3px);
}
.fam-launch-slider {
  display: flex;
  align-items: center;
  gap: 6px;
}
.fam-launch-slider .dash {
  position: relative;
  width: 22px;
  height: 24px;
  border-radius: 99px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}
.fam-launch-slider .dash::after {
  content: "";
  position: absolute;
  inset: calc(50% - 1.5px) 0 auto;
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.25);
}
.fam-launch-slider .dash:hover::after {
  background: rgba(255, 255, 255, 0.6);
}
.fam-launch-slider .dash.active {
  width: 32px;
}
.fam-launch-slider .dash.active::after { background: var(--purple-500); }

/* Floating "Not sure? We can help" pill (Image 2) */
.fam-help-float { display: none !important; }
.fam-help-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45);
  border-color: rgba(255, 255, 255, 0.3);
}
.fam-help-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fam-help-icon svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   Google 4.9 Rating Trust Banner (Image 3 and 4)
   ========================================================================== */
.google-trust-band {
  padding: 0;
  background: transparent;
  margin-top: -38px;
  position: relative;
  z-index: 15;
}
.google-trust-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 780px;
  margin: 0 auto;
}
.google-trust-left {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.google-trust-left .review-stars img {
  display: block;
  max-height: 58px;
  width: auto;
}
.google-trust-center {
  flex: 1;
  text-align: left;
}
.google-trust-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
  line-height: 1.4;
  font-family: var(--font-body);
  letter-spacing: -0.01em;
}
.google-trust-title .highlight-orange {
  color: #f27a1a;
  font-weight: 700;
}
.google-trust-right {
  flex-shrink: 0;
  border-left: 1px solid #e5e7eb;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.google-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.google-reviews-count {
  font-size: 1.35rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.15;
  margin-top: 3px;
  letter-spacing: -0.01em;
  font-family: var(--font-body);
}
.google-reviews-link {
  font-size: 0.78rem;
  color: #64748b;
  text-decoration: underline;
  line-height: 1.2;
  cursor: pointer;
  transition: color 0.2s ease;
}
.google-reviews-link:hover {
  color: #0f172a;
}

@media (max-width: 900px) {
  .google-trust-band {
    margin-top: -24px;
  }
  .google-trust-card {
    flex-direction: column;
    text-align: center;
    padding: 20px 18px;
    gap: 16px;
    max-width: 90%;
  }
  .google-trust-center {
    text-align: center;
  }
  .google-trust-right {
    border-left: none;
    border-top: 1px solid #e2e8f0;
    padding-left: 0;
    padding-top: 14px;
  }
  .fam-filters-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Major / Premium Karachi Real Estate Names Showcase
   ========================================================================== */
.projects-showcase-band {
  background: var(--purple-950);
  color: #ffffff;
  padding: 60px 0;
}
.projects-showcase-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px;
}
.projects-showcase-head h2 {
  color: #ffffff;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  margin-bottom: 12px;
}
.projects-showcase-head p {
  color: rgba(244, 241, 250, 0.8);
  font-size: 0.98rem;
}
.projects-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}
.project-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.22s ease;
}
.project-tag-pill:hover {
  background: var(--purple-700);
  color: #ffffff;
  border-color: var(--purple-400);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(69, 27, 123, 0.4);
}
.project-tag-pill .pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple-500);
}
.project-tag-pill:hover .pill-dot {
  background: #ffffff;
}

/* ==========================================================================
   Meet Our Specialists (Team Intros Section)
   ========================================================================== */
.team-specialists-section {
  background: #fdfbf7;
}
.team-grid-intros {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 36px;
}
.specialist-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.specialist-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  border-color: var(--purple-300);
}
.specialist-card__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.specialist-avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--purple-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(45, 12, 85, 0.25);
  border: 2px solid var(--purple-400);
}
.specialist-avatar--ceo {
  background: linear-gradient(135deg, #1e0a38 0%, #451b7b 60%, #7440c4 100%);
}
.specialist-info h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--charcoal-900);
  margin-bottom: 2px;
}
.specialist-role {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.specialist-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--purple-800);
  background: var(--purple-50);
  padding: 2px 8px;
  border-radius: 99px;
  border: 1px solid var(--purple-100);
}
.specialist-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.specialist-tag {
  font-size: 0.74rem;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  padding: 3px 10px;
  border-radius: 6px;
}
.specialist-intro {
  margin: 0 0 20px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #334155;
  font-style: italic;
  flex: 1;
  border-left: 2px solid var(--purple-500);
  padding-left: 12px;
}
.specialist-foot {
  display: flex;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}
.specialist-foot .btn {
  flex: 1;
  justify-content: center;
}

@media (max-width: 980px) {
  .team-grid-intros {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .team-grid-intros {
    grid-template-columns: 1fr;
  }
  .fam-help-float {
    bottom: 14px;
    left: 14px;
    font-size: 0.8rem;
    padding: 6px 12px 6px 10px;
    gap: 8px;
  }
  .fam-help-icon {
    width: 28px;
    height: 28px;
  }
  .search-panel__tabs {
    gap: 6px;
    margin-bottom: 8px;
    padding: 3px 4px 6px 4px;
    overflow: visible !important;
    overflow-x: visible !important;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }
  .search-panel__tabs::-webkit-scrollbar {
    display: none;
  }
  .search-tab {
    flex: 0 0 auto;
    padding: 7px 15px;
    font-size: 0.82rem;
  }
  .fam-search-row {
    padding: 4px 5px 4px 14px;
    gap: 6px;
    border-radius: 999px;
    width: 100%;
    box-sizing: border-box;
  }
  .fam-search-input {
    font-size: 0.88rem;
    padding: 7px 0;
  }
  .fam-search-input::placeholder {
    font-size: 0.84rem;
  }
  .fam-search-btn {
    padding: 9px 18px;
    font-size: 0.86rem;
    gap: 5px;
    border-radius: 999px;
  }
  .fam-search-btn svg {
    width: 14px;
    height: 14px;
  }
  .fam-launch-inner {
    padding: 18px 20px;
    border-radius: 16px;
  }
  .fam-launch-title {
    font-size: 1.15rem;
  }
  .fam-launch-sub {
    font-size: 0.8rem;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 74px 0 20px;
  }
  .hero__content-row {
    gap: 10px;
  }
  .hero__main-col {
    padding: 13px 12px 11px;
    border-radius: 14px;
    background: rgba(40, 18, 72, 0.5);
  }
  .hero__eyebrow {
    font-size: 0.7rem;
    margin-bottom: 4px;
  }
  .hero__title {
    font-size: 1.42rem;
    line-height: 1.16;
    margin-bottom: 6px;
  }
  .hero__sub {
    font-size: 0.78rem;
    line-height: 1.35;
    margin-bottom: 10px;
  }
  .search-tab {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  .fam-search-row {
    padding: 3px 4px 3px 12px;
    gap: 4px;
  }
  .fam-search-input {
    font-size: 0.84rem;
  }
  .fam-search-input::placeholder {
    font-size: 0.8rem;
  }
  .fam-search-btn {
    padding: 8px 14px;
    font-size: 0.82rem;
    gap: 4px;
  }
  .fam-search-btn svg {
    width: 13px;
    height: 13px;
  }
  .amenities-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .spec-tile {
    padding: 12px 8px;
  }
  .spec-tile b {
    font-size: 0.95rem;
  }
  .spec-tile span {
    font-size: 0.68rem;
  }
  .gallery__thumbs {
    gap: 6px;
  }
  .gallery__zoom {
    width: 38px;
    height: 38px;
    right: 10px;
    bottom: 10px;
  }
  .google-trust-card {
    padding: 16px 14px;
    gap: 12px;
  }
  .google-trust-left .review-stars img {
    max-height: 44px;
  }
  .google-trust-title {
    font-size: 0.92rem;
  }
  .google-reviews-count {
    font-size: 1.15rem;
  }
  .fam-launch-inner {
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(40, 18, 72, 0.5);
  }
  .fam-launch-title {
    font-size: 0.98rem;
  }
  .fam-launch-sub {
    font-size: 0.7rem;
    margin-bottom: 6px;
  }
  .fam-launch-meta-row {
    gap: 6px;
    margin-bottom: 6px;
  }
  .fam-launch-meta-item .meta-label {
    font-size: 0.58rem;
  }
  .fam-launch-meta-item .meta-val {
    font-size: 0.74rem;
  }
  .fam-launch-cta {
    font-size: 0.72rem;
  }
  .fam-launch-slider .dash {
    width: 16px;
  }
  .fam-launch-slider .dash.active {
    width: 24px;
  }
  .specialist-card {
    padding: 20px 16px;
  }
  .specialist-avatar {
    width: 52px;
    height: 52px;
    font-size: 1.1rem;
  }
  .specialist-foot {
    flex-direction: column;
    gap: 8px;
  }
  .specialist-foot .btn {
    width: 100%;
  }
  .process-card {
    padding: 22px 18px;
  }
  .process-card::before {
    font-size: 2rem;
    top: 12px;
    right: 16px;
  }
  .ceo-message {
    padding: 28px 20px;
    border-radius: var(--radius-lg);
  }
  .ceo-message blockquote {
    font-size: 1.02rem;
    line-height: 1.55;
  }
  .ceo-message::before {
    font-size: 7rem;
    top: -16px;
    left: 12px;
  }
  .ceo-message__inner {
    gap: 20px;
  }
  .ceo-message__avatar {
    width: 56px;
    height: 56px;
    font-size: 1.3rem;
  }
  .timeline {
    padding-left: 24px;
  }
  .timeline__item {
    padding: 0 0 24px 16px;
  }
  .timeline__item::before {
    left: -24px;
    width: 15px;
    height: 15px;
  }
  .timeline::before {
    left: 4px;
  }
  .estimator-card {
    padding: 24px 18px;
    border-radius: var(--radius-lg);
  }
  .estimator-card h3 {
    font-size: 1.25rem;
  }
  .article-body {
    padding: 20px 14px;
  }
  .article-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .article-author {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 18px 16px;
  }
  .search-tab {
    padding: 7px 12px;
    font-size: 0.78rem;
  }
  .fam-search-row {
    padding: 4px 5px 4px 12px;
    gap: 6px;
  }
  .fam-search-input {
    font-size: 0.84rem;
  }
  .fam-search-btn {
    padding: 8px 14px;
    font-size: 0.82rem;
  }
  .fam-help-float .help-text {
    display: none;
  }
  .fam-help-float {
    padding: 6px;
    border-radius: 50%;
  }
}

@media (max-width: 360px) {
  .hero__title {
    font-size: 1.28rem;
  }
  .hero__sub {
    font-size: 0.74rem;
  }
  .search-tab {
    padding: 6px 10px;
    font-size: 0.74rem;
  }
  .fam-search-row {
    padding: 3px 4px 3px 10px;
    gap: 4px;
  }
  .fam-search-input {
    font-size: 0.8rem;
  }
  .fam-search-btn {
    padding: 7px 12px;
    font-size: 0.78rem;
  }
  .projects-tag-cloud {
    gap: 6px;
  }
  .project-tag-pill {
    padding: 5px 10px;
    font-size: 0.74rem;
  }
  .fam-help-float {
    display: none;
  }
}
