/* Emier Karya Nusantara — Japandi Company Profile (Static) */
:root {
  --wood: hsl(30 24% 44%);
  --wood-light: hsl(37 30% 76%);
  --beige: hsl(40 33% 93%);
  --background: hsl(0 0% 100%);
  --foreground: hsl(30 10% 20%);
  --muted: hsl(40 20% 96%);
  --muted-fg: hsl(30 8% 45%);
  --border: hsl(40 25% 88%);
  --font-sans: 'Outfit', system-ui, sans-serif;
  --font-serif: 'Lora', Georgia, serif;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --shadow-sm: 0 1px 2px rgba(30, 10, 20, 0.05);
  --shadow-md: 0 4px 12px rgba(30, 10, 20, 0.08);
  --shadow-lg: 0 12px 24px rgba(30, 10, 20, 0.1);
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --transition: 200ms ease;
  --header-height: 80px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-sans);
  color: var(--foreground);
  background: var(--background);
  line-height: 1.65;
  overflow-x: hidden;
}

.font-serif { font-family: var(--font-serif); }

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; border: none; background: none; }

.container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  z-index: 9999;
  padding: var(--space-sm) var(--space-md);
  background: var(--wood);
  color: white;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.skip-link:focus { top: var(--space-md); }

/* Header — putih solid, logo & menu selalu terbaca */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
}

.logo-img {
  display: block;
  height: 44px;
  width: auto;
  min-width: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text {
  display: none;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .logo-text { display: block; }
}

.nav-toggle {
  display: flex;
  padding: var(--space-sm);
  color: var(--foreground);
  border-radius: var(--radius-sm);
}
.nav-toggle:hover { background: var(--muted); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
}

.nav-menu {
  display: none;
  list-style: none;
  position: fixed;
  inset: var(--header-height) 0 auto 0;
  background: var(--background);
  border-bottom: 1px solid var(--border);
  padding: var(--space-lg);
  flex-direction: column;
  gap: var(--space-sm);
  box-shadow: var(--shadow-md);
}

.nav-menu.open { display: flex; }

@media (min-width: 900px) {
  .nav-menu {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
    gap: var(--space-lg);
    box-shadow: none;
  }
}

.nav-link {
  display: block;
  padding: var(--space-sm) 0;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--muted-fg);
  transition: color var(--transition);
  cursor: pointer;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active {
  color: var(--wood);
}

.nav-cta {
  padding: 0.5rem 1.125rem !important;
  background: var(--wood);
  color: white !important;
  border-radius: var(--radius-sm);
  transition: opacity var(--transition), transform var(--transition);
}

.nav-cta:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

@media (min-width: 900px) {
  .nav-cta { padding: 0.5rem 1.25rem !important; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.82) 45%, rgba(255,255,255,0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: var(--space-3xl);
  max-width: 640px;
}

.hero-tagline {
  font-size: 1.125rem;
  color: var(--muted-fg);
  margin-bottom: var(--space-md);
}

.hero-title {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--muted-fg);
  margin-bottom: var(--space-xl);
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--wood);
  color: white;
}
.btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--foreground);
  border: 2px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--wood);
  color: var(--wood);
}

.btn-full { width: 100%; }

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  margin-top: var(--space-md);
}

.text-link {
  color: var(--wood);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity var(--transition);
}
.text-link:hover { opacity: 0.8; }

/* Sections */
.section {
  padding-block: var(--space-3xl);
  position: relative;
  z-index: 1;
}

.section-muted {
  background: var(--muted);
}

.section-header {
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: var(--space-2xl);
}

.section-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wood);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.section-title.text-left { text-align: left; }

.section-desc {
  color: var(--muted-fg);
  font-size: 1.0625rem;
}

/* Cards */
.card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: hsl(30 24% 44% / 0.1);
  border-radius: var(--radius-sm);
  color: var(--wood);
  margin-bottom: var(--space-lg);
}

/* About */
.about-grid {
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
  margin-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}

.about-content p {
  margin-bottom: var(--space-md);
  color: var(--muted-fg);
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vision-grid {
  display: grid;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
  .vision-grid { grid-template-columns: 1fr 1fr; }
}

.vision-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.vision-card p,
.mission-list {
  color: var(--muted-fg);
  font-size: 0.9375rem;
}

.mission-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.mission-list li::before {
  content: '•';
  color: var(--wood);
  margin-right: var(--space-sm);
}

.values-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .values-grid { grid-template-columns: repeat(3, 1fr); }
}

.value-item {
  text-align: center;
  padding: var(--space-xl);
  background: var(--muted);
  border-radius: var(--radius-md);
}

.value-item h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
  color: var(--wood);
}

.value-item p {
  font-size: 0.9375rem;
  color: var(--muted-fg);
}

/* Services */
.services-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--muted-fg);
}

/* Portfolio + Before/After slider */
.portfolio-grid {
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.portfolio-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.ba-slider {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  touch-action: none;
  user-select: none;
  cursor: ew-resize;
  background: var(--muted);
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-before-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  width: 50%;
}

.ba-before-wrap .ba-before {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.ba-label {
  position: absolute;
  top: var(--space-md);
  z-index: 3;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  pointer-events: none;
}

.ba-label--before {
  left: var(--space-md);
  background: rgba(255, 255, 255, 0.92);
  color: var(--foreground);
}

.ba-label--after {
  right: var(--space-md);
  background: var(--wood);
  color: white;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 4;
  width: 3px;
  margin-left: -1.5px;
  background: white;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
  cursor: ew-resize;
}

.ba-handle:focus-visible {
  outline: 2px solid var(--wood);
  outline-offset: 2px;
}

.ba-handle-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: white;
  box-shadow: var(--shadow-lg);
}

.ba-handle-knob::before,
.ba-handle-knob::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 2px;
  height: 1rem;
  background: var(--wood);
  transform: translateY(-50%);
}

.ba-handle-knob::before { left: calc(50% - 5px); }
.ba-handle-knob::after { left: calc(50% + 3px); }

.portfolio-card-body {
  padding: var(--space-lg);
}

.portfolio-card-body h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: var(--space-xs) 0 var(--space-sm);
}

.portfolio-card-body p {
  font-size: 0.9375rem;
  color: var(--muted-fg);
}

.portfolio-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wood);
}

/* Features */
.features-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature-item {
  text-align: center;
  padding: var(--space-lg);
}

.feature-item .card-icon {
  margin-inline: auto;
}

.feature-item h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.feature-item p {
  font-size: 0.9375rem;
  color: var(--muted-fg);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-text {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--muted-fg);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.testimonial-name {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: 0.9375rem;
}

.testimonial-role {
  font-size: 0.8125rem;
  color: var(--muted-fg);
}

/* Contact */
.section-contact {
  background: var(--beige);
}

.contact-grid {
  display: grid;
  gap: var(--space-2xl);
  align-items: start;
}

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1.1fr; }
}

.contact-desc {
  color: var(--muted-fg);
  margin-bottom: var(--space-xl);
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--muted-fg);
}

.contact-list a:hover { color: var(--wood); }

.contact-actions-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.contact-actions-desc {
  color: var(--muted-fg);
  margin-bottom: var(--space-lg);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.contact-actions-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.contact-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

/* Footer */
.site-footer {
  padding: var(--space-xl) 0;
  background: var(--foreground);
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.footer-logo {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-name {
  color: white;
  font-weight: 600;
}

.footer-tagline {
  font-size: 0.8125rem;
  opacity: 0.75;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: #25D366;
  color: white;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition), opacity var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.06);
  opacity: 0.95;
}

/* Scroll reveal — konten selalu terlihat; animasi opsional jika JS aktif */
.reveal {
  opacity: 1;
  transform: none;
}

html.js-anim .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms ease, transform 500ms ease;
}

html.js-anim .reveal.visible,
html.js-anim .hero .reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.js-anim .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Project pages */
.page-hero {
  padding-top: calc(var(--header-height) + var(--space-2xl) + 1rem);
  padding-bottom: var(--space-xl);
  background: var(--beige);
  overflow: visible;
}

.page-hero--detail {
  padding-bottom: var(--space-lg);
}

.page-hero .section-eyebrow {
  margin-top: 0;
}

.page-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: var(--space-sm) 0 var(--space-md);
  padding-top: 0.125rem;
}

.page-desc {
  max-width: 36rem;
  color: var(--muted-fg);
  font-size: 1rem;
  line-height: 1.7;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8125rem;
  color: var(--muted-fg);
  margin-bottom: var(--space-md);
}

.breadcrumb a:hover { color: var(--wood); }

/* Project list page intro — selaras dengan header putih */
.project-page-intro {
  padding-top: calc(var(--header-height) + var(--space-xl));
  padding-bottom: 0;
  background: #ffffff;
}

.project-page-intro-inner {
  width: min(720px, 100%);
  margin-inline: auto;
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border);
}

.breadcrumb--subtle {
  margin-bottom: var(--space-lg);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--muted-fg);
}

.breadcrumb--subtle a {
  color: var(--muted-fg);
  transition: color var(--transition);
}

.breadcrumb--subtle a:hover {
  color: var(--wood);
}

.breadcrumb--subtle [aria-current="page"] {
  color: var(--foreground);
  font-weight: 600;
}

.breadcrumb-sep {
  color: var(--wood-light);
  font-weight: 400;
  user-select: none;
}

.project-page-intro-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.project-page-title {
  font-size: clamp(1.625rem, 4vw, 2.125rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

.project-page-lead {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-fg);
  max-width: 34rem;
}

.project-page-meta {
  margin-top: var(--space-lg);
}

.project-page-count {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wood);
  padding: 0.35rem 0.75rem;
  background: hsl(40 33% 93% / 0.8);
  border-radius: 999px;
}

/* Project category filter */
.project-filter-wrap {
  border-bottom: none;
  padding-bottom: var(--space-md);
  margin-bottom: 0;
}

.project-filter {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.project-filter-btn {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--muted-fg);
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}

.project-filter-btn:hover {
  border-color: var(--wood-light);
  color: var(--wood);
}

.project-filter-btn.is-active {
  background: var(--wood);
  border-color: var(--wood);
  color: #fff;
}

.project-list-item.is-filtered-out {
  display: none;
}

.project-list-empty {
  text-align: center;
  color: var(--muted-fg);
  font-size: 0.9375rem;
  padding: var(--space-2xl) 0;
}

/* Project list — horizontal, elegant */
.section-project-list {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-3xl);
  background: #ffffff;
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  margin-inline: auto;
}

.project-list-item {
  display: grid;
  grid-template-columns: 7.5rem 1fr auto;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), padding var(--transition);
}

.project-list-item:first-child {
  border-top: 1px solid var(--border);
}

.project-list-item:hover {
  background: var(--muted);
  padding-inline: var(--space-md);
  margin-inline: calc(var(--space-md) * -1);
  border-radius: var(--radius-sm);
}

.project-list-item:hover .project-list-arrow {
  color: var(--wood);
  transform: translateX(4px);
}

.project-list-thumb {
  width: 7.5rem;
  height: 5.5rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--muted);
}

.project-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.project-list-item:hover .project-list-thumb img {
  transform: scale(1.05);
}

.project-list-content {
  min-width: 0;
}

.project-list-title {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0.25rem 0 0.125rem;
  letter-spacing: -0.01em;
}

.project-list-price {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.project-list-desc {
  font-size: 0.875rem;
  color: var(--muted-fg);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-list-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
  font-size: 0.75rem;
  color: var(--muted-fg);
  letter-spacing: 0.02em;
}

.project-list-meta li:not(:last-child)::after {
  content: '·';
  margin-left: var(--space-sm);
  color: var(--wood-light);
}

.project-list-arrow {
  font-size: 1.125rem;
  color: var(--border);
  transition: color var(--transition), transform var(--transition);
  flex-shrink: 0;
}

@media (max-width: 540px) {
  .project-list-item {
    grid-template-columns: 5.5rem 1fr;
    gap: var(--space-md);
  }

  .project-list-thumb {
    width: 5.5rem;
    height: 4.25rem;
  }

  .project-list-arrow {
    display: none;
  }
}

@media (min-width: 768px) {
  .project-page-intro {
    padding-top: calc(var(--header-height) + var(--space-2xl));
  }

  .project-page-intro-inner {
    padding-bottom: var(--space-2xl);
  }

  .page-hero {
    padding-top: calc(var(--header-height) + var(--space-3xl));
    padding-bottom: var(--space-2xl);
  }
}

.project-detail-hero {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-2xl);
  box-shadow: var(--shadow-md);
}

.project-detail-hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.project-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  padding: var(--space-lg);
  background: var(--muted);
  border-radius: var(--radius-md);
}

.project-meta-item dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-fg);
  margin-bottom: var(--space-xs);
}

.project-meta-item dd {
  font-weight: 600;
  font-size: 0.9375rem;
}

.project-detail-heading {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.project-detail-sub {
  color: var(--muted-fg);
  margin-bottom: var(--space-lg);
  font-size: 0.9375rem;
}

.project-detail-content {
  max-width: 48rem;
  margin-bottom: var(--space-2xl);
}

.project-detail-content p + p {
  margin-top: var(--space-md);
}

.project-detail-section {
  margin-bottom: var(--space-2xl);
}

.ba-slider--large {
  border-radius: var(--radius-md);
  aspect-ratio: 16 / 9;
}

.project-highlights {
  margin-bottom: var(--space-2xl);
}

.project-highlight-list {
  list-style: none;
  display: grid;
  gap: var(--space-sm);
}

.project-highlight-list li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--muted-fg);
}

.project-highlight-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wood);
}

.project-gallery {
  margin-bottom: var(--space-2xl);
}

.project-gallery-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.project-gallery-grid img {
  border-radius: var(--radius-sm);
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
}

.project-detail-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}

.project-cta-band {
  text-align: center;
}

.project-cta-inner .section-desc {
  margin-bottom: var(--space-lg);
}

.project-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

/* Property detail page — full immersive, no header */
body.property-page {
  background: var(--background);
}

body.property-page .whatsapp-float {
  display: none;
}

.property-main {
  padding-bottom: var(--space-3xl);
}

.property-gallery {
  background: var(--foreground);
}

.property-gallery-hero {
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 520px;
  object-fit: cover;
}

.property-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--foreground);
}

.property-gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  opacity: 0.92;
  transition: opacity var(--transition);
}

.property-gallery-grid img:hover {
  opacity: 1;
}

.property-container {
  width: min(800px, 100% - 2rem);
  margin-inline: auto;
  padding-top: var(--space-xl);
}

.property-header {
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-xl);
}

.property-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wood);
  background: hsl(40 33% 93%);
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
}

.property-price {
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 700;
  color: var(--foreground);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.property-price-note {
  font-size: 0.875rem;
  color: var(--muted-fg);
  margin-top: var(--space-sm);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
  max-width: 40ch;
}

.property-price-note-accent {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.0625rem, 2.5vw, 1.25rem);
  font-style: italic;
  font-weight: 500;
  color: var(--wood);
  letter-spacing: 0.015em;
  margin-bottom: 0.4rem;
}

.property-price-note-accent::after {
  content: '';
  display: block;
  width: 1.75rem;
  height: 1px;
  margin-top: 0.5rem;
  background: linear-gradient(90deg, var(--wood-light), transparent);
}

.property-price-note-text {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--muted-fg);
}

.property-price-note-brand {
  font-weight: 500;
  color: var(--foreground);
  letter-spacing: 0.01em;
}

.property-title {
  font-size: clamp(1.375rem, 3.5vw, 1.75rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-sm);
}

.property-location {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs) var(--space-sm);
  font-size: 0.9375rem;
  color: var(--muted-fg);
}

.property-location svg {
  flex-shrink: 0;
  color: var(--wood);
}

.property-location a {
  color: var(--wood);
  font-weight: 600;
  font-size: 0.875rem;
}

.property-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-xl);
}

.property-spec {
  background: var(--background);
  padding: var(--space-md) var(--space-sm);
  text-align: center;
}

.property-spec dt {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-fg);
  margin-bottom: var(--space-xs);
}

.property-spec dd {
  font-size: 0.9375rem;
  font-weight: 600;
}

.property-contact-bar {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-lg);
  background: var(--beige);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-2xl);
}

.property-contact-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  width: 100%;
}

@media (min-width: 480px) {
  .property-contact-actions {
    flex-direction: row;
    width: auto;
  }
}

.property-contact-bar p {
  font-size: 0.875rem;
  color: var(--muted-fg);
  text-align: center;
}

.property-section {
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid var(--border);
}

.property-section:last-of-type {
  border-bottom: none;
}

.property-section-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.property-section-desc {
  font-size: 0.875rem;
  color: var(--muted-fg);
  margin-bottom: var(--space-lg);
}

.property-desc p {
  color: var(--muted-fg);
  line-height: 1.75;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.property-desc p + p {
  margin-top: var(--space-md);
}

.property-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.property-spec-table tr {
  border-bottom: 1px solid var(--border);
}

.property-spec-table tr:last-child {
  border-bottom: none;
}

.property-spec-table th,
.property-spec-table td {
  padding: var(--space-sm) 0;
  text-align: left;
  vertical-align: top;
}

.property-spec-table th {
  width: 42%;
  font-weight: 500;
  color: var(--muted-fg);
}

.property-spec-table td {
  font-weight: 600;
}

.property-documents {
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
}

.property-documents-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.property-documents-desc {
  font-size: 0.875rem;
  color: var(--muted-fg);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.property-documents-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.property-documents-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.9375rem;
  color: var(--foreground);
  line-height: 1.55;
}

.property-documents-item strong {
  font-weight: 600;
}

.property-documents-check {
  flex-shrink: 0;
  width: 1.375rem;
  height: 1.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--wood);
  background: hsl(40 33% 93%);
  border-radius: 50%;
  margin-top: 0.1rem;
}

.property-map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: var(--space-md);
}

.property-map-wrap iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

.property-map-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--wood);
}

.property-map-address {
  font-style: normal;
  color: var(--muted-fg);
  font-size: 0.9375rem;
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.property-bottom {
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.property-brand {
  text-align: center;
  padding: var(--space-xl) 0 var(--space-md);
  color: var(--muted-fg);
  font-size: 0.8125rem;
}

.property-brand img {
  width: 36px;
  height: 36px;
  margin: 0 auto var(--space-sm);
  opacity: 0.7;
}

@media (max-width: 540px) {
  .property-specs {
    grid-template-columns: repeat(2, 1fr);
  }

  .property-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .property-gallery-hero {
    aspect-ratio: 4 / 3;
    max-height: none;
  }
}

@media (min-width: 768px) {
  .property-contact-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .property-contact-bar p {
    text-align: left;
    flex: 1;
  }

  .property-contact-bar .btn {
    flex-shrink: 0;
  }

  .property-contact-bar--dual .property-contact-actions {
    display: flex;
    gap: var(--space-sm);
    flex-shrink: 0;
  }
}

/* Property carousel */
.property-carousel {
  position: relative;
  background: #fff;
}

.property-carousel-viewport {
  position: relative;
  width: min(100%, calc(520px * 1492 / 1054));
  max-height: 520px;
  aspect-ratio: 1492 / 1054;
  margin-inline: auto;
  overflow: hidden;
  background: var(--foreground);
}

.property-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 450ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.property-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  min-width: 0;
}

.property-carousel-slide-btn {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
}

.property-carousel-slide-btn .img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  max-height: none;
  background: var(--foreground);
}

.property-carousel-img,
.property-carousel-slide-btn .img-wrap img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

.property-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--foreground);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
}

.property-carousel-nav:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.05);
}

.property-carousel-prev { left: var(--space-md); }
.property-carousel-next { right: var(--space-md); }

.property-carousel-counter {
  position: absolute;
  bottom: var(--space-md);
  right: var(--space-md);
  z-index: 3;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(20, 15, 12, 0.55);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.property-carousel-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: #fff;
}

.property-carousel-dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.property-carousel-dot.is-active {
  background: var(--wood);
  transform: scale(1.2);
}

@media (max-width: 540px) {
  .property-carousel-viewport {
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: none;
  }

  .property-carousel-nav {
    width: 2.25rem;
    height: 2.25rem;
  }

  .property-carousel-prev { left: var(--space-sm); }
  .property-carousel-next { right: var(--space-sm); }
}

@media (prefers-reduced-motion: reduce) {
  .property-carousel-track {
    transition: none;
  }
}

/* Dynamic project assets — skeleton, gallery, lightbox */
.property-gallery--dynamic {
  background: var(--foreground);
}

.property-gallery-hero-slot {
  min-height: 280px;
  background: var(--muted);
}

.property-gallery-hero-slot .img-wrap {
  aspect-ratio: 16 / 10;
  max-height: 520px;
}

.property-gallery-hero-slot .property-gallery-hero {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-gallery-grid--thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.property-gallery-thumb {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  overflow: hidden;
}

.property-gallery-thumb .img-wrap {
  aspect-ratio: 4 / 3;
}

.property-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity var(--transition);
}

.property-gallery-thumb:hover img {
  opacity: 1;
}

.img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--muted);
}

.img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 400ms ease;
}

.img-wrap img.is-loaded {
  opacity: 1;
}

.img-skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    hsl(40 20% 94%) 0%,
    hsl(40 25% 88%) 50%,
    hsl(40 20% 94%) 100%
  );
  background-size: 200% 100%;
  animation: img-shimmer 1.2s ease-in-out infinite;
}

@keyframes img-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--space-sm);
}

.project-gallery-grid--property {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .project-gallery-grid--property {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .project-gallery-grid--property {
    grid-template-columns: repeat(4, 1fr);
  }
}

.project-gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.project-gallery-filter {
  padding: 0.4rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted-fg);
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.project-gallery-filter:hover {
  color: var(--foreground);
  border-color: var(--wood-light);
}

.project-gallery-filter.is-active {
  color: #fff;
  background: var(--wood);
  border-color: var(--wood);
}

.project-gallery-item[hidden] {
  display: none;
}

.project-gallery-item {
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.project-gallery-item .img-wrap {
  aspect-ratio: 4 / 3;
}

.project-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(20, 15, 12, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, visibility 300ms ease;
}

.project-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.project-lightbox-stage {
  max-width: min(960px, 100%);
  max-height: 75vh;
}

.project-lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.project-lightbox-caption {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  margin-top: var(--space-md);
  text-align: center;
}

.project-lightbox-close,
.project-lightbox-prev,
.project-lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border: none;
  border-radius: 50%;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition);
}

.project-lightbox-close:hover,
.project-lightbox-prev:hover,
.project-lightbox-next:hover {
  background: rgba(255, 255, 255, 0.22);
}

.project-lightbox-close {
  top: var(--space-md);
  right: var(--space-md);
}

.project-lightbox-prev {
  left: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
}

.project-lightbox-next {
  right: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
}
