: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;
  transition: opacity 0.2s ease;
}
.logo-link:hover { opacity: 0.92; }
.logo-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.logo-img {
  height: var(--logo-height, 52px);
  max-height: 120px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: height 0.2s ease;
}
.logo-text { color: #fff; }
.logo-link.logo-full .logo-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.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;
  }
  .logo-img { height: 40px; max-height: 44px; }
}

/* ========== 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);
  display: inline-block;
  min-width: 2ch;
  transition: transform 0.2s ease;
}
.stat-number.stat-number-rolling {
  transform: scale(1.05);
  opacity: 0.95;
}
.stat-number.stat-number-landed {
  animation: stat-landed 0.4s ease;
}
@keyframes stat-landed {
  0% { transform: scale(1.08); }
  60% { transform: scale(0.98); }
  100% { transform: scale(1); }
}
.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; }

/* ========== Vision & Mission (two cards, red accent + animation) ========== */
:root {
  --vm-red: #c41e3a;
  --vm-red-glow: rgba(196, 30, 58, 0.45);
  --vm-red-soft: rgba(196, 30, 58, 0.12);
}
.vision-mission-cards {
  padding: 4.5rem 1.5rem;
  background: #f4f4f4;
}
.vm-cards-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}
.vm-card {
  position: relative;
  background: #fff;
  border-radius: 10px;
  padding: 2.75rem 2rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}
/* Red fill from bottom to top on hover */
.vm-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
  background: var(--vm-red);
  transition: height 0.4s ease;
  z-index: 0;
}
.vm-card:hover::before {
  height: 100%;
}
.vm-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
}
.vm-card:hover .vm-card-title,
.vm-card:hover .vm-card-text,
.vm-card:hover .vm-card-text p {
  color: #fff;
}
.vm-card-icon {
  position: relative;
  z-index: 1;
  color: var(--vm-red);
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, color 0.3s ease;
}
.vm-card:hover .vm-card-icon {
  color: #fff;
  animation: vm-icon-pulse 1.2s ease-in-out;
}
.vm-icon-svg {
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 0 0 currentColor);
  transition: filter 0.4s ease, transform 0.4s ease;
}
.vm-card:hover .vm-icon-svg {
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.5));
  transform: scale(1.1);
}
@keyframes vm-icon-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.08); }
}
.vm-card-animate .vm-card-icon {
  animation: vm-red-glow 2.8s ease-in-out infinite;
}
.vm-card-animate:hover .vm-card-icon {
  animation: vm-icon-pulse 1.2s ease-in-out;
}
@keyframes vm-red-glow {
  0%, 100% { box-shadow: 0 0 0 0 var(--vm-red-soft); }
  50% { box-shadow: 0 0 28px 6px var(--vm-red-glow); }
}
.vm-card-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
  transition: color 0.35s ease;
}
.vm-card-text {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  margin: 0;
  max-width: 380px;
  transition: color 0.35s ease;
}
.vm-card-text p { margin: 0 0 0.5em; }
.vm-card-text p:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
  .vision-mission-cards { padding: 3rem 1rem; }
  .vm-cards-inner { grid-template-columns: 1fr; gap: 2rem; }
  .vm-card { padding: 2rem 1.5rem; }
}

/* ========== 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-logo-link { display: inline-block; margin-bottom: 1.25rem; }
.footer-logo-img {
  height: var(--footer-logo-height, 48px);
  max-height: 96px;
  width: auto;
  display: block;
  object-fit: contain;
  opacity: 0.95;
}
.footer-logo-link:hover .footer-logo-img { opacity: 1; }
.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 1rem;
  line-height: 1.5;
}
.contact-map-actions {
  margin-bottom: 1rem;
}
.contact-map-directions-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.contact-map-directions-btn:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}
.map-container {
  width: 100%;
  height: 420px;
  min-height: 320px;
  border-radius: 16px;
  overflow: hidden;
  background: #e8e8e8;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
  position: relative;
}
.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.map-container img { display: block; width: 100%; height: 100%; object-fit: cover; }
.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-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);
}

/* ========== Featured Projects (home) — card layout: image, title, desc, FROM + price, VIEW MORE ========== */
.featured-projects {
  padding: 4rem 1.5rem;
  background: #fff;
}
.featured-projects-inner { max-width: 1280px; margin: 0 auto; }
.featured-projects-headline {
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--text);
  margin: 0 0 2.5rem;
  text-align: center;
}
.featured-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.featured-project-card {
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.featured-project-card-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  overflow: hidden;
}
.featured-project-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.featured-project-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
}
.featured-project-card-body {
  padding: 1.75rem 1.25rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.featured-project-card-title {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 0.75rem;
  line-height: 1.3;
}
.featured-project-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 1.25rem;
  max-width: 320px;
}
.featured-project-card-price-block {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}
.featured-project-price-line {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 0.25rem;
}
.featured-project-price-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  margin: 0;
  letter-spacing: 0.05em;
}
.featured-project-price {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0;
  letter-spacing: 0.02em;
}
.featured-project-price-period { font-weight: 500; font-size: 0.9rem; }
.featured-project-card-btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--text);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.featured-project-card-btn:hover { background: #333; color: #fff; }
.featured-projects-actions { text-align: center; }
.featured-projects-actions .btn-dark { display: inline-block; }
.featured-projects-empty { text-align: center; color: var(--text-muted); margin: 0; padding: 2rem 1rem; }

@media (max-width: 992px) {
  .featured-projects-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (max-width: 640px) {
  .featured-projects-grid { grid-template-columns: 1fr; gap: 2rem; }
  .featured-project-card-body { padding: 1.5rem 1rem 1.75rem; }
}

/* ========== Home page properties section (legacy / other uses) ========== */
.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-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); }

/* ========== Property detail page (new layout: hero = image beside form) ========== */
.pd-hero {
  min-height: 85vh;
  display: flex;
  background: #0d1b2a;
  color: #fff;
}
.pd-hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  width: 100%;
  min-height: 85vh;
  max-width: 1400px;
  margin: 0 auto;
}
.pd-hero-image-col {
  position: relative;
  min-height: 85vh;
  overflow: hidden;
}
.pd-hero-image {
  width: 100%;
  height: 100%;
  min-height: 85vh;
  object-fit: cover;
  display: block;
}
.pd-hero-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 85vh;
  background: linear-gradient(135deg, #1b263b 0%, #0d1b2a 100%);
}
.pd-hero-image-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.5rem 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  color: #fff;
}
.pd-hero-title {
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  margin: 0 0 0.35rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.pd-hero-tagline {
  font-size: 1rem;
  opacity: 0.95;
  margin: 0;
  font-weight: 400;
}
.pd-hero-form-col {
  display: flex;
  align-items: center;
  padding: 2rem;
  background: rgba(26, 26, 26, 0.98);
}
.pd-hero-form-wrap {
  width: 100%;
  max-width: 380px;
  background: rgba(100, 85, 55, 0.95);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.pd-hero-form-title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0 0 1.5rem;
  color: #fff;
}
.pd-hero-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.pd-form-label { margin: 0; display: block; }
.pd-form-field-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.95);
  margin-bottom: 0.4rem;
}
.pd-form-input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  font: inherit;
  box-sizing: border-box;
}
.pd-form-input::placeholder { color: #888; }
.pd-form-input:focus { outline: none; border-color: var(--accent); }
.pd-hero-form-btn {
  padding: 0.9rem 1.5rem;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.2s;
}
.pd-hero-form-btn:hover { background: var(--accent-hover); }
.pd-section {
  padding: 4rem 1.5rem;
  background: #fff;
}
.pd-section:nth-child(even) { background: var(--bg-alt); }
.pd-container { max-width: 1280px; margin: 0 auto; }
.pd-welcome {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 0.5rem;
}
.pd-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--text);
  margin: 0 0 1.25rem;
}
.pd-prose { color: var(--text-muted); line-height: 1.65; margin: 0 0 1.5rem; }
.pd-prose p { margin: 0 0 0.75rem; }
.pd-prose p:last-child { margin-bottom: 0; }
.pd-btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.pd-btn-accent { background: var(--accent); color: #000; }
.pd-btn-accent:hover { background: var(--accent-hover); color: #000; }
.pd-location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.pd-location-img img, .pd-design-img img { width: 100%; height: auto; border-radius: 8px; display: block; object-fit: cover; max-height: 420px; }
.pd-design-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.pd-design-img { order: 1; }
.pd-design-text { order: 2; }
/* Text beside image / video / carousel */
.pd-text-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.pd-text-media-reverse .pd-text-media-text { order: 2; }
.pd-text-media-reverse .pd-text-media-media { order: 1; }
.pd-text-media-text { order: 1; }
.pd-text-media-media { order: 2; }
.pd-text-media-img img,
.pd-text-media-carousel img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  object-fit: cover;
  max-height: 420px;
}
.pd-text-media-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}
.pd-text-media-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.pd-text-media-carousel {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  border-radius: 8px;
}
.pd-text-media-carousel-inner {
  display: flex;
  gap: 0.75rem;
  padding-bottom: 0.25rem;
}
.pd-text-media-carousel-item {
  flex: 0 0 85%;
  scroll-snap-align: start;
  min-width: 0;
}
.pd-text-media-carousel-item img {
  max-height: 380px;
  width: 100%;
  object-fit: cover;
}
.pd-text-media-placeholder {
  min-height: 280px;
  background: var(--bg-alt);
  border-radius: 8px;
}
.pd-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.pd-stat-value {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.25rem;
}
.pd-stat-label { font-size: 0.8rem; color: var(--text-muted); margin: 0; letter-spacing: 0.05em; }
.pd-amenities-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}
.pd-amenities-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--text);
}
.pd-amenity-icon {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.pd-block-img { width: 100%; height: auto; border-radius: 8px; display: block; }
.pd-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}
.pd-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.pd-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.pd-gallery-grid img { width: 100%; height: 250px; object-fit: cover; border-radius: 8px; display: block; }
.pd-cta {
  background: var(--bg-alt);
}
.pd-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.pd-cta-heading { margin: 0; font-size: 1.5rem; font-weight: 700; color: var(--text); }
.pd-cta-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 992px) {
  .pd-hero-inner { grid-template-columns: 1fr; }
  .pd-hero-image-col { min-height: 50vh; }
  .pd-hero-image, .pd-hero-image-placeholder { min-height: 50vh; }
  .pd-hero-form-col { padding: 2rem 1.5rem; justify-content: center; }
  .pd-hero-form-wrap { max-width: 100%; }
  .pd-location-grid, .pd-design-grid, .pd-text-media-grid { grid-template-columns: 1fr; }
  .pd-design-img { order: 0; }
  .pd-design-text { order: 1; }
  .pd-text-media-text, .pd-text-media-media { order: 0; }
  .pd-text-media-carousel-item { flex: 0 0 92%; }
  .pd-stats-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pd-cta-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .pd-cta-btns { justify-content: center; }
}

/* ========== Site ad modal (admin-configured ads on all pages) ========== */
.site-ad-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.site-ad-overlay.site-ad-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.site-ad-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
}
.site-ad-modal-box {
  position: relative;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.35s ease;
}
.site-ad-overlay.site-ad-visible .site-ad-modal-box {
  transform: scale(1);
}
.site-ad-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  color: #1a1a1a;
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.site-ad-close:hover {
  background: #1a1a1a;
  color: #fff;
}
.site-ad-headline {
  margin: 0;
  padding: 1rem 1.25rem 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1a1a;
  text-align: center;
  line-height: 1.35;
}
.site-ad-media-wrap {
  position: relative;
  width: 100%;
  min-height: 200px;
}
.site-ad-item {
  width: 100%;
}
.site-ad-item img {
  width: 100%;
  height: auto;
  max-height: 60vh;
  object-fit: contain;
  display: block;
  background: #f5f5f5;
}
.site-ad-item video {
  width: 100%;
  max-height: 60vh;
  display: block;
  background: #000;
}
.site-ad-link { display: block; }
.site-ad-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
}
.site-ad-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.site-ad-dot.active { background: #1a1a1a; }
.site-ad-dot:hover { background: #888; }
.site-ad-actions {
  padding: 0 1.25rem 1.25rem;
  text-align: center;
}
.site-ad-btn-close {
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}
.site-ad-btn-close:hover { background: #333; }
