/* =====================================================
   DS IMMO — Premium Real Estate · Mali
   ===================================================== */

:root {
  --blue:        #1A52A0;
  --blue-light:  #4B89C8;
  --blue-dim:    rgba(26, 82, 160, 0.12);
  --dark:        #0C1220;
  --dark-2:      #121C32;
  --light:       #F5F8FD;
  --surface:     #FFFFFF;
  --text:        #1C1C1E;
  --muted:       #787878;
  --border:      #E2E8F0;
  --radius-sm:   10px;
  --radius:      16px;
  --radius-lg:   24px;
  --shadow:      0 20px 60px rgba(0, 0, 0, 0.08);
  --shadow-hov:  0 28px 70px rgba(0, 0, 0, 0.14);
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --t:           0.35s;
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", sans-serif;
  background: var(--light);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; }

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* ── Typography ─────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.15;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.2rem; }
h1 em, h2 em { font-style: italic; color: var(--blue); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 12px;
}
p { color: var(--muted); }

/* ── Scroll Progress Bar ────────────────────────────── */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  z-index: 999;
  transition: width 0.1s linear;
}

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform var(--t) var(--ease), background var(--t), box-shadow var(--t), border-color var(--t), color var(--t);
  white-space: nowrap;
}
.btn:active { transform: translateY(0) scale(0.98); }
.btn-gold {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 20px rgba(196, 151, 62, 0.35);
}
.btn-gold:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(196, 151, 62, 0.45);
}
.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}
.btn-outline-light:hover { border-color: rgba(255, 255, 255, 0.9); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm {
  padding: 9px 16px;
  font-size: 0.85rem;
  background: var(--light);
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-sm:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-full { width: 100%; }

/* ── Header ─────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--t) var(--ease), box-shadow var(--t);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border), 0 8px 32px rgba(0, 0, 0, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
}
.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
}
.brand-name {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  transition: color var(--t);
}
.site-header.scrolled .brand-name { color: var(--text); }

.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--t);
}
.nav-link:hover,
.nav-link.active-nav { color: var(--blue-light); }
.site-header.scrolled .nav-link { color: var(--muted); }
.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.active-nav { color: var(--blue); }
.nav-cta {
  background: var(--blue);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background var(--t), transform var(--t);
}
.nav-cta:hover { background: var(--blue-light); transform: translateY(-1px); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: background var(--t), transform var(--t);
}
.site-header.scrolled .menu-toggle span { background: var(--text); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 90px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/house3.avif');
  background-size: cover;
  background-position: center 35%;
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(8, 18, 48, 0.94) 0%,
    rgba(12, 28, 68, 0.80) 55%,
    rgba(8, 18, 48, 0.55) 100%
  );
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(8, 18, 48, 0.65) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto -8% 8% auto;
  width: 34vw;
  max-width: 420px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(75, 137, 200, 0.14);
  filter: blur(40px);
  z-index: 0;
  animation: dsGlowDrift 10s ease-in-out infinite alternate;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
  align-items: center;
}
.hero-content h1 { color: #fff; margin: 8px 0 18px; }
.hero-sub { color: rgba(255, 255, 255, 0.55); font-size: 1.05rem; max-width: 480px; }
.hero-actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero search card */
.hero-search {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.search-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 14px;
}
.search-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.stab {
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.stab.active, .stab:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.search-fields { display: flex; gap: 8px; }
.search-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  padding: 10px 14px;
  color: #fff;
  font-size: 0.9rem;
  font-family: "Inter", sans-serif;
  outline: none;
  transition: border-color var(--t), background var(--t);
}
.search-input::placeholder { color: rgba(255, 255, 255, 0.3); }
.search-input:focus { border-color: var(--blue); background: rgba(255, 255, 255, 0.1); }
.search-btn {
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 9px;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  transition: background var(--t);
}
.search-btn:hover { background: var(--blue-light); }

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
  opacity: 0.45;
}
.hero-scroll span {
  display: block;
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.65));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}
.hero-scroll p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── Sections ────────────────────────────────────────── */
.section { padding: 96px 0; }
.section-tinted { background: #EDF3FB; }
.section-header { margin-bottom: 56px; }
.section-header h2 { margin-top: 6px; }

/* ── Services ────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.service-card:hover {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-dim), var(--shadow);
  transform: translateY(-4px);
}
.svc-icon { width: 46px; height: 46px; color: var(--blue); margin-bottom: 20px; }
.svc-icon svg { width: 100%; height: 100%; }
.service-card h3 { color: var(--text); margin-bottom: 10px; }
.service-card p { font-size: 0.9rem; line-height: 1.65; }

/* ── Filter Tabs ─────────────────────────────────────── */
.filter-tabs { display: flex; gap: 8px; margin-bottom: 36px; flex-wrap: wrap; }
.ftab {
  padding: 9px 22px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.ftab.active, .ftab:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ── Property Cards ──────────────────────────────────── */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.prop-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--t) var(--ease), box-shadow var(--t);
}
.prop-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hov); }
.prop-card.hidden { display: none; }

.prop-img {
  height: 210px;
  position: relative;
  overflow: hidden;
}
.prop-img[data-color="1"] {
  background: linear-gradient(140deg, #2A1810 0%, #5C3320 50%, #8B5E3C 100%);
}
.prop-img[data-color="2"] {
  background: linear-gradient(140deg, #0A1628 0%, #1E3A5F 50%, #2E6094 100%);
}
.prop-img[data-color="3"] {
  background: linear-gradient(140deg, #1A1A0E 0%, #3D3D1A 50%, #6B6B2E 100%);
}
/* Subtle texture overlay */
.prop-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.45) 100%);
}
.prop-badge {
  position: absolute;
  top: 14px; left: 14px;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 1;
}
.prop-badge.sale       { background: var(--blue); color: #fff; }
.prop-badge.rent       { background: var(--blue-light); color: #fff; }
.prop-badge.commercial { background: #374151; color: #fff; }
.prop-price {
  position: absolute;
  bottom: 14px; left: 14px;
  color: #fff;
  font-weight: 600;
  font-size: 0.93rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
  z-index: 1;
}
.prop-body { padding: 22px; }
.prop-body h3 { color: var(--text); margin-bottom: 4px; font-size: 1.1rem; }
.prop-loc { font-size: 0.84rem; margin-bottom: 14px; }
.prop-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.prop-meta span {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.78rem;
  color: var(--text);
  font-weight: 500;
}

/* ── Process Steps ───────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: 1fr 60px 1fr 60px 1fr 60px 1fr;
  align-items: flex-start;
  gap: 0;
  margin-top: 8px;
}
.step { text-align: center; padding: 0 8px; }
.step-num {
  font-family: "Playfair Display", serif;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 14px;
  -webkit-text-stroke: 1.5px var(--blue);
  color: transparent;
}
.step h3 { color: var(--text); margin-bottom: 10px; }
.step p { font-size: 0.88rem; line-height: 1.65; }
.step-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--border));
  margin-top: 32px;
  align-self: flex-start;
}

/* ── Testimonials ────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: box-shadow var(--t), transform var(--t);
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testimonial::before {
  content: '"';
  font-family: "Playfair Display", serif;
  font-size: 5.5rem;
  color: var(--blue);
  opacity: 0.12;
  position: absolute;
  top: 8px; left: 22px;
  line-height: 1;
  pointer-events: none;
}
.testimonial blockquote {
  font-style: italic;
  color: var(--text);
  margin-bottom: 22px;
  font-size: 0.95rem;
  line-height: 1.75;
}
.testimonial footer {
  display: flex;
  align-items: center;
  gap: 12px;
}
.t-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial footer strong { color: var(--text); font-size: 0.9rem; display: block; }
.testimonial footer p { font-size: 0.8rem; margin: 2px 0 0; }

/* ── About ───────────────────────────────────────────── */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img-block {
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
}
.about-prop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: var(--radius-lg);
}
.about-logo-badge {
  position: absolute;
  bottom: 18px;
  right: 18px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  padding: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  z-index: 1;
}
.about-logo-badge img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.about-content h2 { margin-bottom: 20px; }
.about-content p { font-size: 0.97rem; margin-bottom: 14px; }
.about-content .btn { margin-top: 10px; }

/* ── Campaign Hero ──────────────────────────────────── */
.hero-content h1 em { color: #9CC8F2; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.hero-trust span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  padding: 7px 11px;
  font-size: 0.76rem;
  font-weight: 600;
}
.hero-campaign {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  position: relative;
  transform-origin: center;
  animation: dsFloatCard 7s ease-in-out infinite;
}
.hero-campaign::after,
.video-frame::after,
.residence-poster::after,
.community-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.18) 42%, transparent 58%);
  transform: translateX(-120%);
  pointer-events: none;
}
.hero-campaign.visible::after,
.video-frame.visible::after,
.residence-poster.visible::after,
.community-visual.visible::after {
  animation: dsSheen 1.3s 0.3s var(--ease) both;
}
.hero-campaign img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center 42%;
  transition: transform 1.1s var(--ease);
}
.hero-campaign:hover img { transform: scale(1.035); }
.hero-campaign-body {
  display: grid;
  gap: 6px;
  padding: 18px;
  background: #fff;
}
.hero-campaign-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.hero-campaign-body strong {
  color: var(--text);
  font-size: 1.2rem;
}
.hero-campaign-body a {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.9rem;
}

/* ── Presentation Video ─────────────────────────────── */
.media-section { background: var(--surface); }
.media-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.media-copy h2 { margin-bottom: 18px; }
.media-copy > p { max-width: 520px; }
.media-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.media-points span {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 11px;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
}
.video-frame {
  background: #081224;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
  position: relative;
  transition: transform var(--t) var(--ease), box-shadow var(--t);
}
.video-frame:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hov);
}
.video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ── Residences ─────────────────────────────────────── */
.residences-section { overflow: hidden; }
.residence-lead {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 34px;
  align-items: stretch;
  margin-bottom: 34px;
}
.residence-poster {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.residence-poster img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center top;
  transition: transform 1s var(--ease);
}
.residence-poster:hover img { transform: scale(1.03); }
.residence-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.residence-benefits article,
.residence-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.residence-benefits article {
  padding: 26px;
  transition: transform var(--t) var(--ease), border-color var(--t), box-shadow var(--t);
}
.residence-benefits article:hover,
.residence-card:hover,
.finance-grid article:hover {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-dim), var(--shadow);
  transform: translateY(-4px);
}
.residence-benefits strong {
  display: block;
  color: var(--text);
  font-family: "Playfair Display", serif;
  font-size: 1.18rem;
  line-height: 1.2;
  margin-bottom: 10px;
}
.residence-benefits p { font-size: 0.9rem; }
.residence-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.residence-card {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 0;
  overflow: hidden;
  box-shadow: 0 14px 42px rgba(12, 18, 32, 0.06);
  transition: transform var(--t) var(--ease), border-color var(--t), box-shadow var(--t);
}
.residence-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.9s var(--ease);
}
.residence-card:hover img { transform: scale(1.035); }
.residence-card > div {
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.residence-card h3 {
  font-size: 1.45rem;
  margin-bottom: 14px;
}
.residence-card ul {
  list-style: none;
  display: grid;
  gap: 9px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.9rem;
}
.residence-card li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  margin-right: 9px;
  vertical-align: 1px;
}
.residence-card .btn { margin-top: auto; }

/* ── Financing ──────────────────────────────────────── */
.finance-section { background: var(--surface); }
.finance-inner {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 58px;
  align-items: center;
}
.finance-copy h2 { margin-bottom: 18px; }
.finance-copy > p { max-width: 560px; }
.finance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 26px 0;
}
.finance-grid article {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  transition: transform var(--t) var(--ease), border-color var(--t), box-shadow var(--t);
}
.finance-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 6px;
}
.finance-grid strong {
  color: var(--text);
  font-size: 0.94rem;
}
.finance-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.finance-visuals {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 14px;
  align-items: end;
}
.finance-visuals > img,
.finance-visuals figure {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--light);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--t) var(--ease), box-shadow var(--t);
}
.finance-visuals > img:hover,
.finance-visuals figure:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hov);
}
.finance-visuals > img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center top;
}
.finance-visuals figure {
  margin: 0;
}
.finance-visuals figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
}
.finance-visuals figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

/* ── Community Availability ─────────────────────────── */
.community-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: stretch;
}
.community-visual {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  position: relative;
}
.community-visual img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center 35%;
  transition: transform 1s var(--ease);
}
.community-visual:hover img { transform: scale(1.035); }
.community-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.community-content > p {
  font-size: 1rem;
  max-width: 650px;
  margin-bottom: 24px;
}
.community-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.community-grid article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.community-grid article:hover {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-dim), var(--shadow);
  transform: translateY(-3px);
}
.hero-campaign.tilting,
.video-frame.tilting,
.residence-card.tilting,
.residence-benefits article.tilting,
.community-grid article.tilting,
.finance-grid article.tilting {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-3px);
}
.hero-campaign.tilting { animation-play-state: paused; }
.community-grid span {
  display: block;
  color: var(--blue);
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 12px;
}
.community-grid strong {
  display: block;
  color: var(--text);
  font-family: "Playfair Display", serif;
  font-size: 1.12rem;
  line-height: 1.2;
  margin-bottom: 8px;
}
.community-grid p {
  font-size: 0.86rem;
  line-height: 1.6;
}
.community-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.section-header.visible + .residence-lead .residence-benefits article,
.finance-copy.visible .finance-grid article,
.community-content.visible .community-grid article {
  animation: dsRiseIn 0.6s var(--ease) both;
}
.residence-benefits article:nth-child(2),
.finance-grid article:nth-child(2),
.community-grid article:nth-child(2) { animation-delay: 0.08s; }
.residence-benefits article:nth-child(3),
.finance-grid article:nth-child(3),
.community-grid article:nth-child(3) { animation-delay: 0.16s; }
.residence-benefits article:nth-child(4),
.finance-grid article:nth-child(4),
.community-grid article:nth-child(4) { animation-delay: 0.24s; }

@keyframes dsFloatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes dsGlowDrift {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.6; }
  to { transform: translate3d(-28px, -18px, 0) scale(1.12); opacity: 0.9; }
}
@keyframes dsSheen {
  from { transform: translateX(-120%); }
  to { transform: translateX(120%); }
}
@keyframes dsRiseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Contact Section ─────────────────────────────────── */
.contact-section { background: var(--dark); }
.contact-inner {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 72px;
  align-items: start;
}
.contact-info .eyebrow { color: var(--blue); }
.contact-info h2 { color: #fff; margin-bottom: 32px; }
.info-items { display: flex; flex-direction: column; gap: 20px; }
.info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
}
.info-item svg { width: 20px; height: 20px; color: var(--blue); flex-shrink: 0; }

/* Contact Form */
.contact-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  padding: 38px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 10px;
  padding: 12px 16px;
  color: #fff;
  font-size: 0.95rem;
  font-family: "Inter", sans-serif;
  outline: none;
  transition: border-color var(--t), background var(--t);
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255, 255, 255, 0.22); }
.form-group select option { background: #1a2535; color: #fff; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: rgba(255, 255, 255, 0.09);
}
.form-note {
  text-align: center;
  color: var(--blue-light);
  font-size: 0.9rem;
  margin: 0;
}

/* ── Footer ──────────────────────────────────────────── */
.site-footer { background: #080E14; padding: 64px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand > p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.32);
  max-width: 260px;
  line-height: 1.6;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links h4 {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  margin-bottom: 4px;
}
.footer-links a,
.footer-links span {
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.88rem;
  transition: color var(--t);
}
.footer-links a:hover { color: var(--blue-light); }
.footer-bottom {
  padding: 20px 0;
  text-align: center;
  border-top: none;
}
.footer-bottom p { color: rgba(255, 255, 255, 0.22); font-size: 0.85rem; }

/* ── WhatsApp FAB ────────────────────────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 54px; height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  color: #fff;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.35);
  transition: transform var(--t), box-shadow var(--t);
}
.whatsapp-fab svg { width: 28px; height: 28px; }
.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 14px 40px rgba(37, 211, 102, 0.5);
}

/* ── Reveal Animations ───────────────────────────────── */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1100px) {
  .container { width: min(1040px, 92%); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr 360px; gap: 36px; }
  .hero-campaign img { height: 460px; }
  .residence-lead { grid-template-columns: 300px 1fr; }
  .residence-card { grid-template-columns: 170px 1fr; }
  .finance-inner { grid-template-columns: 1fr; }
  .finance-visuals { max-width: 760px; }
}

@media (max-width: 900px) {
  h1 { font-size: clamp(2.25rem, 8vw, 3.6rem); }
  h2 { font-size: clamp(1.7rem, 5vw, 2.4rem); }
  .section { padding: 76px 0; }
  .section-header { margin-bottom: 38px; }
  .hero {
    min-height: auto;
    padding: 112px 0 72px;
  }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-search,
  .hero-campaign { max-width: 500px; }
  .hero-campaign img { height: 430px; }
  .properties-grid { grid-template-columns: repeat(2, 1fr); }
  .media-inner { grid-template-columns: 1fr; gap: 34px; }
  .residence-lead { grid-template-columns: 1fr; }
  .residence-poster img { min-height: 440px; }
  .residence-cards { grid-template-columns: 1fr; }
  .residence-card { grid-template-columns: 220px 1fr; }
  .community-layout { grid-template-columns: 1fr; }
  .community-visual img { min-height: 460px; }
  .process-steps {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .step-line { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 520px; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-img-block { max-width: 360px; }
  .contact-inner { grid-template-columns: 1fr; gap: 44px; }

  .site-nav {
    display: none;
    position: absolute;
    top: 80px; right: 4%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 230px;
    animation: dsMenuIn 0.22s var(--ease) both;
  }
  .site-nav.open { display: flex; }
  .nav-link { color: var(--muted) !important; padding: 9px 14px; width: 100%; border-radius: 8px; }
  .nav-link:hover { background: var(--light); color: var(--blue) !important; }
  .nav-cta { width: 100%; text-align: center; margin-top: 8px; }
  .menu-toggle { display: flex; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 32px, 560px); }
  .header-inner { height: 70px; }
  .brand-logo { width: 36px; height: 36px; }
  .brand-name { font-size: 1.05rem; }
  .site-nav {
    top: 70px;
    right: 16px;
    left: 16px;
    width: auto;
  }
  .hero {
    padding: 96px 0 54px;
    align-items: flex-start;
  }
  .hero-sub {
    font-size: 0.98rem;
    max-width: none;
  }
  .hero-actions {
    width: 100%;
    align-items: stretch;
  }
  .hero-actions .btn,
  .community-actions .btn,
  .finance-actions .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
  .hero-scroll { display: none; }
  .properties-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-campaign {
    max-width: none;
    animation: none;
  }
  .hero-campaign img { display: none; }
  .hero-trust { display: none; }
  .media-points { flex-direction: column; align-items: flex-start; }
  .residence-benefits { grid-template-columns: 1fr; }
  .residence-poster img { min-height: 360px; }
  .residence-card { grid-template-columns: 1fr; }
  .residence-card img { height: 380px; min-height: 0; }
  .finance-grid,
  .finance-visuals { grid-template-columns: 1fr; }
  .finance-visuals > img { height: 430px; }
  .finance-actions { flex-direction: column; align-items: flex-start; }
  .community-grid { grid-template-columns: 1fr; }
  .community-visual img { min-height: 360px; }
  .community-actions { flex-direction: column; align-items: flex-start; }
  .contact-form { padding: 24px; }
  .hero-content .eyebrow { display: none; }
  .mobile-cta-bar { left: 12px; right: 12px; bottom: 12px; }
  .whatsapp-fab.visible,
  .whatsapp-fab { bottom: 86px; right: 18px; }
}

@media (max-width: 480px) {
  .container { width: min(100% - 24px, 440px); }
  .section { padding: 62px 0; }
  .hero-campaign-body {
    padding: 14px;
  }
  .media-inner,
  .finance-inner {
    gap: 30px;
  }
  .residence-poster img,
  .community-visual img {
    min-height: 300px;
  }
  .residence-card img { height: 320px; }
  .residence-card > div,
  .residence-benefits article,
  .community-grid article {
    padding: 20px;
  }
  .finance-visuals > img { height: 360px; }
  .newsletter-form {
    width: 100%;
    flex-direction: column;
  }
  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }
}

@media (max-width: 380px) {
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.55rem; }
  .btn { padding: 12px 16px; }
  .residence-card img { height: 280px; }
  .finance-grid article { padding: 14px; }
  .mobile-cta-bar {
    grid-template-columns: 1fr 1.05fr 42px;
    gap: 6px;
  }
}

@media (max-height: 560px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 92px 0 44px;
  }
  .hero-inner {
    grid-template-columns: 1fr 280px;
    gap: 28px;
  }
  .hero-campaign img { height: 250px; }
  .hero-scroll { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
  .hero-bg { transform: none !important; }
}

@keyframes dsMenuIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ══════════════════════════════════════════════════════
   ENHANCEMENTS — Phase 2
   ══════════════════════════════════════════════════════ */

/* ── Page Load Fade-in ──────────────────────────────── */
@keyframes dsPageIn { from { opacity: 0; } to { opacity: 1; } }
body { animation: dsPageIn 0.45s var(--ease) both; }

/* ── Brand Tagline ──────────────────────────────────── */
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.brand-tagline {
  font-size: 0.58rem;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1;
  transition: color var(--t);
}
.site-header.scrolled .brand-tagline { color: var(--muted); }
.site-footer .brand-tagline { color: rgba(255,255,255,0.35); }

/* ── Service Card Accent Numbers ────────────────────── */
.service-card { position: relative; overflow: hidden; }
.svc-num {
  position: absolute;
  top: 10px;
  right: 14px;
  font-family: "Playfair Display", serif;
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--blue);
  opacity: 0.06;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* ── Property Card Hover Overlay ────────────────────── */
.prop-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 82, 160, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  z-index: 2;
  cursor: pointer;
  border-radius: var(--radius) var(--radius) 0 0;
}
.prop-card:hover .prop-overlay { opacity: 1; }
.prop-overlay span {
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 9px 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  letter-spacing: 0.04em;
}

/* ── Property Detail Modal ──────────────────────────── */
.prop-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.prop-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.prop-modal {
  background: var(--surface);
  border-radius: 20px;
  width: min(880px, 100%);
  max-height: 88vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35);
  transform: scale(0.95) translateY(16px);
  transition: transform 0.35s var(--ease);
}
.prop-modal-overlay.open .prop-modal {
  transform: scale(1) translateY(0);
}
.prop-modal-img {
  position: relative;
  overflow: hidden;
  min-height: 340px;
}
.prop-modal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.prop-modal-img .prop-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
}
.prop-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background var(--t);
}
.prop-modal-close:hover { background: rgba(0, 0, 0, 0.75); }
.prop-modal-body {
  padding: 32px 28px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.prop-modal-price {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.2;
}
.prop-modal-title {
  font-family: "Playfair Display", serif;
  font-size: 1.45rem;
  color: var(--text);
  line-height: 1.2;
  margin: 0;
}
.prop-modal-location {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}
.prop-modal-divider {
  width: 36px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  flex-shrink: 0;
}
.prop-modal-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.prop-modal-meta span {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 11px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}
.prop-modal-desc {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--muted);
  flex: 1;
  margin: 0;
}
.prop-modal-actions {
  display: flex;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
@media (max-width: 680px) {
  .prop-modal { grid-template-columns: 1fr; max-height: 92vh; }
  .prop-modal-img { min-height: 210px; }
  .prop-modal-body { padding: 22px 18px; }
  .prop-modal-actions { flex-direction: column; }
}

/* ── Star Ratings ───────────────────────────────────── */
.stars {
  color: var(--blue);
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

/* ── Footer Social Links ────────────────────────────── */
.social-links {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.social-links a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
  transition: background var(--t), color var(--t), border-color var(--t);
}
.social-links a:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.social-links svg { width: 15px; height: 15px; }

/* ── Footer Newsletter Row ──────────────────────────── */
.footer-newsletter-row {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-newsletter-row strong {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  margin-bottom: 3px;
}
.footer-newsletter-row p {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.82rem;
  margin: 0;
}
.newsletter-form {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.newsletter-form input {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 9px 14px;
  color: #fff;
  font-size: 0.86rem;
  font-family: "Inter", sans-serif;
  outline: none;
  width: 220px;
  transition: border-color var(--t);
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.28); }
.newsletter-form input:focus { border-color: var(--blue); }
.newsletter-form button {
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 16px;
  font-size: 0.86rem;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  transition: background var(--t);
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--blue-light); }
@media (max-width: 640px) {
  .footer-newsletter-row { flex-direction: column; align-items: flex-start; }
  .newsletter-form { width: 100%; }
  .newsletter-form input { width: 0; flex: 1; }
}

/* ── Pillars Block ──────────────────────────────────── */
/* ── Pillars Block ──────────────────────────────────── */
.pillars-block {
  margin-top: 52px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.pillars-intro {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 28px;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Card */
.pillar {
  position: relative;
  padding: 28px 22px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease),
              box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  cursor: default;
}
.pillar:hover {
  background: var(--blue-dim);
  border-color: rgba(26,82,160,0.3);
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(26,82,160,0.10);
}

/* Animated top accent bar */
.pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--blue-light, #4a90e2));
  border-radius: 0 2px 2px 0;
  transition: width 0.75s var(--ease) 0.1s;
}
.pillar.visible::before { width: 100%; }

/* Icon bubble */
.pillar-icon-wrap {
  width: 42px; height: 42px;
  background: var(--blue-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--blue);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.pillar:hover .pillar-icon-wrap {
  background: rgba(26,82,160,0.18);
  transform: scale(1.08);
}
.pillar-icon-wrap svg {
  width: 20px; height: 20px;
  stroke: var(--blue);
}

.pillar h4 {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.pillar p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 767px) {
  .pillars-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* ── Map Embed ──────────────────────────────────────── */
.map-wrap {
  margin-top: 24px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 200px;
  border: 0;
}

/* ══════════════════════════════════════════════════════
   DYNAMICS — Phase 3
   ══════════════════════════════════════════════════════ */

/* ── Hero H1 Word Reveal ────────────────────────────── */
@keyframes wordUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-content h1 .word {
  display: inline-block;
  opacity: 0;
  animation: wordUp 0.65s var(--ease) forwards;
}

/* ── Hero Parallax ──────────────────────────────────── */
.hero { overflow: hidden; }
.hero-bg { will-change: transform; }

/* ── Ken Burns — Property Card Photo Zoom ───────────── */
.prop-img-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 7s var(--ease);
  transform: scale(1);
  will-change: transform;
}
.prop-card:hover .prop-img-bg { transform: scale(1.07); }

/* ── Testimonial Cycling Highlight ─────────────────── */
.testimonial {
  transition: box-shadow var(--t), transform 0.4s var(--ease),
              border-color 0.4s var(--ease);
}
.testimonial.featured {
  border-color: var(--blue-light);
  box-shadow: 0 0 0 2px var(--blue-light),
              0 24px 60px rgba(26, 82, 160, 0.12);
  transform: translateY(-5px);
}

/* ── Eyebrow Animated Underline ─────────────────────── */
.eyebrow {
  background-image: linear-gradient(var(--blue), var(--blue));
  background-position: left bottom;
  background-size: 0% 2px;
  background-repeat: no-repeat;
  padding-bottom: 4px;
  transition: background-size 0.7s var(--ease);
}
.eyebrow.eye-visible { background-size: 100% 2px; }

/* ── Back to Top ────────────────────────────────────── */
.back-top {
  position: fixed;
  bottom: 92px;
  right: 28px;
  width: 40px;
  height: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  z-index: 199;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
              box-shadow var(--t);
}
.back-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.back-top:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.15); }
.back-top svg { width: 18px; height: 18px; stroke: var(--blue); }

/* ── Mobile Sticky CTA Bar ──────────────────────────── */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 150;
  gap: 10px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  transform: translateY(100%);
  transition: transform 0.35s var(--ease);
}
.mobile-cta-bar.visible { transform: translateY(0); }
@media (max-width: 767px) {
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 72px; }
  .whatsapp-fab { display: none; }
}
.mcta-call {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  min-height: 42px;
}
.mcta-call svg { width: 15px; height: 15px; stroke: var(--blue); }
.mcta-contact {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  background: var(--blue);
  color: #fff;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  text-align: center;
}
.mcta-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: #25D366;
  border-radius: 10px;
  color: #fff;
}
.mcta-whatsapp svg { width: 20px; height: 20px; }

@media (max-width: 767px) {
  .mobile-cta-bar {
    left: 12px;
    right: 12px;
    bottom: 12px;
    border: 1px solid var(--border);
    border-radius: 14px;
    display: flex;
    padding: 9px;
    padding-bottom: calc(9px + env(safe-area-inset-bottom));
  }
  .back-top { bottom: 92px; right: 18px; }
}

@media (max-width: 380px) {
  .mobile-cta-bar { gap: 6px; }
  .mcta-call {
    padding: 0 10px;
    font-size: 0.76rem;
  }
  .mcta-contact { font-size: 0.8rem; }
}

/* ── Filter Result Count ────────────────────────────── */
.filter-result {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 10px 0 0;
  min-height: 18px;
}

/* ── Filter Tab Count Badge ─────────────────────────── */
.tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-dim);
  color: var(--blue);
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 700;
  min-width: 18px;
  height: 16px;
  padding: 0 5px;
  margin-left: 5px;
  vertical-align: middle;
}
.ftab.active .tab-count {
  background: rgba(255,255,255,0.28);
  color: #fff;
}

/* ── Team Section ───────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--t) var(--ease), box-shadow var(--t);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hov); }
.team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blue-dim);
  color: var(--blue);
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-family: "Playfair Display", serif;
  letter-spacing: 0.05em;
}
.team-card h3 { font-size: 1.05rem; margin-bottom: 5px; }
.team-role {
  font-size: 0.72rem;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 600;
  margin-bottom: 14px;
}
.team-card > p:last-child {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.72;
  margin: 0;
}
@media (max-width: 768px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ── FAQ Accordion ──────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  padding: 20px 0;
  font-family: "Inter", sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: color var(--t);
}
.faq-q:hover { color: var(--blue); }
.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--light);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 400;
  color: var(--blue);
  transition: transform 0.35s var(--ease), background var(--t);
  line-height: 1;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
  padding-bottom: 0;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding-bottom: 20px;
}
.faq-a p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

/* ── WhatsApp FAB Pulse Ring ────────────────────────── */
.whatsapp-fab { overflow: visible; }
.whatsapp-fab::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  opacity: 0;
  animation: fabPulse 2.8s ease-out infinite;
  z-index: -1;
}
@keyframes fabPulse {
  0%   { transform: scale(1);   opacity: 0.45; }
  70%  { transform: scale(1.75); opacity: 0; }
  100% { transform: scale(1.75); opacity: 0; }
}
