:root {
  /* Maroon header/footer + gold accent — homepage palette for all pages */
  --brand-maroon: #330407;
  --brand-maroon-dark: #220305;
  --brand-maroon-light: #4a0a0f;
  --brand-maroon-dull: #330407;
  --header-bg: #330407;
  --header-bg-dark: #220305;
  --footer-bg: rgba(51, 4, 7, 0.96);
  --brand-black: #220305;
  --brand-black-soft: #330407;
  /* Side Enquire/Chat — same maroon + gold as brand (no blue) */
  --side-blue: #330407;
  --side-blue-light: #4a0a0f;
  --side-blue-dark: #220305;
  /* Remap former "blue" theme tokens to brown/maroon (site-wide) */
  --blue: #330407;
  --blue-light: #4a0a0f;
  --blue-dark: #220305;
  --teal: #5c3317;
  --teal-light: #8a5a2b;
  --maroon: #330407;
  --maroon-dark: #220305;
  --wine: #330407;
  --wine-dark: #220305;
  --gold: #c9a24c;
  --gold-light: #e0c068;
  --gold-dark: #a8842e;
  --yellow: #d4af37;
  --yellow-light: #e8c97a;
  --yellow-glow: rgba(201, 162, 76, 0.4);
  --cream: #f7f3ea;
  --ivory: #faf7f0;
  --ink: #1a2a3a;
  --text-dark: #1a2a3a;
  --text-light: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-bg-strong: rgba(255, 255, 255, 0.72);
  --glass-border: #5c3317;
  --glass-border-dark: rgba(255, 255, 255, 0.14);
  --glass-shadow: 0 12px 40px rgba(51, 4, 7, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.65);
  --glass-blur: blur(18px) saturate(1.35);
}

.theme-sunrise {
  --wine: #330407;
  --wine-dark: #220305;
  --gold: #c9a24c;
  --gold-light: #e0c068;
  --ivory: #faf7f0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #f7f3ea;
  color: var(--ink);
  font-family: "Roboto", system-ui, -apple-system, sans-serif;
}

.font-heading {
  font-family: "Poppins", system-ui, -apple-system, sans-serif;
}

.font-body {
  font-family: "Roboto", system-ui, -apple-system, sans-serif;
}

.site-shell {
  background-image: none;
  background-color: #f7f3ea;
  background-attachment: scroll;
}

/* Shared frosted glass panel + premium frame */
.glass,
.surface-card,
.who-card,
.why-card,
.stat-card,
.team-card,
.google-review-card,
.process-card,
.glass-card,
.project-card,
.contact-card,
.glass-spin-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1.5px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}

.glass::before,
.surface-card::before,
.who-card::before,
.why-card::before,
.stat-card::before,
.team-card::before,
.google-review-card::before,
.process-card::before,
.glass-card::before,
.project-card::before,
.contact-card::before,
.glass-spin-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.35) 48%,
    transparent 62%
  );
  transform: translateX(-120%);
  transition: transform 0.7s ease;
  z-index: 1;
}

.glass:hover::before,
.surface-card:hover::before,
.who-card:hover::before,
.why-card:hover::before,
.stat-card:hover::before,
.team-card:hover::before,
.google-review-card:hover::before,
.process-card:hover::before,
.glass-card:hover::before,
.project-card:hover::before,
.contact-card:hover::before,
.glass-spin-card:hover::before {
  transform: translateX(120%);
}

.glass:hover,
.surface-card:hover,
.who-card:hover,
.why-card:hover,
.stat-card:hover,
.team-card:hover,
.google-review-card:hover,
.process-card:hover,
.glass-card:hover,
.project-card:hover,
.contact-card:hover,
.glass-spin-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: #3d220f;
  background: linear-gradient(160deg, #fffef8 0%, #fff8e1 100%);
  box-shadow:
    0 22px 48px rgba(92, 51, 23, 0.18),
    0 0 0 2px rgba(92, 51, 23, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.glass > *,
.surface-card > *,
.who-card > *,
.why-card > *,
.stat-card > *,
.team-card > *,
.google-review-card > *,
.process-card > *,
.glass-card > *,
.project-card > *,
.contact-card > *,
.glass-spin-card > * {
  position: relative;
  z-index: 2;
}

.surface-card {
  border: 1.5px solid var(--glass-border);
  background: var(--glass-bg-strong);
  box-shadow: var(--glass-shadow);
}

.stat-card {
  transition: transform 0.35s ease-out, box-shadow 0.35s ease-out, border-color 0.35s ease-out, background 0.35s ease-out;
  cursor: default;
}

.stat-card:hover .font-heading {
  color: var(--blue-light);
}

.who-card {
  background: var(--glass-bg-strong);
}

.section-pad {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.glass-section {
  background: transparent;
  backdrop-filter: none;
}

.hero-pad {
  padding-top: 9rem;
  padding-bottom: 7rem;
}

.project-visual-garden {
  background:
    radial-gradient(circle at 18% 20%, rgba(201, 162, 76, 0.28), transparent 24%),
    linear-gradient(140deg, #220305 0%, #330407 38%, #5c3317 72%, #f7f3ea 100%);
}

.project-visual-elite {
  background:
    radial-gradient(circle at 50% 10%, rgba(201, 162, 76, 0.28), transparent 18%),
    linear-gradient(180deg, #220305 0%, #330407 42%, #4a0a0f 72%, #220305 100%);
}

.reveal-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-step {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s ease-out,
    transform 0.5s ease-out,
    box-shadow 0.35s ease-out,
    border-color 0.35s ease-out;
}

.reveal-step.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-step:nth-child(odd) {
  transform: translateX(-18px) translateY(16px);
}

.reveal-step:nth-child(even) {
  transform: translateX(18px) translateY(16px);
}

.reveal-step.is-visible:nth-child(odd),
.reveal-step.is-visible:nth-child(even) {
  transform: translateY(0) translateX(0);
}

.reveal-step:nth-child(1) { transition-delay: 0ms; }
.reveal-step:nth-child(2) { transition-delay: 120ms; }
.reveal-step:nth-child(3) { transition-delay: 240ms; }
.reveal-step:nth-child(4) { transition-delay: 360ms; }
.reveal-step:nth-child(5) { transition-delay: 480ms; }

.process-card {
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1.5px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: transform 0.35s ease-out, box-shadow 0.35s ease-out, border-color 0.35s ease-out, background 0.35s ease-out;
}

.process-card:hover .process-num {
  transform: scale(1.08);
  box-shadow: 0 10px 22px rgba(245, 197, 24, 0.35);
}

.process-card .process-num {
  box-shadow: 0 8px 18px rgba(51, 4, 7, 0.28);
  transition: transform 0.35s ease-out, box-shadow 0.35s ease-out;
}

@media (min-width: 1024px) {
  #processSteps {
    position: relative;
  }

  #processSteps::before {
    content: "";
    position: absolute;
    top: 2.6rem;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(
      90deg,
      transparent,
      color-mix(in srgb, var(--gold) 55%, transparent),
      color-mix(in srgb, var(--blue) 25%, transparent),
      color-mix(in srgb, var(--gold) 55%, transparent),
      transparent
    );
    opacity: 0;
    transform: scaleX(0.7);
    transform-origin: left center;
    transition: opacity 0.55s ease-out, transform 0.55s ease-out;
    pointer-events: none;
    z-index: 0;
  }

  #processSteps.is-visible::before {
    opacity: 1;
    transform: scaleX(1);
  }

  #processSteps .process-card {
    position: relative;
    z-index: 1;
  }
}

.hero-fade {
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.5s ease-out forwards;
}

.hero-fade-delay-1 { animation-delay: 0.1s; }
.hero-fade-delay-2 { animation-delay: 0.2s; }
.hero-fade-delay-3 { animation-delay: 0.3s; }

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ken-burns {
  animation: kenBurns 20s linear infinite alternate;
  will-change: transform;
}

/* Clear fixed sticky header so hero isn't covered */
.main-below-header {
  padding-top: 4.35rem; /* mobile header ~70px */
  /* Maroon fill in the offset so no gold strip under header */
  background: linear-gradient(
    to bottom,
    var(--header-bg) 0,
    var(--header-bg) 4.35rem,
    transparent 4.35rem
  );
}

@media (min-width: 640px) {
  .main-below-header {
    padding-top: 5.75rem;
    background: linear-gradient(
      to bottom,
      var(--header-bg) 0,
      var(--header-bg) 5.75rem,
      transparent 5.75rem
    );
  }
}

@media (min-width: 1024px) {
  .main-below-header {
    padding-top: 6.75rem;
    background: linear-gradient(
      to bottom,
      var(--header-bg) 0,
      var(--header-bg) 6.75rem,
      transparent 6.75rem
    );
  }
}

/* Hero image slideshow */
.hero-slideshow {
  position: relative;
  background: #1a0a0c;
  width: 100%;
  min-height: 0;
  max-height: none;
  overflow: hidden;
}

.hero-slides {
  position: relative;
  width: 100%;
}

/* Inactive slides overlay; active slide is in-flow so height = natural image */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease-in-out;
  pointer-events: none;
  overflow: hidden;
}

.hero-slide.is-active {
  position: relative;
  inset: auto;
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.hero-slide-img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: unset;
  object-position: center center;
  transform: none !important;
  animation: none !important;
}

.hero-slide:not(.is-active) .hero-slide-img {
  height: 100%;
  object-fit: cover;
}

@media (min-width: 640px) {
  .hero-slideshow {
    min-height: 88vh;
    background: #1a0a0c;
  }

  .hero-slides {
    position: absolute;
    inset: 0;
  }

  .hero-slide,
  .hero-slide.is-active {
    position: absolute;
    inset: 0;
  }

  .hero-slide-img,
  .hero-slide:not(.is-active) .hero-slide-img {
    width: 100%;
    height: 100%;
    min-height: 88vh;
    object-fit: cover;
    object-position: center center;
  }

  .hero-slide-img.ken-burns {
    animation: kenBurns 20s linear infinite alternate !important;
    will-change: transform;
  }
}

.hero-slideshow-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  z-index: 3;
  display: flex;
  translate: -50% 0;
  gap: 0.5rem;
}

.hero-dot {
  height: 0.5rem;
  width: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, width 0.25s ease;
}

.hero-dot.is-active {
  width: 1.35rem;
  background: var(--gold);
  border-color: var(--gold);
}

.hero-dot:hover {
  background: rgba(201, 162, 76, 0.75);
}

@keyframes kenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}

.site-header {
  width: 100%;
  background: var(--header-bg);
  border-bottom: 1px solid rgba(201, 162, 76, 0.18);
  box-shadow: 0 4px 20px rgba(51, 4, 7, 0.35);
  transition: background 0.35s ease-out, box-shadow 0.35s ease-out;
  padding-top: 0;
}

.site-header .header-inner {
  width: 100%;
  max-width: 100%;
  min-height: 64px;
  padding: 0.4rem 0.75rem;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: min-height 0.35s ease-out, padding 0.35s ease-out;
}

.site-header.is-scrolled {
  background: var(--header-bg-dark);
  box-shadow: 0 6px 24px rgba(51, 4, 7, 0.4);
}

.site-header.is-scrolled .header-inner {
  min-height: 72px;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  background: transparent;
  box-shadow: none;
}

@media (min-width: 640px) {
  .site-header .header-inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .site-header .header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.75rem;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }

  .site-header .header-inner > .brand-link {
    justify-self: start;
  }

  .site-header .header-inner > .nav-pill {
    justify-self: center;
  }

  .site-header .header-inner > .header-actions {
    justify-self: end;
    margin-left: 0;
  }
}

.brand-link {
  flex: 0 1 auto;
  z-index: 2;
  min-width: 0;
  max-width: min(52vw, 11.5rem);
}

.header-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  line-height: 0;
  box-shadow: none;
  outline: none;
}

.header-logo {
  display: block;
  height: 3.35rem;
  width: auto;
  max-width: 100%;
  aspect-ratio: 1024 / 683;
  object-fit: contain;
  object-position: left center;
  background: transparent;
}

@media (min-width: 480px) {
  .header-logo {
    height: 3.85rem;
  }

  .brand-link {
    max-width: min(48vw, 14rem);
  }
}

@media (min-width: 640px) {
  .header-logo {
    height: 5.05rem;
  }

  .brand-link {
    flex: 0 0 auto;
    max-width: 19.5rem;
  }
}

@media (min-width: 1024px) {
  .brand-link {
    max-width: 22rem;
  }

  .header-logo {
    height: 5.85rem;
  }
}

.brand-link:hover .header-logo {
  transform: scale(1.02);
  transition: transform 0.3s ease-out;
  filter: drop-shadow(0 0 14px rgba(201, 162, 76, 0.45));
}

.header-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .header-actions {
    gap: 0.75rem;
  }
}

/* Cert logos: hide on phones — Tailwind `flex` must not override this */
.header-certs {
  display: none !important;
  flex-shrink: 0;
  align-items: center;
  gap: 0.4rem;
}

.header-cert-img {
  display: block;
  width: auto;
  height: 1.75rem;
  object-fit: contain;
}

.header-cert-rera {
  max-width: 72px;
}

.header-cert-hmda {
  max-width: 58px;
  border-radius: 0.25rem;
  background: #fff;
  padding: 0.1rem 0.15rem;
}

@media (min-width: 640px) {
  .header-certs {
    display: flex !important;
    gap: 0.5rem;
  }

  .header-cert-img {
    height: 2.25rem;
  }

  .header-cert-rera {
    max-width: 110px;
  }

  .header-cert-hmda {
    max-width: 90px;
    padding: 0.15rem 0.25rem;
  }
}

.logo-frame {
  display: none;
}

/* Floating pill nav */
.nav-pill {
  gap: 0.2rem;
  padding: 0.28rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-radius: 9999px;
  padding: 0.55rem 1.05rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.nav-item-btn {
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.nav-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.nav-item.is-active {
  color: var(--blue-dark);
  background: linear-gradient(135deg, #ffffff, #e8f2fc);
  box-shadow: 0 8px 20px rgba(51, 4, 7, 0.2);
}

.nav-item.is-active:hover {
  color: #000;
  background: linear-gradient(135deg, #f0d78a, var(--gold-light));
}

.nav-chevron {
  transition: transform 0.25s ease;
  opacity: 0.8;
}

.group:hover .nav-chevron,
#projectsDropdownBtn[aria-expanded="true"] .nav-chevron {
  transform: rotate(180deg);
}

.nav-drop-link {
  display: block;
  border-radius: 0.85rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.88);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nav-drop-link:hover {
  background: rgba(212, 169, 74, 0.14);
  color: var(--gold-light);
  transform: translateX(3px);
}

.nav-cta {
  box-shadow: 0 8px 22px rgba(212, 169, 74, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(212, 169, 74, 0.4);
}

.mobile-menu-btn {
  border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent);
  background: color-mix(in srgb, var(--brand-maroon) 85%, transparent);
  color: var(--gold-light);
  backdrop-filter: blur(10px);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.mobile-menu-btn:hover {
  background: var(--brand-maroon);
  border-color: var(--gold);
  color: var(--gold);
}

.mobile-menu-panel {
  background: linear-gradient(165deg, var(--brand-maroon-light) 0%, var(--brand-maroon) 55%, var(--brand-maroon-dark) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1.5px solid var(--gold);
  box-shadow: 0 18px 40px rgba(34, 3, 5, 0.45), inset 0 1px 0 color-mix(in srgb, var(--gold) 25%, transparent);
}

.mobile-nav-link {
  display: block;
  border-radius: 0.85rem;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  transition: background 0.25s ease, color 0.25s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  background: color-mix(in srgb, var(--gold) 22%, transparent);
  color: var(--gold);
}

.mobile-nav-sub {
  display: block;
  border-radius: 0.75rem;
  padding: 0.55rem 1rem 0.55rem 1.25rem;
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--gold-light) 75%, white);
  transition: background 0.25s ease, color 0.25s ease;
}

.mobile-nav-sub:hover {
  background: color-mix(in srgb, var(--gold) 14%, transparent);
  color: var(--gold);
}

.site-footer,
.site-sticky {
  background: var(--footer-bg);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
}

#mobileMenu.mobile-menu {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 0;
}

.footer-logo-wrap {
  height: 4.5rem;
  width: 6.5rem;
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent);
  background: #000;
  padding: 0.15rem 0.25rem;
}

.footer-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.footer-map-frame {
  position: relative;
  height: 120px;
  background: #0a0a0a;
}

.footer-map-frame iframe {
  display: block;
  height: 100%;
  width: 100%;
  border: 0;
  filter: grayscale(0.15) contrast(1.05);
  pointer-events: none;
}

@media (min-width: 640px) {
  .footer-map-frame {
    height: 140px;
  }
}

@media (max-width: 639px) {
  .footer-grid {
    gap: 1.25rem;
    padding-top: 2rem;
    padding-bottom: 1.75rem;
  }

  .footer-brand p:last-child {
    max-width: 36ch;
    line-height: 1.55;
  }

  .footer-logo-wrap {
    height: 3.5rem;
    width: 5.25rem;
  }

  .footer-col + .footer-col {
    padding-top: 0.15rem;
  }

  .footer-map-frame {
    height: 110px;
  }
}

.brand-name {
  color: var(--gold);
}

.brand-heading {
  color: var(--blue);
}

.nav-link:hover {
  color: var(--gold);
}

.nav-dropdown {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(18, 6, 8, 0.72);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.projects-menu {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease-out, visibility 0.25s ease-out;
}

.projects-menu.is-open,
.group:hover .projects-menu,
.group:focus-within .projects-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  border-color: color-mix(in srgb, var(--gold) 20%, transparent);
}

.btn-accent {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--brand-maroon-dark);
}

.btn-accent:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
}

.btn-outline {
  border: 1px solid var(--gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--blue-dark);
}

.form-input {
  border-color: color-mix(in srgb, var(--blue) 15%, transparent);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.form-input:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.78);
}

.site-sticky {
  border-color: color-mix(in srgb, var(--gold) 20%, transparent);
}

.project-card {
  overflow: hidden;
}

/* Homepage running projects — compact side-by-side on mobile */
.home-projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .home-projects-grid {
    gap: 1.5rem;
  }
}

.home-projects-grid .project-card-media {
  height: 7.5rem;
  padding: 0.75rem;
}

.home-projects-grid .project-card-media .font-heading {
  font-size: 1rem;
  line-height: 1.2;
}

.home-projects-grid .project-card-media p.text-xs {
  display: none;
}

.home-projects-grid .project-card-media span.absolute {
  left: 0.5rem;
  top: 0.5rem;
  padding: 0.2rem 0.45rem;
  font-size: 0.55rem;
  letter-spacing: 0.1em;
}

.home-projects-grid .project-card > .relative.z-10 {
  padding: 0.75rem;
}

.home-projects-grid .project-card h3 {
  font-size: 0.95rem;
  line-height: 1.25;
}

.home-projects-grid .project-card-price {
  margin-top: 0.35rem;
  font-size: 0.85rem;
}

.home-projects-grid .project-card-price span {
  font-size: 0.65rem;
}

.home-projects-grid .home-project-desc,
.home-projects-grid .home-project-link {
  display: none;
}

.home-projects-grid .project-card button.open-enquiry {
  margin-top: 0.4rem;
  font-size: 0.7rem;
}

@media (min-width: 640px) {
  .home-projects-grid .project-card-media {
    height: 11rem;
    padding: 1.25rem;
  }

  .home-projects-grid .project-card-media .font-heading {
    font-size: 1.5rem;
  }

  .home-projects-grid .project-card-media p.text-xs {
    display: block;
  }

  .home-projects-grid .project-card > .relative.z-10 {
    padding: 1.25rem;
  }

  .home-projects-grid .project-card h3 {
    font-size: 1.35rem;
  }

  .home-projects-grid .project-card-price {
    font-size: 1.05rem;
  }

  .home-projects-grid .home-project-desc,
  .home-projects-grid .home-project-link {
    display: block;
    font-size: 0.8rem;
  }

  .home-projects-grid .project-card button.open-enquiry {
    margin-top: 0.75rem;
    font-size: 0.875rem;
  }
}

.home-cta-gold {
  background: #f7f3ea;
  color: var(--brand-maroon);
  border-top: 1px solid color-mix(in srgb, #5c3317 20%, transparent);
}

.trust-strip-gold {
  background: #f7f3ea;
}

@media (min-width: 768px) {
  .home-projects-grid .project-card-media {
    height: 14rem;
  }
}

.project-card-link {
  position: relative;
  cursor: pointer;
}

.project-card-stretch {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.project-card-link > *:not(.project-card-stretch) {
  pointer-events: none;
}

.project-card-link .open-enquiry {
  position: relative;
  z-index: 4;
  pointer-events: auto;
  cursor: pointer;
}

.project-card-price {
  margin-top: 0.75rem;
  font-family: var(--font-heading, "Poppins", sans-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--blue, #330407);
}

.project-card-price span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(26, 42, 58, 0.55);
}

.project-card-media img {
  transition: transform 0.3s ease-out;
}

.project-card:hover .project-card-media img {
  transform: scale(1.05);
}

.why-card {
  background: var(--glass-bg-strong);
}

.hero-glass {
  background: rgba(18, 6, 8, 0.38);
}

.glass-dark {
  background: rgba(26, 10, 12, 0.45);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.enquiry-modal-panel {
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 30px 80px rgba(26, 10, 12, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.faq-content[hidden] {
  display: none;
}

.nav-hidden {
  display: none;
}

@media (max-width: 1023px) {
  .mobile-sticky-space {
    padding-bottom: 5rem;
  }

  .mobile-sticky-space.has-cookie {
    padding-bottom: 11rem;
  }
}

@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 169, 74, 0.45); }
  50% { box-shadow: 0 0 0 10px rgba(212, 169, 74, 0); }
}

@keyframes chatPop {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes chatPopRight {
  from { opacity: 0; transform: translateY(calc(-50% + 14px)) scale(0.96); }
  to { opacity: 1; transform: translateY(-50%) scale(1); }
}

@keyframes cookieSlide {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-panel {
  position: fixed;
  z-index: 85;
  display: flex;
  flex-direction: column;
  width: min(380px, calc(100vw - 2rem));
  height: min(520px, 72vh);
  overflow: hidden;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 18px 48px rgba(51, 4, 7, 0.35);
  animation: chatPop 0.3s ease forwards;
}

.chat-panel[hidden] {
  display: none !important;
}

.chat-panel-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  display: flex;
  height: 1.75rem;
  width: 1.75rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9999px;
  background: rgba(51, 4, 7, 0.08);
  color: var(--brand-maroon);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.chat-panel-close:hover {
  background: rgba(51, 4, 7, 0.14);
}

.chat-panel--side .chat-panel-close {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.chat-panel--side .chat-panel-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.chat-panel-messages {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 0.85rem;
  background: #f7f3f0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.chat-panel-head {
  flex-shrink: 0;
  padding: 0.85rem 2.5rem 0.85rem 1rem;
  border-bottom: 1px solid rgba(51, 4, 7, 0.08);
  background: var(--header-bg);
  color: #fff;
}

.chat-panel-head p {
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.chat-panel-head h3 {
  margin-top: 0.2rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
}

.chat-msg {
  max-width: 88%;
  border-radius: 1rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.875rem;
  line-height: 1.45;
}

.chat-msg--bot {
  align-self: flex-start;
  background: #fff;
  color: #1a1a1a;
  box-shadow: 0 2px 8px rgba(51, 4, 7, 0.08);
}

.chat-msg--user {
  align-self: flex-end;
  background: var(--brand-maroon);
  color: #fff;
}

.chat-panel-quick {
  display: flex;
  flex-wrap: wrap;
  flex-shrink: 0;
  gap: 0.45rem;
  padding: 0.65rem 0.85rem;
  border-top: 1px solid rgba(51, 4, 7, 0.08);
  background: #fff;
}

.chat-panel-quick button {
  border: 0;
  border-radius: 9999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brand-maroon);
  background: rgba(201, 162, 76, 0.22);
  cursor: pointer;
}

.chat-panel-quick button:hover {
  background: rgba(201, 162, 76, 0.35);
}

.chat-panel-form {
  display: flex;
  flex-shrink: 0;
  gap: 0.5rem;
  padding: 0.75rem 0.85rem;
  border-top: 1px solid rgba(51, 4, 7, 0.08);
  background: #fff;
}

.chat-panel-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(51, 4, 7, 0.15);
  border-radius: 9999px;
  padding: 0.55rem 0.85rem;
  font-size: 0.875rem;
  outline: none;
}

.chat-panel-form input:focus {
  border-color: var(--gold);
}

.chat-panel-form button[type="submit"] {
  flex-shrink: 0;
  border: 0;
  border-radius: 9999px;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: var(--brand-maroon);
  cursor: pointer;
}

.chat-panel-form button[type="submit"]:hover {
  background: var(--brand-maroon-dark);
}

.cookie-banner {
  animation: cookieSlide 0.45s ease forwards;
}

.chat-fab {
  animation: floatSoft 4s ease-in-out infinite;
}

.chat-fab-ping {
  animation: pulseGlowMaroon 2s ease-in-out infinite;
}

/* Mid-right floating Enquire + Chat — no panel, spaced strips */
.side-action-stack {
  position: fixed;
  top: 50%;
  right: 0.75rem;
  z-index: 85;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  transform: translateY(-50%);
  min-width: 0;
}

.side-action-btn {
  display: flex;
  width: auto;
  min-width: 6.75rem;
  height: auto;
  min-height: 2.45rem;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem;
  border-radius: 9999px;
  padding: 0.5rem 0.95rem 0.5rem 0.7rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--gold-light);
  background: linear-gradient(145deg, var(--brand-maroon-light), var(--brand-maroon));
  border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
  box-shadow: 0 6px 18px rgba(51, 4, 7, 0.35);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.side-action-btn:hover {
  transform: translateX(-3px);
  background: linear-gradient(145deg, var(--brand-maroon), var(--brand-maroon-dark));
  color: var(--gold);
  box-shadow: 0 8px 20px rgba(51, 4, 7, 0.42);
}

.side-action-btn.is-active {
  background: linear-gradient(145deg, var(--gold), var(--gold-light));
  color: var(--brand-maroon-dark);
  border-color: var(--gold-light);
}

.side-action-btn__icon {
  font-size: 0.95rem;
  line-height: 1;
  flex-shrink: 0;
}

.chat-panel--side {
  top: 50%;
  right: 8.5rem;
  left: auto;
  bottom: auto;
  transform: translateY(-50%);
  animation: chatPopRight 0.3s ease forwards;
  z-index: 90;
}

@media (min-width: 768px) {
  .side-action-stack {
    right: 1rem;
    gap: 0.85rem;
  }

  .side-action-btn {
    min-width: 7.5rem;
    font-size: 0.68rem;
    padding: 0.55rem 1.05rem 0.55rem 0.8rem;
  }

  .chat-panel--side {
    right: 9.5rem;
  }
}

@media (min-width: 1024px) {
  .side-action-stack {
    right: 1.25rem;
  }

  .chat-panel--side {
    right: 10rem;
  }
}

@media (max-width: 640px) {
  .side-action-stack {
    top: auto;
    bottom: 5.5rem;
    right: 0.75rem;
    gap: 0.65rem;
    /* Avoid iOS compositor ghosts over the hero */
    transform: translateZ(0);
    backface-visibility: hidden;
  }

  .side-action-btn {
    min-width: 6.25rem;
    font-size: 0.58rem;
    padding: 0.45rem 0.8rem 0.45rem 0.6rem;
    background: linear-gradient(145deg, var(--brand-maroon-light), var(--brand-maroon));
    border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
    color: var(--gold-light);
    box-shadow: 0 6px 18px rgba(51, 4, 7, 0.35);
  }

  .side-action-btn:hover {
    transform: none;
    background: linear-gradient(145deg, var(--brand-maroon), var(--brand-maroon-dark));
  }

  /* Kill float/pulse on mobile — causes ghost trails on Safari/Chrome */
  .chat-fab,
  .chat-fab-ping {
    animation: none !important;
  }

  .chat-panel--side {
    top: auto;
    right: 1rem;
    left: 1rem;
    bottom: 6.5rem;
    transform: none;
    animation: chatPop 0.3s ease forwards;
    max-height: min(420px, 52vh);
    width: auto;
  }
}

@keyframes pulseGlowMaroon {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 162, 76, 0.28); }
  50% { box-shadow: 0 0 0 8px rgba(201, 162, 76, 0); }
}

.cookie-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(26, 10, 12, 0.72);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.float-soft {
  animation: floatSoft 6s ease-in-out infinite;
}

.pulse-glow {
  animation: pulseGlow 2.4s ease-in-out infinite;
}

/* Team marquee — square cards, left → right scroll */
.team-marquee {
  overflow: hidden;
}

.team-marquee-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: teamMarquee 14s linear infinite;
}

.team-marquee:hover .team-marquee-track {
  animation-play-state: paused;
}

.team-card {
  display: flex;
  width: 9.5rem;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  border-radius: 1rem;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: 1rem 0.85rem 1.1rem;
  text-align: center;
  box-shadow: var(--glass-shadow);
  transition: transform 0.35s ease-out, box-shadow 0.35s ease-out, border-color 0.35s ease-out, background 0.35s ease-out;
}

.team-card:hover .team-avatar {
  border-color: var(--yellow);
  box-shadow: 0 0 0 2px var(--yellow-glow);
}

.team-avatar {
  display: flex;
  height: 5.5rem;
  width: 5.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  border: 1px solid rgba(51, 4, 7, 0.12);
  background: linear-gradient(145deg, #fff 0%, var(--cream) 100%);
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--blue);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: border-color 0.35s ease-out, box-shadow 0.35s ease-out;
}

@keyframes teamMarquee {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }

  .team-marquee-track a[aria-hidden="true"] {
    display: none;
  }
}

/* Google Reviews style cards */
.google-review-card {
  border-radius: 1rem;
  padding: 1.15rem 1.2rem;
}

.google-review-avatar {
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #4285f4;
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}

.google-review-card:nth-child(2) .google-review-avatar { background: #ea4335; }
.google-review-card:nth-child(3) .google-review-avatar { background: #fbbc04; color: #202124; }
.google-review-card:nth-child(4) .google-review-avatar { background: #34a853; }

.google-star {
  font-size: 0.95rem;
  line-height: 1;
  color: #dadce0;
}

.google-star.is-on {
  color: #fbbc04;
}

/* Google reviews — right → left carousel */
.google-reviews-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.google-reviews-track {
  display: flex;
  width: max-content;
  gap: 1.25rem;
  animation: googleReviewsMarquee 16s linear infinite;
}

.google-reviews-marquee:hover .google-reviews-track {
  animation-play-state: paused;
}

.google-reviews-track .google-review-card {
  width: 17.5rem;
  flex-shrink: 0;
}

@keyframes googleReviewsMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .google-reviews-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }

  .google-reviews-track .google-review-card[aria-hidden="true"] {
    display: none;
  }
}

/* ===== Site Visit | Online dual card (blue ↔ white click) ===== */
.visit-mode {
  --visit-accent: #330407;
  --visit-accent-soft: rgba(201, 162, 76, 0.35);
  --visit-btn-blue: #330407;
  --visit-orange: #f97316;
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  border-radius: 1.75rem;
  box-shadow: 0 22px 50px rgba(51, 4, 7, 0.16);
  border: 1px solid rgba(51, 4, 7, 0.12);
}

@media (min-width: 768px) {
  .visit-mode {
    grid-template-columns: 1fr 1fr;
  }
}

.visit-pane {
  position: relative;
  min-height: 280px;
  padding: 1.75rem 1.5rem 1.5rem;
  cursor: pointer;
  text-align: left;
  transition: background 0.45s ease, color 0.45s ease;
  overflow: hidden;
  outline: none;
}

.visit-pane:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(249, 115, 22, 0.55);
}

.visit-pane.is-blue {
  background: var(--visit-accent);
  color: #fff;
}

.visit-pane.is-white {
  background: #fff;
  color: #111827;
}

.visit-pane-inner {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  flex-direction: column;
  gap: 1.1rem;
}

.visit-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.visit-head h3 {
  margin: 0;
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: inherit;
}

.visit-pane.is-blue .visit-head h3 { color: #fff; }
.visit-pane.is-white .visit-head h3 { color: #1a0a0c; }

.visit-icon {
  display: inline-flex;
  height: 2.4rem;
  width: 2.4rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.7rem;
  background: rgba(201, 162, 76, 0.35);
  color: var(--gold-light);
}

.visit-pane.is-white .visit-icon {
  background: rgba(59, 13, 20, 0.1);
  color: var(--brand-maroon);
}

.visit-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.visit-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

.visit-pane.is-blue .visit-list { color: rgba(255, 255, 255, 0.95); }
.visit-pane.is-white .visit-list { color: #374151; }

.visit-list svg { flex-shrink: 0; margin-top: 0.15rem; }

.visit-btn {
  margin-top: auto;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  border-radius: 0.65rem;
  padding: 0.7rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.visit-btn:hover { transform: translateY(-2px); }

.visit-pane.is-blue .visit-btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  background: transparent;
  color: #fff;
}

.visit-pane.is-blue .visit-btn-solid {
  border: 0;
  background: var(--gold);
  color: var(--brand-maroon-dark);
  box-shadow: 0 10px 22px rgba(201, 162, 76, 0.35);
}

.visit-pane.is-white .visit-btn-outline {
  border: 1.5px solid var(--brand-maroon);
  background: transparent;
  color: var(--brand-maroon);
}

.visit-pane.is-white .visit-btn-solid {
  border: 0;
  background: var(--brand-maroon);
  color: #fff;
  box-shadow: 0 10px 22px rgba(59, 13, 20, 0.35);
}

/* Active (blue) pane → outline CTA; white pane → solid blue button */
.visit-pane.is-blue .visit-btn {
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  background: transparent;
  color: #fff;
  box-shadow: none;
}

.visit-pane.is-white .visit-btn {
  border: 0;
  background: var(--brand-maroon);
  color: #fff;
  box-shadow: 0 10px 22px rgba(59, 13, 20, 0.35);
}

.visit-deco {
  position: absolute;
  right: 0.5rem;
  bottom: 0.25rem;
  width: 7rem;
  height: auto;
  opacity: 0.18;
  pointer-events: none;
  z-index: 1;
}

.visit-pane.is-blue .visit-deco { color: rgba(201, 162, 76, 0.45); }
.visit-pane.is-white .visit-deco { color: #94a3b8; }

/* ===== Property Guides + Expert Resources ===== */
.guides-layout {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 1100px) {
  .guides-layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.85fr);
    align-items: start;
  }
}

.guides-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.7rem;
  background: #1d4ed8;
  padding: 0.65rem 1.15rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 10px 24px rgba(29, 78, 216, 0.28);
  transition: transform 0.25s ease, background 0.25s ease;
}

.guides-btn-primary:hover {
  transform: translateY(-2px);
  background: #1e40af;
}

.guides-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 900px) {
  .guides-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.guide-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 1.15rem;
  background: #fff;
  padding: 1.25rem 1rem 1rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.guide-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--yellow);
  background: linear-gradient(160deg, #fffef8 0%, #fff8e1 100%);
  box-shadow: 0 22px 48px rgba(245, 197, 24, 0.22), 0 0 0 2px var(--yellow-glow);
}

.guide-card:hover .guide-avatar {
  box-shadow: 0 8px 20px rgba(245, 197, 24, 0.35);
}

.guide-avatar {
  display: flex;
  height: 4.5rem;
  width: 4.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  background: #330407;
  box-shadow: 0 8px 20px rgba(51, 4, 7, 0.25);
}

.guide-card h3 {
  margin: 0.9rem 0 0;
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.guide-role {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #330407;
}

.guide-meta {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: #6b7280;
}

.guide-enquire {
  margin-top: 1rem;
  width: 100%;
  border: 0;
  border-radius: 0.65rem;
  background: #1d4ed8;
  padding: 0.7rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  transition: background 0.25s ease, transform 0.25s ease;
}

.guide-enquire:hover {
  background: #1e40af;
  transform: translateY(-1px);
}

/* Blog listing cards */
.section-pad .grid > a {
  display: block;
  border-radius: 1.5rem;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.section-pad .grid > a:hover {
  transform: translateY(-8px) scale(1.02);
}

.section-pad .grid > a:hover > div:first-child {
  box-shadow: 0 0 0 3px var(--yellow), 0 22px 48px rgba(245, 197, 24, 0.25);
}

.section-pad .grid > a:hover h2 {
  color: var(--blue-light);
}

.guides-banner {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  min-height: 200px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.guides-banner img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
}

.guides-banner-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.75), transparent);
}

.resources-panel {
  border-radius: 1.5rem;
  background: linear-gradient(165deg, #220305 0%, #330407 50%, #4a0a0f 100%);
  padding: 1.5rem 1.25rem;
  color: #fff;
  box-shadow: 0 22px 50px rgba(51, 4, 7, 0.28);
}

.resources-label {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #e8c97a;
}

.resources-title {
  margin: 0.65rem 0 0;
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
}

.resources-desc {
  margin: 0.65rem 0 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

.resources-list {
  margin-top: 1.15rem;
  display: grid;
  gap: 0.65rem;
}

.resource-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.85rem 0.95rem;
  transition: background 0.25s ease, transform 0.25s ease;
}

.resource-item:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.resource-name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.resource-sub {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  color: #bfdbfe;
}

.resource-item > span {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
}

/* ── Project pages: brochure-first + glass spin cards ── */
.brochure-first-wrap {
  scroll-snap-type: y proximity;
}

.brochure-page-full {
  min-height: 100svh;
  min-height: 100dvh;
  scroll-snap-align: start;
}

.brochure-img-page {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem 2rem;
}

.brochure-fit-controls {
  position: fixed;
  top: calc(5.25rem + env(safe-area-inset-top, 0px));
  right: max(0.65rem, env(safe-area-inset-right, 0px));
  z-index: 35;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
  max-width: min(96vw, 20rem);
}

.brochure-fit-btn {
  border: 1px solid rgba(51, 4, 7, 0.2);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.94);
  padding: 0.38rem 0.72rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  box-shadow: 0 4px 14px rgba(51, 4, 7, 0.12);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.brochure-fit-btn:hover {
  border-color: var(--blue-light);
}

.brochure-fit-btn.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

@media (min-width: 768px) {
  .brochure-fit-controls {
    top: calc(5.75rem + env(safe-area-inset-top, 0px));
    max-width: none;
  }

  .brochure-fit-btn {
    font-size: 0.68rem;
    padding: 0.45rem 0.85rem;
  }
}

.brochure-skip {
  position: fixed;
  bottom: 5.5rem;
  left: 50%;
  z-index: 40;
  transform: translateX(-50%);
  border-radius: 9999px;
  background: rgba(51, 4, 7, 0.92);
  padding: 0.65rem 1.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  box-shadow: 0 10px 28px rgba(51, 4, 7, 0.35);
  animation: floatSoft 4s ease-in-out infinite;
  transition: background 0.3s ease;
}

.brochure-skip:hover {
  background: var(--blue-light);
}

.brochure-img-page img {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #fff;
}

/* Fit screen — whole brochure page visible (default, best for mobile) */
.brochure-first-wrap[data-brochure-fit="screen"] .brochure-img-page img {
  max-width: min(94vw, 560px);
  max-height: calc(100svh - 8.5rem);
  max-height: calc(100dvh - 8.5rem);
}

/* Fit width — use full phone width, scroll vertically if needed */
.brochure-first-wrap[data-brochure-fit="width"] .brochure-img-page img {
  width: min(96vw, 680px);
  max-width: none;
  max-height: none;
}

.brochure-first-wrap[data-brochure-fit="width"] .brochure-page-full {
  min-height: auto;
  padding: 0.75rem 0 1.25rem;
}

/* Large — bigger desktop view */
.brochure-first-wrap[data-brochure-fit="large"] .brochure-img-page img {
  width: min(92vw, 820px);
  max-width: none;
  max-height: calc(100dvh - 7rem);
}

@media (max-width: 639px) {
  .brochure-img-page {
    padding: 0.5rem 0.65rem 1.25rem;
  }

  .brochure-first-wrap[data-brochure-fit="screen"] .brochure-img-page img {
    max-width: 96vw;
    max-height: calc(100dvh - 9.5rem);
  }

  .brochure-first-wrap[data-brochure-fit="width"] .brochure-img-page img {
    width: 96vw;
  }

  .brochure-first-wrap[data-brochure-fit="large"] .brochure-img-page img {
    width: 98vw;
    max-height: none;
  }

  .brochure-fit-btn-wide {
    display: none;
  }

  .brochure-first-wrap[data-brochure-fit="width"] .brochure-page-full,
  .brochure-first-wrap[data-brochure-fit="large"] .brochure-page-full {
    min-height: auto;
    scroll-snap-align: none;
  }
}

@media (min-width: 640px) {
  .brochure-first-wrap[data-brochure-fit="screen"] .brochure-img-page img {
    max-width: min(88vw, 520px);
  }
}

@media (min-width: 1024px) {
  .brochure-first-wrap[data-brochure-fit="screen"] .brochure-img-page img {
    max-width: 560px;
  }
}

.glass-spin-card {
  border-radius: 1.25rem;
  padding: 1.5rem;
  text-align: center;
  transform-style: preserve-3d;
  animation: cardFloatIn 0.6s ease-out both;
}

.glass-spin-card:nth-child(1) { animation-delay: 0.05s; }
.glass-spin-card:nth-child(2) { animation-delay: 0.1s; }
.glass-spin-card:nth-child(3) { animation-delay: 0.15s; }
.glass-spin-card:nth-child(4) { animation-delay: 0.2s; }
.glass-spin-card:nth-child(5) { animation-delay: 0.25s; }
.glass-spin-card:nth-child(6) { animation-delay: 0.3s; }
.glass-spin-card:nth-child(7) { animation-delay: 0.35s; }
.glass-spin-card:nth-child(8) { animation-delay: 0.4s; }

.card-icon-spin {
  display: flex;
  height: 3rem;
  width: 3rem;
  margin: 0 auto 1rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(245, 197, 24, 0.18), rgba(212, 169, 74, 0.12));
  color: var(--blue);
  transition: transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.35s ease, color 0.35s ease;
}

.glass-spin-card:hover .card-icon-spin {
  transform: rotate(360deg) scale(1.1);
  background: linear-gradient(135deg, var(--yellow), var(--gold-light));
  color: var(--blue-dark);
}

@keyframes cardFloatIn {
  from {
    opacity: 0;
    transform: translateY(24px) rotateX(8deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

.brochure-gallery-grid img {
  transition: transform 0.45s ease-out, box-shadow 0.45s ease-out;
}

.brochure-gallery-grid figure:hover img {
  transform: scale(1.04) rotate(0.5deg);
  box-shadow: 0 20px 40px rgba(51, 4, 7, 0.18);
}

/* Sunrise Garden — leaflet layout */
.leaflet-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .leaflet-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: 2.5rem;
  }

  .leaflet-actions {
    position: sticky;
    top: 6.5rem;
  }
}

.leaflet-pages {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.leaflet-page {
  margin: 0;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid rgba(51, 4, 7, 0.12);
  box-shadow: 0 8px 24px rgba(51, 4, 7, 0.1);
  background: #fff;
}

.leaflet-page img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  background: #fafafa;
}

.leaflet-actions {
  border-radius: 1.25rem;
  border: 1px solid rgba(51, 4, 7, 0.12);
  background: var(--glass-bg-strong);
  padding: 1.75rem;
  box-shadow: var(--glass-shadow);
}

.leaflet-actions-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.leaflet-actions-title {
  margin-top: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue);
}

.leaflet-actions-desc {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(26, 42, 58, 0.72);
}

.leaflet-btn-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.leaflet-site-map {
  margin-top: 1.25rem;
  overflow: hidden;
  border-radius: 0.85rem;
  border: 1.5px solid #5c3317;
  background: #fff;
}

.leaflet-site-map-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  background: color-mix(in srgb, var(--gold) 18%, #fff);
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 35%, transparent);
}

.leaflet-site-map-head p {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-maroon);
}

.leaflet-site-map-head a {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  text-decoration: none;
}

.leaflet-site-map-head a:hover {
  color: var(--brand-maroon);
}

.leaflet-site-map-frame {
  height: 160px;
  background: #f7f3ea;
}

.leaflet-site-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.leaflet-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.875rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.leaflet-btn:hover {
  transform: translateY(-1px);
}

.leaflet-btn-primary {
  background: var(--blue);
  color: #fff;
}

.leaflet-btn-primary:hover {
  background: var(--blue-light);
}

.leaflet-btn-outline {
  background: #fff;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}

.leaflet-btn-outline:hover {
  background: var(--blue);
  color: #fff;
}

.leaflet-btn-gold {
  background: var(--gold);
  color: var(--blue-dark);
}

.leaflet-btn-gold:hover {
  background: var(--gold-light);
}

.leaflet-features {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(51, 4, 7, 0.1);
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 0.5rem;
}

.leaflet-features li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.8125rem;
  color: rgba(26, 42, 58, 0.78);
}

.leaflet-features li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.625rem;
  top: 0.2rem;
}

.leaflet-office {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  line-height: 1.7;
  color: rgba(26, 42, 58, 0.65);
}

.text-blue-brand {
  color: var(--blue);
}

.bg-blue-brand {
  background: var(--blue);
}

.border-blue-brand {
  border-color: rgba(51, 4, 7, 0.15);
}

/* Team strengths — icon feature grid */
.team-strength-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .team-strength-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .team-strength-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.team-strength-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  border-radius: 1.25rem;
  padding: 1.35rem 1.25rem;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.team-strength-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 18px 40px rgba(51, 4, 7, 0.12);
}

.team-strength-icon {
  display: flex;
  height: 3rem;
  width: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, rgba(51, 4, 7, 0.12), rgba(74, 10, 15, 0.08));
  color: var(--blue);
  border: 1px solid rgba(51, 4, 7, 0.1);
}

.team-strength-card h3 {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue);
}

.team-strength-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(26, 42, 58, 0.75);
}

/* Property agents page */
.agent-form-panel {
  border-radius: 1.5rem;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  padding: 2rem 1.5rem;
}

@media (min-width: 640px) {
  .agent-form-panel {
    padding: 2.25rem 2rem;
  }
}

.agent-hiring-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.agent-hiring-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid rgba(51, 4, 7, 0.15);
  background: rgba(51, 4, 7, 0.06);
  padding: 0.35rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

/* Gallery page — bento grid */
.home-gallery {
  background: #fdf8f5;
  padding: 2.75rem 0 3rem;
}

.home-gallery-title {
  margin: 0 0 1.75rem;
  text-align: center;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c5a073;
}

.home-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.gallery-item {
  position: relative;
  margin: 0;
  height: 7.5rem;
  overflow: hidden;
  border-radius: 0.85rem;
  background: #e8e4df;
}

.gallery-item img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-view-btn {
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  padding: 0.3rem 0.75rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.gallery-view-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}

.gallery-item--tall {
  grid-row: span 2;
  height: calc(7.5rem * 2 + 0.65rem);
}

.gallery-item--wide {
  grid-column: span 2;
}

/* Lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(4px);
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox-img {
  max-width: min(960px, 100%);
  max-height: min(85vh, 720px);
  width: auto;
  height: auto;
  border-radius: 0.75rem;
  object-fit: contain;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.gallery-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.gallery-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media (min-width: 768px) {
  .home-gallery-grid {
    grid-template-columns: 1.1fr 1fr 0.95fr 0.95fr;
    grid-template-rows: 10.5rem 10.5rem;
    gap: 0.75rem;
  }

  .gallery-item {
    height: 100%;
    min-height: 0;
  }

  .gallery-item--tall {
    grid-column: 1;
    grid-row: 1 / 3;
    height: auto;
  }

  .gallery-item--mid-top {
    grid-column: 2;
    grid-row: 1;
  }

  .gallery-item--mid-bottom {
    grid-column: 2;
    grid-row: 2;
  }

  .gallery-item--sm-a {
    grid-column: 3;
    grid-row: 1;
  }

  .gallery-item--sm-b {
    grid-column: 4;
    grid-row: 1;
  }

  .gallery-item--wide {
    grid-column: 3 / 5;
    grid-row: 2;
    height: auto;
  }

  .gallery-view-btn {
    padding: 0.35rem 0.9rem;
    font-size: 0.68rem;
  }
}

@media (min-width: 1024px) {
  .home-gallery-grid {
    grid-template-rows: 11.5rem 11.5rem;
    gap: 0.875rem;
  }
}

/* Welcome section — light gold card */
.welcome-section {
  background: transparent;
  color: var(--ink);
  padding: 0 1rem 2rem;
  margin-top: 1.25rem;
}

.welcome-inner {
  max-width: 72rem;
  width: 100%;
  margin-inline: auto;
  padding: 1.75rem 1.25rem 2rem;
  border-radius: 1.25rem;
  background: #f7f3ea;
  border: 1.5px solid #5c3317;
  box-shadow: 0 10px 28px rgba(51, 4, 7, 0.08);
}

@media (min-width: 640px) {
  .welcome-section {
    margin-top: 1.75rem;
    padding: 0 1.5rem 2.5rem;
  }

  .welcome-inner {
    padding: 2.25rem 2rem 2.5rem;
  }
}

@media (min-width: 1024px) {
  .welcome-section {
    margin-top: 2rem;
    padding: 0 2rem 3rem;
  }

  .welcome-inner {
    padding: 2.75rem 2.5rem 3rem;
  }
}

.welcome-heading {
  text-align: center;
  color: var(--brand-maroon) !important;
}

.welcome-grid {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .welcome-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.75fr);
    gap: 2rem;
  }
}

.welcome-subhead {
  letter-spacing: 0.01em;
}

.welcome-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.welcome-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(26, 42, 58, 0.88);
}

.welcome-check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.375rem;
  height: 1.375rem;
  margin-top: 0.2rem;
  border-radius: 9999px;
  background: var(--gold);
  color: #0a0a0a;
}

.welcome-cta {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: var(--gold);
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.welcome-cta:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.welcome-visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.welcome-visual-frame {
  position: relative;
  width: 100%;
  max-width: 20rem;
  margin-inline: auto;
  aspect-ratio: 3 / 4;
  max-height: 26rem;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .welcome-visual-frame {
    max-width: 22rem;
    max-height: 28rem;
  }
}

.welcome-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.welcome-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid color-mix(in srgb, var(--gold) 45%, transparent);
  text-align: center;
}

@media (min-width: 640px) {
  .welcome-stats {
    gap: 1.5rem;
    margin-top: 2.5rem;
  }
}

@media (min-width: 768px) {
  .welcome-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.welcome-stat-num {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
}

/* ── Proximity To (brochure-style landmark grid) ── */
.proximity-section {
  background: #fdfbf7;
}

.proximity-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 2rem;
  text-align: center;
}

.proximity-head h2 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
}

.proximity-head-line {
  flex: 1;
  max-width: 4.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 76, 0.55), transparent);
}

.proximity-diamond {
  color: var(--gold);
  font-size: 0.55rem;
  line-height: 1;
}

.proximity-grid {
  display: grid;
  gap: 1.75rem 1.25rem;
}

@media (min-width: 768px) {
  .proximity-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .proximity-col-housing {
    grid-column: 1 / 3;
  }

  .proximity-col-hospitals {
    grid-column: 3;
  }

  .proximity-lifestyle {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .proximity-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
  }

  .proximity-col-housing {
    grid-column: 1 / 3;
    grid-row: 2;
  }

  .proximity-col-hospitals {
    grid-column: 3;
    grid-row: 2;
  }

  .proximity-lifestyle {
    grid-column: 4;
    grid-row: 2;
    min-height: 100%;
  }
}

.proximity-col-title {
  margin-bottom: 0.85rem;
  font-family: "Poppins", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  text-align: center;
}

.proximity-cards {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.proximity-cards-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.proximity-col-housing .proximity-cards-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.proximity-col-hospitals .proximity-cards-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 640px) {
  .proximity-col-housing .proximity-cards-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .proximity-cards-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proximity-col-housing .proximity-cards-row,
  .proximity-col-hospitals .proximity-cards-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.proximity-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.proximity-card-photo {
  width: 100%;
  max-width: 6.5rem;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 4px 14px rgba(26, 42, 58, 0.1);
}

.proximity-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proximity-card-name {
  margin-top: 0.45rem;
  font-size: 0.62rem;
  line-height: 1.35;
  font-weight: 500;
  color: var(--ink);
}

@media (min-width: 768px) {
  .proximity-card-name {
    font-size: 0.68rem;
  }
}

.proximity-km {
  display: inline-block;
  margin-top: 0.35rem;
  min-width: 3.25rem;
  border-radius: 0.2rem;
  background: #b8860b;
  padding: 0.2rem 0.45rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
}

.proximity-lifestyle {
  overflow: hidden;
  border-radius: 0.35rem;
  box-shadow: 0 8px 24px rgba(26, 42, 58, 0.12);
}

.proximity-lifestyle img {
  width: 100%;
  height: 100%;
  min-height: 12rem;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 1024px) {
  .proximity-lifestyle img {
    min-height: 100%;
  }
}

.welcome-stat-label {
  margin-top: 0.4rem;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
