/* =========================================================
HABITAT PROP SOLUTIONS — Design tokens (Light Luxury system)
========================================================= */
:root {
  --ivory: #FDFCFA;
  --warm-white: #FFFFFF;
  --champagne: #D3AD64;
  --gold-soft: #F0DBA6;
  --charcoal: #2A2926;
  --taupe: #4a4740;
  --bronze: #6B5A44;
  --light-line: rgba(29, 29, 27, 0.08);
  /* Sparing contrast sections (hero / 3D / footer) — lightened from near-black to a warm brown */
  --dark-bg: #2E2419;
  --dark-panel: #3B2F21;
  --dark-line: rgba(248, 246, 240, 0.12);
  --dark-text: #FDFCFA;
  --dark-muted: #CBBFA9;
  --champagne-10: rgba(211, 173, 100, 0.12);
  --champagne-25: rgba(211, 173, 100, 0.30);
  --serif: 'Playfair Display', 'Cormorant Garamond', serif;
  --sans: 'Inter', 'Manrope', sans-serif;
  --container: 1280px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media ( prefers-reduced-motion: reduce ) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.14;
  margin: 0;
  letter-spacing: -0.01em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }

}

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--champagne);
}

.dark-section .eyebrow {
  color: var(--gold-soft);
}

.section {
  padding: 52px 0;
  position: relative;
}

@media (max-width: 900px) {
  .section {
    padding: 22px 0;
  }

}

.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin-top: 16px;
}

.section-head p {
  color: var(--taupe);
  margin-top: 16px;
  font-size: 17px;
}

.dark-section .section-head p {
  color: var(--dark-muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}

.btn-gold {
  background: var(--champagne);
  color: var(--warm-white);
}

.btn-gold:hover {
  background: var(--bronze);
  transform: translateY(-2px);
}

.btn-ghost {
  border-color: rgba(29,29,27,0.25);
  color: var(--charcoal);
}

.btn-ghost:hover {
  border-color: var(--champagne);
  color: var(--bronze);
}

.dark-section .btn-ghost {
  border-color: rgba(248,246,240,0.3);
  color: var(--dark-text);
}

.dark-section .btn-ghost:hover {
  border-color: var(--gold-soft);
  color: var(--gold-soft);
}

/* ---------- Header (light luxury glass) ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: all 0.45s var(--ease);
  background: rgba(255, 252, 247, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--light-line);
  box-shadow: 0 8px 30px rgba(29,29,27,0.05);
}

.site-header .logo, .site-header .main-nav a {
  color: var(--charcoal);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: 0.01em;
  font-weight: 600;
  transition: color 0.4s var(--ease);
}

.logo-icon {
  height: 34px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text .logo-sub {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 2px;
}

.logo span {
  color: var(--champagne);
}

.main-nav {
  display: flex;
  gap: 38px;
}

.main-nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
  color: var(--charcoal);
  transition: color 0.4s var(--ease);
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--champagne);
  transition: width 0.35s var(--ease);
}

.main-nav a:hover::after, .main-nav a.active::after {
  width: 100%;
}

.main-nav a.active {
  color: var(--champagne);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-actions .btn-gold {
  padding: 13px 26px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 6px;
}

.hamburger span {
  width: 24px;
  height: 1.5px;
  background: var(--charcoal);
  transition: 0.3s var(--ease);
}

@media (max-width: 960px) {
  .main-nav, .header-actions .btn-ghost {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .site-header .header-actions .btn-gold {
    display: none !important;
  }

  .site-header .header-actions {
    gap: 0;
  }

}

/* =========================================
MOBILE SIDE DRAWER
========================================= */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(360px, 86vw);
  z-index: 120;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  box-shadow: 18px 0 50px rgba(0,0,0,0.14);
  transform: translateX(-105%);
  transition: transform 0.4s var(--ease);
  overflow-y: auto;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--light-line);
}

.mobile-nav-header span {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--charcoal);
}

.mobile-nav-close {
  width: 38px;
  height: 38px;
  border: 1px solid var(--light-line);
  background: var(--ivory);
  font-size: 28px;
  line-height: 1;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav a:not(.btn) {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--charcoal);
  padding: 14px 0;
  border-bottom: 1px solid rgba(29,29,27,0.07);
}

.mobile-nav a:not(.btn):hover, .mobile-nav a:not(.btn).active {
  color: var(--champagne);
}

.mobile-nav .btn {
  margin-top: 24px;
  width: 100%;
  justify-content: center;
}

/* Dark overlay behind side drawer */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(20,20,20,0.38);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

body.mobile-menu-open {
  overflow: hidden;
}

@media (min-width: 961px) {
  .mobile-nav, .mobile-nav-overlay {
    display: none !important;
  }

}

/* ---------- Hero (dark contrast section) ---------- */
.hero {
  height: 100svh;
  min-height: 640px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--dark-bg);
  color: var(--dark-text);
}

.hero-media {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23,17,12,0.25) 0%, rgba(23,17,12,0.55) 55%, rgba(23,17,12,0.96) 100%), radial-gradient(120% 90% at 50% 20%, rgba(74,64,52,0.35), var(--dark-bg) 80%);
  background-size: cover;
}

.hero-media canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 96px;
  width: 100%;
}

.hero-label {
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(38px, 6.6vw, 78px);
  max-width: 900px;
  color: var(--dark-text);
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-soft);
}

.hero p {
  max-width: 460px;
  color: var(--dark-muted);
  margin: 22px 0 36px;
  font-size: 17px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.3);
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* ---------- Homepage hero with an admin-uploaded background image ----------
.hero-background holds the <img> (admin panel > Homepage 3D Content), and
.hero-overlay sits above it as a permanent dark scrim so the heading/CTA
text stays readable no matter how bright the uploaded photo is. Both are
absolutely positioned/z-indexed beneath .hero-content (z-index: 2). */
.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--dark-bg);
}

.hero-background img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
        180deg,
        rgba(23, 17, 12, 0.20) 0%,
        rgba(23, 17, 12, 0.15) 40%,
        rgba(23, 17, 12, 0.45) 100% 
        ),
    linear-gradient(
        90deg,
        rgba(23, 17, 12, 0.25) 0%,
        rgba(23, 17, 12, 0.05) 55%
    );
}

.hero.hero-image:not(:has(.hero-background)) {
  background: var(--dark-bg);
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
  color: var(--dark-muted);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-indicator .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--champagne), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%,100% {
    opacity: 0.3;
  }

  50% {
    opacity: 1;
  }

}

/* ---------- Search box ---------- */
.search-box {
  position: relative;
  z-index: 5;
  margin-top: -60px;
  margin-bottom: 40px;
}

.search-panel {
  background: var(--warm-white);
  border: 1px solid var(--light-line);
  box-shadow: 0 24px 60px rgba(29,29,27,0.10);
  padding: 26px;
  display: grid;
  grid-template-columns: repeat(5, 1fr) auto;
  gap: 1px;
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 20px;
  border-right: 1px solid var(--light-line);
}

.search-field:last-of-type {
  border-right: none;
}

.search-field label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--taupe);
}

.search-field select {
  background: transparent;
  border: none;
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 14px;
  padding: 6px 0;
  outline: none;
}

.search-panel .btn {
  justify-content: center;
  padding: 0 34px;
}

@media (max-width: 1080px) {
  .search-panel {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 24px;
  }

  .search-field {
    border-right: none;
    border-bottom: 1px solid var(--light-line);
    padding: 0 0 16px;
  }

  .search-panel .btn {
    grid-column: 1 / -1;
    padding: 16px;
  }

}

/* ---------- Project cards ---------- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 1080px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 700px) {
  .project-grid {
    grid-template-columns: 1fr;
  }

}

.project-card {
  position: relative;
  overflow: hidden;
  background: var(--warm-white);
  border: 1px solid var(--light-line);
  box-shadow: 0 12px 34px rgba(29,29,27,0.05);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

.project-card:hover {
  box-shadow: 0 24px 54px rgba(29,29,27,0.12);
  transform: translateY(-4px);
}

.project-card .thumb {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: linear-gradient(135deg, #e9e2d3, #cbbfa4);
}

.project-card .thumb picture {
  display: block;
  width: 100%;
  height: 100%;
}

.project-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.project-card:hover .thumb img {
  transform: scale(1.08);
}

.project-card .thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(23,17,12,0.86) 100%);
}

.project-card .status-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  background: rgba(23,17,12,0.55);
  border: 1px solid var(--champagne-25);
  color: var(--gold-soft);
}

.project-card .info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 26px;
}

.project-card .info .gold-line {
  width: 36px;
  height: 1px;
  background: var(--champagne);
  margin-bottom: 14px;
  transition: width 0.5s var(--ease);
}

.project-card:hover .info .gold-line {
  width: 64px;
}

.project-card h3 {
  font-size: 22px;
  color: var(--dark-text);
}

.project-card .meta {
  color: var(--dark-muted);
  font-size: 13px;
  margin-top: 6px;
}

.project-card .price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
}

.project-card .price {
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: 19px;
}

.project-card .view-link {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--champagne);
  padding-bottom: 2px;
  color: var(--dark-text);
}

.blog-card {
  display: flex;
  flex-direction: column;
}

.blog-card .blog-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, #e9e2d3, #cbbfa4);
}

.blog-card .blog-thumb picture {
  display: block;
  width: 100%;
  height: 100%;
}

.blog-card .blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
  display: block;
}

.blog-card:hover .blog-thumb img {
  transform: scale(1.08);
}

.blog-card .blog-body {
  padding: 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ---- Single blog post (article) ---- */
/* Full-bleed banner image, edge to edge, sitting right under the header */
.article-hero-full {
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: linear-gradient(135deg, #e9e2d3, #cbbfa4);
}

.article-hero-full picture, .article-hero-full img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 640px) {
  .article-hero-full {
    height: 200px;
  }

}

.article-title {
  margin-top: 16px;
  font-size: clamp(26px, 4.2vw, 40px);
  color: var(--charcoal);
}

.article-published {
  margin-top: 14px;
  color: var(--taupe);
  font-size: 15px;
}

.article-content {
  font-size: 17px;
  line-height: 1.9;
  color: var(--charcoal);
}

.article-content > *:first-child {
  margin-top: 0;
}

.article-content p {
  margin: 0 0 22px;
}

.article-content h2 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(22px, 2.8vw, 28px);
  color: var(--charcoal);
  margin: 44px 0 18px;
  letter-spacing: -0.01em;
}

.article-content h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(19px, 2.2vw, 22px);
  color: var(--charcoal);
  margin: 36px 0 14px;
}

.article-content h4 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 17px;
  margin: 28px 0 12px;
}

.article-content ul, .article-content ol {
  margin: 0 0 22px;
  padding-left: 22px;
}

.article-content ul {
  list-style: disc;
}

.article-content ol {
  list-style: decimal;
}

.article-content li {
  margin-bottom: 10px;
}

.article-content li::marker {
  color: var(--champagne);
}

.article-content a {
  color: var(--bronze);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content strong, .article-content b {
  color: var(--charcoal);
}

.article-content blockquote {
  margin: 32px 0;
  padding: 2px 0 2px 24px;
  border-left: 3px solid var(--champagne);
  font-family: var(--serif);
  font-size: 21px;
  font-style: italic;
  color: var(--bronze);
}

.article-content img {
  width: 100%;
  height: auto;
  margin: 28px 0;
}

@media (max-width: 640px) {
  .article-content {
    font-size: 16px;
  }

}

.filters-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.filter-pill {
  padding: 10px 20px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--light-line);
  color: var(--taupe);
  background: var(--warm-white);
  transition: 0.3s var(--ease);
}

.filter-pill.active, .filter-pill:hover {
  border-color: var(--champagne);
  color: var(--bronze);
}

.state-msg {
  color: var(--taupe);
  font-size: 15px;
  padding: 20px 0;
}

.state-msg.loading::after {
  content: '…';
}

/* ---------- Stats ---------- */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--light-line);
  border-bottom: 1px solid var(--light-line);
}

.stats-strip.dark-section {
  border-color: var(--dark-line);
}

.stat {
  padding: 46px 24px;
  text-align: center;
  border-right: 1px solid var(--light-line);
}

.dark-section .stat {
  border-right-color: var(--dark-line);
}

.stat:last-child {
  border-right: none;
}

.stat .num {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 48px);
  color: var(--bronze);
}

.dark-section .stat .num {
  color: var(--gold-soft);
}

.stat .label {
  font-size: 12px;
  color: var(--taupe);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 8px;
}

.dark-section .stat .label {
  color: var(--dark-muted);
}

@media (max-width: 800px) {
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat {
    border-bottom: 1px solid var(--light-line);
  }

}

/* ---------- Dark contrast section wrapper (3D, footer) ---------- */
.dark-section {
  background: var(--dark-bg);
  color: var(--dark-text);
}

.dark-section .section-head h2 {
  color: var(--dark-text);
}








/* =========================================================
   OUR EXPERTISE
========================================================= */

.hp-expertise-section {
    position: relative;
    padding: 105px 0 110px;
    background: var(--warm-white, #fdfcf9);
    overflow: hidden;
}

.hp-container {
    width: min(1200px, calc(100% - 56px));
    margin: 0 auto;
}


/* ---------- Heading ---------- */

.hp-section-heading {
    max-width: 1000px;
    margin-bottom: 55px;
}

.hp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 18px;

    font-family: var(--font-body, "Inter", sans-serif);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;

    color: var(--gold, #c9a227);
}

.hp-eyebrow::before {
    content: "";
    width: 25px;
    height: 1px;
    background: currentColor;
}


.hp-section-heading h2 {
    margin: 0;

    font-family: var(--font-heading, "Playfair Display", serif);
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -0.025em;

    color: var(--dark, #1f1a15);
}

.hp-section-heading h2 span {
    display: block;
    color: #8d8478;
}


.hp-section-heading p {
    max-width: 620px;

    margin: 22px 0 0;

    font-family: var(--font-body, "Inter", sans-serif);
    font-size: 14px;
    line-height: 1.8;
    font-weight: 400;

    color: #777168;
}


/* ---------- Cards Grid ---------- */

.hp-expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid #e7e1d7;
    border-left: 1px solid #e7e1d7;
}


/* ---------- Card ---------- */

.hp-expertise-card {
    position: relative;

    min-height: 285px;
    padding: 30px 28px 28px;

    background: #fff;

    border-right: 1px solid #e7e1d7;
    border-bottom: 1px solid #e7e1d7;

    display: flex;
    flex-direction: column;

    transition:
        background 0.4s ease,
        transform 0.4s ease,
        box-shadow 0.4s ease;
}


.hp-expertise-card:hover {
    background: #f8f4eb;

    transform: translateY(-5px);

    box-shadow: 0 18px 40px rgba(40, 30, 20, 0.07);
}


/* ---------- Number ---------- */

.hp-expertise-number {
    margin-bottom: auto;

    font-family: var(--font-heading, "Playfair Display", serif);
    font-size: 14px;
    line-height: 1;

    color: var(--gold, #c9a227);
}


/* ---------- Content ---------- */

.hp-expertise-content {
    margin-top: 70px;
}


.hp-expertise-content h3 {
    margin: 0 0 13px;

    font-family: var(--font-heading, "Playfair Display", serif);
    font-size: 22px;
    line-height: 1.2;
    font-weight: 500;

    color: #29231d;
}


.hp-expertise-content p {
    margin: 0;

    font-family: var(--font-body, "Inter", sans-serif);
    font-size: 12px;
    line-height: 1.75;

    color: #777168;
}


/* ---------- Arrow ---------- */

.hp-expertise-arrow {
    display: flex;
    justify-content: flex-end;

    margin-top: 25px;
}


.hp-expertise-arrow span {
    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #ddd5c7;
    border-radius: 50%;

    font-size: 15px;
    color: #6e655a;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}


.hp-expertise-card:hover .hp-expertise-arrow span {
    background: var(--gold, #c9a227);
    border-color: var(--gold, #c9a227);
    color: #fff;

    transform: translateX(3px);
}


/* ---------- Tablet ---------- */

@media (max-width: 991px) {

    .hp-expertise-section {
        padding: 85px 0 90px;
    }

    .hp-container {
        width: min(100% - 40px, 760px);
    }

    .hp-expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hp-expertise-card {
        min-height: 270px;
    }
}


/* ---------- Mobile ---------- */

@media (max-width: 600px) {

    .hp-expertise-section {
        padding: 70px 0 75px;
    }

    .hp-container {
        width: calc(100% - 32px);
    }

    .hp-section-heading {
        margin-bottom: 38px;
    }

    .hp-section-heading h2 {
        font-size: 34px;
    }

    .hp-section-heading p {
        font-size: 13px;
        line-height: 1.7;
    }

    .hp-expertise-grid {
        grid-template-columns: 1fr;
    }

    .hp-expertise-card {
        min-height: 240px;
        padding: 25px 23px;
    }

    .hp-expertise-content {
        margin-top: 55px;
    }

    .hp-expertise-content h3 {
        font-size: 21px;
    }

    .hp-expertise-content p {
        font-size: 12px;
    }
}





/* =========================================================
   HOW IT WORKS
========================================================= */

.hp-process-section {
    position: relative;

    padding: 100px 0 105px;

    background: #f7f4ec;
    overflow: hidden;
}


/* ---------- Header ---------- */

.hp-process-header {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;

    align-items: end;

    margin-bottom: 65px;
}


.hp-process-title h2 {
    margin: 0;

    font-family: var(--font-heading, "Playfair Display", serif);
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -0.025em;

    color: #29231d;
}


.hp-process-title h2 span {
    display: block;
    color: #8d8478;
}


.hp-process-header > p {
    max-width: 430px;

    margin: 0;

    font-family: var(--font-body, "Inter", sans-serif);
    font-size: 13px;
    line-height: 1.8;

    color: #71695f;
}


/* ---------- Process Wrapper ---------- */

.hp-process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid #dcd4c7;
}


/* ---------- Individual Step ---------- */

.hp-process-step {
    position: relative;

    min-height: 245px;

    padding: 30px 30px 25px;

    border-right: 1px solid #dcd4c7;
}


.hp-process-step:first-child {
    border-left: 1px solid #dcd4c7;
}


/* ---------- Top Number ---------- */

.hp-process-top {
    display: flex;
    align-items: center;

    height: 35px;
}


.hp-process-number {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    flex: 0 0 36px;

    border: 1px solid #c9a227;
    border-radius: 50%;

    background: #f7f4ec;

    font-family: var(--font-body, "Inter", sans-serif);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.05em;

    color: #9c7d24;
}


/* ---------- Connecting Line ---------- */

.hp-process-line {
    display: block;

    width: 100%;
    height: 1px;

    margin-left: -1px;

    background: #d6cdbc;
}


.hp-process-line-last {
    background: transparent;
}


/* ---------- Content ---------- */

.hp-process-content {
    padding-top: 58px;
}


.hp-process-content h3 {
    max-width: 210px;

    margin: 0 0 14px;

    font-family: var(--font-heading, "Playfair Display", serif);
    font-size: 21px;
    line-height: 1.25;
    font-weight: 500;

    color: #29231d;
}


.hp-process-content p {
    max-width: 230px;

    margin: 0;

    font-family: var(--font-body, "Inter", sans-serif);
    font-size: 12px;
    line-height: 1.75;

    color: #746c62;
}


/* ---------- Hover ---------- */

.hp-process-step {
    transition: background 0.35s ease;
}


.hp-process-step:hover {
    background: rgba(255, 255, 255, 0.45);
}


.hp-process-step:hover .hp-process-number {
    background: #c9a227;
    color: #fff;
}


/* ---------- Tablet ---------- */

@media (max-width: 991px) {

    .hp-process-section {
        padding: 80px 0 85px;
    }

    .hp-process-header {
        grid-template-columns: 1fr;
        gap: 20px;

        margin-bottom: 50px;
    }

    .hp-process {
        grid-template-columns: repeat(2, 1fr);
    }

    .hp-process-step {
        min-height: 230px;
    }

    .hp-process-step:nth-child(3) {
        border-left: 1px solid #dcd4c7;
        border-top: 1px solid #dcd4c7;
    }

    .hp-process-step:nth-child(4) {
        border-top: 1px solid #dcd4c7;
    }
}


/* ---------- Mobile ---------- */

@media (max-width: 600px) {

    .hp-process-section {
        padding: 70px 0 75px;
    }

    .hp-process-header {
        margin-bottom: 40px;
    }

    .hp-process-title h2 {
        font-size: 34px;
    }

    .hp-process-header > p {
        font-size: 13px;
    }

    .hp-process {
        grid-template-columns: 1fr;

        border-top: 1px solid #dcd4c7;
    }

    .hp-process-step,
    .hp-process-step:nth-child(3),
    .hp-process-step:nth-child(4) {
        min-height: auto;

        padding: 25px 22px 30px;

        border-left: 1px solid #dcd4c7;
        border-right: 1px solid #dcd4c7;
        border-bottom: 1px solid #dcd4c7;
        border-top: 0;
    }

    .hp-process-step:last-child {
        border-bottom: 1px solid #dcd4c7;
    }

    .hp-process-line {
        display: none;
    }

    .hp-process-content {
        padding-top: 35px;
    }

    .hp-process-content h3 {
        max-width: none;
        font-size: 20px;
    }

    .hp-process-content p {
        max-width: none;
        font-size: 12px;
    }
}






/* ---------- Why choose us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.why-card {
  padding: 32px;
  border: 1px solid var(--light-line);
  background: var(--warm-white);
}

.why-card .n {
  font-family: var(--serif);
  font-size: 34px;
  color: var(--champagne);
}

.why-card h4 {
  margin-top: 14px;
  font-size: 17px;
}

.why-card p {
  color: var(--taupe);
  font-size: 14px;
  margin-top: 10px;
}

@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* ---------- Awards ---------- */
.awards-row {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.award-card {
  min-width: 240px;
  padding: 28px;
  border: 1px solid var(--light-line);
  background: var(--warm-white);
  flex: 0 0 auto;
}

.award-card .year {
  color: var(--champagne);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.award-card h4 {
  margin-top: 10px;
  font-size: 17px;
}

.award-card .org {
  color: var(--taupe);
  font-size: 13px;
  margin-top: 6px;
}

/* ---------- Testimonials ---------- */
.testimonial-scroll-wrap {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.testimonial-track {
  display: flex;
  width: max-content;
  gap: 28px;
  animation: testimonial-scroll 36s linear infinite;
}

.testimonial-scroll-wrap:hover .testimonial-track {
  animation-play-state: paused;
}

@keyframes testimonial-scroll {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }

}

@media (prefers-reduced-motion: reduce) {
  .testimonial-track {
    animation: none;
  }

}

@media (max-width: 900px) {
  .testimonial-track {
    animation-duration: 26s;
    gap: 20px;
  }

}

.testimonial-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  flex: 0 0 380px;
  width: 380px;
  background: var(--warm-white);
  border: 1px solid var(--light-line);
  border-radius: 18px;
  padding: 36px 32px;
  box-shadow: 0 12px 30px rgba(74, 64, 52, 0.07);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

@media (max-width: 600px) {
  .testimonial-card {
    flex-basis: 300px;
    width: 300px;
    padding: 28px 24px;
  }

}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(74, 64, 52, 0.12);
}

/* ---- Value / "why choose us" cards (icon + title + description) ---- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.value-card {
  background: var(--warm-white);
  border: 1px solid var(--light-line);
  padding: 38px 32px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(74, 64, 52, 0.1);
  border-color: var(--champagne);
}

.value-card svg {
  color: var(--champagne);
  margin-bottom: 20px;
}

.value-card h4 {
  font-size: 18px;
  color: var(--charcoal);
}

.value-card p {
  color: var(--taupe);
  font-size: 14.5px;
  line-height: 1.75;
  margin-top: 10px;
}

@media (max-width: 900px) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 600px) {
  .value-grid {
    grid-template-columns: 1fr;
  }

}

.testimonial-quote-icon {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1;
  color: var(--champagne);
  margin-bottom: 4px;
}

.testimonial-stars {
  margin-bottom: 16px;
  font-size: 15px;
  letter-spacing: 2px;
}

.testimonial-stars .star-filled {
  color: var(--champagne);
}

.testimonial-stars .star-empty {
  color: var(--light-line);
}

.testimonial-card .quote {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  color: var(--charcoal);
  flex-grow: 1;
}

.testimonial-who {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--champagne-25);
  color: var(--bronze);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-card .who {
  color: var(--taupe);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- EMI calculator ---------- */
.emi-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 900px) {
  .emi-panel {
    grid-template-columns: 1fr;
  }

}

.emi-field {
  margin-bottom: 26px;
}

.emi-field label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--dark-muted);
  margin-bottom: 10px;
}

.emi-field label b {
  color: var(--gold-soft);
  font-weight: 500;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--champagne);
}

.emi-result {
  background: var(--dark-panel);
  border: 1px solid var(--dark-line);
  padding: 40px;
}

.emi-result .big {
  font-family: var(--serif);
  font-size: 42px;
  color: var(--gold-soft);
}

.emi-result .row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--dark-line);
  font-size: 14px;
  color: var(--dark-muted);
}

/* ---------- Lead / site-visit modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(23,17,12,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: var(--warm-white);
  border: 1px solid var(--champagne-25);
  padding: 44px;
  max-width: 480px;
  width: 100%;
  position: relative;
  transform: translateY(16px);
  transition: transform 0.35s var(--ease);
  color: var(--charcoal);
}

.modal-overlay.open .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: var(--taupe);
  font-size: 20px;
}

.form-row {
  margin-bottom: 16px;
}

.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  background: var(--ivory);
  border: 1px solid var(--light-line);
  color: var(--charcoal);
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
}

.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  border-color: var(--champagne);
}

.form-row.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 0;
}

.form-row.grid-2 .form-row {
  margin-bottom: 16px;
}

/* =========================================================
FOOTER
========================================================= */
.site-footer {
  background: var(--dark-bg);
  color: var(--dark-text);
  border-top: 1px solid var(--dark-line);
  padding: 86px 0 30px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--champagne-10), transparent 70%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  /* Desktop: narrower Explore and Legal tracks; extra room for brand and contact */
  grid-template-columns: minmax(0, 1.45fr) minmax(100px, 0.65fr) minmax(120px, 0.75fr) minmax(0, 1.15fr);
  gap: 44px;
  position: relative;
  z-index: 1;
}

.footer-grid h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-soft);
  margin: 0 0 20px;
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid li {
  margin-bottom: 12px;
  color: var(--dark-muted);
  font-size: 14px;
  line-height: 1.7;
}

.footer-grid a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-grid a:hover {
  color: var(--gold-soft);
}

.footer-grid .logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--dark-text);
}

.footer-grid p {
  color: var(--dark-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 18px;
  max-width: 280px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 66px;
  padding-top: 26px;
  border-top: 1px solid var(--dark-line);
  color: var(--dark-muted);
  font-size: 12px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.footer-bottom span {
  display: block;
}



/* =========================================================
TABLET
========================================================= */
@media (max-width: 900px) {
  .site-footer {
    padding: 70px 0 30px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 32px;
  }

  .footer-bottom {
    margin-top: 52px;
  }

}

/* =========================================================
MOBILE FOOTER
========================================================= */
@media (max-width: 600px) {
  .site-footer {
    padding: 56px 0 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    width: 100%;
  }

  .footer-grid > div {
    width: 100%;
    max-width: 100%;
    text-align: left;
  }

  .footer-grid .logo {
    justify-content: flex-start;
    text-align: left;
  }

  .footer-grid p {
    max-width: 100%;
    margin: 16px 0 0;
    text-align: left;
  }

  .footer-grid h5 {
    margin-bottom: 14px;
    text-align: left;
    font-size: 11px;
  }

  .footer-grid ul {
    width: 100%;
    text-align: left;
  }

  .footer-grid li {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
  }

  .footer-grid li a {
    word-break: break-word;
  }

  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 42px;
    padding-top: 20px;
    text-align: left;
  }

  .footer-bottom span {
    width: 100%;
    max-width: 100%;
    text-align: left;
  }

}

/* =========================================================
SMALL MOBILE
========================================================= */
@media (max-width: 380px) {
  .site-footer {
    padding: 48px 0 22px;
  }

  .footer-grid {
    gap: 30px;
  }

  .footer-grid h5 {
    font-size: 10px;
  }

  .footer-grid li {
    font-size: 13px;
  }

  .footer-bottom {
    font-size: 11px;
  }

}

/* ---------- Floating actions ---------- */
.float-actions {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--champagne);
  color: var(--warm-white);
  box-shadow: 0 8px 24px rgba(201,168,106,0.4);
  transition: transform 0.3s var(--ease);
}

.float-btn:hover {
  transform: scale(1.08);
}

.float-btn.whatsapp {
  background: #25D366;
  color: #0A0A0A;
}

/* ---------- Reveal animations ----------
IMPORTANT: content is visible by default. JS (GSAP) is what hides an
element right before animating it in — never CSS. If GSAP fails to
load, or JS is disabled entirely, .reveal-up elements simply stay at
their natural opacity/position. See main.js. */
.reveal-up {
  opacity: 1;
  transform: none;
}

/* ---------- Toast notifications ---------- */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(360px, calc(100vw - 32px));
}

@media (max-width: 640px) {
  .toast-container {
    top: 16px;
    right: 16px;
    left: 16px;
    width: auto;
  }

}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--warm-white);
  color: var(--charcoal);
  border: 1px solid var(--light-line);
  border-left: 3px solid var(--champagne);
  box-shadow: 0 16px 40px rgba(29,29,27,0.14);
  padding: 16px 18px;
  font-size: 14px;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
}

.toast.error {
  border-left-color: #C6532F;
}

.toast .toast-icon {
  flex: none;
  margin-top: 1px;
}

.toast.success .toast-icon {
  color: #3F8F5F;
}

.toast.error .toast-icon {
  color: #C6532F;
}

.toast .toast-msg {
  flex: 1;
  line-height: 1.4;
}

.toast .toast-close {
  background: none;
  border: none;
  color: var(--taupe);
  font-size: 16px;
  line-height: 1;
  padding: 0;
}

/* ---------- Custom cursor (desktop / hover-capable only) ---------- */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--champagne);
  border-radius: 50%;
  pointer-events: none;
  z-index: 998;
  transform: translate(-50%,-50%);
  mix-blend-mode: difference;
}

.cursor-ring {
  position: fixed;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(201,168,106,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 998;
  transform: translate(-50%,-50%);
  transition: width 0.25s, height 0.25s;
}

@media (hover: none) {
  .cursor-dot, .cursor-ring {
    display: none;
  }

}

/* ---------- Project gallery + lightbox ----------
A mosaic grid: the first tile runs 2x2 (a bigger "hero" thumbnail) and the
rest fall into a regular 4-across row, so the section reads less like a
flat file listing and more like a curated photo/video spread. Works for
any mix of images and videos coming out of project_gallery. */
/* =========================================================
   GALLERY
   FULL IMAGE - NO CROPPING
========================================================= */

.gallery-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;

    align-items: start;
}


/* Gallery item */

.gallery-thumb {
    position: relative;

    display: block;

    width: 100%;
    height: auto;

    min-height: 0;

    padding: 0;

    margin: 0;

    overflow: hidden;

    border: 0;

    background: transparent;

    cursor: pointer;

    line-height: 0;
}


/* Images */

.gallery-thumb img {
    display: block;

    width: 100%;
    height: auto;

    max-width: 100%;

    object-fit: contain;

    object-position: center;

    background: #f7f7f7;

    transition:
        transform .45s ease;
}


/* Video */

.gallery-thumb video {
    display: block;

    width: 100%;
    height: auto;

    max-width: 100%;

    object-fit: contain;

    object-position: center;

    background: #000;
}


/* Hover */

.gallery-thumb:hover img,
.gallery-thumb:hover video {
    transform: scale(1.02);
}


/* Gallery badges */

.gallery-thumb .media-badge {
    position: absolute;

    top: 12px;
    left: 12px;

    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 7px 10px;

    color: #fff;

    background: rgba(0,0,0,.68);

    font-size: 10px;

    line-height: 1;

    letter-spacing: .08em;

    text-transform: uppercase;

    backdrop-filter: blur(6px);
}


/* Play icon */

.gallery-thumb .play-icon {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 52px;
    height: 52px;

    transform:
        translate(-50%, -50%);

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid
        rgba(255,255,255,.8);

    border-radius: 50%;

    color: #fff;

    background:
        rgba(0,0,0,.35);

    backdrop-filter: blur(6px);

    line-height: 1;

    transition:
        transform .3s ease,
        background .3s ease;
}


.gallery-thumb:hover .play-icon {
    transform:
        translate(-50%, -50%)
        scale(1.08);

    background:
        rgba(0,0,0,.55);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .gallery-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 14px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .gallery-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }


    .gallery-thumb img,
    .gallery-thumb video {
        width: 100%;
        height: auto;
    }


    .gallery-thumb .media-badge {
        top: 9px;
        left: 9px;

        padding: 6px 8px;

        font-size: 8px;
    }


    .gallery-thumb .play-icon {
        width: 46px;
        height: 46px;
    }

}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(23,17,12,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.lightbox-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-overlay img, .lightbox-overlay video {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

/* ---------- Rich text editor (admin blog content) ---------- */
.rt-toolbar {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.rt-toolbar button {
  background: var(--ivory);
  border: 1px solid var(--light-line);
  padding: 8px 12px;
  font-size: 13px;
  cursor: pointer;
  color: var(--charcoal);
}

.rt-toolbar button:hover {
  background: var(--champagne-10);
  border-color: var(--champagne);
}

.rt-editor {
  min-height: 220px;
  border: 1px solid var(--light-line);
  background: var(--ivory);
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.7;
}

.rt-editor:focus {
  outline: none;
  border-color: var(--champagne);
}

.rt-editor h3 {
  font-family: var(--serif);
  font-size: 20px;
  margin: 12px 0 8px;
}

.rt-editor p {
  margin: 0 0 10px;
}

.rt-editor ul {
  padding-left: 22px;
  margin: 0 0 10px;
}

.rt-editor a {
  color: var(--bronze);
  text-decoration: underline;
}

/* ---------- Sidebar collapse (desktop) ---------- */
.admin-sidebar.collapsed {
  width: 76px;
}

.admin-sidebar.collapsed .admin-logo-text, .admin-sidebar.collapsed nav a span.nav-label, .admin-sidebar.collapsed .admin-user-box, .admin-sidebar.collapsed .admin-logout span.nav-label {
  display: none;
}

.admin-sidebar.collapsed .admin-logo {
  justify-content: center;
  padding: 0 0 26px;
}

.admin-sidebar.collapsed nav a {
  justify-content: center;
}

.sidebar-collapse-toggle {
  background: none;
  border: 1px solid var(--light-line);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--taupe);
  margin: 0 auto 18px;
}

.sidebar-collapse-toggle:hover {
  color: var(--bronze);
  border-color: var(--champagne);
}

/* ---------- Admin dashboard charts (pure CSS, no external lib) ---------- */
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 140px;
  padding-top: 20px;
}

.chart-bar {
  flex: 1;
  background: var(--champagne);
  position: relative;
  min-height: 4px;
  transition: height 0.6s var(--ease);
}

.chart-bar .chart-val {
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 11px;
  color: var(--taupe);
}

.chart-bar .chart-label {
  position: absolute;
  bottom: -22px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 11px;
  color: var(--taupe);
}

.chart-donut {
  width: 140px;
  height: 140px;
  border-radius: 50%;
}

.dashboard-charts-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

@media (max-width: 900px) {
  .dashboard-charts-row {
    grid-template-columns: 1fr;
  }

}

/* ---------- Utility ---------- */
.split-line {
  overflow: hidden;
}

/* =========================================================
ABOUT PAGE  —  assets/css/about.css
Loaded only by about.php. Everything is scoped under .ab-page
so it can never change any other page. Uses the design tokens
already defined in style.css (--champagne, --bronze, --dark-bg…).
========================================================= */
.ab-page {
  --ab-tint: #F6F1E5;
  --ab-rule: rgba(107, 90, 68, 0.22);
}

.ab-page a:focus-visible, .ab-page button:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 3px;
}

/* Darker label colour on the gold button so it passes contrast */
.ab-page .btn-gold {
  color: var(--dark-bg);
}

.ab-page .btn-gold:hover {
  color: var(--warm-white);
}

.ab-page h2 {
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.ab-page h3 {
  font-size: 22px;
  line-height: 1.25;
}

/* ---------------------------------------------------------
1. HERO  — a building elevation that draws itself, then
its windows light up one by one (the page's one big moment)
--------------------------------------------------------- */
.ab-page .ab-hero {
  position: relative;
  isolation: isolate;
  min-height: min(600px, 100svh);
  display: flex;
  align-items: center;
  padding: 110px 0 40px;
  overflow: hidden;
  background: radial-gradient(55% 70% at 76% 48%, rgba(211, 173, 100, 0.20), transparent 70%), var(--dark-bg);
}

/* blueprint grid */
.ab-page .ab-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(240, 219, 166, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(240, 219, 166, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(90% 90% at 70% 50%, #000 25%, transparent 100%);
  mask-image: radial-gradient(90% 90% at 70% 50%, #000 25%, transparent 100%);
}

.ab-page .ab-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.ab-page .ab-crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--dark-muted);
}

.ab-page .ab-crumbs a {
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.ab-page .ab-crumbs a:hover {
  color: var(--gold-soft);
  border-color: var(--champagne);
}

.ab-page .ab-crumbs [aria-current] {
  color: var(--gold-soft);
}

.ab-page .ab-hero h1 {
  font-size: clamp(42px, 6vw, 80px);
  line-height: 1.03;
  letter-spacing: -0.022em;
  color: var(--dark-text);
  margin-top: 30px;
  max-width: 11.5em;
}

.ab-page .ab-hero-lead {
  color: var(--dark-muted);
  font-size: 18px;
  line-height: 1.75;
  max-width: 34em;
  margin: 26px 0 38px;
}

.ab-page .ab-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* elevation drawing */
.ab-page .ab-elev {
  width: 100%;
  max-width: 520px;
  justify-self: end;
}

.ab-page .ab-elev svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.ab-page .ab-line {
  fill: none;
  stroke: var(--gold-soft);
  stroke-width: 1.3;
  stroke-linecap: butt;
  stroke-linejoin: miter;
}

.ab-page .ab-line--strong {
  stroke-opacity: 0.95;
  stroke-width: 1.7;
}

.ab-page .ab-line--faint {
  stroke-opacity: 0.32;
}

.ab-page .ab-win {
  fill: var(--champagne);
  opacity: var(--o, 0.6);
}

.ab-page .ab-dim text {
  fill: var(--gold-soft);
  font: 500 11px var(--sans);
  opacity: 0.75;
}

@keyframes ab-draw {
  to {
    stroke-dashoffset: 0;
  }

}

@keyframes ab-light {
  from {
    opacity: 0;
  }

  to {
    opacity: var(--o, 0.6);
  }

}

/* Motion only for people who haven't asked for less of it.
Without this block the drawing simply appears fully drawn and lit. */
@media (prefers-reduced-motion: no-preference) {
  .ab-page .ab-draw {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: ab-draw 2.4s var(--ease) var(--d, 0s) forwards;
  }

  .ab-page .ab-win {
    opacity: 0;
    animation: ab-light 1.1s ease var(--d, 3s) forwards;
  }

}

/* ---------------------------------------------------------
2. STORY
--------------------------------------------------------- */
.ab-page .ab-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}

.ab-page .ab-collage {
  position: relative;
  padding-bottom: 64px;
}

.ab-page .ab-collage::before {
  /* offset gold frame */
  content: '';
  position: absolute;
  left: -18px;
  top: -18px;
  width: 58%;
  aspect-ratio: 1;
  border: 1px solid var(--champagne);
  z-index: 0;
}

.ab-page .ab-photo {
  position: relative;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  background: var(--dark-panel);
}

.ab-page .ab-photo picture, .ab-page .ab-photo img, .ab-page .ab-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ab-page .ab-photo picture {
  display: block;
}

.ab-page .ab-photo img {
  object-fit: cover;
}

.ab-page .ab-photo--tall {
  width: 80%;
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 60px rgba(42, 41, 38, 0.18);
}

.ab-page .ab-photo--wide {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 56%;
  aspect-ratio: 4 / 3;
  border: 8px solid var(--ivory);
  box-shadow: 0 24px 50px rgba(42, 41, 38, 0.2);
}

/* used when no project photo exists yet — a quiet drafting-grid panel */
.ab-page .ab-fallback {
  background: linear-gradient(90deg, rgba(240, 219, 166, 0.16) 1px, transparent 1px) 0 0 / 44px 44px, linear-gradient(rgba(240, 219, 166, 0.16) 1px, transparent 1px) 0 0 / 44px 44px, linear-gradient(160deg, #4a3b2a, var(--dark-bg));
}

.ab-page .ab-story-copy h2 {
  margin-bottom: 30px;
}

.ab-page .ab-lead {
  font-size: clamp(19px, 1.8vw, 22px);
  line-height: 1.7;
  color: var(--charcoal);
  max-width: 36em;
}

.ab-page .ab-body {
  font-size: 17px;
  line-height: 1.85;
  color: var(--taupe);
  margin-top: 20px;
  max-width: 40em;
}

.ab-page .ab-offer {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  margin-top: 40px;
  border-top: 1px solid var(--ab-rule);
}

.ab-page .ab-offer li {
  padding: 18px 28px 18px 0;
  margin-right: 28px;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--bronze);
  border-right: 1px solid var(--ab-rule);
}

.ab-page .ab-offer li:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

/* ---------------------------------------------------------
3. MID-PAGE BANNER
--------------------------------------------------------- */
.ab-page .ab-banner {
  position: relative;
  padding: 40px 0;
  text-align: center;
  background-image: linear-gradient(rgba(35, 26, 17, 0.84), rgba(35, 26, 17, 0.92)), var(--ab-bg, linear-gradient(160deg, #4a3b2a, #2E2419));
  background-size: cover;
  background-position: center;
}

@media (min-width: 1025px) and (hover: hover) {
  .ab-page .ab-banner {
    background-attachment: fixed;
  }

}

.ab-page .ab-banner h2 {
  color: var(--dark-text);
  max-width: 16em;
  margin: 0 auto;
}

.ab-page .ab-banner p {
  color: var(--dark-muted);
  font-size: 18px;
  max-width: 36em;
  margin: 22px auto 0;
}

.ab-page .ab-banner .ab-rule {
  display: block;
  width: 72px;
  height: 2px;
  background: var(--champagne);
  margin: 32px auto;
}

.ab-page .ab-banner .ab-hero-actions {
  justify-content: center;
}

/* ---------------------------------------------------------
4. APPROACH + VISION  (alternating rows)
--------------------------------------------------------- */
.ab-page .ab-mv {
  display: grid;
  gap: clamp(72px, 9vw, 130px);
}

.ab-page .ab-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.ab-page .ab-row--flip {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.ab-page .ab-row--flip .ab-row-media {
  order: 2;
}

.ab-page .ab-row-media {
  position: relative;
  margin: 0;
}

.ab-page .ab-row-media .ab-photo {
  aspect-ratio: 4 / 3;
  box-shadow: 0 30px 60px rgba(42, 41, 38, 0.16);
}

.ab-page .ab-row-media::after {
  content: '';
  position: absolute;
  right: -16px;
  bottom: -16px;
  width: 42%;
  height: 42%;
  border-right: 1px solid var(--champagne);
  border-bottom: 1px solid var(--champagne);
  z-index: 0;
}

.ab-page .ab-row--flip .ab-row-media::after {
  right: auto;
  left: -16px;
  border-right: 0;
  border-left: 1px solid var(--champagne);
}

.ab-page .ab-row-copy h2 {
  margin-bottom: 24px;
}

.ab-page .ab-row-copy p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--taupe);
  max-width: 34em;
}

.ab-page .ab-factors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 28px 0 36px;
  max-width: 30em;
}

.ab-page .ab-factors li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  color: var(--charcoal);
}

.ab-page .ab-factors li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--champagne);
}

.ab-page .ab-quote {
  margin: 30px 0 34px;
  padding-left: 24px;
  border-left: 2px solid var(--champagne);
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.3;
  color: var(--charcoal);
  max-width: 20em;
}

/* ---------------------------------------------------------
5. CORE VALUES
--------------------------------------------------------- */
.ab-page .ab-values {
  background: var(--ab-tint);
}

.ab-page .ab-values-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.ab-page .ab-values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ab-rule);
}

.ab-page .ab-value {
  padding: 42px 34px 10px 0;
  margin-right: 34px;
  border-right: 1px solid var(--ab-rule);
}

.ab-page .ab-value:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

.ab-page .ab-value-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid var(--champagne);
  color: var(--bronze);
  margin-bottom: 26px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

.ab-page .ab-value:hover .ab-value-icon {
  background: var(--champagne);
  color: var(--dark-bg);
}

.ab-page .ab-value p {
  margin: 12px 0 0;
  color: var(--taupe);
  font-size: 15.5px;
  line-height: 1.7;
}

/* ---------------------------------------------------------
6. STATS  (reuses .stats-strip / .stat from style.css so the
existing counter animation in main.js keeps working)
--------------------------------------------------------- */
.ab-page .ab-stats .stat {
  padding: 68px 24px;
}

.ab-page .ab-stats .stat .num {
  font-size: clamp(42px, 5.6vw, 76px);
  line-height: 1;
}

.ab-page .ab-stats .stat .label {
  font-size: 13px;
  margin-top: 14px;
}

/* ---------------------------------------------------------
7. WHY CHOOSE US
--------------------------------------------------------- */
.ab-page .ab-why-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: start;
}

.ab-page .ab-why-copy {
  position: sticky;
  top: 120px;
}

.ab-page .ab-why-copy h2 {
  margin-bottom: 28px;
}

.ab-page .ab-why-copy p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--taupe);
  margin-top: 18px;
}

.ab-page .ab-why-list {
  border-top: 1px solid var(--ab-rule);
}

.ab-page .ab-why-list li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 26px;
  padding: 36px 0;
  border-bottom: 1px solid var(--ab-rule);
}

.ab-page .ab-tick {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: var(--dark-bg);
  color: var(--gold-soft);
}

.ab-page .ab-why-list p {
  margin: 10px 0 0;
  color: var(--taupe);
  font-size: 16px;
  line-height: 1.75;
}

/* ---------------------------------------------------------
8. FINAL CTA
--------------------------------------------------------- */
.ab-page .ab-cta {
  background: var(--ab-tint);
  isolation: isolate;
}

.ab-page .ab-cta-panel {
  position: relative;
  padding: clamp(48px, 7vw, 96px);
  text-align: center;
  background: radial-gradient(60% 90% at 50% 0%, rgba(211, 173, 100, 0.18), transparent 70%), var(--dark-bg);
}

.ab-page .ab-cta-panel::before {
  /* offset gold outline */
  content: '';
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--champagne);
  z-index: -1;
}

.ab-page .ab-cta-panel h2 {
  color: var(--dark-text);
  max-width: 16em;
  margin: 0 auto;
}

.ab-page .ab-cta-panel p {
  color: var(--dark-muted);
  font-size: 17px;
  max-width: 34em;
  margin: 20px auto 0;
}

.ab-page .ab-cta-phone {
  display: inline-block;
  margin-top: 36px;
  font-family: var(--serif);
  font-size: clamp(32px, 6vw, 68px);
  line-height: 1.1;
  color: var(--gold-soft);
  border-bottom: 1px solid var(--champagne);
  padding-bottom: 6px;
  transition: color 0.3s var(--ease);
}

.ab-page .ab-cta-phone:hover {
  color: var(--dark-text);
}

.ab-page .ab-cta-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 36px;
  margin-top: 26px;
  font-size: 15px;
  color: var(--dark-muted);
}

.ab-page .ab-cta-meta a:hover {
  color: var(--gold-soft);
}

.ab-page .ab-cta-panel .ab-hero-actions {
  justify-content: center;
  margin-top: 40px;
}

/* ---------------------------------------------------------
RESPONSIVE
--------------------------------------------------------- */
@media (max-width: 1024px) {
  .ab-page .ab-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ab-page .ab-value {
    border-right: 0;
    margin-right: 0;
    padding: 36px 24px 20px 0;
    border-bottom: 1px solid var(--ab-rule);
  }

  .ab-page .ab-value:last-child {
    padding-right: 24px;
  }

  .ab-page .ab-offer {
    grid-template-columns: repeat(2, auto);
  }

  .ab-page .ab-offer li:nth-child(2) {
    border-right: 0;
    margin-right: 0;
  }

  .ab-page .ab-offer li:nth-child(n+3) {
    border-top: 1px solid var(--ab-rule);
  }

}

@media (max-width: 900px) {
  .ab-page .ab-hero {
    min-height: 0;
    padding: 130px 0 72px;
  }

  .ab-page .ab-hero-grid, .ab-page .ab-story-grid, .ab-page .ab-row, .ab-page .ab-row--flip, .ab-page .ab-why-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .ab-page .ab-elev {
    justify-self: center;
    max-width: 380px;
  }

  .ab-page .ab-row--flip .ab-row-media {
    order: 0;
  }

  .ab-page .ab-why-copy {
    position: static;
  }

  .ab-page .ab-banner {
    padding: 88px 0;
  }

  .ab-page .ab-collage {
    max-width: 520px;
  }

}

@media (max-width: 600px) {
  .ab-page .ab-values-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ab-page .ab-value {
    padding-right: 0;
  }

  .ab-page .ab-factors {
    grid-template-columns: minmax(0, 1fr);
  }

  .ab-page .ab-why-list li {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 18px;
  }

  .ab-page .ab-tick {
    width: 48px;
    height: 48px;
  }

  .ab-page .ab-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .ab-page .ab-cta-panel::before {
    inset: 10px -6px -10px 6px;
  }

}

/*blog page*/
/* =========================================================
BLOG POST PAGE  —  assets/css/blog-post.css
Loaded only by blog-post.php. Scoped under .bp-page so no other
page can be affected. Uses the tokens from style.css.
Header and footer are NOT touched.
========================================================= */
.bp-page {
  --bp-bg: #F4F1EA;
  --bp-tint: #F8F4EA;
  --bp-rule: rgba(29, 29, 27, 0.10);
  background: var(--bp-bg);
  padding: 104px 0 88px;
}

.bp-page a:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 3px;
}

/* ---------- breadcrumb ---------- */
.bp-page .bp-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 26px;
  font-size: 13.5px;
  color: var(--taupe);
}

.bp-page .bp-crumbs a {
  color: var(--bronze);
}

.bp-page .bp-crumbs a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bp-page .bp-crumbs [aria-current] {
  color: var(--taupe);
  opacity: 0.85;
}

/* ---------- layout ---------- */
.bp-page .bp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: start;
}

.bp-page .bp-main {
  min-width: 0;
  display: grid;
  gap: 28px;
}

.bp-page .bp-main > article {
  display: grid;
  gap: 28px;
}

.bp-page .bp-side {
  position: sticky;
  top: 100px;
}

.bp-page .bp-card {
  background: var(--warm-white);
  border: 1px solid var(--light-line);
  box-shadow: 0 10px 30px rgba(29, 29, 27, 0.04);
}

/* ---------- title card ---------- */
.bp-page .bp-head {
  padding: clamp(24px, 3.4vw, 40px);
}

.bp-page .bp-head h1 {
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--charcoal);
  max-width: 24em;
}

.bp-page .bp-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 26px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--bp-rule);
  font-size: 14px;
  color: var(--taupe);
}

.bp-page .bp-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bp-page .bp-meta-item svg {
  color: var(--champagne);
  flex: none;
}

.bp-page .bp-meta-cat {
  color: var(--bronze);
  font-weight: 600;
}

.bp-page .bp-share {
  display: flex;
  gap: 8px;
}

.bp-page .bp-share a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--bp-rule);
  color: var(--bronze);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.bp-page .bp-share a:hover {
  background: var(--champagne);
  border-color: var(--champagne);
  color: var(--dark-bg);
}

/* ---------- image + body ---------- */
.bp-page .bp-figure {
  margin: 0;
  background: linear-gradient(135deg, #e9e2d3, #cbbfa4);
}

.bp-page .bp-figure picture, .bp-page .bp-figure img {
  display: block;
  width: 100%;
  height: 500px;
}

.bp-page .bp-content {
  padding: clamp(24px, 4vw, 48px) clamp(20px, 4.4vw, 56px) clamp(28px, 4vw, 52px);
  font-size: 17px;
  line-height: 1.85;
}

.bp-page .bp-content > * {
  max-width: 46em;
}

.bp-page .bp-content p {
  color: var(--taupe);
}

.bp-page .bp-content h2, .bp-page .bp-content h3 {
  margin: 40px 0 18px;
  padding-top: 32px;
 
}

.bp-page .bp-content h2 {
  font-size: clamp(21px, 2.4vw, 26px);
}

.bp-page .bp-content h3 {
  font-size: clamp(18px, 2vw, 21px);
}

.bp-page .bp-content > :first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.bp-page .bp-content li {
  color: var(--taupe);
}

.bp-page .bp-content strong, .bp-page .bp-content b {
  color: var(--charcoal);
}

.bp-page .bp-content blockquote {
  max-width: 46em;
  margin: 34px 0;
  padding: 24px 28px;
  background: var(--bp-tint);
  border-left: 3px solid var(--champagne);
  font-size: 20px;
  line-height: 1.55;
}

.bp-page .bp-content img {
  max-width: 100%;
}

/* ---------- previous / next ---------- */
.bp-page .bp-pn {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  padding: 4px 4px 0;
}

.bp-page .bp-pn a {
  display: block;
}

.bp-page .bp-pn small {
  display: block;
  font-size: 13px;
  color: var(--taupe);
  margin-bottom: 6px;
}

.bp-page .bp-pn span {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.35;
  color: var(--bronze);
  transition: color 0.3s var(--ease);
}

.bp-page .bp-pn a:hover span {
  color: var(--charcoal);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.bp-page .bp-pn-next {
  text-align: right;
}

/* ---------- author ---------- */
.bp-page .bp-author {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px clamp(20px, 3vw, 36px);
}

.bp-page .bp-avatar {
  flex: none;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--dark-bg);
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: 26px;
}

.bp-page .bp-author-name {
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--charcoal);
}

.bp-page .bp-author-note {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--taupe);
}

/* ---------- related posts ---------- */
.bp-page .bp-related {
  margin-top: 12px;
}

.bp-page .bp-related > h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  margin-bottom: 22px;
}

.bp-page .bp-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.bp-page .bp-rel {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--warm-white);
  border: 1px solid var(--light-line);
  box-shadow: 0 10px 30px rgba(29, 29, 27, 0.04);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

.bp-page .bp-rel:hover {
  box-shadow: 0 20px 44px rgba(29, 29, 27, 0.10);
  transform: translateY(-3px);
}

.bp-page .bp-rel-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #e9e2d3, #cbbfa4);
}

.bp-page .bp-rel-thumb picture, .bp-page .bp-rel-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bp-page .bp-rel-body {
  padding: 20px 20px 16px;
  flex: 1;
}

.bp-page .bp-rel-cat {
  margin: 0 0 10px;
  font-size: 12.5px;
  color: var(--bronze);
  font-weight: 600;
}

.bp-page .bp-rel h3 {
  font-size: 18px;
  line-height: 1.3;
}

.bp-page .bp-rel h3 a::after {
  content: '';
  position: absolute;
  inset: 0;
}

/* whole card is clickable */
.bp-page .bp-rel-excerpt {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--taupe);
}

.bp-page .bp-rel-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--bronze);
  border-bottom: 1px solid var(--champagne);
  padding-bottom: 2px;
}

.bp-page .bp-rel-foot {
  padding: 12px 20px;
  border-top: 1px solid var(--bp-rule);
  font-size: 13px;
  color: var(--taupe);
}

/* ---------- sidebar CTA (replaces the newsletter box) ---------- */
.bp-page .bp-cta {
  padding: 30px 28px;
  border-top: 3px solid var(--champagne);
}

.bp-page .bp-cta h2 {
  font-size: 24px;
}

.bp-page .bp-cta p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--taupe);
}

.bp-page .bp-cta .btn {
  width: 100%;
  justify-content: center;
  margin-top: 22px;
  color: var(--dark-bg);
}

.bp-page .bp-cta .btn:hover {
  color: var(--warm-white);
}

.bp-page .bp-cta-link {
  display: block;
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--bronze);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.bp-page .bp-cta .bp-cta-phone {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--bp-rule);
  text-align: center;
  font-size: 14px;
}

.bp-page .bp-cta-phone a {
  color: var(--bronze);
  font-weight: 600;
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .bp-page .bp-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .bp-page .bp-side {
    position: static;
  }

}

@media (max-width: 700px) {
  .bp-page {
    padding: 92px 0 64px;
  }

  .bp-page .bp-related-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .bp-page .bp-pn {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .bp-page .bp-pn-next {
    text-align: left;
  }

  .bp-page .bp-content {
    font-size: 16px;
  }

  .bp-page .bp-author {
    padding: 22px 20px;
  }

}

/*Contact us page */
/* ------------------------------------------------------------------ */
/* CONTACT PAGE — 60/40 SPLIT LAYOUT                                   */
/* ------------------------------------------------------------------ */
.contact-wrap {
  display: flex;
  align-items: stretch;
  gap: 40px;
  margin-top: 32px;
}

.contact-form-col {
  flex: 0 0 60%;
  max-width: 60%;
}

.contact-info-col {
  flex: 0 0 40%;
  max-width: 40%;
}

.contact-info-card {
  background: #faf8f2;
  border: 1px solid #eee1c6;
  border-left: 4px solid var(--bronze, #d5ad58);
  border-radius: 10px;
  padding: 30px;
  height: 100%;
  box-sizing: border-box;
}

.contact-info-card h3 {
  margin: 0 0 20px;
  font-size: 20px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bronze, #d5ad58);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.contact-info-label {
  margin: 0 0 4px;
  font-weight: 700;
  font-size: 14px;
  color: #333;
}

.contact-info-value {
  margin: 0;
  font-size: 14px;
  color: var(--taupe, #777);
  line-height: 1.5;
}

/* ------------------------------------------------------------------ */
/* TABLET — stack the two columns, form on top                        */
/* ------------------------------------------------------------------ */
@media (max-width: 1024px) {
  .contact-wrap {
    flex-direction: column;
    gap: 30px;
  }

  .contact-form-col, .contact-info-col {
    flex: 0 0 100%;
    max-width: 100%;
  }

}

/* ------------------------------------------------------------------ */
/* MOBILE — tighter spacing                                            */
/* ------------------------------------------------------------------ */
@media (max-width: 600px) {
  .contact-wrap {
    gap: 20px;
    margin-top: 24px;
  }

  .contact-info-card {
    padding: 22px;
  }

}

/* =========================================================
   360-STYLE PROJECTS LISTING + PROJECT DETAIL
   Existing header/footer remain untouched.
========================================================= */
.hp-listing-page,
.hp-project-page {
  --hp-blue: #0c2d4f;
  --hp-blue-2: #133f68;
  --hp-orange: #f15b35;
  --hp-orange-soft: #fff2ed;
  --hp-bg: #f7f9fc;
  --hp-line: #dfe7ef;
  --hp-muted: #687789;
  --hp-text: #132131;
  --hp-card: #ffffff;
  margin-top: 30px;
}

.hp-container {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.hp-listing-head {
  background: #f4f7fa;
  border-top: 1px solid #edf1f5;
  border-bottom: 1px solid #e3e8ee;
  padding: 38px 0 22px;
}

.hp-listing-head .hp-container,
.hp-project-title-grid {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.hp-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #738196;
  margin-bottom: 10px;
}

.hp-breadcrumbs a:hover { color: var(--hp-blue); }

.hp-listing-head h1,
.hp-project-titlebar h1 {
  font-family: var(--sans);
  color: var(--hp-text);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hp-listing-head h1 { font-size: clamp(28px, 3vw, 42px); }
.hp-listing-head p { color: var(--hp-muted); margin: 5px 0 0; font-size: 14px; }

.hp-listing-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
}

.hp-search-box,
.hp-sort-box {
  height: 48px;
  background: #fff;
  border: 1px solid #dbe3ea;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  color: #6f8092;
  font-size: 12px;
}

.hp-search-box { min-width: 300px; }
.hp-search-box input,
.hp-sort-box select {
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--hp-text);
  width: 100%;
  font-family: var(--sans);
}

.hp-sort-box { gap: 10px; white-space: nowrap; }
.hp-sort-box select { min-width: 125px; }

.hp-listing-section { background: var(--hp-bg); padding: 28px 0 54px; }
.hp-listing-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; }

.hp-filter-panel {
  background: #fff;
  border: 1px solid var(--hp-line);
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(21, 40, 59, .04);
  overflow: hidden;
  position: sticky;
  top: 90px;
}

.hp-filter-head {
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--hp-line);
  font-size: 12px;
  letter-spacing: .08em;
}

.hp-filter-head a { color: #3774a5; font-size: 12px; font-weight: 600; letter-spacing: 0; }
.hp-filter-group { padding: 18px; border-bottom: 1px solid var(--hp-line); }
.hp-filter-title { display:flex; justify-content:space-between; font-weight: 700; font-size: 14px; color: var(--hp-text); margin-bottom: 14px; }
.hp-filter-title span { color: #8795a5; }
.hp-budget-inputs { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.hp-budget-inputs label { font-size:9px; text-transform:uppercase; letter-spacing:.08em; color:#8491a0; }
.hp-budget-inputs input,
.hp-locality-search {
  width:100%; margin-top:6px; border:1px solid #dfe6ed; border-radius:7px; height:38px; padding:0 10px; outline:0; background:#fbfcfd;
}
.hp-filter-apply { width:100%; margin-top:12px; background:var(--hp-blue); color:#fff; border:0; border-radius:7px; height:38px; font-weight:700; font-size:12px; }
.hp-filter-apply:hover { background:var(--hp-blue-2); }
.hp-filter-apply-full { height:44px; border-radius:0; margin:0; }
.hp-check-row { display:flex; gap:9px; align-items:center; font-size:12px; color:#5f6c7b; margin:10px 0; }
.hp-check-row input, .hp-chip-check input { accent-color: var(--hp-blue); }
.hp-locality-list { display:grid; gap:7px; margin-top:12px; }
.hp-locality-chip { text-align:left; border:0; background:transparent; color:#58718b; padding:2px 0; font-size:12px; cursor:pointer; }
.hp-locality-chip:hover { color:var(--hp-orange); }
.hp-chip-grid { display:flex; flex-wrap:wrap; gap:7px; }
.hp-chip-check { position:relative; }
.hp-chip-check input { position:absolute; opacity:0; pointer-events:none; }
.hp-chip-check span { display:block; border:1px solid #dce5ed; border-radius:6px; padding:7px 10px; font-size:11px; color:#516273; background:#fff; cursor:pointer; }
.hp-chip-check input:checked + span { background:#edf5fc; border-color:#3f78a8; color:var(--hp-blue); font-weight:700; }

.hp-project-results { min-width:0; }
.hp-results-meta { display:flex; justify-content:space-between; align-items:center; margin:2px 0 14px; color:#748394; font-size:12px; }
.hp-results-reset { color:#d15e3c; }
.hp-project-grid { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:18px; }

.hp-project-card {
  background:#fff;
  border:1px solid #dce4eb;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 8px 23px rgba(15,37,58,.055);
  transition:transform .25s ease, box-shadow .25s ease;
}
.hp-project-card:hover { transform:translateY(-4px); box-shadow:0 16px 30px rgba(15,37,58,.09); }
.hp-project-card-media { display:block; position:relative; aspect-ratio:1.47 / 1; overflow:hidden; background:#dfe7ee; }
.hp-project-card-media img { width:100%; height:100%; object-fit:cover; transition:transform .45s ease; }
.hp-project-card:hover .hp-project-card-media img { transform:scale(1.04); }
.hp-card-placeholder { display:grid; place-items:center; height:100%; color:#6b7c8d; font-size:12px; background:linear-gradient(135deg,#dce5ee,#edf2f6); }
.hp-card-status,
.hp-card-rera { position:absolute; top:10px; padding:6px 8px; border-radius:5px; font-size:8px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.hp-card-status { left:10px; background:#0e426d; color:#fff; }
.hp-card-rera { right:10px; background:rgba(255,255,255,.96); color:#176391; }
.hp-project-card-body { padding:13px 13px 12px; }
.hp-project-card-title { display:block; font-family:var(--sans); font-size:15px; font-weight:800; color:#162536; }
.hp-project-card-location, .hp-project-card-config { font-size:11px; color:#738293; margin-top:6px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.hp-project-card-bottom { display:flex; align-items:flex-end; justify-content:space-between; gap:10px; border-top:1px solid #edf1f5; margin-top:12px; padding-top:10px; }
.hp-project-card-bottom span { display:block; font-size:8px; color:#98a5b3; letter-spacing:.08em; }
.hp-project-card-bottom strong { display:block; margin-top:2px; font-size:14px; color:#162536; }
.hp-view-link { color:#2e70a5; font-size:11px; font-weight:700; white-space:nowrap; }

.hp-pagination { display:flex; justify-content:center; flex-wrap:wrap; gap:7px; margin-top:26px; }
.hp-pagination a, .hp-pagination span { min-width:38px; height:38px; display:grid; place-items:center; border:1px solid #dbe4eb; border-radius:7px; background:#fff; color:#526477; font-size:12px; }
.hp-pagination .active { background:var(--hp-blue); color:#fff; border-color:var(--hp-blue); }

.hp-explore-section { background:#fff; border-top:1px solid #e6ebf0; padding:34px 0 56px; }
.hp-section-heading-wide { margin-bottom:18px; }
.hp-section-heading-wide h2 { font-family:var(--sans); font-size:24px; color:var(--hp-text); margin-top:7px; }
.hp-section-heading-wide span { font-size:10px; font-weight:800; color:#6e7f91; letter-spacing:.12em; }
.hp-explore-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; }
.hp-explore-grid a { border:1px solid #dce5ec; background:#fbfcfd; border-radius:7px; padding:10px 12px; color:#546679; font-size:11px; }
.hp-explore-grid a:hover { border-color:#8eabc3; color:var(--hp-blue); }
.hp-explore-more { text-align:center; margin-top:18px; }
.hp-explore-more button { background:var(--hp-blue); color:#fff; border:0; border-radius:6px; padding:10px 16px; font-size:11px; font-weight:700; }

.hp-project-gallery-wrap { background:#f5f7fa; padding:20px 0 0; }
.hp-project-gallery { display:grid; grid-template-columns:1.18fr .82fr; gap:4px; background:#fff; border:1px solid #e1e7ed; border-radius:10px; overflow:hidden; }
.hp-gallery-main { min-height:350px; background:#e4ebf0; }
.hp-gallery-main img { width:100%; height:100%; min-height:350px; object-fit:cover; display:block; }
.hp-gallery-placeholder { min-height:350px; display:grid; place-items:center; color:#768698; font-size:13px; }
.hp-gallery-thumbs { display:grid; grid-template-columns:repeat(2,1fr); grid-template-rows:repeat(3,1fr); gap:4px; }
.hp-gallery-thumb { padding:0; border:0; background:#e6edf2; overflow:hidden; cursor:pointer; min-height:0; }
.hp-gallery-thumb img { width:100%; height:100%; object-fit:cover; display:block; transition:filter .2s ease; }
.hp-gallery-thumb:hover img, .hp-gallery-thumb.is-active img { filter:brightness(.88); }
.hp-gallery-thumb.is-active { outline:3px solid var(--hp-orange); outline-offset:-3px; }
.hp-gallery-thumb span { display:grid; place-items:center; height:100%; color:#7d8994; font-size:11px; }

.hp-project-titlebar { background:#fff; border-bottom:1px solid #e2e8ee; padding:20px 0; }
.hp-project-title-grid { align-items:center; }
.hp-project-kicker { display:flex; align-items:center; gap:8px; margin-bottom:8px; }
.hp-status-badge, .hp-rera-badge { display:inline-flex; align-items:center; border-radius:5px; padding:5px 8px; font-size:8px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.hp-status-badge { background:#e9f2f9; color:#2a608b; }
.hp-rera-badge { background:#eaf6f0; color:#177049; }
.hp-project-titlebar h1 { font-size:clamp(26px,3.1vw,38px); }
.hp-project-titlebar p { margin:7px 0 0; color:#687789; font-size:13px; }
.hp-project-location { margin-top:8px; font-size:12px; color:#718295; }
.hp-price-box { min-width:260px; padding:14px 16px; border:1px solid #dfe7ee; border-radius:10px; background:#fbfcfd; }
.hp-price-box > span { display:block; color:#8795a3; letter-spacing:.08em; font-size:8px; font-weight:800; }
.hp-price-box strong { display:block; font-size:22px; color:#122538; margin-top:3px; }
.hp-title-actions { display:flex; gap:8px; margin-top:12px; }

.hp-btn { display:inline-flex; justify-content:center; align-items:center; gap:7px; min-height:40px; padding:0 16px; border-radius:7px; font-size:11px; font-weight:800; border:1px solid transparent; transition:.2s ease; }
.hp-btn-primary { background:var(--hp-blue); color:#fff; }
.hp-btn-primary:hover { background:var(--hp-blue-2); color:#fff; }
.hp-btn-light { background:#fff; border-color:#cfdae3; color:#28455f; }
.hp-btn-light:hover { border-color:#8ea9c0; color:var(--hp-blue); }
.hp-btn-full { width:100%; }

.hp-project-section { background:var(--hp-bg); padding:24px 0 56px; }
.hp-project-layout { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:22px; align-items:start; }
.hp-project-main { min-width:0; }
.hp-content-card, .hp-sidebar-card { background:#fff; border:1px solid #dee6ed; border-radius:10px; box-shadow:0 7px 18px rgba(15,37,58,.035); margin-bottom:18px; }
.hp-content-card { padding:20px; }
.hp-section-heading { margin-bottom:15px; }
.hp-section-heading span, .hp-mini-label { display:block; color:#758596; font-size:9px; letter-spacing:.12em; font-weight:800; text-transform:uppercase; }
.hp-section-heading h2 { font-family:var(--sans); color:#122538; font-size:20px; margin-top:5px; }
.hp-rich-copy { color:#556679; font-size:12px; line-height:1.85; }
.hp-muted-copy { color:#7b8996; font-size:10px; line-height:1.65; }

.hp-overview-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:9px; }
.hp-overview-item { display:flex; gap:10px; align-items:center; border:1px solid #e4eaf0; background:#fafbfd; border-radius:8px; padding:11px; }
.hp-overview-item span { display:block; font-size:9px; color:#8a98a7; text-transform:uppercase; letter-spacing:.06em; }
.hp-overview-item strong { display:block; font-size:11px; color:#1e3246; margin-top:2px; }
.hp-overview-icon { width:30px; height:30px; border-radius:7px; background:#ecf3f8; color:#20537a; display:grid; place-items:center; flex:0 0 auto; font-weight:800; font-size:10px; }

.hp-check-list { margin:0; padding:0; list-style:none; display:grid; gap:8px; }
.hp-check-list li { position:relative; padding-left:20px; color:#526477; font-size:12px; line-height:1.65; }
.hp-check-list li::before { content:'✓'; position:absolute; left:0; top:0; color:var(--hp-orange); font-weight:900; }

.hp-price-table-wrap { overflow-x:auto; }
.hp-price-table { width:100%; border-collapse:collapse; font-size:11px; }
.hp-price-table th { background:var(--hp-blue); color:#fff; padding:10px 11px; text-align:left; font-size:9px; letter-spacing:.07em; }
.hp-price-table td { border-bottom:1px solid #e6ebf0; padding:11px; color:#556679; }
.hp-price-table tr:last-child td { border-bottom:0; }
.hp-table-link { color:#2e6f9d; font-weight:800; white-space:nowrap; }
.hp-summary-strip { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:12px; }
.hp-summary-strip > div { border:1px solid #e4eaf0; background:#fbfcfd; padding:11px; border-radius:7px; }
.hp-summary-strip span { display:block; color:#8895a2; font-size:9px; text-transform:uppercase; }
.hp-summary-strip strong { display:block; margin-top:3px; font-size:11px; color:#1f3347; }

.hp-near-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:15px; }
.hp-near-grid div { border:1px solid #e2e9ef; border-radius:7px; padding:10px; background:#fbfcfd; }
.hp-near-grid strong, .hp-near-grid span { display:block; }
.hp-near-grid strong { font-size:10px; color:#294057; }
.hp-near-grid span { font-size:11px; color:#6f8092; margin-top:4px; }

.hp-legal-card { display:flex; justify-content:space-between; align-items:center; gap:18px; background:#f3f8fb; }
.hp-legal-card h2 { font-family:var(--sans); font-size:16px; color:#16334c; margin:5px 0 3px; }
.hp-legal-card p { margin:0; font-size:11px; color:#577084; }
.hp-legal-card .hp-muted-copy { margin-top:7px; max-width:700px; }

.hp-coming-soon { min-height:220px; display:grid; place-items:center; border:1px dashed #cbd7e1; background:#f9fbfc; color:#6e7e8d; font-size:22px; font-weight:800; transform:rotate(-0.5deg); }
.hp-floor-plan-image { width:100%; max-height:520px; object-fit:contain; border:1px solid #e2e8ee; background:#fff; }
.hp-floor-note { margin:10px 0 0; text-align:center; }

.hp-downloads-card { display:flex; justify-content:space-between; align-items:center; gap:18px; }
.hp-downloads-card h2 { font-family:var(--sans); font-size:18px; margin-top:5px; color:#122538; }
.hp-download-actions { display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }

.hp-amenities-grid { display:grid; grid-template-columns:repeat(4,1fr); border:1px solid #e3e9ef; }
.hp-amenity-item { border-right:1px solid #e3e9ef; border-bottom:1px solid #e3e9ef; padding:12px; display:flex; flex-direction:column; gap:8px; align-items:center; justify-content:center; text-align:center; }
.hp-amenity-item:nth-child(4n) { border-right:0; }
.hp-amenity-item strong { font-size:10px; color:#30465b; }

.hp-details-grid { display:grid; grid-template-columns:repeat(2,1fr); border-top:1px solid #e3e9ef; border-left:1px solid #e3e9ef; }
.hp-details-grid div { padding:11px; border-right:1px solid #e3e9ef; border-bottom:1px solid #e3e9ef; }
.hp-details-grid span, .hp-details-grid strong { display:block; }
.hp-details-grid span { font-size:9px; color:#8795a4; text-transform:uppercase; letter-spacing:.06em; }
.hp-details-grid strong { font-size:11px; color:#2b4054; margin-top:2px; }

.hp-faq-list details { border-top:1px solid #e4e9ee; }
.hp-faq-list details:last-child { border-bottom:1px solid #e4e9ee; }
.hp-faq-list summary { list-style:none; cursor:pointer; padding:12px 0; font-size:12px; color:#294056; font-weight:700; display:flex; justify-content:space-between; }
.hp-faq-list summary::-webkit-details-marker { display:none; }
.hp-faq-list summary span { color:var(--hp-orange); font-size:16px; line-height:1; }
.hp-faq-list details > div { padding:0 0 13px; color:#667889; font-size:11px; line-height:1.7; }

.hp-nearby-table { display:grid; grid-template-columns:repeat(2,1fr); border-top:1px solid #e4e9ee; border-left:1px solid #e4e9ee; }
.hp-nearby-table div { padding:12px; border-right:1px solid #e4e9ee; border-bottom:1px solid #e4e9ee; }
.hp-nearby-table strong, .hp-nearby-table span, .hp-nearby-table small { display:block; }
.hp-nearby-table strong { font-size:11px; color:#294156; }
.hp-nearby-table span { font-size:10px; color:#3d6c91; margin-top:3px; }
.hp-nearby-table small { font-size:9px; color:#8a97a4; margin-top:4px; }

.hp-project-sidebar { position:sticky; top:92px; }
.hp-sidebar-card { padding:18px; }
.hp-sidebar-card h2 { font-family:var(--sans); font-size:18px; color:#122538; margin-top:7px; }
.hp-sidebar-card > p { font-size:11px; line-height:1.6; color:#718093; margin:8px 0 15px; }
.hp-inline-lead-form { display:grid; gap:9px; }
.hp-inline-lead-form label span { display:block; font-size:9px; color:#8190a0; text-transform:uppercase; letter-spacing:.06em; margin-bottom:4px; }
.hp-inline-lead-form input, .hp-inline-lead-form textarea { width:100%; border:1px solid #dfe6ed; background:#fbfcfd; border-radius:6px; padding:9px 10px; outline:0; font-family:var(--sans); font-size:11px; color:#23394e; }
.hp-inline-lead-form textarea { resize:vertical; min-height:70px; }
.hp-sidebar-actions { display:grid; gap:8px; margin-top:8px; }
.hp-sidebar-meta { border-top:1px solid #e5eaf0; margin-top:14px; padding-top:12px; display:grid; gap:9px; }
.hp-sidebar-meta span { display:block; color:#8794a2; font-size:8px; text-transform:uppercase; }
.hp-sidebar-meta strong { display:block; color:#294156; font-size:10px; margin-top:2px; }
.hp-form-message { min-height:14px; font-size:10px; }
.hp-form-message.is-success { color:#168355; }
.hp-form-message.is-error { color:#d65332; }

.hp-empty-state { padding:50px 20px; text-align:center; border:1px dashed #cfdae3; background:#fbfcfd; border-radius:10px; color:#657688; }
.hp-empty-state h1, .hp-empty-state h2 { font-family:var(--sans); color:#20354a; font-size:25px; }
.hp-empty-state p { margin:8px 0 18px; font-size:12px; }
.hp-empty-state-wide { grid-column:1/-1; }

@media (max-width: 1100px) {
  .hp-project-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .hp-project-layout { grid-template-columns:minmax(0,1fr) 290px; }
  .hp-overview-grid { grid-template-columns:repeat(2,1fr); }
  .hp-explore-grid { grid-template-columns:repeat(3,1fr); }
}

@media (max-width: 900px) {
  .hp-listing-head .hp-container, .hp-project-title-grid { align-items:flex-start; flex-direction:column; }
  .hp-listing-toolbar { width:100%; }
  .hp-search-box { flex:1; }
  .hp-listing-layout { grid-template-columns:1fr; }
  .hp-filter-panel { position:static; }
  .hp-project-layout { grid-template-columns:1fr; }
  .hp-project-sidebar { position:static; }
  .hp-project-gallery { grid-template-columns:1fr; }
  .hp-gallery-main, .hp-gallery-main img { min-height:280px; }
  .hp-gallery-thumbs { grid-template-columns:repeat(5,1fr); grid-template-rows:1fr; height:88px; }
  .hp-explore-grid { grid-template-columns:repeat(2,1fr); }
  .hp-price-box { width:100%; min-width:0; }
}

@media (max-width: 620px) {
  .hp-container { width:min(100% - 28px, 1280px); }
  .hp-listing-toolbar { flex-direction:column; align-items:stretch; }
  .hp-search-box { min-width:0; width:100%; }
  .hp-sort-box { width:100%; }
  .hp-project-grid { grid-template-columns:1fr; }
  .hp-project-gallery { border-radius:0; margin-left:-14px; margin-right:-14px; }
  .hp-gallery-main, .hp-gallery-main img { min-height:220px; }
  .hp-gallery-thumbs { height:70px; }
  .hp-overview-grid, .hp-near-grid, .hp-amenities-grid, .hp-details-grid, .hp-nearby-table { grid-template-columns:1fr; }
  .hp-amenity-item { border-right:0; }
  .hp-summary-strip { grid-template-columns:1fr; }
  .hp-downloads-card, .hp-legal-card { align-items:stretch; flex-direction:column; }
  .hp-download-actions { justify-content:stretch; }
  .hp-download-actions .hp-btn { flex:1; }
  .hp-explore-grid { grid-template-columns:1fr; }
}

/* =========================================================
   FINAL PROJECT LISTING / DETAIL FIXES
   - Habitat Prop Solutions theme colors
   - Consistent left/right page margins
   - No negative mobile gallery margins
   - Clean card icons (prevents broken ? glyphs)
========================================================= */
.hp-listing-page,
.hp-project-page {
  --hp-blue: var(--bronze);
  --hp-blue-2: var(--charcoal);
  --hp-orange: var(--champagne);
  --hp-orange-soft: var(--champagne-10);
  --hp-bg: var(--ivory);
  --hp-line: var(--light-line);
  --hp-muted: var(--bronze);
  --hp-text: var(--charcoal);
  --hp-card: var(--warm-white);
}

.hp-listing-page .hp-container,
.hp-project-page .hp-container {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
  margin-top: 50px;
}

.hp-listing-page,
.hp-project-page {
  color: var(--charcoal);
}

.hp-listing-head,
.hp-project-gallery-wrap,
.hp-project-titlebar,
.hp-project-section {
  border-color: var(--light-line);
}

.hp-listing-head {
  background: var(--ivory);
  padding-top: 28px;
}

.hp-listing-section,
.hp-project-section {
  background: var(--ivory);
}

.hp-filter-panel,
.hp-project-card,
.hp-content-card,
.hp-sidebar-card,
.hp-price-box,
.hp-search-box,
.hp-sort-box,
.hp-explore-grid a {
  border-color: var(--light-line);
}

.hp-filter-apply,
.hp-pagination .active,
.hp-price-table th,
.hp-explore-more button,
.hp-card-status,
.hp-btn-primary {
  background: var(--bronze);
}

.hp-filter-apply:hover,
.hp-btn-primary:hover,
.hp-explore-more button:hover {
  background: var(--charcoal);
}

.hp-chip-check input:checked + span {
  background: var(--champagne-10);
  border-color: var(--champagne);
  color: var(--bronze);
}

.hp-project-card {
  border: 1px solid var(--light-line);
  box-shadow: 0 8px 24px rgba(42, 41, 38, 0.06);
}

.hp-project-card:hover {
  box-shadow: 0 16px 30px rgba(42, 41, 38, 0.10);
}

.hp-project-card-title,
.hp-project-card-bottom strong,
.hp-section-heading h2,
.hp-project-titlebar h1,
.hp-sidebar-card h2,
.hp-summary-strip strong,
.hp-details-grid strong,
.hp-near-grid strong,
.hp-nearby-table strong {
  color: var(--charcoal);
}

.hp-project-card-location,
.hp-project-card-config,
.hp-project-card-bottom span,
.hp-muted-copy,
.hp-project-titlebar p,
.hp-project-location,
.hp-rich-copy {
  color: var(--bronze);
}

.hp-view-link,
.hp-filter-head a,
.hp-table-link,
.hp-explore-grid a:hover {
  color: var(--bronze);
}

.hp-card-rera {
  background: rgba(253, 252, 250, .96);
  color: var(--bronze);
  border: 1px solid var(--light-line);
}

.hp-card-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 4px;
  color: var(--bronze);
  vertical-align: -2px;
}

.hp-project-card-location,
.hp-project-card-config {
  display: flex;
  align-items: center;
}

.hp-status-badge {
  background: var(--champagne-10);
  color: var(--bronze);
  border: 1px solid var(--champagne-25);
}

.hp-rera-badge {
  background: var(--champagne-10);
  color: var(--bronze);
  border: 1px solid var(--champagne-25);
}

.hp-overview-item,
.hp-summary-strip > div,
.hp-near-grid div,
.hp-downloads-card,
.hp-explore-grid a,
.hp-details-grid div,
.hp-nearby-table div {
  background: var(--warm-white);
  border-color: var(--light-line);
}

.hp-overview-icon {
  background: var(--champagne-10);
  color: var(--bronze);
}

.hp-check-list li::before,
.hp-faq-list summary span {
  color: var(--champagne);
}

.hp-project-gallery {
  border-color: var(--light-line);
  box-shadow: 0 8px 24px rgba(42, 41, 38, .05);
}

.hp-project-gallery-wrap {
  background: var(--ivory);
  padding-top: 24px;
}

.hp-project-titlebar {
  background: var(--warm-white);
}

.hp-project-section {
  padding-top: 28px;
}

@media (max-width: 620px) {
  .hp-listing-page .hp-container,
  .hp-project-page .hp-container {
    width: calc(100% - 32px);
  }

  .hp-project-gallery {
    margin-left: 0;
    margin-right: 0;
    border-radius: 10px;
  }
}


/* =========================================================
   PROJECT DETAIL — READABILITY / ZOOM BALANCE
   Keeps existing left/right margins and width unchanged.
========================================================= */

.hp-project-section {
  padding: 34px 0 68px;
}

.hp-project-layout {
  gap: 24px;
}

.hp-content-card {
  padding: 28px;
  margin-bottom: 22px;
}

.hp-section-heading {
  margin-bottom: 20px;
}

.hp-section-heading span,
.hp-mini-label {
  font-size: 10px;
  letter-spacing: .14em;
}

.hp-section-heading h2 {
  font-size: 23px;
  line-height: 1.25;
  margin-top: 6px;
}

.hp-overview-grid {
  gap: 12px;
}

.hp-overview-item {
  gap: 12px;
  padding: 14px;
  min-height: 66px;
  border-radius: 9px;
}

.hp-overview-item span {
  font-size: 10px;
  letter-spacing: .07em;
}

.hp-overview-item strong {
  font-size: 13px;
  margin-top: 3px;
  line-height: 1.35;
}

.hp-overview-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 11px;
}

.hp-rich-copy {
  font-size: 14px;
  line-height: 1.8;
}

.hp-check-list {
  gap: 10px;
}

.hp-check-list li {
  padding-left: 22px;
  font-size: 13px;
  line-height: 1.7;
}

.hp-price-table {
  font-size: 12px;
}

.hp-price-table th {
  padding: 11px 12px;
  font-size: 10px;
}

.hp-price-table td {
  padding: 12px;
}

.hp-muted-copy {
  font-size: 11px;
  line-height: 1.7;
}

.hp-summary-strip {
  gap: 10px;
  margin-top: 14px;
}

.hp-summary-strip > div {
  padding: 13px;
}

.hp-summary-strip span {
  font-size: 10px;
}

.hp-summary-strip strong {
  font-size: 12px;
}

@media (max-width: 900px) {
  .hp-project-section {
    padding: 28px 0 54px;
  }

  .hp-content-card {
    padding: 22px;
  }

  .hp-section-heading h2 {
    font-size: 21px;
  }

  .hp-overview-item {
    padding: 13px;
  }
}

@media (max-width: 620px) {
  .hp-project-section {
    padding: 22px 0 44px;
  }

  .hp-content-card {
    padding: 18px;
    margin-bottom: 18px;
  }

  .hp-section-heading h2 {
    font-size: 20px;
  }

  .hp-overview-item strong {
    font-size: 12px;
  }

  .hp-rich-copy {
    font-size: 13px;
  }
}


/* =========================================================
   HOMEPAGE RESPONSIVE FIXES — REFINED MOBILE + TABLET
   Desktop layout remains unchanged.
========================================================= */

/* Tablet */
@media (max-width: 991px) {
  .hero-content {
    padding: 42px 40px 86px;
  }

  .hero h1 {
    max-width: 720px;
    font-size: clamp(38px, 7vw, 62px);
  }

  .hero p {
    max-width: 430px;
  }

  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .why-card {
    min-width: 0;
    padding: 22px 20px;
  }

  .testimonial-track {
    gap: 16px;
  }

  .testimonial-card {
    flex: 0 0 calc((100vw - 64px - 16px) / 2);
    width: calc((100vw - 64px - 16px) / 2);
    min-width: 0;
    max-width: none;
    padding: 24px 20px;
  }

  /* Homepage sections: use the available tablet width without oversized cards. */
  .hp-expertise-section,
  .hp-process-section {
    padding-top: 64px;
    padding-bottom: 68px;
  }

  .hp-container {
    width: min(100% - 32px, 900px);
  }

  .hp-section-heading {
    margin-bottom: 34px;
  }

  .hp-expertise-card {
    min-height: 225px;
    padding: 24px 20px;
  }

  .hp-expertise-content {
    margin-top: 42px;
  }

  .hp-process-header {
    margin-bottom: 34px;
  }

  .hp-process-step {
    min-height: 205px;
    padding: 24px 22px 22px;
  }

  .hp-process-content {
    padding-top: 42px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  /* HERO: reduce the large empty image area and bring the copy higher. */
  .hero {
    min-height: 430px;
    height: 450px;
  }

  .hero-content {
    padding: 0 16px 126px;
  }

  .hero-label {
    margin-bottom: 12px;
    font-size: 9px;
    letter-spacing: 0.17em;
  }

  .hero h1 {
    max-width: 300px;
    font-size: clamp(33px, 9.2vw, 42px);
    line-height: 1.06;
  }

  .hero p {
    max-width: 245px;
    margin: 12px 0 0;
    font-size: 12px;
    line-height: 1.55;
  }

  .scroll-indicator {
    bottom: 14px;
    font-size: 8px;
    gap: 5px;
  }

  .scroll-indicator .line {
    height: 20px;
  }

  /* WHY CHOOSE: compact 2 x 2 cards, no right-side clipping. */
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .why-card {
    min-width: 0;
    padding: 15px 12px 16px;
    overflow: hidden;
  }

  .why-card .n {
    font-size: 24px;
  }

  .why-card h4 {
    margin-top: 7px;
    font-size: 13px;
    line-height: 1.22;
  }

  .why-card p {
    margin-top: 6px;
    font-size: 10px;
    line-height: 1.45;
  }

  /* TESTIMONIALS: two cards per row/viewport and much shorter cards. */
  .testimonial-scroll-wrap {
    -webkit-mask-image: none;
    mask-image: none;
    overflow: hidden;
  }

  .testimonial-track {
    gap: 10px;
    animation-duration: 34s;
  }

  .testimonial-card {
    flex: 0 0 calc((100vw - 44px) / 2);
    width: calc((100vw - 44px) / 2);
    min-width: 0;
    height: 238px;
    padding: 14px 11px;
    border-radius: 10px;
    overflow: hidden;
  }

  .testimonial-quote-icon {
    font-size: 27px;
    margin-bottom: 0;
  }

  .testimonial-stars {
    margin-bottom: 7px;
    font-size: 9px;
    letter-spacing: 1px;
    white-space: nowrap;
  }

  .testimonial-card .quote {
    font-size: 10.5px;
    line-height: 1.42;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 8;
    overflow: hidden;
  }

  .testimonial-who {
    gap: 7px;
    margin-top: auto;
    padding-top: 8px;
  }

  .testimonial-avatar {
    width: 27px;
    height: 27px;
    font-size: 10px;
  }

  .testimonial-card .who {
    min-width: 0;
    font-size: 8px;
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* OUR EXPERTISE: smaller vertical footprint + wider usable inner area. */
  .hp-expertise-section {
    padding: 52px 0 58px;
  }

  .hp-container {
    width: calc(100% - 24px);
    max-width: none;
  }

  .hp-section-heading {
    max-width: none;
    margin-bottom: 26px;
  }

  .hp-eyebrow {
    margin-bottom: 12px;
    font-size: 9px;
    letter-spacing: 0.17em;
  }

  .hp-section-heading h2 {
    font-size: 29px;
    line-height: 1.08;
  }

  .hp-section-heading p {
    max-width: none;
    margin-top: 14px;
    font-size: 11px;
    line-height: 1.65;
  }

  .hp-expertise-grid {
    grid-template-columns: 1fr;
  }

  .hp-expertise-card {
    min-height: 190px;
    padding: 18px 16px 17px;
  }

  .hp-expertise-number {
    font-size: 11px;
  }

  .hp-expertise-content {
    margin-top: 30px;
  }

  .hp-expertise-content h3 {
    margin-bottom: 8px;
    font-size: 18px;
  }

  .hp-expertise-content p {
    font-size: 10.5px;
    line-height: 1.55;
  }

  .hp-expertise-arrow {
    margin-top: 14px;
  }

  .hp-expertise-arrow span {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  /* HOW IT WORKS: compact section header + shorter inner step cards. */
  .hp-process-section {
    padding: 52px 0 58px;
  }

  .hp-process-header {
    display: block;
    margin-bottom: 26px;
  }

  .hp-process-title h2 {
    font-size: 29px;
    line-height: 1.08;
  }

  .hp-process-header > p {
    max-width: none;
    margin-top: 14px;
    font-size: 11px;
    line-height: 1.65;
  }

  .hp-process {
    grid-template-columns: 1fr;
  }

  .hp-process-step,
  .hp-process-step:nth-child(3),
  .hp-process-step:nth-child(4) {
    min-height: 175px;
    padding: 18px 16px 20px;
  }

  .hp-process-top {
    height: 30px;
  }

  .hp-process-number {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    font-size: 9px;
  }

  .hp-process-content {
    padding-top: 26px;
  }

  .hp-process-content h3 {
    max-width: none;
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 1.2;
  }

  .hp-process-content p {
    max-width: none;
    font-size: 10.5px;
    line-height: 1.55;
  }
}

/* Very small phones */
@media (max-width: 360px) {
  .hero-content {
    padding-left: 14px;
    padding-right: 14px;
    padding-bottom: 118px;
  }

  .hero h1 {
    max-width: 275px;
    font-size: 32px;
  }

  .why-grid {
    gap: 8px;
  }

  .why-card {
    padding-left: 10px;
    padding-right: 10px;
  }

  .testimonial-card {
    flex-basis: calc((100vw - 42px) / 2);
    width: calc((100vw - 42px) / 2);
    height: 225px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .hp-container {
    width: calc(100% - 20px);
  }

  .hp-expertise-card {
    min-height: 180px;
  }

  .hp-process-step,
  .hp-process-step:nth-child(3),
  .hp-process-step:nth-child(4) {
    min-height: 165px;
  }
}


/* =========================================================
   FINAL HERO RESPONSIVE FIX
   Keep hero content clear of the floating search panel.
   The search panel is outside .hero and uses a negative top margin,
   so the hero copy needs its own bottom safety space.
========================================================= */

@media (max-width: 1200px) {
  .hero {
    height: 520px;
    min-height: 520px;
  }

  .hero-content {
    padding: 0 48px 112px;
  }

  .hero h1 {
    max-width: 760px;
    font-size: clamp(42px, 5.2vw, 64px);
  }

  .hero p {
    margin: 16px 0 0;
    max-width: 420px;
  }

  .scroll-indicator {
    display: none;
  }

  .search-box {
    margin-top: -60px;
  }
}

@media (max-width: 700px) {
  .hero {
    height: 360px;
    min-height: 360px;
  }

  .hero-content {
    padding: 0 16px 104px;
  }

  .hero-label {
    margin-bottom: 8px;
    font-size: 8px;
    letter-spacing: 0.18em;
  }

  .hero h1 {
    max-width: 320px;
    font-size: clamp(27px, 8vw, 36px);
    line-height: 1.02;
  }

  .hero p {
    max-width: 245px;
    margin: 8px 0 0;
    font-size: 9px;
    line-height: 1.35;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(23,17,12,0.42) 0%, rgba(23,17,12,0.34) 35%, rgba(23,17,12,0.78) 100%),
      linear-gradient(90deg, rgba(23,17,12,0.48) 0%, rgba(23,17,12,0.08) 75%);
  }

  .hero-background img {
    object-position: center center;
  }

  .search-box {
    margin-top: -60px;
    margin-bottom: 34px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .search-panel {
    padding: 16px 12px;
    gap: 10px 14px;
  }

  .search-field {
    padding: 0 0 10px;
    gap: 4px;
  }

  .search-field label {
    font-size: 8px;
  }

  .search-field select {
    font-size: 10px;
    padding: 3px 0;
  }

  .search-panel .btn {
    padding: 11px 10px;
    font-size: 9px;
  }
}

@media (max-width: 380px) {
  .hero {
    height: 350px;
    min-height: 350px;
  }

  .hero-content {
    padding: 0 14px 102px;
  }

  .hero h1 {
    max-width: 290px;
    font-size: 26px;
  }

  .hero p {
    max-width: 220px;
    font-size: 8.5px;
  }
}

/* iPad / tablet portrait: keep the same visual proportions without
   leaving a large empty lower area or pushing the copy into the search. */
@media (min-width: 701px) and (max-width: 1200px) {
  .hero-content {
    padding-bottom: 108px;
  }

  .hero h1 {
    max-width: 700px;
    line-height: 1.05;
  }
}

/* iPad / tablet landscape with a shorter viewport */
@media (min-width: 701px) and (max-width: 1200px) and (orientation: landscape) {
  .hero {
    height: 480px;
    min-height: 480px;
  }

  .hero-content {
    padding-bottom: 100px;
  }
}






/* ============================================
   HABITAT PROP SOLUTIONS - COMPLETE FOOTER CSS
============================================ */

/* Footer Brand */
.site-footer .footer-brand {
    min-width: 0;
}

.site-footer .footer-description {
    margin-top: 18px;
    max-width: 290px;
    color: var(--dark-muted, #d0c4b5);
    font-size: 14px;
    line-height: 1.8;
}

/* Footer Social Section */
.site-footer .footer-social {
    margin-top: 24px;
}

.site-footer .footer-social h5 {
    margin: 0 0 14px;
    color: #f3d7a0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Social Icons Layout */
.site-footer .social-icons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 11px;
}

/* Individual Social Icon */
.site-footer .social-icons a {
    box-sizing: border-box;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #f3d7a0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(243, 215, 160, 0.25);
    border-radius: 50%;

    font-size: 18px;
    line-height: 1;
    text-decoration: none;

    opacity: 1;
    visibility: visible;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

/* Brand Icon Font */
.site-footer .social-icons a i {
    display: inline-block;
    font-style: normal;
    line-height: 1;
}

/* Facebook */
.site-footer .social-icons a[aria-label="Facebook"] i {
    font-family: "Font Awesome 6 Brands";
    font-weight: 400;
}

/* Instagram */
.site-footer .social-icons a[aria-label="Instagram"] i {
    font-family: "Font Awesome 6 Brands";
    font-weight: 400;
}

/* LinkedIn */
.site-footer .social-icons a[aria-label="LinkedIn"] i {
    font-family: "Font Awesome 6 Brands";
    font-weight: 400;
}

/* YouTube */
.site-footer .social-icons a[aria-label="YouTube"] i {
    font-family: "Font Awesome 6 Brands";
    font-weight: 400;
}

/* WhatsApp */
.site-footer .social-icons a[aria-label="WhatsApp"] i {
    font-family: "Font Awesome 6 Brands";
    font-weight: 400;
}

/* Social Icon Hover */
.site-footer .social-icons a:hover {
    color: #ffffff;
    background: var(--gold-soft, #c9a15b);
    border-color: var(--gold-soft, #c9a15b);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(201, 161, 91, 0.22);
}

/* Keyboard Accessibility */
.site-footer .social-icons a:focus-visible {
    outline: 2px solid #f3d7a0;
    outline-offset: 4px;
}

/* Footer Columns */
.site-footer .footer-column {
    min-width: 0;
}

.site-footer .footer-column h5 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #f3d7a0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.site-footer .footer-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer .footer-column ul li {
    margin-bottom: 14px;
    color: #d0c4b5;
    font-size: 14px;
    line-height: 1.7;
}

.site-footer .footer-column ul li:last-child {
    margin-bottom: 0;
}

.site-footer .footer-column ul li a {
    color: #d0c4b5;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color 0.2s ease;
}

.site-footer .footer-column ul li a:hover {
    color: #f3d7a0;
}

/* Contact Information */
.site-footer .footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.site-footer .footer-contact-list li > i {
    flex: 0 0 16px;
    margin-top: 5px;
    color: var(--gold-soft, #c9a15b);
    font-size: 14px;
    text-align: center;
}

.site-footer .footer-contact-list li a {
    overflow-wrap: anywhere;
}

/* Contact Icon Font Awesome */
.site-footer .footer-contact-list li > i {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

/* Footer Bottom */
.site-footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px 24px;

    padding-top: 24px;
    line-height: 1.7;
}

.site-footer .footer-bottom span {
    max-width: 100%;
    overflow-wrap: anywhere;
}

/* Tablet */
@media (max-width: 900px) {
    .site-footer .social-icons {
        gap: 9px;
    }

    .site-footer .footer-bottom {
        gap: 12px 18px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .site-footer .footer-description {
        max-width: 100%;
        font-size: 13px;
    }

    .site-footer .footer-social {
        margin-top: 20px;
    }

    .site-footer .social-icons {
        gap: 10px;
    }

    .site-footer .social-icons a {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .site-footer .footer-column h5 {
        margin-bottom: 14px;
    }

    .site-footer .footer-column ul li {
        font-size: 13px;
    }

    .site-footer .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        font-size: 12px;
    }
}

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
    .site-footer .social-icons a,
    .site-footer .footer-column ul li a {
        transition: none;
    }

    .site-footer .social-icons a:hover {
        transform: none;
    }
}


/* =========================================================
   HABITAT PROP SOLUTIONS — TEXT CLARITY / HIGH CONTRAST PASS
   Added after the existing CSS to preserve layout and components.
   Light sections use darker, sharper text; hero/footer stay light-on-dark.
========================================================= */
:root {
    --text-strong-clear: #24211E;
    --text-body-clear: #403A33;
    --text-muted-clear: #5B534A;
    --text-small-clear: #62594F;
    --accent-text-clear: #8C641F;
    --accent-text-hover-clear: #6D4B16;
    --listing-text-clear: #465665;
}

/* Crisp default rendering without changing the site's layout */
body {
    color: var(--text-strong-clear);
    -webkit-font-smoothing: auto;
    -moz-osx-font-smoothing: auto;
    text-rendering: optimizeLegibility;
}

/* Main light-background typography */
.section-head h2,
.article-title,
.article-content h2,
.article-content h3,
.article-content h4,
.why-card h4,
.value-card h4,
.award-card h4,
.hp-section-heading h2,
.hp-process-title h2,
.hp-expertise-content h3,
.hp-process-content h3 {
    color: var(--text-strong-clear);
    font-weight: 600;
}

.section-head p,
.why-card p,
.value-card p,
.article-published,
.article-content,
.article-content p,
.article-content li,
.state-msg,
.award-card .org,
.hp-expertise-content p,
.hp-process-header > p,
.hp-process-content p {
    color: var(--text-body-clear);
}

/* Warm grey heading accents were too pale on ivory backgrounds */
.hp-section-heading h2 span,
.hp-process-title h2 span {
    color: #6C5D4D;
    font-weight: 600;
}

.hp-section-heading p {
    color: #514940;
    font-size: 15px;
    line-height: 1.85;
}

.hp-eyebrow,
.hp-expertise-number,
.hp-process-number,
.hp-section-heading span,
.hp-mini-label {
    color: var(--accent-text-clear);
    font-weight: 700;
}

.hp-process-number {
    border-color: var(--accent-text-clear);
}

.hp-process-line {
    background: #C8BCA9;
}

/* Gold used as text on white/ivory must be darker than gold used as a fill */
.site-header .logo span,
.site-header .main-nav a.active,
.main-nav a:hover,
.filter-pill.active,
.filter-pill:hover,
.award-card .year,
.stats-strip:not(.dark-section) .stat .num,
.hp-check-list li::before,
.hp-faq-list summary span,
.hp-table-link,
.hp-filter-head a,
.hp-view-link,
.hp-explore-grid a:hover {
    color: var(--accent-text-clear);
}

.site-header .main-nav a.active::after,
.site-header .main-nav a:hover::after {
    background: var(--accent-text-clear);
}

/* Gold button: richer fill makes white button text easier to read */
.btn-gold,
.header-actions .btn-gold,
.search-panel .btn.btn-gold {
    background: #93691F;
    color: #FFFFFF;
    font-weight: 700;
}

.btn-gold:hover,
.header-actions .btn-gold:hover,
.search-panel .btn.btn-gold:hover {
    background: #745019;
    color: #FFFFFF;
}

.btn-gold:focus-visible,
.btn-ghost:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #8C641F;
    outline-offset: 3px;
}

/* Property listing cards and detail pages — darker secondary copy */
.hp-project-card-location,
.hp-project-card-config,
.hp-project-titlebar p,
.hp-project-location,
.hp-rich-copy,
.hp-muted-copy,
.hp-sidebar-card > p,
.hp-check-list li,
.hp-price-table td,
.hp-faq-list details > div,
.hp-near-grid span,
.hp-nearby-table small,
.hp-gallery-placeholder,
.hp-gallery-thumb span,
.hp-results-meta,
.hp-empty-state,
.hp-floor-note,
.hp-legal-card p,
.hp-overview-item span,
.hp-summary-strip span,
.hp-details-grid span,
.hp-sidebar-meta span,
.hp-inline-lead-form label span,
.hp-budget-inputs label,
.hp-filter-title span,
.hp-project-card-bottom span,
.hp-price-box > span {
    color: var(--listing-text-clear);
}

.hp-project-card-title,
.hp-project-card-bottom strong,
.hp-section-heading h2,
.hp-project-titlebar h1,
.hp-sidebar-card h2,
.hp-summary-strip strong,
.hp-details-grid strong,
.hp-near-grid strong,
.hp-nearby-table strong,
.hp-overview-item strong,
.hp-price-box strong,
.hp-faq-list summary,
.hp-downloads-card h2,
.hp-legal-card h2,
.hp-empty-state h1,
.hp-empty-state h2 {
    color: #202E3B;
    font-weight: 700;
}

/* Improve tiny property metadata without enlarging the overall layout */
.hp-section-heading span,
.hp-mini-label,
.hp-overview-item span,
.hp-summary-strip span,
.hp-details-grid span,
.hp-sidebar-meta span,
.hp-inline-lead-form label span,
.hp-budget-inputs label,
.hp-project-card-bottom span,
.hp-price-box > span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.hp-muted-copy {
    font-size: 12px;
    line-height: 1.75;
}

.hp-rich-copy {
    font-size: 14px;
    line-height: 1.85;
}

.hp-project-card-location,
.hp-project-card-config {
    font-weight: 500;
}

/* Form labels, controls and placeholders */
.form-row label,
.hp-inline-lead-form label,
.hp-filter-panel label,
.search-field label {
    color: #4A433A;
    font-weight: 600;
}

.form-row input,
.form-row select,
.form-row textarea,
.hp-inline-lead-form input,
.hp-inline-lead-form textarea,
.hp-filter-panel input,
.hp-filter-panel select,
.hp-filter-panel textarea {
    color: #292622;
    font-weight: 500;
}

.form-row input::placeholder,
.form-row textarea::placeholder,
.hp-inline-lead-form input::placeholder,
.hp-inline-lead-form textarea::placeholder,
.hp-filter-panel input::placeholder,
.hp-filter-panel textarea::placeholder {
    color: #6B6258;
    opacity: 1;
}

/* Blog and article links remain clear on white backgrounds */
.article-content a,
.article-content a:visited {
    color: #765019;
    font-weight: 600;
}

.article-content a:hover {
    color: #52370F;
}

/* Make regular light-section links/buttons clearer; dark sections retain their own palette */
.filter-pill {
    color: #4D453C;
    font-weight: 600;
}

.btn-ghost {
    color: #39332C;
    border-color: rgba(57, 51, 44, 0.38);
}

.btn-ghost:hover {
    color: #6D4B16;
    border-color: #8C641F;
}

/* Preserve legible light text on hero, dark sections and footer */
.hero,
.hero h1,
.hero p,
.hero .eyebrow,
.dark-section,
.dark-section h1,
.dark-section h2,
.dark-section h3,
.dark-section h4,
.dark-section p,
.dark-section li,
.site-footer,
.site-footer h5,
.site-footer p,
.site-footer li,
.site-footer .footer-bottom {
    -webkit-font-smoothing: auto;
}

.dark-section .section-head h2,
.dark-section .section-head p,
.site-footer,
.site-footer p,
.site-footer li,
.site-footer .footer-bottom {
    text-shadow: none;
}

/* Stronger focus visibility, but no forced styles on disabled controls */
button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
    cursor: not-allowed;
}

@media (max-width: 600px) {
    .hp-section-heading p {
        font-size: 14px;
    }

    .hp-muted-copy {
        font-size: 12px;
    }

    .hp-rich-copy {
        font-size: 13px;
    }
}

/* =========================================================
   FOOTER COLUMN WIDTH FIX — DESKTOP
   Explicitly reduce the Explore and Legal div widths.
   Tablet and mobile footer layout remains unchanged.
========================================================= */
@media (min-width: 901px) {
    /* First .footer-column div after .footer-brand: Explore */
    .site-footer .footer-grid > .footer-column:nth-of-type(2) {
        width: 100%;
        max-width: 145px;
        justify-self: start;
    }

    /* Second .footer-column div after .footer-brand: Legal */
    .site-footer .footer-grid > .footer-column:nth-of-type(3) {
        width: 100%;
        max-width: 160px;
        justify-self: start;
    }
}
