:root {
  --bg: #fff;
  --bg-alt: #f5f5f5;
  --bg-dark: #1a1a1a;
  --text: #1a1a1a;
  --text-muted: #555;
  --accent: #c9a227;
  --accent-hover: #b8921f;
  --border: rgba(0,0,0,0.08);
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.site-body {
  font-family: var(--font-sans);
  font-size: var(--body-font-size, 1rem);
  line-height: var(--body-line-height, 1.6);
  text-align: var(--body-text-align, left);
  background: var(--bg);
  color: var(--text);
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
/* Home: single hero background — no white strip; body matches hero fallback */
body.site-body.page-home {
  background: #0d1b2a;
}

/* ========== Header (Palton Morgan style) ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26,26,26,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s, border-color 0.3s;
}
/* Home page: nav inside hero — header transparent over hero background */
.page-home .site-header {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}
.page-home .site-header .header-inner {
  padding-top: 1.25rem;
}
/* About page: nav inside hero — header transparent over hero background */
.page-about .site-header {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}
.page-about .site-header .header-inner {
  padding-top: 1.25rem;
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.logo-img { height: 36px; width: auto; display: block; }
.logo-text { color: #fff; }
.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}
.nav-link {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0.5rem 0.75rem;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--accent); }
.nav-link.active { color: var(--accent); border-bottom: 2px solid var(--accent); }
.nav-link.nav-btn {
  border: 1px solid var(--accent);
  color: var(--accent);
  margin-left: 0.5rem;
}
.nav-link.nav-btn:hover { background: var(--accent); color: #000; }
.nav-menu-label { display: none; margin: 0; }
.nav-menu-list { display: contents; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 1.4rem;
  padding: 0;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle:hover { color: var(--accent); }
.nav-toggle[aria-expanded="true"] { color: var(--accent); }
@media (max-width: 992px) {
  .nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26,26,26,0.98);
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    padding: 4rem 1.5rem 2rem;
    gap: 0;
    z-index: 999;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav.open {
    display: flex;
  }
  .nav-menu-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.05em;
    margin: 0 0 1.25rem;
    text-align: center;
    width: 100%;
    max-width: 280px;
  }
  .nav-menu-list {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 280px;
    align-items: stretch;
    gap: 0;
  }
  .nav .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 280px;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    min-height: 52px;
    line-height: 1.4;
    box-sizing: border-box;
    flex-shrink: 0;
  }
  .nav .nav-link:last-of-type { border-bottom: none; }
  .nav .nav-link.nav-btn {
    margin: 1rem 0 0;
    margin-left: 0;
    text-align: center;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .page-home .site-header .nav.open,
  .page-about .site-header .nav.open {
    background: rgba(26,26,26,0.98);
  }
  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 1001;
  }
}

/* ========== Main ========== */
.main-wrap { flex: 1; width: 100%; }
/* Home: main area never white — hero background shows even if image fails */
.page-home .main-wrap { background: transparent; min-height: 100vh; padding-top: 0; margin-top: 0; }
.home-page { width: 100%; margin: 0; padding: 0; }
.flash-messages { max-width: 1280px; margin: 0 auto; padding: 1rem 1.5rem; }
.flash { padding: 0.75rem 1rem; border-radius: 8px; margin-bottom: 0.5rem; }
.flash-success { background: rgba(34,197,94,0.15); color: #166534; }
.flash-error { background: rgba(239,68,68,0.15); color: #b91c1c; }

/* ========== Hero ========== */
/* Hero reaches the top of the viewport so the picture sits behind the transparent nav */
.home-hero {
  position: relative;
  width: 100%;
  margin-top: 0;
  padding-top: 0;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 6rem 1.5rem 4rem;
  overflow: hidden;
  background: none;
}
.home-hero:first-child { margin-top: 0; }
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  background: none;
  background-size: cover;
  background-position: center;
}
.hero-bg::after {
  display: none;
}
.hero-bg.hero-bg-carousel.gallery-carousel {
  background-color: transparent;
  background-image: none;
  background-size: cover;
  background-position: center;
  border-radius: 0;
}
/* Hero carousel/video/single-image wrapper: fill hero area (override generic .carousel-wrap) */
.hero-bg.carousel-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
}
.hero-bg.hero-bg-carousel.gallery-carousel::after {
  display: none;
}
/* When admin set a hero image, show it only — no solid overlay; carousel covers whole hero */
.hero-bg.hero-bg-carousel.gallery-carousel.hero-bg-image-only,
.hero-bg.hero-bg-image-only {
  background-color: transparent;
}
/* Single hero image (no carousel): img fills the hero-bg layer full size */
.hero-bg.hero-bg-image-only .hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
}
/* Hero with no image, no color — fully transparent */
.hero-bg.hero-bg-transparent {
  background: none;
}
.hero-bg.hero-bg-transparent::after {
  display: none;
}
.hero-bg.hero-bg-carousel.gallery-carousel img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: none;
}
/* Ensure hero carousel images fill full hero area */
.home-hero .hero-bg.hero-bg-carousel.gallery-carousel img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg.hero-bg-carousel.gallery-carousel img.active {
  display: block;
  animation: heroFadeIn 0.8s ease-out;
}
@keyframes heroFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.hero-bg.hero-bg-video {
  background: none;
}
.hero-bg.hero-bg-video video {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-bg.hero-bg-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, transparent 60%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 2rem;
}
.hero-scroll {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
}
.hero-arrow { font-size: 1.25rem; }

/* ========== Carousel ========== */
.home-carousel { position: relative; width: 100%; }
.carousel-wrap { position: relative; width: 100%; min-height: 400px; }
.carousel-wrap.gallery-carousel img { display: none; width: 100%; height: auto; max-height: 70vh; object-fit: cover; }
.carousel-wrap.gallery-carousel img.active { display: block; animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ========== Stats ========== */
.home-stats {
  background: #e8e8e8;
  padding: 2.5rem 1.5rem;
}
.stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-item { display: flex; flex-direction: column; gap: 0.25rem; }
.stat-number { font-family: var(--font-serif); font-size: 2.5rem; font-weight: 600; color: var(--accent); }
.stat-label { font-size: 0.85rem; color: var(--text-muted); letter-spacing: 0.02em; }

/* ========== About ========== */
.home-about { padding: 4rem 1.5rem; background: var(--bg); }
.about-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-subtitle { font-size: 0.85rem; color: var(--accent); letter-spacing: 0.1em; margin: 0 0 0.5rem; }
.about-heading { font-family: var(--font-serif); font-size: 2rem; font-weight: 600; margin: 0 0 1rem; color: var(--text); }
.about-text .prose { margin: 0; color: var(--text-muted); }
.about-image { position: relative; }
.about-image img { width: 100%; height: auto; border-radius: 0; object-fit: cover; max-height: 520px; }
@media (max-width: 768px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-image { order: -1; }
}

/* ========== Mission ========== */
.home-mission {
  padding: 4rem 1.5rem;
  background: var(--bg-alt);
  text-align: center;
}
.mission-subtitle { font-size: 0.8rem; color: var(--accent); letter-spacing: 0.15em; margin: 0 0 0.5rem; }
.mission-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 500;
  max-width: 800px;
  margin: 0 auto 1.5rem;
  line-height: 1.4;
}
.btn-dark {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--text);
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  transition: background 0.2s;
}
.btn-dark:hover { background: #333; }

/* ========== Projects ========== */
.home-projects { padding: 4rem 1.5rem; background: var(--bg); }
.section-subtitle { font-size: 0.8rem; color: var(--accent); letter-spacing: 0.15em; margin: 0 0 0.5rem; }
.section-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  margin: 0 0 2rem;
  color: var(--text);
}
.projects-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.project-card {
  background: var(--bg);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.project-img { width: 100%; height: 220px; object-fit: cover; }
.project-title { font-family: var(--font-serif); font-size: 1.25rem; margin: 1rem 1rem 0; font-weight: 600; }
.project-desc { font-size: 0.9rem; color: var(--text-muted); margin: 0.5rem 1rem; flex: 1; }
.project-price { font-size: 0.9rem; color: var(--accent); font-weight: 600; margin: 0.5rem 1rem; }
.project-card .btn-dark { margin: 0 1rem 1rem; text-align: center; }

/* ========== Project detail (photos & videos, horizontal scroll) ========== */
.project-detail-page { padding-top: 0; }
.project-detail-header {
  padding: 5rem 1.5rem 2rem;
  background: linear-gradient(135deg, #1a2a4a 0%, #0d1b2a 100%);
  color: #fff;
}
.project-detail-header-inner { max-width: 800px; margin: 0 auto; }
.project-detail-back {
  display: inline-block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  margin-bottom: 1rem;
  transition: color 0.2s;
}
.project-detail-back:hover { color: var(--accent); }
.project-detail-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}
.project-detail-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  margin: 0 0 0.5rem;
}
.project-detail-price {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0;
}
.project-detail-media-sec { padding: 2rem 0 3rem; }
.project-detail-media-inner { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.project-detail-media-heading {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 1rem;
}
.project-detail-media-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  border-radius: 12px;
  background: var(--bg-alt);
  padding: 1rem 0;
  margin-bottom: 0.5rem;
}
.project-detail-media-scroll::-webkit-scrollbar { height: 8px; }
.project-detail-media-scroll::-webkit-scrollbar-track { background: rgba(0,0,0,0.06); border-radius: 4px; }
.project-detail-media-scroll::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }
.project-detail-media-track {
  display: flex;
  gap: 1rem;
  padding: 0 1.5rem;
  min-width: min-content;
}
.project-detail-media-item {
  flex-shrink: 0;
  scroll-snap-align: start;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}
.project-detail-media-image {
  width: 320px;
  max-width: 85vw;
}
.project-detail-media-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.project-detail-media-video {
  width: 360px;
  max-width: 90vw;
}
.project-detail-media-video video {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.project-detail-media-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}
.project-detail-no-media { color: var(--text-muted); margin: 0; padding: 2rem 0; }
.project-detail-actions {
  text-align: center;
  padding: 0 1.5rem 3rem;
}
.project-detail-actions .btn-dark { display: inline-block; }

/* ========== Commitment ========== */
.home-commitment {
  padding: 4rem 1.5rem;
  background: var(--bg-alt);
  text-align: center;
}
.commitment-heading {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 1.5rem;
}
.commitment-quote {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 1rem;
  color: var(--text-muted);
  font-style: italic;
}
.commitment-name { font-size: 1rem; color: var(--accent); font-weight: 600; margin: 0; }

/* ========== News ========== */
.home-news { padding: 4rem 1.5rem; background: var(--bg); }
.news-heading {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 2rem;
  text-align: center;
}
.news-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}
.news-card {
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg);
}
.news-img { width: 100%; height: 200px; object-fit: cover; }
.news-meta { font-size: 0.8rem; color: var(--text-muted); margin: 1rem 1rem 0; }
.news-title { font-size: 1rem; font-weight: 600; margin: 0.5rem 1rem 1rem; color: var(--accent); line-height: 1.4; }

/* ========== Default content section ========== */
.content-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}
.section-title { font-family: var(--font-serif); font-size: 1.5rem; margin: 0 0 1rem; }
.block-heading { font-size: 1.25rem; margin: 1rem 0 0.5rem; }
.block-wrapper { display: block; margin-bottom: 0.5rem; }
.block-wrapper:last-child { margin-bottom: 0; }
.prose { max-width: 65ch; }
.prose p { margin: 0 0 1rem; }
.block-image { margin: 1rem 0; }
.block-image img { max-width: 100%; height: auto; }
.block-video video { max-width: 100%; border-radius: 8px; }

/* ========== Gallery ========== */
.gallery-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.gallery-scroll img { flex: 0 0 auto; max-height: 320px; width: auto; object-fit: cover; scroll-snap-align: start; }
.gallery-carousel { position: relative; overflow: hidden; border-radius: 12px; }
.gallery-carousel img { display: none; width: 100%; height: auto; max-height: 420px; object-fit: cover; }
.gallery-carousel img.active { display: block; animation: fadeIn 0.5s ease; }

/* ========== Footer ========== */
.site-footer {
  position: relative;
  background: var(--bg-dark);
  color: rgba(255,255,255,0.85);
  padding: 3rem 1.5rem 2rem;
  margin-top: auto;
}
.site-footer.site-footer-has-bg-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  pointer-events: none;
}
.site-footer.site-footer-has-bg-image .footer-inner {
  position: relative;
  z-index: 1;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-heading { font-size: 0.9rem; color: var(--accent); margin: 0 0 1rem; letter-spacing: 0.05em; }
.footer-col a { color: rgba(255,255,255,0.8); text-decoration: none; display: block; margin-bottom: 0.5rem; }
.footer-col a:hover { color: var(--accent); }
.footer-address, .footer-phone, .footer-email { margin: 0 0 0.5rem; font-size: 0.9rem; }
.footer-email a { color: var(--accent); }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin: 0; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.1); }

/* ========== Scroll to top ========== */
.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 100;
  transition: transform 0.2s;
}
.scroll-top:hover { transform: translateY(-2px); color: #000; }

/* ========== About page ========== */
.about-page { width: 100%; }

/* About hero: full-bleed, background covers whole section (like home hero) */
.about-hero {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 4rem;
  overflow: hidden;
}
.about-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  background: linear-gradient(135deg, #1a2a4a 0%, #0d1b2a 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.about-hero-bg.gallery-carousel {
  background: none;
}
.about-hero-bg.gallery-carousel img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  display: none;
}
.about-hero-bg.gallery-carousel img.active {
  display: block;
  animation: fadeIn 0.6s ease;
}
/* Single image in about hero: img fills entire hero for full coverage */
.about-hero-bg.about-hero-bg-image {
  background: none;
}
.about-hero-bg .about-hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
}
.about-hero-bg.about-hero-bg-video {
  background: none;
}
.about-hero-bg.about-hero-bg-video video {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.about-hero-bg.about-hero-bg-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 50%, transparent 80%);
}
.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 50%, transparent 80%);
  pointer-events: none;
}
.about-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.about-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 600;
  color: #fff;
  margin: 0;
  letter-spacing: 0.02em;
}
.about-hero-foreground {
  flex: 0 0 auto;
  max-width: 42%;
}
.about-hero-foreground img {
  width: 100%;
  max-height: 65vh;
  object-fit: cover;
  border-radius: 4px;
}
@media (max-width: 768px) {
  .about-hero-foreground { max-width: 100%; }
  .about-hero-content { flex-direction: column; }
}

/* About intro: gold accent bar + icon + heading + body + CTA button */
.about-intro {
  padding: 4rem 1.5rem;
  background: var(--bg);
}
.about-intro-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}
.about-intro-content-wrap {
  display: flex;
  gap: 2rem;
  flex: 1;
  min-width: 0;
}
.about-intro-image-wrap {
  flex: 0 1 400px;
  min-width: 0;
}
.about-intro-image-wrap .about-intro-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}
.about-intro-image-wrap.about-intro-gallery {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.about-intro-image-wrap.about-intro-gallery .about-intro-image {
  max-width: 200px;
}
.about-intro-accent {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-intro-icon-text {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
}
.about-intro-icon-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.about-intro-text {
  flex: 1;
  min-width: 0;
}
.about-intro-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--text);
  line-height: 1.3;
}
.about-intro-body { margin: 0 0 1.5rem; color: var(--text-muted); }
.about-intro-body.prose p { margin: 0 0 0.75rem; }
@media (max-width: 768px) {
  .about-intro-inner { flex-direction: column; }
}

/* About two-column: left text (optional icon, heading, body), right image or gallery */
.about-two-col {
  padding: 4rem 1.5rem;
  background: var(--bg-alt);
}
.about-two-col-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-two-col-icon-block {
  width: 56px;
  height: 56px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.about-two-col-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.about-two-col-icon-text {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
}
.about-two-col-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--text);
}
.about-two-col-body { color: var(--text-muted); margin: 0 0 0.5rem; }
.about-two-col-right {
  position: relative;
  min-height: 320px;
}
.about-two-col-right .gallery-carousel {
  width: 100%;
  border-radius: 0;
}
.about-two-col-right .gallery-carousel img {
  max-height: 520px;
  width: 100%;
  object-fit: cover;
}
.about-two-col-img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
}
@media (max-width: 768px) {
  .about-two-col-inner { grid-template-columns: 1fr; }
  .about-two-col-right { order: -1; min-height: 240px; }
}

/* About centered: Vision / Mission / Values */
.about-centered {
  padding: 3rem 1.5rem;
  background: var(--bg);
  text-align: center;
}
.about-centered-inner {
  max-width: 800px;
  margin: 0 auto;
}
.about-centered-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text);
}
.about-centered-underline {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 0 auto 1.25rem;
}
.about-centered-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

/* About value cards (G / O / D style) */
.about-cards {
  padding: 4rem 1.5rem;
  background: var(--bg-alt);
}
.about-cards-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.about-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.about-card-letter {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin: 0 0 0.5rem;
}
.about-card-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--text);
}
.about-card-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
.about-card-body.prose p { margin: 0 0 0.5rem; }

/* ========== Contact page — modern real estate ========== */
.contact-page {
  width: 100%;
  min-height: calc(100vh - 120px);
  padding-top: 1rem;
}
.contact-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 100px);
  align-items: stretch;
}
.contact-left-col {
  padding: 5rem 3rem 4rem;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
}
.contact-right-col {
  position: relative;
  min-height: 560px;
}
@media (max-width: 992px) {
  .contact-two-col { grid-template-columns: 1fr; }
  .contact-right-col { min-height: 520px; order: -1; }
  .contact-left-col { padding: 3rem 1.5rem 3rem; }
}

/* Contact info (left column) */
.contact-info { width: 100%; }
.contact-info-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}
.contact-info-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 600;
  color: var(--text);
  margin: 0 0 2.5rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.contact-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 2.25rem;
}
.contact-detail-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 0.25rem 0;
}
.contact-detail-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-detail-item:hover .contact-detail-icon {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.35);
}
.contact-detail-icon-text {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
}
.contact-detail-icon-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.contact-detail-content {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.contact-detail-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text);
  text-transform: uppercase;
}
.contact-detail-value {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}
@media (max-width: 480px) {
  .contact-details-grid { grid-template-columns: 1fr; }
}

/* Contact form (right column: bg + overlay + form) */
.contact-form-wrap {
  position: relative;
  width: 100%;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2.5rem;
  overflow: hidden;
}
.contact-form-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #1e2d3d 0%, #15202b 50%, #0d1620 100%);
  background-size: cover;
  background-position: center;
}
.contact-form-bg.gallery-carousel {
  background: none;
}
.contact-form-bg.gallery-carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}
.contact-form-bg.gallery-carousel img.active {
  display: block;
  animation: fadeIn 0.6s ease;
}
.contact-form-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.25) 100%);
  pointer-events: none;
}
.contact-form-box {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  background: #fff;
  padding: 2.25rem 2rem;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s ease;
}
.contact-form-box:focus-within {
  box-shadow: 0 24px 64px rgba(0,0,0,0.2), 0 0 0 1px var(--accent);
}
.contact-form-title {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text);
  margin: 0 0 1.5rem;
  text-align: center;
  text-transform: uppercase;
}
.contact-form-fields {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-form-label {
  display: block;
}
.contact-form-label input,
.contact-form-label textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  background: #fafafa;
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  resize: vertical;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.contact-form-label input:focus,
.contact-form-label textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.12);
}
.contact-form-label input::placeholder,
.contact-form-label textarea::placeholder {
  color: #999;
}
.contact-form-submit {
  width: 100%;
  padding: 1rem 1.5rem;
  margin-top: 0.25rem;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.contact-form-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.35);
}
.contact-form-submit:active { transform: translateY(0); }

/* Contact map section */
.contact-map-section {
  width: 100%;
  padding: 4rem 1.5rem 4.5rem;
  background: linear-gradient(180deg, #f8f8f8 0%, #fff 100%);
}
.contact-map-standalone .contact-map-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.contact-map-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.contact-map-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
.contact-map-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  line-height: 1.5;
}
.map-container {
  width: 100%;
  height: 460px;
  min-height: 320px;
  border-radius: 16px;
  overflow: hidden;
  background: #e0e0e0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.06);
  z-index: 0;
}
.map-container.map-fallback-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2d3d52;
}
.map-fallback {
  text-align: center;
  padding: 2rem;
  color: rgba(255,255,255,0.9);
}
.map-fallback a {
  color: var(--accent, #c9a84c);
  text-decoration: underline;
}
.map-container img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Leaflet overrides */
.map-container .leaflet-container { border-radius: 16px; font-family: inherit; }
.map-container .leaflet-popup-content-wrapper {
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
  padding: 0;
}
.map-container .leaflet-popup-content {
  margin: 0.75rem 1rem;
  font-size: 0.92rem;
  line-height: 1.5;
}
.map-container .leaflet-popup-tip-container { display: block; }

/* Map fallback when Leaflet fails to load */
.map-fallback-wrap { display: flex; align-items: center; justify-content: center; padding: 2rem; }
.map-fallback { text-align: center; color: var(--text-muted, #666); }
.map-fallback a { color: var(--accent, #c9a84c); text-decoration: underline; }
.map-fallback p { margin: 0.5rem 0; }

/* Custom map pin marker */
.site-map-marker { background: none; border: none; }
.site-map-pin {
  width: 32px;
  height: 40px;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.site-map-pin::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50% 50% 50% 0;
  background: var(--accent, #c9a84c);
  transform: translateX(-50%) rotate(-45deg);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.site-map-pin-inner {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════════
   CONSTRUCTION PROJECT DETAIL PAGE (like property detail)
   ═══════════════════════════════════════════════════════════════════ */
.proj-detail-page { background: var(--const-dark, #0f1923); color: #fff; min-height: 100vh; }
.proj-detail-bar { background: rgba(0,0,0,0.3); border-bottom: 1px solid rgba(255,255,255,0.06); }
.proj-detail-bar-inner { max-width: 1280px; margin: 0 auto; padding: 0.75rem 2rem; }
.proj-detail-back {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.8); text-decoration: none; font-size: 0.9rem;
  transition: color 0.2s;
}
.proj-detail-back:hover { color: var(--const-gold, #c9a84c); }
.proj-detail-back-arrow { font-weight: 700; }

.proj-detail-hero-sec { position: relative; }
.proj-detail-hero-inner { max-width: 1280px; margin: 0 auto; padding: 0 2rem 2rem; }
.proj-detail-gallery { border-radius: 16px; overflow: hidden; background: var(--const-charcoal, #1a2332); }
.proj-detail-main-wrap {
  position: relative; aspect-ratio: 21/9; min-height: 320px; max-height: 520px;
  background: var(--const-steel, #2d3d52);
}
.proj-detail-main-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.proj-detail-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.85) 0%, transparent 50%);
  pointer-events: none;
}
.proj-detail-hero-badge {
  position: absolute; bottom: 1.5rem; left: 1.5rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.9rem; border-radius: 100px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.proj-detail-hero-placeholder {
  position: relative; aspect-ratio: 21/9; min-height: 320px; max-height: 520px;
  background: var(--const-steel); border-radius: 16px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); gap: 0.5rem;
}
.proj-detail-hero-placeholder-icon { font-size: 4rem; }
.proj-detail-hero-placeholder .proj-detail-hero-badge { position: absolute; bottom: 1.5rem; left: 1.5rem; }

.proj-detail-thumbs {
  display: flex; gap: 0.5rem; padding: 0.75rem 1rem; overflow-x: auto;
  background: rgba(0,0,0,0.2);
}
.proj-thumb {
  flex: 0 0 80px; height: 56px; border-radius: 8px; overflow: hidden;
  border: 2px solid transparent; cursor: pointer; padding: 0; background: none;
  transition: border-color 0.2s, opacity 0.2s;
}
.proj-thumb:hover { opacity: 0.9; }
.proj-thumb.active { border-color: var(--const-gold, #c9a84c); }
.proj-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.proj-detail-content-wrap { padding: 2rem 0 4rem; }
.proj-detail-content-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 2rem;
  display: grid; grid-template-columns: 340px 1fr; gap: 3rem; align-items: start;
}
.proj-detail-sidebar {
  position: sticky; top: 1.5rem;
  background: var(--const-charcoal); border-radius: 16px;
  padding: 1.75rem; border: 1px solid rgba(255,255,255,0.08);
}
.proj-detail-title {
  font-family: 'Playfair Display', serif; font-size: 1.75rem; font-weight: 700;
  color: #fff; margin: 0 0 1rem; line-height: 1.25;
}
.proj-detail-meta {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.9rem; color: rgba(255,255,255,0.75); margin-bottom: 0.6rem;
}
.proj-detail-meta-icon { font-size: 1rem; }
.proj-detail-progress-wrap { margin: 1.25rem 0; }
.proj-detail-progress-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.4rem;
}
.proj-detail-progress-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.6); font-weight: 600; }
.proj-detail-progress-pct { font-size: 0.85rem; font-weight: 700; color: var(--const-gold); }
.proj-detail-progress-track {
  height: 6px; background: rgba(255,255,255,0.12); border-radius: 100px; overflow: hidden;
}
.proj-detail-progress-fill {
  height: 100%; background: linear-gradient(90deg, var(--const-gold), #e8c96a);
  border-radius: 100px; transition: width 0.6s ease;
}
.proj-detail-price { font-size: 1rem; font-weight: 700; color: var(--const-gold); margin: 0.5rem 0 1.25rem; }
.proj-detail-btn {
  display: inline-block; padding: 0.65rem 1.25rem; border-radius: 8px;
  font-size: 0.85rem; font-weight: 600; text-decoration: none; text-align: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s; cursor: pointer; border: 2px solid transparent;
}
.proj-detail-btn-outline {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.35);
}
.proj-detail-btn-outline:hover { border-color: var(--const-gold); color: var(--const-gold); }
.proj-detail-btn-primary { background: var(--const-gold); color: #0f1923; }
.proj-detail-btn-primary:hover { background: var(--const-gold-light, #e8c96a); }

.proj-detail-heading {
  font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 700;
  color: #fff; margin: 0 0 1rem; padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.proj-detail-section { margin-bottom: 2.5rem; }
.proj-detail-description { color: rgba(255,255,255,0.85); line-height: 1.75; }
.proj-detail-description p { margin-bottom: 1rem; }
.proj-detail-videos-sec .proj-detail-videos-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1rem;
}
.proj-detail-video-wrap { border-radius: 12px; overflow: hidden; background: #000; }
.proj-detail-video { width: 100%; display: block; vertical-align: top; }
.proj-detail-gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem;
}
.proj-detail-figure { margin: 0; border-radius: 10px; overflow: hidden; }
.proj-detail-figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.proj-detail-figure figcaption { padding: 0.5rem 0.75rem; font-size: 0.85rem; color: rgba(255,255,255,0.6); }

.proj-detail-enquiry-sec {
  background: var(--const-charcoal); border-radius: 16px; padding: 2rem;
  border: 1px solid rgba(255,255,255,0.08);
}
.proj-detail-enquiry-intro { color: rgba(255,255,255,0.7); margin: 0 0 1.5rem; font-size: 0.95rem; }
.proj-detail-enquiry-form { display: flex; flex-direction: column; gap: 1.25rem; max-width: 480px; }
.proj-detail-enquiry-label { display: flex; flex-direction: column; gap: 0.35rem; }
.proj-detail-enquiry-label span { font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.9); }
.proj-detail-enquiry-label em { color: var(--const-gold); }
.proj-detail-enquiry-input {
  padding: 0.75rem 1rem; border-radius: 8px; border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06); color: #fff; font: inherit; font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}
.proj-detail-enquiry-input::placeholder { color: rgba(255,255,255,0.4); }
.proj-detail-enquiry-input:focus { outline: none; border-color: var(--const-gold); background: rgba(255,255,255,0.08); }
.proj-detail-enquiry-textarea { min-height: 120px; resize: vertical; }

@media (max-width: 900px) {
  .proj-detail-content-inner { grid-template-columns: 1fr; }
  .proj-detail-sidebar { position: static; }
  .proj-detail-main-wrap { aspect-ratio: 16/9; min-height: 260px; }
}
@media (max-width: 640px) {
  .proj-detail-hero-inner { padding: 0 1rem 1rem; }
  .proj-detail-bar-inner { padding: 0.75rem 1rem; }
  .proj-detail-content-inner { padding: 0 1rem; }
  .proj-detail-thumbs { padding: 0.5rem; }
  .proj-thumb { flex: 0 0 64px; height: 44px; }
}
.page-title { font-family: var(--font-serif); font-size: 2rem; margin: 0 0 0.5rem; }
.page-lead { color: var(--text-muted); margin: 0 0 2rem; }
.btn-primary { padding: 0.75rem 1.5rem; background: var(--accent); color: #000; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; max-width: 140px; font: inherit; }
.btn-primary:hover { background: var(--accent-hover); }

/* ========== Properties listing ========== */
.properties-page { padding-top: 0; }
.properties-hero {
  background: linear-gradient(135deg, #1a2a4a 0%, #0d1b2a 100%);
  padding: 8rem 1.5rem 4rem;
  text-align: center;
}
.properties-hero-inner { max-width: 720px; margin: 0 auto; }
.properties-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
.properties-hero-sub {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin: 0;
}
.properties-list-sec { padding: 3rem 1.5rem 4rem; }
.properties-list-inner { max-width: 1280px; margin: 0 auto; }
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.property-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
  transition: transform 0.25s, box-shadow 0.25s;
}
.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.06);
}
.property-card-link { text-decoration: none; color: inherit; display: block; }
.property-card-image-wrap {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  overflow: hidden;
}
.property-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.property-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.property-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 6px;
}
.property-badge-sale { background: var(--accent); color: #000; }
.property-badge-rent { background: #1a1a1a; color: #fff; }
.property-badge-sold { background: #2d5a27; color: #fff; }
.property-card-featured {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(255,255,255,0.95);
  color: var(--text);
  border-radius: 6px;
}
.property-card-body { padding: 1.25rem 1.5rem; }
.property-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: var(--text);
  line-height: 1.3;
}
.property-card-location {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}
.property-card-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 0.5rem;
}
.property-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
  line-height: 1.5;
}
.property-card-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}
.properties-empty {
  text-align: center;
  padding: 4rem 1.5rem;
  color: var(--text-muted);
}
.properties-empty-text { margin: 0; font-size: 1.05rem; }

/* ========== Property detail ========== */
.property-detail-page { padding-top: 0; }
.property-detail-gallery-sec { padding-top: 0; }
.property-detail-gallery-inner { max-width: 1280px; margin: 0 auto; padding: 5rem 1.5rem 0; }
.property-detail-gallery { margin-bottom: 2rem; }
.property-detail-main-image {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-alt);
  margin-bottom: 1rem;
}
.property-detail-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.property-detail-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.property-thumb {
  width: 80px;
  height: 60px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-alt);
  transition: border-color 0.2s;
}
.property-thumb:hover { border-color: var(--accent); }
.property-thumb.active { border-color: var(--accent); }
.property-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.property-detail-placeholder {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}
.property-detail-content-wrap { padding: 0 1.5rem 4rem; }
.property-detail-content-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 900px) {
  .property-detail-content-inner { grid-template-columns: 1fr; }
}
.property-detail-sidebar {
  position: sticky;
  top: 6rem;
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
}
.property-detail-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.property-detail-badge {
  padding: 0.35rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 6px;
}
.property-detail-featured {
  padding: 0.35rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--bg-alt);
  color: var(--text);
  border-radius: 6px;
}
.property-detail-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text);
  line-height: 1.3;
}
.property-detail-location { font-size: 0.95rem; color: var(--text-muted); margin: 0 0 0.75rem; }
.property-detail-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 1rem;
}
.property-price-period { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); }
.property-detail-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--text);
}
.property-detail-specs li { margin-bottom: 0.35rem; }
.property-detail-actions { margin-top: 1rem; }
.property-detail-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: #000;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s;
}
.property-detail-btn:hover { background: var(--accent-hover); }
.property-detail-main .content-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
}
.property-detail-main .content-text p { margin: 0 0 1rem; }
.property-detail-heading {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 1.5rem 0 1rem;
  color: var(--text);
}
.property-detail-images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.property-detail-figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-alt);
}
.property-detail-figure img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.property-detail-figure figcaption {
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ========== Home page properties section ========== */
.home-properties { padding: 4rem 1.5rem; background: var(--bg-alt); }
.home-properties-inner { max-width: 1280px; margin: 0 auto; }
.home-properties .section-subtitle { font-size: 0.8rem; color: var(--accent); letter-spacing: 0.15em; margin: 0 0 0.5rem; }
.home-properties .section-headline { font-family: var(--font-serif); font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 600; color: var(--text); margin: 0 0 2rem; }
.home-properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
  margin-bottom: 2rem;
}
.home-property-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
  transition: transform 0.25s, box-shadow 0.25s;
}
.home-property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.06);
}
.home-property-card-link { text-decoration: none; color: inherit; display: block; }
.home-property-card-image-wrap {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  overflow: hidden;
}
.home-property-card-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-property-card-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%); }
.home-property-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.3rem 0.6rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 6px;
}
.home-property-badge-sale { background: var(--accent); color: #000; }
.home-property-badge-rent { background: #1a1a1a; color: #fff; }
.home-property-badge-sold { background: #2d5a27; color: #fff; }
.home-property-card-featured {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.3rem 0.6rem;
  font-size: 0.65rem;
  font-weight: 600;
  background: rgba(255,255,255,0.95);
  color: var(--text);
  border-radius: 6px;
}
.home-property-card-body { padding: 1.1rem 1.25rem; }
.home-property-card-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.3rem;
  color: var(--text);
  line-height: 1.3;
}
.home-property-card-location { font-size: 0.85rem; color: var(--text-muted); margin: 0 0 0.35rem; }
.home-property-card-price { font-size: 1rem; font-weight: 600; color: var(--accent); margin: 0 0 0.35rem; }
.home-property-card-desc { font-size: 0.85rem; color: var(--text-muted); margin: 0 0 0.5rem; line-height: 1.45; }
.home-property-card-cta { font-size: 0.8rem; font-weight: 600; color: var(--accent); }
.home-properties-actions { text-align: center; margin-top: 0.5rem; }
.home-properties-actions .btn-dark { display: inline-block; }
.home-properties-empty { text-align: center; color: var(--text-muted); margin: 0; padding: 2rem 1rem; }

/* ========== Property enquiry form (detail page) ========== */
.property-enquiry-form-wrap {
  background: var(--bg-alt);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.04);
}
.property-enquiry-intro { color: var(--text-muted); font-size: 0.95rem; margin: 0 0 1.25rem; line-height: 1.5; }
.property-enquiry-form { display: flex; flex-direction: column; gap: 1rem; max-width: 480px; }
.property-enquiry-label { display: block; }
.property-enquiry-label span { display: block; font-size: 0.85rem; font-weight: 500; color: var(--text); margin-bottom: 0.35rem; }
.property-enquiry-label em { color: var(--accent); font-style: normal; }
.property-enquiry-input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  font-size: 0.95rem;
  background: #fff;
  transition: border-color 0.2s;
}
.property-enquiry-input:focus { outline: none; border-color: var(--accent); }
.property-enquiry-textarea { min-height: 100px; resize: vertical; }
.property-enquiry-submit {
  align-self: flex-start;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: #000;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  transition: background 0.2s;
}
.property-enquiry-submit:hover { background: var(--accent-hover); }

/* ========== Properties listing page enquiry form ========== */
.properties-enquiry-sec {
  margin-top: 3rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}
.properties-enquiry-inner { max-width: 560px; margin: 0 auto; }
.properties-enquiry-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.5rem;
}
.properties-enquiry-intro { color: var(--text-muted); font-size: 0.95rem; margin: 0 0 1.5rem; line-height: 1.5; }
.properties-enquiry-form { display: flex; flex-direction: column; gap: 1rem; }
.properties-enquiry-label { display: block; }
.properties-enquiry-label span { display: block; font-size: 0.85rem; font-weight: 500; color: var(--text); margin-bottom: 0.35rem; }
.properties-enquiry-label em { color: var(--accent); font-style: normal; }
.properties-enquiry-input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  font-size: 0.95rem;
  background: #fff;
  transition: border-color 0.2s;
}
.properties-enquiry-input:focus { outline: none; border-color: var(--accent); }
.properties-enquiry-textarea { min-height: 100px; resize: vertical; }
.properties-enquiry-submit {
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: #000;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  max-width: 200px;
  transition: background 0.2s;
}
.properties-enquiry-submit:hover { background: var(--accent-hover); }

/* ═══════════════════════════════════════════════════════════════════
   CONSTRUCTION PAGE — World-class styles
   ═══════════════════════════════════════════════════════════════════ */
:root {
  --const-gold: #c9a84c;
  --const-gold-light: #e8c96a;
  --const-dark: #0f1923;
  --const-charcoal: #1a2332;
  --const-steel: #2d3d52;
  --const-muted: #8a9ab5;
  --const-light: #f4f1ec;
  --const-white: #ffffff;
  --const-border: rgba(201,168,76,0.2);
  --const-radius: 12px;
  --const-transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

/* Container */
.construction-page { background: var(--const-dark); color: var(--const-white); }
.const-container { max-width: 1260px; margin: 0 auto; padding: 0 2rem; }

/* ── Scroll-reveal ── */
.const-reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.const-revealed { opacity: 1; transform: none; }

/* ── Buttons ── */
.const-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.75rem 1.75rem; font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  border-radius: 4px; transition: all var(--const-transition); cursor: pointer; border: none;
}
.const-btn-primary {
  background: var(--const-gold); color: var(--const-dark);
}
.const-btn-primary:hover { background: var(--const-gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.4); }
.const-btn-outline {
  background: transparent; color: var(--const-white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.const-btn-outline:hover { border-color: var(--const-gold); color: var(--const-gold); background: rgba(201,168,76,0.08); }
.const-btn-sm { padding: 0.5rem 1.1rem; font-size: 0.78rem; }
.const-btn-video { background: rgba(255,255,255,0.1); color: var(--const-white); border: 1px solid rgba(255,255,255,0.2); }
.const-btn-video:hover { background: rgba(255,255,255,0.15); }

/* ── Section headers ── */
.const-section-header { text-align: center; margin-bottom: 3.5rem; }
.const-section-title {
  font-family: 'Playfair Display', serif; font-size: clamp(2rem,4vw,3rem);
  font-weight: 700; letter-spacing: -0.02em; margin: 0 0 1rem;
  color: var(--const-white); line-height: 1.15;
}
.const-section-subtitle {
  max-width: 640px; margin: 0 auto; font-size: 1.05rem;
  color: var(--const-muted); line-height: 1.7;
}
.const-block-heading { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--const-white); margin: 0 0 1rem; }
.const-block-text { color: rgba(255,255,255,0.8); line-height: 1.75; }
.const-block-text p { margin-bottom: 1rem; }

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.const-hero {
  position: relative; height: 100vh; min-height: 580px; max-height: 980px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.const-hero-bg { position: absolute; inset: 0; z-index: 0; }
.const-hero-bg-video video, .const-hero-bg-carousel img, .const-hero-bg-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.const-hero-bg-gradient {
  background: linear-gradient(135deg, #0a1628 0%, #1a2d48 40%, #0f1f35 100%);
}
.const-hero-pattern {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    45deg, transparent, transparent 40px, rgba(201,168,76,0.03) 40px, rgba(201,168,76,0.03) 41px
  ), repeating-linear-gradient(
    -45deg, transparent, transparent 40px, rgba(201,168,76,0.03) 40px, rgba(201,168,76,0.03) 41px
  );
}
.const-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(10,22,40,0.45) 0%, rgba(10,22,40,0.7) 60%, rgba(10,22,40,0.9) 100%);
}
.const-hero-content {
  position: relative; z-index: 2; text-align: center;
  padding: 2rem; max-width: 900px; animation: constHeroIn 1s ease both;
}
@keyframes constHeroIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}
.const-hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(201,168,76,0.15); border: 1px solid var(--const-border);
  color: var(--const-gold); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; padding: 0.45rem 1rem; border-radius: 100px;
  margin-bottom: 1.75rem;
}
.const-hero-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--const-gold);
  animation: constPulse 1.8s ease-in-out infinite;
}
@keyframes constPulse {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.5; transform:scale(1.4); }
}
.const-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  font-weight: 700; line-height: 1.1; color: var(--const-white);
  letter-spacing: -0.03em; margin: 0 0 1.25rem;
}
.const-hero-title em { font-style: italic; color: var(--const-gold); }
.const-hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem); color: rgba(255,255,255,0.72);
  line-height: 1.65; max-width: 620px; margin: 0 auto 2.5rem;
}
.const-hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.const-hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.45); font-size: 0.65rem; letter-spacing: 0.2em;
}
.const-hero-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: constScrollLine 2s ease-in-out infinite;
}
@keyframes constScrollLine {
  0%,100% { transform:scaleY(1) translateY(0); opacity:1; }
  50% { transform:scaleY(0.5) translateY(12px); opacity:0.3; }
}

/* ══════════════════════════════
   STATS
══════════════════════════════ */
.const-stats {
  background: var(--const-charcoal);
  border-top: 1px solid var(--const-border);
  border-bottom: 1px solid var(--const-border);
  padding: 4rem 0;
}
.const-stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.const-stat-item {
  text-align: center; padding: 1.5rem 1rem;
  position: relative;
}
.const-stat-item + .const-stat-item::before {
  content: ''; position: absolute; left: 0; top: 20%; height: 60%;
  width: 1px; background: var(--const-border);
}
.const-stat-number {
  display: block; font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.5rem); font-weight: 700;
  color: var(--const-gold); line-height: 1; margin-bottom: 0.6rem;
}
.const-stat-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em;
  color: var(--const-muted); text-transform: uppercase;
}
.const-inline-stat {
  display: flex; align-items: baseline; gap: 0.75rem;
  margin: 1rem 0;
}
.const-inline-stat .const-stat-number { font-size: 2.2rem; }

/* ══════════════════════════════
   INTRO SECTION
══════════════════════════════ */
.const-intro {
  background: var(--const-dark);
  padding: 6rem 0;
}
.const-intro-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.const-intro-icon {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  background: rgba(201,168,76,0.12); border: 1px solid var(--const-border);
  border-radius: 10px; margin-bottom: 1.5rem; color: var(--const-gold); font-size: 1.4rem;
}
.const-intro-icon img { width: 32px; height: 32px; object-fit: contain; }
.const-intro-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700;
  color: var(--const-white); line-height: 1.2; margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}
.const-intro-heading::after {
  content: ''; display: block; width: 48px; height: 2px;
  background: var(--const-gold); margin-top: 1rem;
}
.const-intro-body { color: rgba(255,255,255,0.72); line-height: 1.8; }
.const-intro-body p { margin-bottom: 1rem; }
.const-intro-media { position: relative; }
.const-intro-img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--const-radius); display: block;
}
.const-intro-video { width: 100%; border-radius: var(--const-radius); display: block; }
.const-intro-gallery {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem;
}
.const-intro-gallery img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 8px; cursor: pointer; transition: transform var(--const-transition);
}
.const-intro-gallery img:hover { transform: scale(1.03); }
.const-intro-placeholder {
  width: 100%; aspect-ratio: 4/3;
  background: var(--const-steel); border-radius: var(--const-radius);
  display: flex; align-items: center; justify-content: center;
}
.const-intro-placeholder-inner { text-align: center; color: var(--const-muted); }
.const-intro-placeholder-icon { font-size: 3rem; display: block; margin-bottom: 0.75rem; }
.const-intro-block { max-width: 760px; margin: 0 auto; }

/* ══════════════════════════════
   PROJECTS GRID
══════════════════════════════ */
.const-projects {
  background: linear-gradient(to bottom, var(--const-charcoal) 0%, var(--const-dark) 100%);
  padding: 6rem 0;
}
.const-projects-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2.25rem;
}
.const-project-card {
  background: var(--const-charcoal); border-radius: var(--const-radius);
  overflow: hidden; border: 1px solid var(--const-border);
  transition: transform var(--const-transition), box-shadow var(--const-transition), border-color var(--const-transition);
  display: flex; flex-direction: column;
  position: relative;
}
.const-project-card-link {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
}
.const-project-card-footer {
  position: relative; z-index: 2;
}
.const-project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  border-color: var(--const-gold);
}
.const-project-card-image-wrap {
  position: relative; overflow: hidden;
  aspect-ratio: 16/9;
}
.const-project-card-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease; display: block;
}
.const-project-card:hover .const-project-card-img { transform: scale(1.05); }
.const-project-card-img-placeholder {
  width: 100%; height: 100%;
  background: var(--const-steel);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
}
.const-project-card-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.85) 0%, transparent 60%);
}
.const-project-status-badge {
  position: absolute; top: 1rem; left: 1rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.75rem; border-radius: 100px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; backdrop-filter: blur(8px);
}
.const-status-ongoing { background: rgba(34,197,94,0.2); color: #4ade80; border: 1px solid rgba(34,197,94,0.3); }
.const-status-coming-soon { background: rgba(251,191,36,0.2); color: #fbbf24; border: 1px solid rgba(251,191,36,0.3); }
.const-status-completed { background: rgba(99,102,241,0.2); color: #a5b4fc; border: 1px solid rgba(99,102,241,0.3); }
.const-status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; animation: constPulse 2s ease-in-out infinite;
}
.const-project-img-count {
  position: absolute; bottom: 0.75rem; right: 0.75rem;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(6px);
  color: #fff; font-size: 0.75rem; padding: 0.25rem 0.6rem;
  border-radius: 100px;
}
.const-project-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.const-project-card-title {
  font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700;
  color: var(--const-white); margin: 0 0 0.75rem; line-height: 1.3;
}
.const-project-meta {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.82rem; color: var(--const-muted); margin-bottom: 0.4rem;
}
.const-project-meta-icon { font-size: 0.9rem; }
.const-project-card-desc {
  font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.65;
  margin: 0.75rem 0 1rem; flex: 1;
}
.const-project-price {
  font-size: 0.9rem; font-weight: 700; color: var(--const-gold);
  margin: 0.5rem 0;
}

/* Progress bar */
.const-progress-wrap { margin: 1rem 0; }
.const-progress-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 0.4rem;
}
.const-progress-label { font-size: 0.75rem; color: var(--const-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.const-progress-pct { font-size: 0.78rem; font-weight: 700; color: var(--const-gold); }
.const-progress-track {
  height: 5px; background: rgba(255,255,255,0.1); border-radius: 100px; overflow: hidden;
}
.const-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--const-gold) 0%, var(--const-gold-light) 100%);
  border-radius: 100px;
  transition: width 1.4s cubic-bezier(0.22,1,0.36,1);
}
.const-project-card-footer {
  display: flex; align-items: center; gap: 0.5rem;
  margin-top: auto; padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  flex-wrap: wrap;
}
.const-projects-empty {
  grid-column: 1 / -1; text-align: center;
  padding: 4rem 0; color: var(--const-muted);
}
.const-projects-empty a { color: var(--const-gold); }

/* ══════════════════════════════
   MEDIA GALLERY
══════════════════════════════ */
.const-media {
  background: var(--const-charcoal); padding: 6rem 0;
}
.const-media-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.const-media-gallery-scroll { display: flex; overflow-x: auto; gap: 1rem; padding-bottom: 0.5rem; }
.const-media-gallery-scroll::-webkit-scrollbar { height: 4px; }
.const-media-gallery-scroll::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); }
.const-media-gallery-scroll::-webkit-scrollbar-thumb { background: var(--const-gold); border-radius: 2px; }
.const-media-item {
  position: relative; overflow: hidden; border-radius: 8px;
  aspect-ratio: 4/3; cursor: pointer;
}
.const-media-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.const-media-item:hover img { transform: scale(1.06); }
.const-media-item-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--const-transition);
}
.const-media-item:hover .const-media-item-overlay { background: rgba(10,22,40,0.5); }
.const-media-zoom {
  color: var(--const-white); font-size: 1.8rem; opacity: 0;
  transform: scale(0.7);
  transition: opacity var(--const-transition), transform var(--const-transition);
}
.const-media-item:hover .const-media-zoom { opacity: 1; transform: scale(1); }
.const-media-single { margin: 1.5rem auto; max-width: 900px; border-radius: var(--const-radius); overflow: hidden; }
.const-media-single img { width: 100%; display: block; cursor: pointer; }
.const-media-video-wrap { max-width: 900px; margin: 2rem auto; border-radius: var(--const-radius); overflow: hidden; }

/* ══════════════════════════════
   VIDEO PLAYER
══════════════════════════════ */
.const-video-thumb-wrap { position: relative; background: #000; border-radius: var(--const-radius); overflow: hidden; }
.const-video-poster {
  aspect-ratio: 16/9; background: var(--const-charcoal);
  display: flex; align-items: center; justify-content: center;
}
.const-video-play-btn {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(201,168,76,0.9); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--const-transition);
  box-shadow: 0 0 0 12px rgba(201,168,76,0.15), 0 0 0 24px rgba(201,168,76,0.07);
}
.const-video-play-btn:hover { background: var(--const-gold-light); transform: scale(1.1); }
.const-video-play-icon { color: var(--const-dark); font-size: 1.4rem; margin-left: 4px; }
.const-video-player-inline { width: 100%; max-height: 560px; display: block; }
.const-block-video { width: 100%; border-radius: var(--const-radius); overflow: hidden; }
.const-block-video video, .const-block-carousel { width: 100%; }

/* ══════════════════════════════
   TIMELINE
══════════════════════════════ */
.const-timeline { background: var(--const-dark); padding: 6rem 0; }
.const-timeline-track {
  position: relative; padding-left: 3rem;
}
.const-timeline-track::before {
  content: ''; position: absolute; left: 0.75rem; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(to bottom, var(--const-gold), transparent);
}
.const-timeline-item {
  position: relative; margin-bottom: 3rem;
}
.const-timeline-marker {
  position: absolute; left: -2.25rem; top: 4px;
}
.const-timeline-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--const-gold);
  border: 3px solid var(--const-dark);
  box-shadow: 0 0 0 4px rgba(201,168,76,0.2);
}
.const-timeline-date {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  color: var(--const-gold); text-transform: uppercase; margin-bottom: 0.35rem; display: block;
}
.const-timeline-title {
  font-family: 'Playfair Display', serif; font-size: 1.2rem;
  font-weight: 700; color: var(--const-white); margin: 0 0 0.5rem;
}
.const-timeline-body { color: var(--const-muted); font-size: 0.9rem; line-height: 1.65; }
.const-timeline-tag {
  display: inline-block; margin-top: 0.5rem;
  background: rgba(201,168,76,0.12); color: var(--const-gold);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
  padding: 0.2rem 0.6rem; border-radius: 4px; text-transform: uppercase;
}

/* ══════════════════════════════
   GENERIC CONTENT SECTION
══════════════════════════════ */
.const-content-section { background: var(--const-dark); padding: 5rem 0; }
.const-block-wrap { margin-bottom: 2rem; }
.const-block-image { margin: 0; border-radius: var(--const-radius); overflow: hidden; }
.const-block-image img { width: 100%; display: block; cursor: pointer; }

/* ══════════════════════════════
   LIGHTBOX
══════════════════════════════ */
.const-lightbox {
  display: none; position: fixed; inset: 0; z-index: 9999;
  align-items: center; justify-content: center;
}
.const-lightbox.active { display: flex; }
.const-lightbox-backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,0.92);
  backdrop-filter: blur(8px);
}
.const-lightbox-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  max-width: 90vw; max-height: 90vh;
}
.const-lightbox-img {
  max-width: 90vw; max-height: 80vh; object-fit: contain;
  border-radius: 8px; display: block;
}
.const-lightbox-caption { color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-top: 0.75rem; }
.const-lightbox-close, .const-lightbox-prev, .const-lightbox-next {
  background: rgba(255,255,255,0.1); border: none; color: #fff;
  width: 44px; height: 44px; border-radius: 50%; font-size: 1.4rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background var(--const-transition);
}
.const-lightbox-close:hover, .const-lightbox-prev:hover, .const-lightbox-next:hover { background: rgba(255,255,255,0.2); }
.const-lightbox-close { position: absolute; top: -56px; right: 0; font-size: 1.6rem; }
.const-lightbox-prev { position: absolute; left: -56px; top: 50%; transform: translateY(-50%); }
.const-lightbox-next { position: absolute; right: -56px; top: 50%; transform: translateY(-50%); }

/* ══════════════════════════════
   CUSTOM PAGE (generic /p/<slug>)
══════════════════════════════ */
.custom-page-hero {
  min-height: 300px; background: var(--const-dark);
  display: flex; align-items: center; justify-content: center;
  padding: 5rem 2rem;
}
.custom-page-hero-content { text-align: center; max-width: 680px; }
.custom-page-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700;
  color: var(--text, #1a1a1a); margin: 0 0 1rem;
}

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 900px) {
  .const-intro-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .const-intro-media { order: -1; }
  .const-timeline-track { padding-left: 2rem; }
  .const-lightbox-prev { left: -48px; }
  .const-lightbox-next { right: -48px; }
}
@media (max-width: 640px) {
  .const-projects-grid { grid-template-columns: 1fr; }
  .const-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .const-stat-item + .const-stat-item::before { display: none; }
  .const-hero-actions { flex-direction: column; align-items: center; }
  .const-media-gallery { grid-template-columns: repeat(2, 1fr); }
  .const-lightbox-prev { left: 8px; }
  .const-lightbox-next { right: 8px; }
  .const-lightbox-close { top: -44px; right: 8px; }
}
@media (max-width: 400px) {
  .const-stats-grid { grid-template-columns: 1fr; }
  .const-container { padding: 0 1.25rem; }
}
