/* ============================================
   RUNGKIJ - V.S.K. Estate Website
   Luxury Real Estate — Raimon Land Inspired
   ============================================ */

/* ---------- Custom Fonts ---------- */
@font-face {
  font-family: 'DB Adman X';
  src: url('fonts/DB-Adman-X.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.db-adman {
  font-family: 'DB Adman X', 'Cormorant Garamond', serif !important;
}

/* Clip J descender to align with other uppercase letters */
.hero-j {
  display: inline-block;
  overflow: hidden;
  height: 0.78em;
  vertical-align: top;
  margin-top: 0.08em;
  font-family: inherit;
}

/* ---------- CSS Variables ---------- */
:root {
  --primary: #091736;
  --primary-light: #142044;
  --accent: #b99a5b;
  --accent-warm: #c8a85e;
  --accent-hover: #a3863e;
  --accent-light: rgba(185,154,91,0.12);
  --white: #ffffff;
  --off-white: #f5f4f0;
  --gray-light: #e5e3de;
  --gray: #9a9a9a;
  --gray-dark: #555;
  --text: #222;
  --text-light: #666;
  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-accent: 'Lora', serif;
  --transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow: 0 4px 24px rgba(0,0,0,0.07), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-hover: 0 20px 60px rgba(0,0,0,0.13), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-card: 0 2px 12px rgba(0,0,0,0.06), 0 8px 32px rgba(0,0,0,0.05);
  --radius-xs: 6px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;
  /* Golden Hour Horizon palette */
  --gh-amber:  rgba(210,160,60,1);
  --gh-warm:   rgba(185,120,30,1);
  --gh-deep:   rgba(120,70,10,1);
  --gh-glow-hi: rgba(230,185,90,0.55);
  --gh-glow-lo: rgba(185,120,30,0.30);
}

/* ==========================================
   GLOBAL GOLDEN HOUR KEYFRAMES
   ========================================== */
@keyframes horizon-pulse {
  0%, 100% { opacity: 0.75; transform: scaleX(1.00); }
  50%       { opacity: 1.00; transform: scaleX(1.04); }
}
@keyframes horizon-drift {
  0%   { opacity: 0.60; filter: blur(0px); }
  50%  { opacity: 0.90; filter: blur(2px); }
  100% { opacity: 0.60; filter: blur(0px); }
}
@keyframes golden-float {
  0%,100% { transform: translateY(0) scaleX(1.00); opacity: 0.70; }
  50%     { transform: translateY(-3px) scaleX(1.06); opacity: 1.00; }
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

/* Page load fade-in */
.page-loading body {
  opacity: 0;
}
body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  opacity: 1;
  transition: opacity 0.55s ease;
}
html.page-loading body { opacity: 0; }
html.page-loaded  body { opacity: 1; }

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 50px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.15;
  color: var(--primary);
}

h1 { font-size: clamp(2.8rem, 5.5vw, 5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); }
h4 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 600; }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.section-subtitle {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
  display: block;
}

.section-title { margin-bottom: 20px; }

.section-divider {
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(185,154,91,0.2));
  margin-bottom: 30px;
  border-radius: var(--radius-pill);
}

.text-center { text-align: center; }
.text-center .section-divider { margin-left: auto; margin-right: auto; }

/* ---------- Buttons — Golden Hour Theme ---------- */
.btn {
  display: inline-block;
  padding: 15px 42px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  border-radius: var(--radius-pill);
  overflow: hidden;
}

/* Radiant shimmer sweep on hover */
.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg,
    transparent 0%,
    rgba(255,240,180,0.22) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn:hover::before { left: 130%; }

/* Primary — deep bronze → bright gold → amber */
.btn-primary {
  background: linear-gradient(135deg,
    #8a6318  0%,
    #b99a5b 30%,
    #d4b86a 55%,
    #e8c97a 72%,
    #c9a25a 87%,
    #a07830 100%
  );
  color: #fff8e8;
  box-shadow:
    0 4px 22px rgba(185,154,91,0.40),
    0 1px 0 rgba(255,235,150,0.30) inset,
    0 -1px 0 rgba(80,48,8,0.25) inset;
  border: 1px solid rgba(200,160,80,0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg,
    #a07830  0%,
    #c9a85e 28%,
    #e8c97a 52%,
    #f5d988 68%,
    #d4b06a 85%,
    #b08040 100%
  );
  transform: translateY(-2px);
  box-shadow:
    0 12px 42px rgba(185,154,91,0.55),
    0 1px 0 rgba(255,240,160,0.40) inset,
    0 -1px 0 rgba(80,48,8,0.20) inset;
}

/* Outline — gold border + glass tint */
.btn-outline {
  background: rgba(185,154,91,0.07);
  color: #dfc07a;
  border: 1px solid rgba(185,154,91,0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(185,154,91,0.16);
  color: #f0d490;
  border-color: rgba(220,185,110,0.80);
  transform: translateY(-2px);
  box-shadow:
    0 8px 32px rgba(185,154,91,0.28),
    0 1px 0 rgba(255,235,150,0.18) inset;
}

/* Dark — deep warm-dark with gold text */
.btn-dark {
  background: linear-gradient(135deg, #0a1840 0%, #142044 60%, #091736 100%);
  color: #d4b86a;
  border: 1px solid rgba(185,154,91,0.28);
  box-shadow: 0 4px 18px rgba(0,0,0,0.30), 0 1px 0 rgba(185,154,91,0.10) inset;
}

.btn-dark:hover {
  background: linear-gradient(135deg, #142044 0%, #1a2f60 60%, #0e1e4a 100%);
  color: #e8c97a;
  border-color: rgba(185,154,91,0.50);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(0,0,0,0.38), 0 1px 0 rgba(185,154,91,0.18) inset;
}

/* Text link — gold with gradient underline */
.btn-text {
  background: none;
  padding: 0;
  color: #c9a85e;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: visible;
}

.btn-text::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #8a6318, #e8c97a, #a07830);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.btn-text:hover {
  color: #e8c97a;
}

.btn-text:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 24, 64, 0.75);
  backdrop-filter: blur(28px) saturate(160%) brightness(0.85);
  -webkit-backdrop-filter: blur(28px) saturate(160%) brightness(0.85);
  border-bottom: 1px solid rgba(185, 154, 91, 0.18);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 8px 40px rgba(0, 0, 0, 0.35);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 85px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Logo image — white on dark navbar */
.logo-img {
  height: 64px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s ease;
}
.logo-img:hover { opacity: 0.82; }

/* Footer logo — golden glow */
.logo-img-footer {
  height: 58px;
  width: auto;
  display: block;
  margin-bottom: 18px;
  filter:
    brightness(0) invert(1)
    sepia(1) saturate(2) hue-rotate(5deg) brightness(1.05)
    drop-shadow(0 0 8px rgba(185,154,91,0.55))
    drop-shadow(0 0 20px rgba(185,154,91,0.28));
  opacity: 0.92;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 5px;
  text-transform: uppercase;
}

.logo-text span {
  color: var(--accent);
  font-weight: 400;
}

.rafelya {
  font-family: 'Rafelya Carrotin', cursive !important;
}

.logo-tagline {
  font-family: var(--font-body);
  font-size: 0.60rem;
  text-transform: uppercase;
  letter-spacing: 4.5px;
  color: rgba(255,255,255,0.72);
  display: block;
  margin-top: 3px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 38px;
}

.nav-menu a {
  color: rgba(255,255,255,0.75);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  position: relative;
  padding: 8px 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--white);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-switch {
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}

.lang-switch a {
  color: rgba(255,255,255,0.5);
  padding: 0 5px;
}

.lang-switch a.active,
.lang-switch a:hover {
  color: var(--white);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 26px;
  height: 1.5px;
  background: var(--white);
  transition: var(--transition);
}

/* ---------- Hero Section — Video Background ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 750px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--primary);
}

.hero-video-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 2.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  will-change: opacity;
}

.hero-video-slide.active {
  opacity: 1;
  z-index: 2;
}

/* Slide that is fading out stays visible during crossfade */
.hero-video-slide.leaving {
  opacity: 0;
  z-index: 1;
  transition: opacity 2.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Pre-entering state */
.hero-video-slide.entering {
  opacity: 0;
  z-index: 3;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    /* Horizontal golden horizon band */
    radial-gradient(ellipse 100% 18% at 50% 72%, rgba(210,165,55,0.38) 0%, rgba(185,130,30,0.18) 50%, transparent 100%),
    radial-gradient(ellipse 60% 10% at 50% 74%, rgba(230,185,80,0.28) 0%, transparent 100%),
    /* Top navy vignette + bottom navy-gold fade */
    linear-gradient(
      180deg,
      rgba(9,23,54,0.65)    0%,
      rgba(9,23,54,0.30)   18%,
      rgba(9,23,54,0.06)   36%,
      rgba(9,23,54,0.04)   52%,
      rgba(9,23,54,0.08)   60%,
      rgba(80,55,12,0.28)   67%,
      rgba(155,105,25,0.55) 74%,
      rgba(120,78,16,0.74)  81%,
      rgba(40,26,6,0.88)    88%,
      rgba(10,15,35,0.97)   94%,
      rgba(7,13,34,1.00)   100%
    );
  z-index: 1;
}
/* Golden horizon line — animated glow at bottom of hero */
.hero-video-overlay::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(185,154,91,0.30) 15%,
    rgba(230,185,80,0.90) 35%,
    rgba(255,215,100,1.00) 50%,
    rgba(230,185,80,0.90) 65%,
    rgba(185,154,91,0.30) 85%,
    transparent 100%
  );
  animation: horizon-pulse 5s ease-in-out infinite;
  box-shadow: 0 0 40px rgba(230,185,80,0.60), 0 0 80px rgba(185,154,91,0.30);
  z-index: 2;
}

/* Fallback for old image-based slider */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.8s ease;
  background-size: cover;
  background-position: center;
}

.hero-slide.active { opacity: 1; }

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 16% at 50% 78%, rgba(210,165,55,0.32) 0%, transparent 100%),
    linear-gradient(
      180deg,
      rgba(9,23,54,0.55)  0%,
      rgba(9,23,54,0.22)  20%,
      rgba(9,23,54,0.06)  38%,
      rgba(9,23,54,0.06)  58%,
      rgba(80,55,14,0.22) 70%,
      rgba(9,23,54,0.70)  86%,
      rgba(7,13,34,0.97) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 850px;
  padding: 0 20px;
}

.hero-content .section-subtitle {
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 7px;
  margin-bottom: 24px;
  animation: fadeInUp 1s ease 0.3s both;
}

.hero-content h1 {
  color: var(--white);
  font-weight: 400;
  margin-bottom: 24px;
  animation: fadeInUp 1s ease 0.6s both;
  line-height: 1.1;
}

.hero-content p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  margin-bottom: 45px;
  animation: fadeInUp 1s ease 0.9s both;
  letter-spacing: 0.03em;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  animation: fadeInUp 1s ease 1.2s both;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 45px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2.5s infinite;
}

.hero-scroll-indicator span {
  display: block;
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 11px;
  position: relative;
}

.hero-scroll-indicator span::after {
  content: '';
  width: 3px;
  height: 7px;
  background: var(--accent);
  border-radius: 2px;
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollDot 2s infinite;
}



/* Old dot-style controls (kept for inner pages if needed) */
.slider-controls {
  position: absolute;
  bottom: 45px;
  right: 50px;
  z-index: 3;
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
}

.slider-dot.active {
  background: var(--accent);
  border-color: var(--accent);
}

/* ---------- Stats Bar — Navy + Golden Hour ---------- */
.stats-bar {
  background:
    radial-gradient(ellipse 90% 50% at 50% 100%, rgba(210,165,55,0.18) 0%, rgba(185,130,30,0.08) 55%, transparent 80%),
    radial-gradient(ellipse 55% 30% at 50% 100%, rgba(230,185,80,0.14) 0%, transparent 60%),
    linear-gradient(180deg, #091736 0%, #0c1e45 50%, #091736 100%);
  padding: 70px 0;
  position: relative;
}
/* Animated golden horizon line at the bottom of stats-bar */
.stats-bar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(185,154,91,0.20) 10%,
    rgba(230,185,80,0.85) 30%,
    rgba(255,215,100,1.00) 50%,
    rgba(230,185,80,0.85) 70%,
    rgba(185,154,91,0.20) 90%,
    transparent 100%
  );
  animation: horizon-pulse 6s ease-in-out infinite;
  box-shadow: 0 0 30px rgba(230,185,80,0.50), 0 0 60px rgba(185,154,91,0.22);
  pointer-events: none;
  z-index: 2;
}

/* Default golden seam (when stats-bar follows dark hero on homepage) */
.stats-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 90px;
  background: linear-gradient(to bottom,
    rgba(185,154,91,0.18)   0%,
    rgba(185,154,91,0.10)  25%,
    rgba(185,154,91,0.04)  55%,
    transparent            100%
  );
  pointer-events: none;
  z-index: 0;
}

/* Light → Dark: when a white section precedes stats-bar */
.section + .stats-bar::before {
  height: 200px;
  background: linear-gradient(to bottom,
    #ffffff                    0%,
    rgba(255,255,255,0.95)    10%,
    rgba(255,255,255,0.84)    22%,
    rgba(255,255,255,0.66)    36%,
    rgba(255,255,255,0.46)    50%,
    rgba(255,255,255,0.26)    64%,
    rgba(255,255,255,0.11)    78%,
    rgba(255,255,255,0.03)    90%,
    transparent               100%
  );
}

/* Light → Dark: when an off-white section precedes stats-bar */
.section-alt + .stats-bar::before {
  height: 200px;
  background: linear-gradient(to bottom,
    #f5f4f0                    0%,
    rgba(245,244,240,0.95)    10%,
    rgba(245,244,240,0.84)    22%,
    rgba(245,244,240,0.66)    36%,
    rgba(245,244,240,0.46)    50%,
    rgba(245,244,240,0.26)    64%,
    rgba(245,244,240,0.11)    78%,
    rgba(245,244,240,0.03)    90%,
    transparent               100%
  );
}

/* Stats-bar bottom: gold shimmer that dissolves into the dark pss-section below */
.stats-bar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 260px;
  background: linear-gradient(to bottom,
    transparent                    0%,
    rgba(185,154,91,0.08)         12%,
    rgba(185,154,91,0.20)         26%,   /* gold shimmer peak */
    rgba(165,130,65,0.28)         36%,   /* amber */
    rgba(120, 90, 30,0.38)        48%,   /* warm-brown */
    rgba(10,22,56,0.55)        62%,   /* deep amber-dark */
    rgba( 20, 14,  4,0.78)        76%,   /* near black-brown */
    rgba(6,10,26,0.93)        88%,   /* matches pss-section */
    #091532                       100%   /* seamless merge */
  );
  pointer-events: none;
  z-index: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255,255,255,0.08);
}

.stat-item:last-child::after { display: none; }

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 400;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.stat-label {
  color: rgba(255,255,255,0.45);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 500;
}

/* ---------- Section Padding ---------- */
.section {
  padding: 120px 0;
  position: relative;
}

.section-dark {
  background:
    radial-gradient(ellipse 80% 45% at 50% 88%, rgba(210,165,55,0.16) 0%, rgba(185,130,30,0.07) 55%, transparent 80%),
    linear-gradient(180deg, #091736 0%, #0d2048 55%, #091736 100%);
  position: relative;
}
/* Golden horizon glow at bottom of dark sections */
.section-dark::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(185,154,91,0.15) 10%,
    rgba(230,185,80,0.70) 35%,
    rgba(255,215,100,0.90) 50%,
    rgba(230,185,80,0.70) 65%,
    rgba(185,154,91,0.15) 90%,
    transparent 100%
  );
  box-shadow: 0 0 24px rgba(230,185,80,0.40), 0 0 50px rgba(185,154,91,0.18);
  pointer-events: none;
  z-index: 2;
}

.section-alt {
  background: var(--off-white);
  position: relative;
}

/* Content inside sections stays above gradient overlays */
.section > .container,
.section-alt > .container,
.stats-bar > .container,
.footer > .container {
  position: relative;
  z-index: 1;
}

/* ---------- About Preview ---------- */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #ddd, #bbb);
  object-fit: cover;
  position: relative;
  z-index: 1;
  border-radius: var(--radius-xl);
  box-shadow: 0 12px 50px rgba(0,0,0,0.14);
}

.about-image-wrapper::before {
  content: '';
  position: absolute;
  top: -25px;
  left: -25px;
  width: 180px;
  height: 180px;
  border: 1px solid var(--accent);
  opacity: 0.4;
  z-index: 0;
}

.about-image-wrapper::after {
  content: '';
  position: absolute;
  bottom: -25px;
  right: -25px;
  width: 120px;
  height: 120px;
  background: var(--accent);
  opacity: 0.08;
  z-index: 0;
}

.about-text .section-subtitle { margin-bottom: 12px; }
.about-text h2 { margin-bottom: 18px; }
.about-text .section-divider { margin-bottom: 28px; }

.about-text p {
  margin-bottom: 18px;
  line-height: 1.85;
  font-size: 0.95rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 35px 0;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 500;
}

.about-feature i {
  color: var(--accent);
  font-size: 0.85rem;
}

/* ---------- Projects Section ---------- */
.projects-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 55px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 28px;
  background: transparent;
  border: 1px solid var(--gray-light);
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-light);
  font-weight: 500;
  border-radius: var(--radius-pill);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--primary);
  color: var(--white);
  background: var(--primary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.14);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.project-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
}

.project-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}

.project-card-image {
  width: 100%;
  aspect-ratio: 4/3;
  background: #e0e0e0;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover .project-card-image img {
  transform: scale(1.06);
}

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9,23,54,0.85) 0%, transparent 55%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 30px;
}

.project-card:hover .project-card-overlay {
  opacity: 1;
}

.project-card-overlay .btn {
  font-size: 0.68rem;
  padding: 10px 25px;
  letter-spacing: 2.5px;
}

.project-card-info {
  padding: 22px 22px 20px;
}

.project-card-info .project-type {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--accent);
  margin-bottom: 8px;
  font-weight: 600;
}

.project-card-info h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
  font-weight: 500;
}

.project-card-info .project-location {
  color: var(--gray);
  font-size: 0.85rem;
}

.project-card-info .project-location i {
  font-size: 0.75rem;
  margin-right: 4px;
}

.project-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 16px;
  background: linear-gradient(135deg, var(--accent), #c9a85e);
  color: var(--white);
  font-size: 0.63rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  z-index: 2;
  font-weight: 600;
  border-radius: var(--radius-pill);
  box-shadow: 0 3px 12px rgba(185,154,91,0.4);
  backdrop-filter: blur(6px);
}

.project-badge.sold-out {
  background: rgba(9,23,54,0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 3px 12px rgba(0,0,0,0.3);
}

/* ---------- CTA Banner — Navy + Golden Hour (Project Pages) ---------- */
.cta-banner-navy {
  position: relative;
  padding: 140px 0;
  background:
    /* Golden horizon glow */
    radial-gradient(ellipse 100% 16% at 50% 52%, rgba(210,165,55,0.26) 0%, rgba(185,130,30,0.12) 55%, transparent 85%),
    radial-gradient(ellipse 60% 8% at 50% 52%, rgba(230,185,80,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 70% 55% at 50% 50%,  rgba(185,154,91,0.20) 0%,  rgba(160,120,50,0.10) 40%, transparent 68%),
    radial-gradient(ellipse 45% 30% at 20% 35%,  rgba(201,168,94,0.10) 0%,  transparent 60%),
    radial-gradient(ellipse 45% 30% at 80% 65%,  rgba(201,168,94,0.10) 0%,  transparent 60%),
    linear-gradient(
      135deg,
      #060e25        0%,
      #0a1538       15%,
      #0d1c4a       28%,
      #102258       38%,
      #152b6a       46%,
      #1a2f6e       52%,
      #152b6a       58%,
      #102258       66%,
      #0d1c4a       76%,
      #0a1538       88%,
      #060e25      100%
    );
  overflow: hidden;
  text-align: center;
}
.cta-banner-navy::before {
  content: '';
  position: absolute;
  top: -40%; right: -15%;
  width: 700px; height: 700px;
  border: 1px solid rgba(185,154,91,0.13);
  border-radius: 50%;
  box-shadow: inset 0 0 80px rgba(185,154,91,0.06);
}
.cta-banner-navy::after {
  content: '';
  position: absolute;
  bottom: -25%; left: -10%;
  width: 500px; height: 500px;
  border: 1px solid rgba(185,154,91,0.10);
  border-radius: 50%;
  box-shadow: inset 0 0 60px rgba(185,154,91,0.05);
}
.cta-banner-navy h2 {
  color: #fff;
  margin-bottom: 20px;
  font-weight: 400;
  text-shadow: 0 2px 28px rgba(185,154,91,0.25);
}
.cta-banner-navy p {
  color: rgba(185,154,91,0.78);
  font-size: 1rem;
  max-width: 550px;
  margin: 0 auto 45px;
}
.cta-banner-navy .section-subtitle { color: rgba(185,154,91,0.65); }
.cta-banner-navy .btn-primary,
.cta-banner-navy .btn-outline {
  border-color: rgba(185,154,91,0.55);
  color: #f5e0a0;
}
.cta-banner-navy .btn-primary:hover,
.cta-banner-navy .btn-outline:hover {
  background: rgba(185,154,91,0.15);
  border-color: var(--accent);
  color: #fff;
}
/* Gold top/bottom fade rules */
.cta-banner-navy .gold-rule-top,
.cta-banner-navy .gold-rule-bot {
  position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(185,154,91,0.45) 30%, rgba(201,168,94,0.85) 50%, rgba(185,154,91,0.45) 70%, transparent 100%);
}
.cta-banner-navy .gold-rule-top { top: 0; }
.cta-banner-navy .gold-rule-bot { bottom: 0; }

/* ---------- CTA Banner — Navy + Golden Hour ---------- */
.cta-banner {
  position: relative;
  padding: 140px 0;
  /* Navy with golden horizon band at center */
  background:
    /* Golden horizon band at 48–55% */
    radial-gradient(ellipse 100% 18% at 50% 50%, rgba(210,165,55,0.30) 0%, rgba(185,130,30,0.14) 55%, transparent 85%),
    radial-gradient(ellipse 60% 10% at 50% 50%, rgba(230,185,80,0.22) 0%, transparent 60%),
    /* Wide golden glow pools */
    radial-gradient(ellipse 80% 65% at 50% 50%, rgba(185,154,91,0.18) 0%, rgba(160,120,50,0.10) 45%, transparent 72%),
    radial-gradient(ellipse 50% 35% at 25% 40%, rgba(201,168,94,0.12) 0%, transparent 65%),
    radial-gradient(ellipse 50% 35% at 75% 60%, rgba(201,168,94,0.12) 0%, transparent 65%),
    linear-gradient(
      to bottom,
      #ffffff                     0%,
      rgba(9,18,52,0.04)          4%,
      rgba(9,18,52,0.16)          8%,
      rgba(9,18,52,0.34)         12%,
      rgba(9,18,52,0.58)         17%,
      rgba(8,16,48,0.80)         22%,
      rgba(8,15,44,0.96)         26%,
      rgba(7,14,40,1.00)         30%,
      rgba(7,14,40,1.00)         70%,
      rgba(8,15,44,0.96)         74%,
      rgba(8,16,48,0.80)         78%,
      rgba(9,18,52,0.58)         83%,
      rgba(9,18,52,0.34)         88%,
      rgba(9,18,52,0.16)         92%,
      rgba(9,18,52,0.04)         96%,
      #ffffff                    100%
    );
  overflow: hidden;
  text-align: center;
}

/* Decorative golden rings */
.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 700px;
  height: 700px;
  border: 1px solid rgba(185,154,91,0.18);
  border-radius: 50%;
  box-shadow: inset 0 0 80px rgba(185,154,91,0.08);
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -25%;
  left: -10%;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(185,154,91,0.14);
  border-radius: 50%;
  box-shadow: inset 0 0 60px rgba(185,154,91,0.07);
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 400;
  text-shadow: 0 2px 32px rgba(185,154,91,0.35), 0 0 80px rgba(185,154,91,0.12);
}

.cta-banner p {
  color: rgba(220,190,130,0.82);
  font-size: 1rem;
  max-width: 550px;
  margin: 0 auto 45px;
}

/* Liquid glass gold button inside CTA */
.cta-banner .btn-primary {
  background:
    linear-gradient(135deg,
      rgba(185,154,91,0.25)  0%,
      rgba(210,175,100,0.18) 30%,
      rgba(185,154,91,0.12)  60%,
      rgba(160,120,50,0.22)  100%
    );
  color: #f5e0a0;
  border: 1px solid rgba(220,185,100,0.55);
  backdrop-filter: blur(18px) saturate(160%) brightness(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(160%) brightness(1.15);
  box-shadow:
    0 0 0 1px rgba(255,230,140,0.18) inset,
    0 2px 0 rgba(255,240,160,0.22) inset,
    0 -1px 0 rgba(100,68,12,0.30) inset,
    0 8px 32px rgba(185,154,91,0.30),
    0 2px 8px rgba(0,0,0,0.25);
  text-shadow: 0 1px 8px rgba(185,154,91,0.45);
}

.cta-banner .btn-primary:hover {
  background:
    linear-gradient(135deg,
      rgba(210,175,100,0.35)  0%,
      rgba(235,200,120,0.26)  35%,
      rgba(200,160,80,0.20)   65%,
      rgba(175,135,55,0.32)  100%
    );
  color: #faefc0;
  border-color: rgba(240,200,110,0.75);
  box-shadow:
    0 0 0 1px rgba(255,240,160,0.28) inset,
    0 2px 0 rgba(255,248,180,0.30) inset,
    0 -1px 0 rgba(100,68,12,0.22) inset,
    0 14px 48px rgba(185,154,91,0.50),
    0 4px 14px rgba(0,0,0,0.22);
  transform: translateY(-2px);
}

/* ---------- News Section ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.news-card {
  background: var(--white);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.045);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.news-card-image {
  width: 100%;
  aspect-ratio: 16/10;
  background: #e0e0e0;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.news-card:hover .news-card-image img {
  transform: scale(1.04);
}

.news-card-content {
  padding: 28px 28px 26px;
}

.news-card-date {
  font-size: 0.7rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
  font-weight: 600;
}

.news-card-content h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  line-height: 1.35;
  font-weight: 500;
}

.news-card-content p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 22px;
}

.read-more {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--accent);
  font-weight: 600;
}

.read-more:hover { color: var(--accent-hover); }

/* ---------- Contact Section ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-info-block {
  margin-bottom: 35px;
}

.contact-info-block h4 {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 0.72rem;
  color: var(--accent);
  margin-bottom: 10px;
  font-weight: 600;
}

.contact-info-block p {
  color: var(--text-light);
  line-height: 1.8;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid var(--gray-light);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--off-white);
  transition: var(--transition);
  margin-bottom: 18px;
  outline: none;
  border-radius: var(--radius-sm);
  -webkit-appearance: none;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04) inset;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(185,154,91,0.1), 0 1px 4px rgba(0,0,0,0.04) inset;
}

.contact-form textarea {
  height: 140px;
  resize: vertical;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* ---------- Map Section ---------- */
.map-section {
  height: 420px;
  background: #e0e0e0;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(30%);
}

/* ==============================
   PROJECT SHOWCASE SLIDER (PSS)
   ============================== */

/* ==============================
   PROJECT SHOWCASE SLIDER (PSS) — Cinematic v2
   ============================== */

/* Ken Burns keyframes */
@keyframes kenburns-1 {
  0%   { transform: scale(1.00) translate(0%, 0%); }
  50%  { transform: scale(1.10) translate(-2%, -1%); }
  100% { transform: scale(1.00) translate(0%, 0%); }
}
@keyframes kenburns-2 {
  0%   { transform: scale(1.08) translate(2%, 1%); }
  50%  { transform: scale(1.00) translate(0%, 0%); }
  100% { transform: scale(1.08) translate(2%, 1%); }
}
@keyframes kenburns-3 {
  0%   { transform: scale(1.00) translate(-1%, 2%); }
  50%  { transform: scale(1.12) translate(1%, -1%); }
  100% { transform: scale(1.00) translate(-1%, 2%); }
}
@keyframes pss-bg-drift {
  0%   { transform: scale(1.08) translate(0%, 0%); }
  50%  { transform: scale(1.13) translate(-1%, -0.5%); }
  100% { transform: scale(1.08) translate(0%, 0%); }
}
@keyframes pss-card-in {
  from { opacity: 0; transform: translateY(30px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0)   scale(1.00); }
}
@keyframes gold-shimmer {
  0%, 100% { opacity: 0.7; }
  50%       { opacity: 1.0; }
}

.pss-section {
  position: relative;
  overflow: hidden;
  background: #060f28;
}
.pss-bg {
  position: absolute;
  inset: -8%;
  width: 116%; height: 116%;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  filter: grayscale(10%) sepia(25%);
  animation: pss-bg-drift 22s ease-in-out infinite;
  transform-origin: center center;
}
/* Multi-layer dark + golden-hour vignette */
.pss-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    /* Golden horizon band at ~55% height */
    radial-gradient(ellipse 110% 20% at 50% 58%, rgba(210,165,55,0.22) 0%, rgba(185,130,30,0.10) 55%, transparent 85%),
    radial-gradient(ellipse 65% 10% at 50% 58%, rgba(230,185,80,0.16) 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 60% 50%, rgba(201,168,94,0.14) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 15% 80%, rgba(185,154,91,0.08) 0%, transparent 60%),
    linear-gradient(135deg,
      rgba(6,13,36,0.92)  0%,
      rgba(9,20,52,0.80)  30%,
      rgba(7,14,40,0.70)  50%,
      rgba(9,20,52,0.80)  70%,
      rgba(6,13,36,0.94) 100%
    );
  z-index: 0;
  pointer-events: none;
}
/* Animated golden horizon line across PSS section */
.pss-section::after {
  content: '';
  position: absolute;
  top: 58%; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(185,154,91,0.10) 5%,
    rgba(230,185,80,0.55) 25%,
    rgba(255,215,100,0.80) 50%,
    rgba(230,185,80,0.55) 75%,
    rgba(185,154,91,0.10) 95%,
    transparent 100%
  );
  animation: golden-float 8s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(230,185,80,0.35), 0 0 50px rgba(185,154,91,0.15);
  pointer-events: none;
  z-index: 0;
}
.pss-inner { position: relative; z-index: 1; }
.pss-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 64px;
  max-width: 1380px;
  margin: 0 auto;
  padding: 100px 60px;
}
.pss-left { flex: 0 0 300px; color: #fff; }
.pss-headline {
  font-family: 'Sarabun', 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin: 14px 0 22px;
  letter-spacing: -0.01em;
}
.pss-body {
  font-family: 'Sarabun', 'Inter', sans-serif;
  font-size: 0.9rem;
  line-height: 2;
  color: rgba(255,255,255,0.50);
  margin-bottom: 36px;
}
.pss-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(185,154,91,0.55);
  color: var(--accent);
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 11px 24px;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.pss-cta:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Progress bar – left panel */
.pss-left-progress {
  margin-top: 32px;
  width: 100%;
  max-width: 220px;
  height: 2px;
  background: rgba(255,255,255,0.12);
  border-radius: 2px;
  overflow: hidden;
}
.pss-left-bar {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, #c9a84c, #e8b84b);
  border-radius: 2px;
  transition: width 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 8px rgba(201,168,76,0.55);
}

.pss-right { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.pss-viewport { overflow: hidden; }
.pss-track {
  display: flex;
  gap: 14px;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* --- Cinematic Cards --- */
.pss-card {
  flex: 0 0 310px;
  height: 460px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  text-decoration: none;
  display: block;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.45s ease;
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
}
.pss-card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 24px 60px rgba(0,0,0,0.50), 0 0 0 1px rgba(185,154,91,0.25);
}
/* Ken Burns on each card image */
/* รูปภาพทำเล: Ken Burns animation */
.pss-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  animation: kenburns-1 18s ease-in-out infinite;
  transform-origin: center center;
}
.pss-card:nth-child(2) img { animation-name: kenburns-2; animation-duration: 22s; }
.pss-card:nth-child(3) img { animation-name: kenburns-3; animation-duration: 20s; }
.pss-card:nth-child(4) img { animation-name: kenburns-1; animation-duration: 24s; animation-delay: -4s; }
.pss-card:nth-child(5) img { animation-name: kenburns-2; animation-duration: 19s; animation-delay: -8s; }

/* วีดีโอทำเล: full-cover, ไม่มี Ken Burns เพราะ motion อยู่ในคลิปอยู่แล้ว */
.pss-card-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  animation: none;
}

/* Deep gradient overlay: dark at bottom, hint of navy-gold blend */
.pss-card-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,
      rgba(5,12,32,0.95)  0%,
      rgba(7,16,42,0.75)  30%,
      rgba(9,20,50,0.30)  58%,
      transparent         100%
    );
  transition: opacity 0.4s ease;
}
.pss-card:hover .pss-card-overlay {
  background:
    linear-gradient(to top,
      rgba(5,12,32,0.98)  0%,
      rgba(7,16,42,0.85)  35%,
      rgba(9,20,50,0.45)  62%,
      transparent         100%
    );
}

/* Card body text */
.pss-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 30px 24px 28px;
  color: #fff;
  transform: translateY(6px);
  transition: transform 0.4s ease;
}
.pss-card:hover .pss-card-body { transform: translateY(0); }

/* Gold bar + category label */
.pss-card-type {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  letter-spacing: 0.10em;
  color: var(--accent);
  margin-bottom: 9px;
  font-family: 'Sarabun', 'Inter', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  animation: gold-shimmer 4s ease-in-out infinite;
}
.pss-card-type::before {
  content: '';
  display: inline-block;
  width: 3px; height: 14px;
  background: linear-gradient(to bottom, #e8c87a, var(--accent));
  border-radius: 2px;
  flex-shrink: 0;
}

/* Project name — large, bold */
.pss-card-name {
  font-family: 'Sarabun', 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

/* Description text */
.pss-card-desc {
  font-family: 'Sarabun', 'Inter', sans-serif;
  font-size: 0.80rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.55;
  margin-bottom: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}
.pss-card:hover .pss-card-desc {
  max-height: 48px;
  opacity: 1;
}

.pss-card-loc {
  font-family: 'Sarabun', 'Inter', sans-serif;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.55);
  margin-top: 6px;
}

/* Controls */
.pss-controls { display: flex; align-items: center; gap: 12px; }
.pss-arrow {
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 50%;
  background: rgba(9,18,52,0.40);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.70);
  font-size: 0.78rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.25s, color 0.25s, background 0.25s, transform 0.2s;
}
.pss-arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(185,154,91,0.12);
  transform: scale(1.08);
}
.pss-progress { flex: 1; height: 1px; background: rgba(255,255,255,0.12); border-radius: 1px; overflow: hidden; }
.pss-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #e8c87a);
  border-radius: 1px;
  transition: width 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.pss-counter {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.40);
  letter-spacing: 0.04em;
  flex-shrink: 0;
  min-width: 52px;
  text-align: right;
}
.pss-counter em { font-style: normal; color: #fff; font-weight: 600; font-size: 1rem; }

/* Card entrance animation when section enters viewport */
.pss-card.card-visible {
  animation: pss-card-in 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.pss-card.card-visible:nth-child(2) { animation-delay: 0.10s; }
.pss-card.card-visible:nth-child(3) { animation-delay: 0.20s; }
.pss-card.card-visible:nth-child(4) { animation-delay: 0.30s; }
.pss-card.card-visible:nth-child(5) { animation-delay: 0.40s; }

@media (max-width: 1100px) {
  .pss-inner { flex-direction: column; padding: 72px 40px; gap: 48px; }
  .pss-left { flex: none; max-width: 520px; }
}
@media (max-width: 640px) {
  .pss-inner { padding: 60px 24px; }
  .pss-card { flex: 0 0 250px; height: 380px; }
  .pss-headline { font-size: 1.85rem; }
}

/* ---------- Footer — Navy + Golden Hour ---------- */
.footer {
  background:
    /* Horizon glow at top of footer */
    radial-gradient(ellipse 100% 25% at 50% 0%, rgba(210,165,55,0.22) 0%, rgba(185,130,30,0.10) 50%, transparent 80%),
    radial-gradient(ellipse 60% 14% at 50% 0%, rgba(230,185,80,0.18) 0%, transparent 60%),
    /* Soft golden pool at bottom center */
    radial-gradient(ellipse 55% 25% at 50% 100%, rgba(185,154,91,0.10) 0%, transparent 70%),
    linear-gradient(180deg, #0d1d40 0%, #0a1836 40%, #081530 100%);
  color: rgba(215,185,120,0.65);
  padding: 90px 0 0;
  position: relative;
}
/* Animated golden horizon line at footer top */
.footer-horizon {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(185,154,91,0.20) 8%,
    rgba(220,180,70,0.88) 30%,
    rgba(255,215,100,1.00) 50%,
    rgba(220,180,70,0.88) 70%,
    rgba(185,154,91,0.20) 92%,
    transparent 100%
  );
  animation: horizon-pulse 7s ease-in-out infinite;
  box-shadow: 0 0 40px rgba(230,185,80,0.55), 0 0 90px rgba(185,154,91,0.25);
  z-index: 5;
  pointer-events: none;
}

/* Light → Dark: footer after a white section */
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to bottom,
    #ffffff                    0%,
    rgba(255,255,255,0.95)    10%,
    rgba(255,255,255,0.84)    22%,
    rgba(255,255,255,0.66)    36%,
    rgba(255,255,255,0.46)    50%,
    rgba(255,255,255,0.26)    64%,
    rgba(255,255,255,0.11)    78%,
    rgba(255,255,255,0.03)    90%,
    transparent               100%
  );
  pointer-events: none;
  z-index: 0;
}

/* Light → Dark: footer after an off-white section */
.section-alt + .footer::before {
  background: linear-gradient(to bottom,
    #f5f4f0                    0%,
    rgba(245,244,240,0.95)    10%,
    rgba(245,244,240,0.84)    22%,
    rgba(245,244,240,0.66)    36%,
    rgba(245,244,240,0.46)    50%,
    rgba(245,244,240,0.26)    64%,
    rgba(245,244,240,0.11)    78%,
    rgba(245,244,240,0.03)    90%,
    transparent               100%
  );
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 55px;
  padding-bottom: 65px;
  border-bottom: 1px solid rgba(185,154,91,0.18);
}

.footer-brand .logo-text {
  font-size: 1.3rem;
  margin-bottom: 18px;
  letter-spacing: 4px;
}

.footer-brand p {
  color: rgba(215,182,112,0.62);
  font-size: 0.88rem;
  line-height: 1.8;
  margin-bottom: 22px;
  text-shadow:
    0 0 12px rgba(185,154,91,0.18),
    0 0 28px rgba(185,154,91,0.08);
}

/* Section headings — brightest glow */
.footer h4 {
  color: #dfc070;
  font-family: var(--font-body);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 25px;
  font-weight: 600;
  text-shadow:
    0 0 6px  rgba(225,185,100,0.55),
    0 0 16px rgba(185,154,91,0.35),
    0 0 36px rgba(185,154,91,0.16);
}

.footer-links li {
  margin-bottom: 11px;
}

.footer-links a {
  color: rgba(210,175,108,0.58);
  font-size: 0.88rem;
  transition: var(--transition);
  text-shadow:
    0 0 10px rgba(185,154,91,0.20),
    0 0 24px rgba(185,154,91,0.08);
}

.footer-links a:hover {
  color: #f0d080;
  padding-left: 4px;
  text-shadow:
    0 0 6px  rgba(240,200,100,0.60),
    0 0 16px rgba(200,160,70,0.40),
    0 0 32px rgba(185,154,91,0.22);
}

.footer-newsletter p {
  color: rgba(210,175,108,0.55);
  font-size: 0.88rem;
  margin-bottom: 20px;
  text-shadow:
    0 0 10px rgba(185,154,91,0.18),
    0 0 24px rgba(185,154,91,0.08);
}

.newsletter-form {
  display: flex;
  gap: 0;
}

.newsletter-form input {
  flex: 1;
  padding: 13px 20px;
  background: rgba(185,154,91,0.06);
  border: 1px solid rgba(185,154,91,0.22);
  color: #e8c97a;
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition);
  border-radius: var(--radius-pill) 0 0 var(--radius-pill);
}

.newsletter-form input::placeholder {
  color: rgba(185,154,91,0.30);
}

.newsletter-form input:focus {
  border-color: rgba(185,154,91,0.60);
  background: rgba(185,154,91,0.10);
}

.newsletter-form button {
  padding: 13px 22px;
  background: linear-gradient(135deg, #8a6318, #c9a85e, #a07830);
  color: #fff8e8;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition);
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  box-shadow: 0 2px 12px rgba(185,154,91,0.35);
}

.newsletter-form button:hover {
  background: linear-gradient(135deg, #a07830, #e8c97a, #b99a5b);
  box-shadow: 0 4px 22px rgba(185,154,91,0.55);
}

.footer-bottom {
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(200,165,90,0.42);
  letter-spacing: 0.5px;
  border-top: 1px solid rgba(185,154,91,0.12);
  text-shadow:
    0 0 10px rgba(185,154,91,0.18),
    0 0 24px rgba(185,154,91,0.08);
}

.footer-bottom a {
  color: rgba(200,165,90,0.42);
  margin-left: 22px;
  text-shadow:
    0 0 10px rgba(185,154,91,0.18),
    0 0 24px rgba(185,154,91,0.08);
}

.footer-bottom a:hover {
  color: #d4b86a;
  text-shadow:
    0 0 8px rgba(220,185,90,0.50),
    0 0 20px rgba(185,154,91,0.28);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(185,154,91,0.28);
  border-radius: 50%;
  color: rgba(210,175,90,0.65);
  font-size: 0.85rem;
  transition: var(--transition);
  text-shadow:
    0 0 8px  rgba(185,154,91,0.45),
    0 0 18px rgba(185,154,91,0.22);
  box-shadow:
    0 0 10px rgba(185,154,91,0.08) inset,
    0 0 6px  rgba(185,154,91,0.06);
}

.footer-social a:hover {
  background: linear-gradient(135deg, #8a6318, #c9a85e);
  border-color: #d4a840;
  color: #fff8e8;
  transform: translateY(-2px);
  box-shadow:
    0 4px 20px rgba(185,154,91,0.50),
    0 0 12px rgba(185,154,91,0.30),
    0 1px 0 rgba(255,235,150,0.25) inset;
  text-shadow:
    0 0 8px  rgba(255,230,140,0.70),
    0 0 20px rgba(185,154,91,0.50);
}

/* ---------- Page Header (inner pages) ---------- */
.page-header {
  height: 55vh;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--primary);
  text-align: center;
  overflow: hidden;
}

/* Navy + Golden horizon fade at bottom of page-header */
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 340px;
  background:
    /* Golden horizon band */
    radial-gradient(ellipse 110% 22% at 50% 38%, rgba(210,165,55,0.28) 0%, rgba(185,130,30,0.12) 55%, transparent 85%),
    linear-gradient(to bottom,
      transparent                   0%,
      rgba(185,154,91,0.04)        18%,
      rgba(185,154,91,0.12)        32%,
      rgba(155,120,45,0.24)        44%,
      rgba(9,23,54,0.55)           56%,
      rgba(8,18,46,0.78)           68%,
      rgba(7,16,42,0.90)           78%,
      rgba(7,14,38,0.97)           94%,
      rgba(7,13,36,1.00)          100%
    );
  pointer-events: none;
  z-index: 1;
}

/* Frosted navy-gold blur seam at the bottom */
.page-header::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 110px;
  background: rgba(100,80,20,0.14);
  backdrop-filter: blur(20px) saturate(160%) brightness(0.55);
  -webkit-backdrop-filter: blur(20px) saturate(160%) brightness(0.55);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.5) 38%, black 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.5) 38%, black 100%);
  pointer-events: none;
  z-index: 2;
}

/* Section below: navy-gold fade into white */
.page-header + .section::before,
.page-header + .section-alt::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 190px;
  background: linear-gradient(to bottom,
    rgba(7,13,36,0.96)    0%,
    rgba(9,18,50,0.76)  14%,
    rgba(8,16,44,0.50)  30%,
    rgba(9,18,50,0.28)  48%,
    rgba(9,18,50,0.10)  64%,
    rgba(9,18,50,0.03)  80%,
    transparent         100%
  );
  pointer-events: none;
  z-index: 0;
}

/* Animated golden horizon line at bottom of page-header */
.ph-horizon {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(185,154,91,0.18) 8%,
    rgba(225,180,70,0.88) 28%,
    rgba(255,215,100,1.00) 50%,
    rgba(225,180,70,0.88) 72%,
    rgba(185,154,91,0.18) 92%,
    transparent 100%
  );
  animation: horizon-pulse 6s ease-in-out infinite;
  box-shadow: 0 0 36px rgba(230,185,80,0.55), 0 0 75px rgba(185,154,91,0.25);
  pointer-events: none;
  z-index: 5;
}

.page-header-content {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 18px;
  font-weight: 400;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 12px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 1px;
}

.breadcrumb a { color: var(--accent); }

/* ---------- About Page ---------- */
.about-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.timeline {
  position: relative;
  padding-left: 45px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--gray-light);
}

.timeline-item {
  position: relative;
  margin-bottom: 45px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -50px;
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 6px;
  font-weight: 500;
}

.timeline-item p { font-size: 0.92rem; }

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.value-card {
  text-align: center;
  padding: 55px 35px;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.055);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 16px rgba(0,0,0,0.05), 0 1px 0 rgba(255,255,255,0.9) inset;
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: rgba(185,154,91,0.2);
  box-shadow: var(--shadow-hover), 0 1px 0 rgba(255,255,255,0.9) inset;
}

.value-icon {
  width: 65px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  background: var(--accent-light);
  border-radius: 50%;
  font-size: 1.3rem;
  color: var(--accent);
}

.value-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-weight: 500;
}

.value-card p { font-size: 0.88rem; }

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.team-card { text-align: center; }

.team-card-image {
  width: 100%;
  aspect-ratio: 3/4;
  background: #e0e0e0;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.team-card h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.team-card p {
  font-size: 0.82rem;
  color: var(--accent);
}

/* ---------- Promotions ---------- */
.promo-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 35px;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.045);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.promo-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: transparent;
  transform: translateY(-4px);
}

.promo-card-image {
  aspect-ratio: 16/10;
  background: #e0e0e0;
  overflow: hidden;
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}

.promo-card-content {
  padding: 55px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.promo-tag {
  display: inline-block;
  padding: 5px 16px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 18px;
  width: fit-content;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(185,154,91,0.2);
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(35px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}

@keyframes scrollDot {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(10px); }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

/* Stagger siblings automatically (JS also adds inline delays) */
.projects-grid .reveal:nth-child(2),
.news-grid     .reveal:nth-child(2),
.values-grid   .reveal:nth-child(2) { transition-delay: 80ms; }

.projects-grid .reveal:nth-child(3),
.news-grid     .reveal:nth-child(3),
.values-grid   .reveal:nth-child(3) { transition-delay: 160ms; }

.projects-grid .reveal:nth-child(4),
.news-grid     .reveal:nth-child(4) { transition-delay: 80ms; }

.projects-grid .reveal:nth-child(5) { transition-delay: 160ms; }
.projects-grid .reveal:nth-child(6) { transition-delay: 240ms; }
.projects-grid .reveal:nth-child(7) { transition-delay: 80ms; }
.projects-grid .reveal:nth-child(8) { transition-delay: 160ms; }
.projects-grid .reveal:nth-child(9) { transition-delay: 240ms; }

.stats-grid .reveal:nth-child(1) { transition-delay: 0ms; }
.stats-grid .reveal:nth-child(2) { transition-delay: 100ms; }
.stats-grid .reveal:nth-child(3) { transition-delay: 200ms; }
.stats-grid .reveal:nth-child(4) { transition-delay: 300ms; }

/* ============================================
   PROJECT LANDING PAGES
   ============================================ */

/* --- Project Gallery --- */
.project-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 300px 300px;
  gap: 10px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.project-gallery-main {
  grid-row: 1 / 3;
}
.project-gallery-main img,
.project-gallery-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.6s ease;
}
.project-gallery-main:hover img,
.project-gallery-thumb:hover img { transform: scale(1.04); }
.project-gallery-main,
.project-gallery-thumb { overflow: hidden; }

/* --- Project Overview Grid --- */
.project-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* --- Project Highlights Bar --- */
.project-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: linear-gradient(135deg, #0a1840, #142044, #091736);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-top: 60px;
  border: 1px solid rgba(185,154,91,0.18);
}
.project-highlight-item {
  text-align: center;
  padding: 36px 20px;
  position: relative;
}
.project-highlight-item::after {
  content: '';
  position: absolute; right: 0; top: 20%; height: 60%; width: 1px;
  background: rgba(185,154,91,0.15);
}
.project-highlight-item:last-child::after { display: none; }
.project-highlight-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: #d4b86a;
  display: block; line-height: 1; margin-bottom: 8px;
  text-shadow: 0 0 20px rgba(185,154,91,0.35);
}
.project-highlight-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: rgba(215,185,120,0.55);
}

/* --- Feature List --- */
.feature-list { list-style: none; padding: 0; }
.feature-list li {
  padding: 11px 0;
  border-bottom: 1px solid var(--gray-light);
  display: flex; align-items: center; gap: 12px;
  font-size: 0.92rem; color: var(--text-light);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li i { color: var(--accent); width: 16px; flex-shrink: 0; }

/* --- House Type Cards --- */
.house-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.house-type-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition);
}
.house-type-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.house-type-card img {
  width: 100%; height: 220px; object-fit: cover; display: block;
}
.house-type-info { padding: 26px; }
.house-type-info h3 { font-size: 1.3rem; margin-bottom: 6px; }
.house-type-info .type-area {
  font-size: 0.78rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.house-type-info p { font-size: 0.88rem; color: var(--text-light); }

/* --- Location Block --- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.location-map-placeholder {
  height: 380px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--gray-light);
}
.location-map-placeholder iframe {
  width: 100%; height: 100%; border: 0;
  filter: grayscale(20%);
}
.location-tags {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px;
}
.location-tag {
  padding: 7px 16px;
  background: var(--off-white);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  color: var(--text-light);
  border: 1px solid var(--gray-light);
}

/* ============================================
   CLINIC FINANCIAL PAGE
   ============================================ */
.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.04);
  text-align: center;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.service-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, #8a6318, #c9a85e);
  border-radius: var(--radius-pill);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  color: #fff8e8;
  font-size: 1.4rem;
  box-shadow: 0 4px 18px rgba(185,154,91,0.30);
}
.service-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.service-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.75; }

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px; position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 24px; left: 12.5%; right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.process-step { text-align: center; position: relative; }
.process-step-number {
  width: 48px; height: 48px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-family: var(--font-heading); font-size: 1.2rem;
  color: var(--accent);
  background: var(--white);
  position: relative; z-index: 1;
  box-shadow: 0 0 0 4px rgba(185,154,91,0.10);
}
.process-step h4 { font-size: 0.92rem; margin-bottom: 8px; font-family: var(--font-body); font-weight: 600; }
.process-step p { font-size: 0.82rem; color: var(--text-light); }

/* Partner bank logos */
.bank-partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px; align-items: center;
}
.bank-partner-card {
  height: 70px;
  background: var(--white);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-light);
  font-size: 0.78rem; font-weight: 600;
  color: var(--text-light); letter-spacing: 1px;
  transition: var(--transition);
}
.bank-partner-card:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 4px 18px rgba(185,154,91,0.15);
}

/* ============================================
   RUNGKIJ CARE PAGE
   ============================================ */
.care-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.care-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.04);
  display: flex; gap: 24px; align-items: flex-start;
  transition: var(--transition);
}
.care-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(185,154,91,0.20);
}
.care-card-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(185,154,91,0.12), rgba(185,154,91,0.06));
  border: 1px solid rgba(185,154,91,0.22);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 1.2rem;
}
.care-card h3 { font-size: 1.1rem; margin-bottom: 8px; font-family: var(--font-body); font-weight: 600; }
.care-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; }

/* Care form */
.care-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 55px;
  box-shadow: var(--shadow);
  border-left: 3px solid var(--accent);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; margin-bottom: 6px;
  font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--text-light);
}

/* Emergency contact bar */
.emergency-bar {
  background: linear-gradient(135deg, #8a6318, #c9a85e, #a07830);
  border-radius: var(--radius-xl);
  padding: 30px 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  box-shadow: 0 8px 32px rgba(185,154,91,0.35);
}
.emergency-bar-text { color: #fff8e8; }
.emergency-bar-text h3 { font-size: 1.2rem; color: white; margin-bottom: 4px; }
.emergency-bar-text p { font-size: 0.88rem; opacity: 0.82; }
.emergency-bar .btn {
  white-space: nowrap; flex-shrink: 0;
  background: rgba(255,255,255,0.18);
  color: white;
  border: 1px solid rgba(255,255,255,0.45);
  backdrop-filter: blur(8px);
}
.emergency-bar .btn:hover {
  background: rgba(255,255,255,0.30);
}

/* FAQ accordion */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gray-light);
}
.faq-question {
  width: 100%; background: none; border: none;
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
  color: var(--text); cursor: pointer;
  text-align: left; gap: 16px;
}
.faq-question i { color: var(--accent); font-size: 0.85rem; transition: transform 0.3s ease; flex-shrink: 0; }
.faq-answer {
  padding-bottom: 20px;
  font-size: 0.9rem; color: var(--text-light); line-height: 1.75;
  display: none;
}
.faq-item.open .faq-question i { transform: rotate(45deg); }
.faq-item.open .faq-answer { display: block; }

/* ============================================
   RESPONSIVE
   ============================================ */

/* ---- Tablet (≤1024px) ---- */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .about-preview,
  .about-full,
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 40px; }
  .stats-grid   { grid-template-columns: repeat(2, 1fr); }
  .team-grid    { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid     { grid-template-columns: repeat(2, 1fr); }
  .promo-card-content { padding: 38px; }
}

/* ---- Mobile (≤768px) ---- */
@media (max-width: 768px) {
  :root {
    --radius-lg: 18px;
    --radius-xl: 22px;
  }

  .container { padding: 0 18px; }

  /* Navbar */
  .navbar .container { height: 68px; }
  .hamburger { display: flex; }
  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 82%; max-width: 320px;
    height: 100dvh;
    background: rgba(8, 7, 5, 0.96);
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    padding: 80px 42px;
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -12px 0 60px rgba(0,0,0,0.55);
    border-left: 1px solid rgba(185,154,91,0.12);
    z-index: 999;
  }
  .nav-menu.open { right: 0; }
  .nav-menu a {
    font-size: 1rem;
    letter-spacing: 3px;
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-menu a:last-child { border-bottom: none; }
  .nav-right { display: none; }

  /* Hamburger → X */
  .hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  /* Sections */
  .section       { padding: 70px 0; }
  .section-alt   { padding: 70px 0; }
  .stats-bar     { padding: 55px 0; }
  .cta-banner    { padding: 90px 0; }
  .mb-70         { margin-bottom: 45px; }

  /* Typography */
  h1 { font-size: clamp(2.2rem, 8vw, 3rem); }
  h2 { font-size: clamp(1.9rem, 6.5vw, 2.6rem); }

  /* Hero */
  .hero          { min-height: 100dvh; }
  .hero-content  { padding: 0 16px; max-width: 100%; }
  .hero-content .section-subtitle { font-size: 0.7rem; letter-spacing: 5px; }
  /* Grids → single column */
  .projects-grid  { grid-template-columns: 1fr; gap: 20px; }
  .news-grid      { grid-template-columns: 1fr; gap: 20px; }
  .values-grid    { grid-template-columns: 1fr; gap: 18px; }
  .stats-grid     { grid-template-columns: 1fr 1fr; gap: 24px; }
  .team-grid      { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-grid    { grid-template-columns: 1fr; gap: 36px; }

  /* Project cards */
  .project-card-overlay .btn { font-size: 0.7rem; padding: 12px 22px; }

  /* About */
  .about-image-wrapper::before,
  .about-image-wrapper::after  { display: none; }
  .about-image { aspect-ratio: 16/9; }

  /* Promo cards */
  .promo-card {
    grid-template-columns: 1fr;
    border-radius: var(--radius-xl);
  }
  .promo-card-image {
    aspect-ratio: 16/9;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  }
  .promo-card-content { padding: 32px 28px; }

  /* Contact */
  .contact-form .form-row { grid-template-columns: 1fr; gap: 0; }

  /* Newsletter */
  .newsletter-form input  { font-size: 0.82rem; }

  /* Footer */
  .footer { padding: 65px 0 0; }
  .footer-grid { padding-bottom: 45px; }

  /* CTA */
  .cta-banner h2 { font-size: clamp(2rem, 7vw, 2.8rem); }

  /* Page header inner pages */
  .page-header { height: 46vh; min-height: 340px; }
}

/* ---- Small mobile (≤480px) ---- */
@media (max-width: 480px) {
  :root {
    --radius-lg: 16px;
    --radius-xl: 20px;
  }
  .container { padding: 0 16px; }

  /* Stats */
  .stat-number { font-size: 2.2rem; }
  .stats-grid  { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-item::after { display: none; }

  /* Team */
  .team-grid { grid-template-columns: 1fr; max-width: 260px !important; margin: 0 auto; }

  /* Project badge tighter */
  .project-badge { font-size: 0.58rem; padding: 5px 13px; }

  /* Footer bottom */
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .footer-bottom a { margin-left: 10px; }

  /* Newsletter pill on small screens */
  .newsletter-form input  { border-radius: var(--radius-md) 0 0 var(--radius-md); }
  .newsletter-form button { border-radius: 0 var(--radius-md) var(--radius-md) 0; }
}

/* ---------- Utility ---------- */
.mb-0 { margin-bottom: 0; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }
.mb-60 { margin-bottom: 60px; }
.mb-70 { margin-bottom: 70px; }
.pt-0 { padding-top: 0; }
