:root {
  --primary: #0a0a1a;
  --secondary: #d4a853;
  --secondary-light: #f0d078;
  --secondary-dark: #b8922e;
  --bg-dark: #050510;
  --bg-light: #0f0f2a;
  --bg-card: rgba(18, 18, 42, 0.8);
  --text-light: #ffffff;
  --text-muted: #8888aa;
  --gradient-gold: linear-gradient(135deg, #d4a853, #f0d078, #d4a853);
  --gradient-gold-vertical: linear-gradient(180deg, #d4a853, #b8922e);
  --gradient-dark: linear-gradient(180deg, #0a0a1a, #050510);
  --shadow-gold: 0 0 40px rgba(212, 168, 83, 0.3);
  --shadow-gold-strong: 0 0 80px rgba(212, 168, 83, 0.4);
  --shadow-card: 0 15px 50px rgba(0, 0, 0, 0.6);
  --shadow-card-hover: 0 25px 80px rgba(0, 0, 0, 0.8);
  --transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.3s ease;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-light);
  overflow-x: hidden;
  line-height: 1.8;
}

::selection { background: var(--secondary); color: var(--primary); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--primary); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--secondary), var(--secondary-dark)); border-radius: 5px; border: 2px solid var(--primary); }
::-webkit-scrollbar-thumb:hover { background: var(--secondary-light); }

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--gradient-gold);
  z-index: 99999;
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 20px rgba(212, 168, 83, 0.5);
}

/* ===== PRELOADER ===== */
#preloader {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, #0d0d22 0%, var(--bg-dark) 55%, #050510 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  transition: opacity 0.8s, visibility 0.8s;
  overflow: hidden;
  /* CSS-only failsafe: the welcome screen ALWAYS clears on its own
     (~4s) even if main.js is slow/cached/blocked — no JS required. */
  animation: preloaderAutoFade 0.85s ease 3.4s forwards;
}
#preloader.hidden { opacity: 0; visibility: hidden; }

/* Pure-CSS failsafe: welcome screen ALWAYS clears itself ~4s after the
   page paints, even if js/main.js fails to load or is blocked — no JS
   dependency, so a black welcome screen can never get stuck. */
@keyframes preloaderAutoFade {
  0%  { opacity: 1; visibility: visible; }
  70% { opacity: 0; }
  100%{ opacity: 0; visibility: hidden; }
}
.loader-glow {
  position: absolute;
  top: 45%;
  left: 50%;
  width: 560px;
  height: 560px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(212, 168, 83, 0.12) 0%, rgba(212, 168, 83, 0.04) 40%, transparent 70%);
  border-radius: 50%;
  animation: loaderGlowPulse 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes loaderGlowPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}
.loader-content {
  position: relative;
  text-align: center;
  max-width: 560px;
  padding: 20px;
}
.loader-logo-mark {
  width: 168px;
  height: 168px;
  margin: 0 auto 26px;
  border: 1px solid rgba(212, 168, 83, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow-gold);
  animation: loaderMarkReveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards, loaderMarkFloat 3s ease-in-out 1.2s infinite;
}
.loader-logo-img {
  width: 126px;
  height: 126px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 0 14px rgba(212, 168, 83, 0.4));
}
@keyframes loaderMarkReveal {
  0% { opacity: 0; transform: scale(0.5) rotate(-20deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
@keyframes loaderMarkFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.03); }
}
.loader-brand {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-light);
  opacity: 0;
  animation: loaderFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}
.loader-brand span {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.loader-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 20px auto 18px;
  width: 220px;
  opacity: 0;
  animation: loaderFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}
.loader-divider::before,
.loader-divider::after {
  content: '';
  height: 1px;
  width: 70px;
  background: linear-gradient(90deg, transparent, var(--secondary));
}
.loader-divider::after {
  background: linear-gradient(90deg, var(--secondary), transparent);
}
.loader-divider span {
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  background: var(--gradient-gold);
  box-shadow: 0 0 12px rgba(212, 168, 83, 0.8);
}
.loader-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 1px;
  margin-bottom: 8px;
  opacity: 0;
  animation: loaderFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
}
.loader-line {
  display: block;
  text-transform: uppercase;
  color: var(--text-light);
}
.loader-line-welcome {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  color: var(--secondary-light);
  margin-bottom: 4px;
}
.loader-line-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: clamp(1.55rem, 4.4vw, 1.95rem);
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.loader-line-gold em {
  font-style: normal;
  color: #fdf3e3;
  -webkit-text-fill-color: #fdf3e3;
  font-weight: 700;
}
.loader-tagline {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--secondary-light);
  margin-bottom: 22px;
  opacity: 0;
  animation: loaderFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.75s forwards;
}
.loader-tagline::before,
.loader-tagline::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 12px;
  border-radius: 50%;
  background: var(--secondary);
  vertical-align: middle;
  animation: loaderDotFlicker 1.6s ease-in-out infinite;
}
.loader-tagline::after { animation-delay: 0.4s; }
@keyframes loaderDotFlicker { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
.loader-bar-container {
  width: 280px; height: 3px;
  background: rgba(212, 168, 83, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto;
  opacity: 0;
  animation: loaderFadeUp 0.8s ease 0.9s forwards;
}
.loader-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ===== Staged "construction progress" loader ===== */
.loader-stage-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0 auto 18px;
  opacity: 0;
  animation: loaderFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}
.loader-stage {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  color: rgba(212, 168, 83, 0.45);
  border: 1px solid rgba(212, 168, 83, 0.28);
  background: rgba(255, 255, 255, 0.04);
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.loader-stage.gold {
  color: #12121f;
  border-color: transparent;
  background: linear-gradient(135deg, #eec87e, #c9953d);
  box-shadow: 0 0 14px rgba(212, 168, 83, 0.55);
  transform: translateY(-3px);
}
.loader-stage-line {
  display: block;
  width: 20px;
  height: 3px;
  border-radius: 3px;
  background: rgba(212, 168, 83, 0.15);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.loader-stage-line.gold {
  background: linear-gradient(90deg, #eec87e, #c9953d);
  box-shadow: 0 0 8px rgba(212, 168, 83, 0.6);
}
.loader-stage-big {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  font-size: 1.3rem;
  border-width: 1.5px;
}
.loader-stage-big.gold {
  transform: translateY(-3px) scale(1.06);
}
.loader-stage-pop {
  animation: loaderStagePop 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes loaderStagePop {
  0% { transform: scale(0.55); }
  60% { transform: scale(1.18); }
  100% { transform: scale(1); }
}
@media (max-width: 560px) {
  .loader-stage-wrap { gap: 5px; }
  .loader-stage { width: 25px; height: 25px; font-size: 0.72rem; border-radius: 7px; }
  .loader-stage-line { width: 12px; }
  .loader-stage-big { width: 36px; height: 36px; font-size: 1.1rem; border-radius: 10px; }
}
.loader-pct {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--secondary);
  margin-top: 12px;
  opacity: 0;
  animation: loaderFadeUp 0.6s ease 1s forwards;
}
.loader-pct i { font-size: 0.8rem; opacity: 0.85; }
.loader-bar {
  width: 0%;
  height: 100%;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 6px, rgba(255, 255, 255, 0) 6px 12px), var(--gradient-gold);
  border-radius: 10px;
  box-shadow: 0 0 14px rgba(212, 168, 83, 0.6);
}
@keyframes loaderBar { 0% { width: 0%; } 45% { width: 45%; } 70% { width: 80%; } 100% { width: 100%; } }
.loader-sub {
  color: var(--secondary);
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  font-style: italic;
  font-weight: 300;
  margin-top: 20px;
  font-family: var(--font-heading);
  opacity: 0;
  animation: loaderFadeUp 0.9s ease 1.1s forwards;
}
@keyframes loaderFadeUp {
  0% { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: translateY(0); }
}
@media (max-width: 480px) {
  .loader-title { font-size: 1.55rem; }
  .loader-line-gold { font-size: 1.3rem; letter-spacing: 0.09em; }
  .loader-brand { font-size: 1.5rem; }
  .loader-logo-mark { width: 138px; height: 138px; }
  .loader-logo-img { width: 104px; height: 104px; }
}

/* ===== GLASSMORPHISM ===== */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 34px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  z-index: 9999;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(5, 5, 16, 0.9);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  padding: 14px 60px;
  box-shadow: 0 2px 50px rgba(0,0,0,0.5);
  border-bottom: 1px solid rgba(212, 168, 83, 0.05);
}
/* Single-line nav bar: brand + links + toggle always on one row */
.nav-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 48px;
  width: 100%;
  max-width: 1460px;
  margin: 0 auto;
}
.nav-logo { flex: 0 1 auto; min-width: 0; margin-right: 12px; }
.nav-links { flex: 0 1 auto; min-width: 0; justify-content: flex-end; margin-left: auto; }
.nav-toggle { flex: none; }
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  text-decoration: none;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: -8px;
}
.nav-logo img { margin-left: 0; }
.logo-img {
  height: 62px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  -webkit-text-fill-color: initial;
  border-radius: 8px;
}
.footer-brand .logo-img { height: 52px; }
@keyframes sparkle { 0%, 100% { opacity: 0.3; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.2); } }

.nav-links { display: flex; list-style: none; gap: 26px; align-items: center; flex-wrap: nowrap; }
.nav-logo span, .nav-links li { white-space: nowrap; }
.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  transition: var(--transition-fast);
  padding: 5px 0;
}
.nav-links a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-gold);
  transition: var(--transition);
  border-radius: 2px;
}
.nav-links a:hover { color: var(--secondary); }
.nav-links a:hover::before { width: 100%; }
.nav-links a.active { color: var(--secondary); }
.nav-links a.active::before { width: 100%; }

.nav-cta {
  background: var(--gradient-gold);
  color: var(--primary) !important;
  padding: 13px 34px !important;
  border-radius: 50px;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  text-transform: none !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 0 30px rgba(212, 168, 83, 0.25);
}
.nav-cta i { font-size: 0.9rem; }
.nav-cta::before { display: none !important; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  z-index: 99999;
  width: 44px;
  height: 42px;
  margin-left: auto;
  border-radius: 10px;
}
.nav-toggle span {
  display: block;
  width: 28px; height: 2px;
  background: var(--text-light);
  transition: var(--transition-fast);
  border-radius: 2px;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); background: var(--secondary); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); background: var(--secondary); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 13vh;
  overflow: hidden;
  background: var(--bg-dark);
}
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(212,168,83,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(212,168,83,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(100,80,200,0.1) 0%, transparent 50%),
    linear-gradient(160deg, #050510 0%, #0a0a2a 30%, #0f0a20 60%, #050510 100%);
  animation: heroBgShift 15s ease-in-out infinite alternate;
}
@keyframes heroBgShift {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  max-width: 950px;
}
.hero-logo {
  height: 205px;
  width: auto;
  max-width: 480px;
  object-fit: contain;
  margin-bottom: 26px;
  border-radius: 22px;
  filter: drop-shadow(0 10px 30px rgba(212,168,83,0.35));
  opacity: 0;
  animation: fadeInDown 1s ease 0.15s forwards;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  background: rgba(212, 168, 83, 0.1);
  border: 1px solid rgba(212, 168, 83, 0.3);
  border-radius: 50px;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeInDown 1s ease 0.3s forwards;
}
.hero-badge .pulse-dot {
  width: 6px; height: 6px;
  background: #4caf50;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.5); } }

.hero-title {
  font-family: var(--font-heading);
  font-size: 5.2rem;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 25px;
  opacity: 0;
  animation: fadeInUp 1s ease 0.6s forwards;
}
.hero-title .gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: goldShift 4s ease-in-out infinite;
}
@keyframes goldShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hero-title .block { display: block; font-size: 0.58em; color: var(--text-light); font-weight: 400; letter-spacing: 6px; text-transform: uppercase; margin-top: 5px; }
.hero-title .typed-cursor { font-size: 3rem; color: var(--secondary); animation: blink 1s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 20px auto 22px;
  opacity: 0;
  animation: fadeInUp 1s ease 0.75s forwards;
  max-width: 400px;
}
.hero-divider span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--secondary), transparent);
}
.hero-divider i {
  color: var(--secondary);
  font-size: 1rem;
  animation: gemPulse 3s ease-in-out infinite;
}
@keyframes gemPulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.8; }
  50% { transform: scale(1.2) rotate(15deg); opacity: 1; }
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 16px;
  opacity: 0;
  animation: fadeInUp 1s ease 0.9s forwards;
}
.hero-note {
  font-size: 0.92rem;
  line-height: 1.9;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 36px;
  padding: 18px 26px;
  border: 1px solid rgba(212, 168, 83, 0.15);
  border-radius: 16px;
  background: rgba(212, 168, 83, 0.04);
  backdrop-filter: blur(6px);
}
.hero-note strong { color: var(--secondary); font-weight: 600; }
.hero-note { opacity: 0; animation: fadeInUp 1s ease 1.05s forwards; }
.hero-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; opacity: 0; animation: fadeInUp 1s ease 1.2s forwards; }

.btn {
  padding: 16px 44px;
  border-radius: 60px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--gradient-gold);
  color: var(--primary);
  position: relative;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%) rotate(20deg);
  transition: var(--transition);
}
.btn-primary:hover::before { transform: translateX(100%) rotate(20deg); }
.btn-primary:hover { transform: translateY(-4px); box-shadow: var(--shadow-gold-strong); }

.btn-outline {
  border: 2px solid var(--secondary);
  color: var(--secondary);
  background: transparent;
}
.btn-outline:hover { background: var(--secondary); color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-gold); }

.btn-glow {
  position: relative;
}
.btn-glow::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 64px;
  background: var(--gradient-gold);
  z-index: -1;
  opacity: 0;
  filter: blur(20px);
  transition: var(--transition);
}
.btn-glow:hover::after { opacity: 0.6; }

.hero-scroll {
  position: absolute;
  bottom: 34px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: max-content;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(8, 8, 24, 0.62);
  border: 1px solid rgba(212, 168, 83, 0.35);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), inset 0 0 20px rgba(212, 168, 83, 0.06);
  color: #cdd0ea;
  text-decoration: none;
  letter-spacing: 2.5px;
  opacity: 0;
  animation: heroScrollIn 1s ease 2s forwards;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.hero-scroll:hover { border-color: var(--secondary); transform: translateY(-3px); }
.hero-scroll .mouse {
  width: 22px;
  height: 34px;
  border: 2px solid var(--secondary);
  border-radius: 30px;
  position: relative;
  flex: 0 0 auto;
}
.hero-scroll .wheel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 9px;
  margin-top: -4.5px;
  border-radius: 4px;
  background: linear-gradient(180deg, #f0d078, #d4a853);
  box-shadow: 0 0 8px rgba(212, 168, 83, 0.7);
  animation: scrollWheel 2s ease-in-out infinite;
}
.hero-scroll > span:last-child {
  font-size: 0.62rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-scroll::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(212, 168, 83, 0.35);
  animation: heroScrollPulse 2.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes heroScrollPulse {
  0% { box-shadow: 0 0 0 0 rgba(212, 168, 83, 0.35); }
  70% { box-shadow: 0 0 0 12px rgba(212, 168, 83, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 168, 83, 0); }
}
@keyframes scrollWheel { 0%, 100% { transform: translateX(-50%) translateY(-5px); opacity: 0.5; } 50% { transform: translateX(-50%) translateY(5px); opacity: 1; } }
@keyframes heroScrollIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== SECTIONS ===== */
.section {
  padding: 140px 60px;
  position: relative;
}
.section-dark { background: var(--bg-dark); }
.section-light { background: var(--bg-light); }

/* SVG Section Dividers */
.section-divider-top, .section-divider-bottom {
  position: absolute;
  left: 0; right: 0;
  height: 120px;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}
.section-divider-top { top: -1px; }
.section-divider-bottom { bottom: -1px; transform: rotate(180deg); }
.section-divider-top svg, .section-divider-bottom svg {
  width: 100%; height: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 18px;
  position: relative;
}
.section-tag .line {
  display: inline-block;
  width: 50px; height: 1px;
  background: var(--secondary);
}
.section-tag .line:last-child { width: 30px; }
.section-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}
.section-title .gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-desc {
  max-width: 650px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  position: relative;
  z-index: 2;
}
.about-image {
  position: relative;
  width: 100%;
}
.about-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}
.about-logo {
  width: 118%;
  max-width: none;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 15px 40px rgba(212,168,83,0.25));
}
.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212,168,83,0.08), transparent);
  border-radius: 16px;
  pointer-events: none;
}

.about-content h3 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 20px;
  line-height: 1.3;
}
.about-content h3 .gold { background: var(--gradient-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.about-content p { color: var(--text-muted); margin-bottom: 25px; line-height: 2; font-size: 0.95rem; }
.about-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.about-cta .btn {
  padding: 13px 30px;
  font-size: 0.8rem;
  letter-spacing: 0.3px;
}
.about-cta .btn i { margin-right: 8px; }

/* ===== PROJECTS (Filterable) ===== */
.project-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.filter-btn {
  padding: 8px 24px;
  border: 1px solid rgba(212, 168, 83, 0.2);
  border-radius: 50px;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition-fast);
  letter-spacing: 0.5px;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
  font-weight: 500;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.project-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid rgba(212, 168, 83, 0.08);
  transition: var(--transition);
  height: 420px;
  perspective: 1000px;
}
.project-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(212, 168, 83, 0.3);
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition);
  background: var(--bg-dark);
}
.project-card:hover img { transform: none; }
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,5,16,0.95) 0%, rgba(5,5,16,0.6) 40%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  transition: var(--transition);
}
.project-card:hover .project-overlay { background: linear-gradient(to top, rgba(5,5,16,0.98) 0%, rgba(5,5,16,0.3) 100%); }
.project-tag {
  display: inline-block;
  padding: 5px 18px;
  background: var(--secondary);
  color: var(--primary);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  margin-bottom: 15px;
  width: fit-content;
}
.project-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 10px;
  transform: translateY(0);
  transition: var(--transition);
}
.project-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  transform: translateY(30px);
  opacity: 0;
  transition: var(--transition);
  line-height: 1.7;
}
.project-card:hover .project-desc { transform: translateY(0); opacity: 1; }

/* ===== ONGOING PROJECT ===== */
.featured-project {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 70px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.featured-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.featured-gallery .main-img {
  grid-column: 1 / -1;
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
.featured-gallery .main-img img { width: 100%; height: 100%; object-fit: contain; transition: var(--transition); background: transparent; }
.featured-gallery .main-img:hover img { transform: none; }
.featured-gallery .main-img .play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 70px; height: 70px;
  background: rgba(212, 168, 83, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
}
.featured-gallery .main-img .play-btn:hover { transform: translate(-50%, -50%) scale(1.1); box-shadow: var(--shadow-gold); }

.featured-gallery .sub-img {
  height: 200px;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
}
.featured-gallery .sub-img img { width: 100%; height: 100%; object-fit: contain; transition: var(--transition); background: transparent; }
.featured-gallery .sub-img:hover img { transform: none; }

/* Single portrait-photo showcase */
.featured-gallery.showcase-single { grid-template-columns: 1fr; }
.featured-gallery.showcase-single .main-img {
  height: auto;
  border-radius: 0;
  background: transparent;
}
.featured-gallery.showcase-single .main-img img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 780px;
  margin: 0 auto;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
}

/* Two side-by-side photos */
.featured-gallery.split-duo { grid-template-columns: 1fr 1fr; gap: 15px; }
.featured-gallery.split-duo .main-img { grid-column: 1 / 2; }
.featured-gallery.split-duo .sub-img { grid-column: 2 / 3; cursor: default; }
.featured-gallery.split-duo .main-img,
.featured-gallery.split-duo .sub-img { height: 380px; border-radius: 18px; }
.featured-gallery.split-duo img { object-fit: cover; }

/* Coming Soon overlay on gallery image */
.coming-soon-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  background: radial-gradient(circle, rgba(5, 5, 16, 0.1) 0%, rgba(5, 5, 16, 0.55) 100%);
  pointer-events: none;
}
.soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 34px;
  background: rgba(5, 5, 16, 0.78);
  border: 1px solid rgba(212, 168, 83, 0.4);
  border-radius: 50px;
  color: var(--secondary-light);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  box-shadow: var(--shadow-gold);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: soonBadgePulse 2.2s ease-in-out infinite;
}
.soon-badge i { color: var(--secondary); font-size: 1.1rem; }
@keyframes soonBadgePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 30px rgba(212, 168, 83, 0.3); }
  50% { transform: scale(1.04); box-shadow: 0 0 60px rgba(212, 168, 83, 0.55); }
}

.featured-info .featured-status {
  display: flex;
  gap: 12px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}
.status-badge {
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.status-completed { background: rgba(76, 175, 80, 0.12); color: #4caf50; border: 1px solid rgba(76, 175, 80, 0.25); }
.status-ongoing { background: rgba(255, 193, 7, 0.12); color: #ffc107; border: 1px solid rgba(255, 193, 7, 0.25); }
.status-upcoming { background: rgba(33, 150, 243, 0.12); color: #42a5f5; border: 1px solid rgba(33, 150, 243, 0.25); }

.featured-info h3 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  margin-bottom: 15px;
  line-height: 1.2;
}
.featured-info h3 .gold { background: var(--gradient-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.featured-info > p { color: var(--text-muted); margin-bottom: 30px; line-height: 2; font-size: 0.95rem; }

.featured-details { margin-bottom: 30px; }
.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.detail-row:last-child { border-bottom: none; }
.detail-row .label { color: var(--text-muted); font-size: 0.85rem; display: flex; align-items: center; gap: 8px; }
.detail-row .label i { color: var(--secondary); width: 16px; }
.detail-row .value { font-weight: 500; font-size: 0.9rem; }

.progress-section { margin-top: 35px; }
.progress-item { margin-bottom: 25px; }
.progress-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.85rem;
}
.progress-header .label { color: var(--text-light); display: flex; align-items: center; gap: 8px; }
.progress-header .percent { color: var(--secondary); font-weight: 600; font-family: var(--font-heading); }
.progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--gradient-gold);
  border-radius: 10px;
  width: 0;
  transition: width 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== PROJECT SHOWCASE EXTRAS ===== */
.showcase-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.project-index {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(212, 168, 83, 0.55);
}
.loc-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(212, 168, 83, 0.08);
  border: 1px solid rgba(212, 168, 83, 0.3);
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.featured-project.flip .featured-gallery { order: 2; }
.featured-project.flip .featured-info { order: 1; }
.showcase-block { margin-bottom: 100px; }
.showcase-block:last-of-type { margin-bottom: 0; }

/* ===== TESTIMONIALS ===== */
.testimonials-carousel {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.testimonials-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.testimonial-card {
  min-width: 100%;
  padding: 20px;
}
.testimonial-inner {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 50px;
  text-align: center;
  position: relative;
}
.testimonial-inner::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 8rem;
  color: var(--secondary);
  opacity: 0.1;
  position: absolute;
  top: 20px;
  left: 40px;
  line-height: 1;
}
.testimonial-stars {
  color: var(--secondary);
  font-size: 1.2rem;
  margin-bottom: 20px;
  letter-spacing: 4px;
}
.testimonial-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 2;
  max-width: 700px;
  margin: 0 auto 30px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.testimonial-author img {
  width: 60px; height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--secondary);
}
.testimonial-author h5 { font-size: 1rem; }
.testimonial-author span { font-size: 0.8rem; color: var(--text-muted); }

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
  position: relative;
  z-index: 2;
}
.testimonial-btn {
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(212,168,83,0.3);
  background: transparent;
  color: var(--secondary);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
}
.testimonial-btn:hover { background: var(--secondary); color: var(--primary); }
.testimonial-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.testimonial-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.testimonial-dot.active { background: var(--secondary); width: 30px; border-radius: 5px; }

/* ===== TEAM ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
  text-align: center;
}
.team-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-card-hover); border-color: rgba(212,168,83,0.3); }
.team-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
}
.team-image img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: var(--transition);
  background: var(--bg-dark);
}
.team-card:hover .team-image img { transform: none; }
.team-social {
  position: absolute;
  bottom: -40px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  opacity: 0;
}
.team-card:hover .team-social { bottom: 20px; opacity: 1; }
.team-social a {
  width: 40px; height: 40px;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}
.team-social a:hover { transform: scale(1.1); }
.team-info { padding: 25px 20px; }
.team-info h4 { font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: 5px; }
.team-info span { font-size: 0.8rem; color: var(--secondary); letter-spacing: 1px; }

/* ===== BLOG ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card-hover); border-color: rgba(212,168,83,0.2); }
.blog-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}
.blog-image img { width: 100%; height: 100%; object-fit: contain; transition: var(--transition); background: var(--bg-dark); }
.blog-card:hover .blog-image img { transform: none; }
.blog-date {
  position: absolute;
  top: 15px; left: 15px;
  background: var(--secondary);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 600;
}
.blog-body { padding: 25px; }
.blog-body .blog-category {
  font-size: 0.7rem;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  display: block;
}
.blog-body h4 { font-family: var(--font-heading); font-size: 1.15rem; margin-bottom: 10px; line-height: 1.4; }
.blog-body p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.8; margin-bottom: 15px; }
.blog-body a {
  color: var(--secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.blog-body a:hover { gap: 12px; }

/* ===== FAQ ===== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: rgba(212,168,83,0.2); }
.faq-question {
  padding: 22px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 20px;
}
.faq-question h4 { font-size: 1rem; font-weight: 500; }
.faq-question .faq-icon {
  width: 32px; height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: rgba(212,168,83,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  transition: var(--transition);
  font-size: 0.8rem;
}
.faq-item.active .faq-icon { background: var(--secondary); color: var(--primary); transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
  padding: 0 30px;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 30px 22px;
}
.faq-answer p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.9; }

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: var(--transition);
}
.gallery-item:hover {
  border-color: rgba(212, 168, 83, 0.45);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6), var(--shadow-gold);
  transform: translateY(-5px);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94); background: var(--bg-dark); }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,5,16,0.1) 0%, rgba(5,5,16,0.55) 55%, rgba(5,5,16,0.82) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  padding: 16px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  transform: translateY(14px);
  transition: var(--transition);
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }
.gallery-caption i {
  font-size: 1.3rem;
  color: var(--secondary);
  text-shadow: 0 0 30px rgba(212,168,83,0.4);
}
.gallery-caption span {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--text-light);
  background: rgba(5, 5, 16, 0.65);
  border: 1px solid rgba(212, 168, 83, 0.25);
  padding: 6px 14px;
  border-radius: 50px;
  white-space: nowrap;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 10px;
  transform: scale(0.8);
  transition: var(--transition);
}
.lightbox.active img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 30px; right: 40px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
  background: none;
  border: none;
}
.lightbox-close:hover { color: var(--secondary); transform: rotate(90deg); }
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  padding: 20px;
  transition: var(--transition);
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover { color: var(--secondary); }

/* ===== CONTACT ===== */
.contact-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  position: relative;
  z-index: 2;
}
.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 20px;
  line-height: 1.3;
}
.contact-info h3 .gold { background: var(--gradient-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.contact-info > p { color: var(--text-muted); margin-bottom: 40px; line-height: 2; }

.contact-details { display: flex; flex-direction: column; gap: 25px; margin-bottom: 40px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.contact-item .icon {
  width: 55px; height: 55px;
  min-width: 55px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.3rem;
  transition: var(--transition);
}
.contact-item:hover .icon { background: var(--secondary); color: var(--primary); border-color: var(--secondary); }
.contact-item h5 { font-size: 0.9rem; margin-bottom: 4px; }
.contact-item p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 50px;
  backdrop-filter: blur(10px);
}
.contact-form h4 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.contact-form > p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 35px; }
.contact-form-head { margin-bottom: 32px; }
.contact-form-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  margin-bottom: 14px;
  background: rgba(212, 168, 83, 0.1);
  border: 1px solid rgba(212, 168, 83, 0.3);
  border-radius: 50px;
  color: var(--secondary);
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}
.contact-form h4 span {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.contact-form-head p { color: var(--text-muted); font-size: 0.9rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 22px; position: relative; }
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.form-group label i { color: var(--secondary); margin-right: 5px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 30px rgba(212, 168, 83, 0.08);
  background: rgba(255,255,255,0.07);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.15); }
.form-group select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23d4a853' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
.form-group select option { background: var(--bg-dark); color: var(--text-light); }
.form-group textarea { height: 130px; resize: vertical; }

.form-submit {
  width: 100%;
  padding: 18px;
  background: var(--gradient-gold);
  border: none;
  border-radius: 14px;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-body);
  position: relative;
  overflow: hidden;
}
.form-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%) rotate(20deg);
  transition: var(--transition);
}
.form-submit:hover::before { transform: translateX(100%) rotate(20deg); }
.form-submit:hover { transform: translateY(-3px); box-shadow: var(--shadow-gold-strong); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* ===== GOOGLE MAPS ===== */
.map-container {
  width: 100%;
  height: 350px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  margin-top: 60px;
  position: relative;
  z-index: 2;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.5) invert(0.9);
}

/* ===== WHATSAPP FLOATING ===== */
.whatsapp-float {
  position: fixed;
  bottom: 100px;
  right: 25px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.whatsapp-btn {
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: whatsappPulse 2s infinite;
}
@keyframes whatsappPulse { 0%, 100% { box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4); } 50% { box-shadow: 0 5px 40px rgba(37, 211, 102, 0.7); } }
.whatsapp-btn:hover { transform: scale(1.1); }
.whatsapp-tooltip {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(5px);
  transition: var(--transition);
  pointer-events: none;
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; transform: translateY(0); }

/* ===== FLOATING ACTIONS (WhatsApp + Back-to-top) ===== */
.floating-actions {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.fab {
  width: 54px;
  height: 54px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
}
.fab:focus-visible { outline: 2px solid var(--secondary); outline-offset: 3px; }
.fab-wa {
  background: #25d366;
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.45);
  animation: whatsappPulse 2.4s infinite;
}
.fab-wa i { font-size: 1.75rem; }
.fab-wa:hover { transform: translateY(-3px) scale(1.06); }
.fab-top {
  background: var(--gradient-gold);
  color: var(--primary);
  box-shadow: 0 8px 26px rgba(212, 168, 83, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
}
.fab-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.fab-top:hover { transform: translateY(-3px); }
/* Hover tooltips (used on WhatsApp FAB) */
.fab-tip { position: relative; }
.fab-tip::after {
  content: attr(data-tip);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  color: var(--text-light);
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 0.72rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}
.fab-tip:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(212, 168, 83, 0.06);
  padding: 100px 60px 30px;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--secondary), transparent);
  opacity: 0.3;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer-brand .nav-logo { font-size: 1.8rem; display: inline-flex; margin-bottom: 10px; }
.footer-brand h4 { margin-top: 8px; }
.footer-quicklinks { margin-bottom: 22px; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; max-width: 340px; line-height: 1.9; }
.footer h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: var(--text-light);
  position: relative;
  padding-bottom: 12px;
}
.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: var(--secondary);
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 12px; }
.footer ul a { color: var(--text-muted); text-decoration: none; font-size: 0.88rem; transition: var(--transition-fast); display: inline-flex; align-items: center; gap: 8px; }
.footer ul a::before { content: '›'; color: var(--secondary); font-size: 1.2rem; }
.footer ul a:hover { color: var(--secondary); padding-left: 5px; }

/* Get in Touch — premium contact rows */
.footer-contact .fc-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 16px;
}
.footer-contact .fc-item::before,
.footer-contact a::before { content: none; }
.fc-ico {
  flex: 0 0 38px;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: rgba(212, 168, 83, 0.12);
  border: 1px solid rgba(212, 168, 83, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}
.footer-contact .fc-item:hover .fc-ico {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px);
}
.fc-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fc-tx .fc-label {
  font-size: 0.66rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(207, 210, 231, 0.55);
}
.fc-tx a, .fc-tx span {
  color: var(--text-muted);
  font-size: 0.86rem;
  text-decoration: none;
  line-height: 1.65;
  word-break: break-word;
  transition: var(--transition-fast);
}
.fc-tx a:hover { color: var(--secondary); }

.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social a {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  text-decoration: none;
  transition: var(--transition);
}
.footer-social a:hover {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.84rem; letter-spacing: 0.4px; }
.footer-bottom a { color: var(--secondary); text-decoration: none; transition: var(--transition); }
.footer-bottom a:hover { color: var(--secondary-light); }
.fb-copy { margin: 0; }
.footer-credit { margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.fb-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 12px rgba(212, 168, 83, 0.7);
  display: inline-block;
}

/* ===== GO TO TOP ===== */
.go-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px; height: 50px;
  background: var(--gradient-gold);
  border: none;
  border-radius: 50%;
  color: var(--primary);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 9997;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: var(--shadow-gold);
}
.go-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.go-top:hover { transform: translateY(-5px); box-shadow: var(--shadow-gold-strong); }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  top: 100px;
  right: 30px;
  padding: 18px 30px;
  border-radius: 14px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 99999;
  transform: translateX(120%);
  transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 0 15px 50px rgba(0,0,0,0.4);
  max-width: 420px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.toast.show { transform: translateX(0); }
.toast.success { background: linear-gradient(135deg, #1b5e20, #4caf50); }
.toast.error { background: linear-gradient(135deg, #b71c1c, #f44336); }
.toast i { font-size: 1.2rem; }

/* ===== PAGE TRANSITION ===== */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 99998;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.page-transition.active { opacity: 1; }

/* ===== ENQUIRY POPUP ===== */
.enquiry-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.enquiry-modal.open { visibility: visible; opacity: 1; }
.enquiry-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 3, 10, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.enquiry-box {
  position: relative;
  width: 100%;
  max-width: 620px;
  max-height: calc(100vh - 40px);
  margin: auto;
  overflow-y: auto;
  background: linear-gradient(160deg, #12122e, #0b0b1e);
  border: 1px solid rgba(212, 168, 83, 0.25);
  border-radius: 24px;
  padding: 42px 44px 34px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7), 0 0 60px rgba(212, 168, 83, 0.08);
  transform: translateY(40px) scale(0.96);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}
.enquiry-modal.open .enquiry-box { transform: translateY(0) scale(1); opacity: 1; }
.enquiry-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2;
}
.enquiry-close:hover {
  background: #f44336;
  border-color: #f44336;
  color: #fff;
  transform: rotate(90deg);
}
.enquiry-head { text-align: center; margin-bottom: 26px; }
.enquiry-head h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--text-light);
  margin-bottom: 8px;
}
.enquiry-head p { color: var(--text-muted); font-size: 0.88rem; }
@media (max-width: 600px) {
  .enquiry-box { padding: 32px 22px 26px; border-radius: 18px; }
  .enquiry-head h3 { font-size: 1.55rem; }
}

/* ===== BEFORE / AFTER COMPARISON ===== */
.comparison-wrapper {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.comparison-container {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  cursor: col-resize;
  user-select: none;
  --slider-pos: 50%;
}
.comparison-before, .comparison-after {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.comparison-before {
  clip-path: inset(0 0 0 0);
  clip-path: polygon(0 0, var(--slider-pos) 0, var(--slider-pos) 100%, 0 100%);
}
.comparison-after {
  clip-path: polygon(var(--slider-pos) 0, 100% 0, 100% 100%, var(--slider-pos) 100%);
}
.comparison-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.comparison-label {
  position: absolute;
  bottom: 20px;
  padding: 6px 18px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  backdrop-filter: blur(4px);
}
.comparison-before .comparison-label { left: 20px; }
.comparison-after .comparison-label { right: 20px; }

.comparison-handle {
  position: absolute;
  top: 0;
  left: var(--slider-pos);
  width: 4px;
  height: 100%;
  background: var(--secondary);
  transform: translateX(-50%);
  z-index: 10;
  pointer-events: none;
  box-shadow: 0 0 20px rgba(212,168,83,0.5);
}
.comparison-handle-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
  box-shadow: 0 0 30px rgba(212,168,83,0.4);
  cursor: col-resize;
}
.comparison-line {
  position: absolute;
  top: 0;
  left: var(--slider-pos);
  width: 2px;
  height: 100%;
  background: rgba(255,255,255,0.3);
  transform: translateX(-50%);
  z-index: 9;
  pointer-events: none;
}

/* ===== COUNTDOWN ===== */
.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}
.countdown-item {
  text-align: center;
  min-width: 120px;
  padding: 25px 20px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
.countdown-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-gold);
}
.countdown-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 5px;
}
.countdown-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-muted);
}

/* ===== KEYFRAME ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

[data-aos] { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }
[data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos-delay="300"] { transition-delay: 0.3s; }
[data-aos-delay="400"] { transition-delay: 0.4s; }
[data-aos-delay="500"] { transition-delay: 0.5s; }
[data-aos-delay="600"] { transition-delay: 0.6s; }

/* ===== RESPONSIVE ===== */

/* Progressive nav collapse — single-line priority auto-hide as the viewport
   narrows. Low-priority links vanish one by one (by device width); all links
   re-appear in the mobile drawer menu (<=768px), so nothing is ever lost. */
@media (min-width: 769px) and (max-width: 1349px) {
  .nav-links .nav-faq { display: none; }
}
@media (min-width: 769px) and (max-width: 1249px) {
  .nav-links .nav-reviews { display: none; }
}
@media (min-width: 769px) and (max-width: 1149px) {
  .nav-links .nav-gallery { display: none; }
}
@media (min-width: 769px) and (max-width: 1049px) {
  .nav-links .nav-reviews { display: none; }
}
@media (min-width: 769px) and (max-width: 969px) {
  .nav-links .nav-portfolio { display: none; }
}
@media (min-width: 769px) and (max-width: 879px) {
  .nav-links .nav-about { display: none; }
}

/* Wide Laptop (1350px and below) */
@media (max-width: 1350px) {
  .navbar { padding: 20px 32px; }
  .nav-logo { font-size: 1.35rem; }
  .logo-img { height: 44px; max-width: 150px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 0.72rem; letter-spacing: 1px; }
  .nav-cta { padding: 9px 18px; font-size: 0.75rem !important; }
  .hero { padding-top: 130px; padding-bottom: 70px; }
  .hero-logo { height: 160px; max-width: 390px; }
  .hero-title { font-size: 4rem; }
}

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
  .hero-title { font-size: 5.8rem; }
  .section { padding: 160px 80px; }
  .about-image img { max-height: 700px; }
}

/* Desktop (1200px - 1399px) */
@media (max-width: 1200px) {
  .hero-title { font-size: 4rem; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .navbar { padding: 15px 24px; }
  .section { padding: 120px 40px; }
}

/* Tablet Landscape / Small Desktop (992px - 1199px) */
@media (max-width: 1024px) {
  .section { padding: 100px 35px; }
  .hero { padding-bottom: 60px; padding-top: 120px; }
  .hero-title { font-size: 3.6rem; }
  .hero-logo { height: 140px; max-width: 350px; }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-logo { width: 100%; max-width: none; }
  .featured-project { grid-template-columns: 1fr; gap: 40px; }
  .featured-project .featured-info { order: 1; }
  .featured-project .featured-gallery { order: 2; }
  .showcase-block { margin-bottom: 70px; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 50px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .navbar { padding: 15px 22px; }
  .nav-links { gap: 10px; }
  .nav-links a { font-size: 0.68rem; letter-spacing: 0.6px; }
  .hero-subtitle { font-size: 1rem; max-width: 500px; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .about-image img { max-height: 450px; }
}

/* Tablet (768px - 991px) */
@media (max-width: 768px) {
  .navbar { padding: 14px 20px; }
  .navbar.scrolled { padding: 10px 20px; }
  .nav-logo { gap: 10px; }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding: 100px 18px 70px;
  }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: rgba(5, 5, 16, 0.98);
    backdrop-filter: blur(30px);
    flex-direction: column;
    padding: 100px 35px 40px;
    gap: 18px;
    transition: var(--transition);
    box-shadow: -20px 0 60px rgba(0,0,0,0.5);
    border-left: 1px solid rgba(212,168,83,0.05);
  }
  .nav-links.active { right: 0; }
  .nav-toggle { display: flex; }
  .nav-links a { font-size: 0.85rem; letter-spacing: 2px; }

  .hero-title { font-size: 2.8rem; }
  .hero-logo { height: 104px; margin-bottom: 18px; }
  .hero-title .block { font-size: 0.45em; letter-spacing: 4px; }
  .hero-title .typed-cursor { font-size: 2rem; }
  .hero-subtitle { font-size: 0.95rem; max-width: 400px; }
.hero-buttons { flex-direction: column; align-items: center; }
  .about-cta { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; justify-content: center; padding: 14px 28px; font-size: 0.8rem; }

  .section { padding: 70px 25px; }
  .section-title { font-size: 2rem; }
  .section-tag { font-size: 0.65rem; }
  .section-tag .line { width: 30px; }
  .section-tag .line:last-child { width: 20px; }

  .about-grid { gap: 40px; }
  .about-image img { max-height: 400px; }
  .about-content h3 { font-size: 1.8rem; }
  .about-content p { font-size: 0.88rem; }
  .team-highlight { grid-template-columns: 1fr !important; }

  .projects-grid { grid-template-columns: 1fr; }
  .project-card { height: 320px; }

.featured-gallery { grid-template-columns: 1fr 1fr; }
  .featured-gallery .main-img { height: 220px; }
  .featured-gallery .sub-img { height: 130px; }
  .featured-gallery.split-duo .main-img,
  .featured-gallery.split-duo .sub-img { height: 220px; }
  .featured-info h3 { font-size: 1.6rem; }
  .project-index { font-size: 2.2rem; }

  .contact-form { padding: 30px 25px; }
  .contact-form h4 { font-size: 1.3rem; }
  .form-row { grid-template-columns: 1fr; }

  .footer { padding: 60px 25px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-brand .nav-logo { flex-wrap: wrap; row-gap: 12px; max-width: 100%; font-size: 1.5rem; }
  .footer-brand .logo-img { height: 50px; max-width: 140px; }
  .footer ul a { overflow-wrap: anywhere; white-space: normal; }
  .footer-brand p { max-width: none; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  .faq-question { padding: 18px 22px; }
  .faq-question h4 { font-size: 0.9rem; }
  .faq-answer { padding: 0 22px; }
  .faq-item.active .faq-answer { padding: 0 22px 18px; }

  .testimonial-inner { padding: 30px 20px; }
  .blog-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .whatsapp-float { right: 15px; bottom: 80px; }
  .whatsapp-btn { width: 48px; height: 48px; font-size: 1.3rem; }
  .whatsapp-tooltip { display: none; }

  .comparison-container { height: 350px; }
  .comparison-handle-icon { width: 36px; height: 36px; font-size: 0.85rem; }

  .countdown-grid { gap: 12px; }
  .countdown-item { min-width: 75px; padding: 15px 10px; }
  .countdown-number { font-size: 2rem; }

  .scroll-progress { height: 2px; }
  .hero-divider { max-width: 280px; gap: 12px; }

  .footer-names .fn-name { font-size: 0.88rem; }
}

/* Mobile (480px - 767px) */
@media (max-width: 480px) {
  .navbar { padding: 12px 18px; }
  .nav-logo { font-size: 1.2rem; gap: 9px; }
  .nav-links { padding: 90px 25px 30px; width: 75%; }

  .hero-title { font-size: 2rem; }
  .hero-logo { height: 84px; margin-bottom: 14px; }
  .hero-title .block { font-size: 0.4em; letter-spacing: 3px; }
  .hero-badge { font-size: 0.55rem; padding: 5px 12px; letter-spacing: 1.5px; }
  .hero-subtitle { font-size: 0.85rem; max-width: 320px; }
  .hero-buttons .btn { padding: 12px 20px; font-size: 0.75rem; }

  .section { padding: 50px 18px; }
  .section-title { font-size: 1.6rem; }
  .section-desc { font-size: 0.85rem; }

  .about-image img { max-height: 300px; }
  .about-logo { width: 100%; max-width: 360px; }
  .about-content h3 { font-size: 1.4rem; }

  .project-card { height: 260px; border-radius: 16px; }
  .project-overlay { padding: 25px; }
  .project-title { font-size: 1.1rem; }
  .project-desc { font-size: 0.78rem; }

.featured-gallery { grid-template-columns: 1fr; gap: 12px; }
  .featured-gallery .main-img { height: 200px; }
  .featured-gallery .sub-img { height: 120px; }
  .featured-gallery.split-duo { grid-template-columns: 1fr 1fr; gap: 10px; }
  .featured-gallery.split-duo .main-img,
  .featured-gallery.split-duo .sub-img { height: 170px; border-radius: 14px; }
  .featured-info h3 { font-size: 1.3rem; }
  .featured-status .status-badge { font-size: 0.7rem; padding: 5px 12px; }
  .loc-badge { font-size: 0.65rem; padding: 5px 12px; }
  .project-index { font-size: 1.8rem; }
  .showcase-block { margin-bottom: 55px; }
  .more-projects-cta { margin-top: 55px !important; padding: 35px 20px !important; }
  .detail-row { font-size: 0.8rem; }

  .team-grid { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }

  .contact-form { padding: 25px 18px; border-radius: 18px; }
  .contact-form h4 { font-size: 1.1rem; }
  .form-group input, .form-group select { padding: 12px 16px; font-size: 0.85rem; }
  .form-submit { padding: 14px; font-size: 0.9rem; }
  .contact-item .icon { width: 45px; height: 45px; min-width: 45px; font-size: 1.1rem; }
  .contact-info h3 { font-size: 1.6rem; }

  .footer { padding: 50px 18px 15px; }
  .footer-brand .nav-logo { font-size: 1.25rem; gap: 10px; }
  .footer-brand .logo-img { height: 44px; max-width: 120px; }
  .footer h4 { font-size: 1rem; margin-bottom: 18px; }
  .detail-row { flex-wrap: wrap; gap: 4px 10px; }
  .hero-note { font-size: 0.82rem; padding: 14px 16px; line-height: 1.75; border-radius: 14px; }
  .social a { width: 40px; height: 40px; font-size: 1rem; }

  .go-top { width: 42px; height: 42px; font-size: 1rem; bottom: 20px; right: 20px; }
  .comparison-container { height: 280px; }
  .countdown-item { min-width: 65px; padding: 12px 8px; }
  .countdown-number { font-size: 1.6rem; }
  .countdown-label { font-size: 0.6rem; letter-spacing: 1.5px; }
  .whatsapp-tooltip { display: none; }
}

/* Small Mobile (360px - 479px) */
@media (max-width: 380px) {
  .hero-title { font-size: 1.6rem; }
  .hero-logo { height: 72px; }
  .logo-img { height: 38px; max-width: 110px; }
  .nav-logo { font-size: 1.05rem; gap: 8px; }
  .navbar { padding: 10px 16px; }
  .footer-brand .logo-img { height: 38px; max-width: 100px; }
  .hero-title .block { font-size: 0.35em; letter-spacing: 2px; }
  .hero-badge { font-size: 0.5rem; padding: 4px 10px; }
  .hero-subtitle { font-size: 0.78rem; }
  .btn { padding: 10px 16px; font-size: 0.68rem; }
  .section { padding: 40px 14px; }
  .section-title { font-size: 1.3rem; }
  .project-card { height: 220px; }
  .project-overlay { padding: 18px; }
  .about-image img { max-height: 240px; }
  .countdown-item { min-width: 55px; padding: 10px 6px; }
  .countdown-number { font-size: 1.3rem; }
}

/* ===== PORTFOLIO (Manohar Reddy Projects) ADDITIONS ===== */
.typed-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.hero-subtitle {
  min-height: 1.9em;
}

.about-role {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  margin-bottom: 22px;
  background: rgba(212, 168, 83, 0.1);
  border: 1px solid rgba(212, 168, 83, 0.3);
  border-radius: 50px;
  color: var(--secondary);
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.about-role i { color: var(--secondary); }

.profile-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(212, 168, 83, 0.25);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}
.profile-frame .about-logo {
  width: 100%;
  max-width: none;
  display: block;
}
.profile-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,26,0) 40%, rgba(10,10,26,0.85) 100%);
  pointer-events: none;
  border-radius: 20px;
}
.profile-frame-caption {
  position: absolute;
  left: 24px; right: 24px; bottom: 20px;
  z-index: 2;
}
.profile-frame-caption h4 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 4px;
}
.profile-frame-caption span {
  color: var(--secondary);
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Testimonial avatar */
.t-avatar {
  width: 62px;
  height: 62px;
  min-width: 62px;
  border-radius: 50%;
  background: var(--av-bg, linear-gradient(135deg, #d4a853, #b8922e));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  border: 2px solid rgba(212,168,83,0.5);
  box-shadow: 0 0 24px rgba(212,168,83,0.25);
}

/* Portfolio card image fill */
.project-card img { object-fit: cover; }
.project-tag { font-size: 0.62rem; letter-spacing: 1.5px; }

@media (max-width: 480px) {
  .profile-frame-caption { left: 16px; right: 16px; bottom: 14px; }
}

/* ============================================================
   ENQUIRY NOW — PREMIUM REDESIGNED WELCOME FORM
   ============================================================ */
.enquiry-box {
  max-width: 660px;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  border-radius: 28px;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--secondary-dark) rgba(255, 255, 255, 0.06);
}
.enquiry-box::-webkit-scrollbar { width: 6px; }
.enquiry-box::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.04); border-radius: 6px; }
.enquiry-box::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--secondary), var(--secondary-dark)); border-radius: 6px; }

/* ---- Header / Hero band ---- */
.enquiry-hero {
  position: relative;
  padding: 30px 44px 24px;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(212, 168, 83, 0.18);
  background:
    radial-gradient(ellipse at 15% -10%, rgba(212, 168, 83, 0.28), transparent 55%),
    radial-gradient(ellipse at 90% 110%, rgba(212, 168, 83, 0.18), transparent 55%),
    linear-gradient(160deg, #19193d 0%, #12122e 55%, #0c0c22 100%);
}
.enquiry-hero-shine {
  position: absolute;
  top: -60%;
  left: -30%;
  width: 55%;
  height: 220%;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.06) 45%, transparent 60%);
  transform: rotate(12deg);
  animation: enquiryShine 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes enquiryShine {
  0%, 45% { left: -40%; }
  65%, 100% { left: 130%; }
}
.enquiry-hero-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}
.enquiry-hero-logo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(212, 168, 83, 0.4);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 26px rgba(212, 168, 83, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: loaderMarkFloat 3s ease-in-out infinite;
}
.enquiry-hero-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
}
.enquiry-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: rgba(76, 175, 80, 0.12);
  border: 1px solid rgba(76, 175, 80, 0.3);
  border-radius: 50px;
  color: #6fdc84;
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.enquiry-hero h3 {
  position: relative;
  font-family: var(--font-heading);
  font-size: 1.95rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-light);
  margin-bottom: 10px;
}
.enquiry-hero h3 span {
  display: block;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.25rem;
  letter-spacing: 1.5px;
}
.enquiry-hero-desc {
  position: relative;
  color: var(--text-muted);
  font-size: 0.85rem;
  max-width: 480px;
  margin: 0 auto 16px;
  line-height: 1.8;
}
.enquiry-perks {
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.enquiry-perks span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.7rem;
  letter-spacing: 0.4px;
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 7px 14px;
  border-radius: 50px;
}
.enquiry-perks i { color: var(--secondary); }

/* ---- Form body ---- */
.enquiry-body {
  padding: 26px 44px 34px;
}
.enquiry-field-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.enquiry-field-label i { color: var(--secondary); margin-right: 6px; }
.enquiry-secure {
  margin-top: 14px;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}
.enquiry-secure i { color: var(--secondary); margin-right: 5px; }

/* ---- Interest option cards ---- */
.interest-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 4px;
}
.interest-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  color: var(--text-light);
  transition: var(--transition-fast);
  position: relative;
}
.interest-option:hover {
  border-color: rgba(212, 168, 83, 0.4);
  background: rgba(212, 168, 83, 0.05);
  transform: translateY(-2px);
}
.interest-option.selected {
  border-color: var(--secondary);
  background: rgba(212, 168, 83, 0.1);
  box-shadow: 0 0 0 1px var(--secondary), 0 10px 30px rgba(212, 168, 83, 0.12);
}
.interest-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 11px;
  background: rgba(212, 168, 83, 0.12);
  border: 1px solid rgba(212, 168, 83, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.05rem;
}
.interest-option.selected .interest-icon {
  background: var(--gradient-gold);
  color: var(--primary);
}
.interest-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.interest-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
}
.interest-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.interest-badge {
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  white-space: nowrap;
}
.interest-check {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: transparent;
  transition: var(--transition-fast);
}
.interest-option.selected .interest-check {
  background: var(--gradient-gold);
  border-color: var(--secondary);
  color: var(--primary);
}

/* ---- Enquiry popup responsive ---- */
@media (max-width: 700px) {
  .enquiry-box { max-width: 560px; border-radius: 22px; }
  .enquiry-hero { padding: 26px 24px 20px; }
  .enquiry-hero h3 { font-size: 1.6rem; }
  .enquiry-hero h3 span { font-size: 1.05rem; }
  .enquiry-body { padding: 22px 24px 28px; }
}
@media (max-width: 480px) {
  .enquiry-hero { padding: 22px 18px 18px; }
  .enquiry-hero-top { gap: 10px; }
  .enquiry-hero-logo { width: 48px; height: 48px; }
  .enquiry-hero-img { width: 36px; height: 36px; }
  .enquiry-hero h3 { font-size: 1.35rem; }
  .enquiry-hero h3 span { font-size: 0.92rem; }
  .enquiry-hero-desc { font-size: 0.78rem; }
  .enquiry-perks span { font-size: 0.62rem; padding: 6px 10px; }
  .enquiry-body { padding: 18px 16px 24px; }
  .interest-title { font-size: 0.82rem; }
  .interest-sub { font-size: 0.66rem; }
  .interest-option { padding: 10px 12px; gap: 10px; }
  .interest-icon { width: 36px; height: 36px; min-width: 36px; font-size: 0.9rem; }
}

/* =========================================================
   MRP FINAL FIXES: forms, reviews, floating actions (v61)
   ========================================================= */

/* Preloader failsafe: a JS-triggered hide must never flash back */
#preloader.hidden { animation: none; }

/* SKIP LINK */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--secondary);
  color: var(--primary);
  padding: 10px 18px;
  border-radius: 0 0 12px 0;
  z-index: 999999;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
}
.skip-link:focus { left: 0; top: 0; }

/* ---- FORM EXTRAS ---- */
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.input-wrap { position: relative; }
.input-wrap > i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--secondary);
  font-size: 0.85rem;
  z-index: 2;
  opacity: 0.9;
}
.input-wrap input,
.input-wrap textarea {
  width: 100%;
  padding: 15px 20px 15px 46px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}
.input-wrap input:focus,
.input-wrap textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 30px rgba(212, 168, 83, 0.08);
  background: rgba(255, 255, 255, 0.07);
}
.input-wrap input::placeholder,
.input-wrap textarea::placeholder { color: rgba(255, 255, 255, 0.18); }
.input-wrap.input-wrap-area textarea,
.input-textarea { resize: vertical; min-height: 120px; }

.select-wrap { position: relative; }
.select-wrap > i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--secondary);
  font-size: 0.85rem;
  z-index: 2;
  pointer-events: none;
}
.select-wrap select {
  width: 100%;
  padding: 15px 44px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23d4a853' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}
.select-wrap select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 30px rgba(212, 168, 83, 0.08);
  background-color: rgba(255, 255, 255, 0.07);
}
.select-wrap select option { background: var(--bg-dark); color: var(--text-light); }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 22px;
  cursor: pointer;
  user-select: none;
}
.form-check input { width: 18px; height: 18px; min-width: 18px; margin-top: 4px; accent-color: var(--secondary); cursor: pointer; }
.form-check label { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; cursor: pointer; }

.btn-block { width: 100%; justify-content: center; }
.btn .btn-load { display: none; }
.btn.loading .btn-label { display: none; }
.btn.loading .btn-load { display: inline-flex; align-items: center; gap: 8px; }
.btn.loading { pointer-events: none; opacity: 0.85; }

.form-feedback { display: block; margin-top: 14px; font-size: 0.85rem; font-weight: 500; min-height: 1.4em; }
.form-feedback.success { color: #4caf50; }
.form-feedback.error { color: #ff6b6b; }

.form-counter { display: block; text-align: right; font-size: 0.68rem; color: var(--text-muted); margin-top: 6px; }

/* ---- CONTACT LAYOUT ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.contact-info { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 20px 22px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.contact-card:hover { border-color: rgba(212, 168, 83, 0.3); transform: translateY(-3px); }
.cc-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 12px;
  background: rgba(212, 168, 83, 0.1);
  border: 1px solid rgba(212, 168, 83, 0.25);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.cc-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cc-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 1.2px; color: var(--text-muted); }
.cc-value { font-size: 0.92rem; color: var(--text-light); text-decoration: none; font-weight: 500; }
.cc-value:hover { color: var(--secondary); }
.contact-map { margin-top: 4px; border-radius: 16px; overflow: hidden; border: 1px solid var(--glass-border); }
.contact-map iframe { width: 100%; }

.form-title { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 6px; }
.form-title i { color: var(--secondary); }
.form-sub { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 26px; }
.contact-form-wrap { min-width: 0; }

/* ---- REVIEWS ---- */
.section-reviews { background: var(--bg-light); }
.reviews-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto 40px;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 22px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.review-card:hover { border-color: rgba(212, 168, 83, 0.3); transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.review-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.review-avatar {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: var(--primary);
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.review-meta { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.review-name { font-size: 0.92rem; font-weight: 600; color: var(--text-light); }
.review-time { font-size: 0.7rem; color: var(--text-muted); }
.review-stars { color: var(--secondary); font-size: 0.7rem; display: flex; gap: 3px; }
.review-text { font-size: 0.86rem; color: var(--text-muted); line-height: 1.8; }
.reviews-loading { grid-column: 1 / -1; text-align: center; padding: 40px 20px; color: var(--text-muted); display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 0.9rem; }
.spinner-ring { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(212, 168, 83, 0.25); border-top-color: var(--secondary); animation: spinRing 0.8s linear infinite; display: inline-block; }
@keyframes spinRing { to { transform: rotate(360deg); } }

.review-form-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  padding: 34px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
}
.review-form-head { text-align: center; margin-bottom: 24px; }
.review-form-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(212, 168, 83, 0.1);
  border: 1px solid rgba(212, 168, 83, 0.25);
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.review-form-head h4 { font-family: var(--font-heading); font-size: 1.3rem; margin-bottom: 4px; }
.review-form-head p { font-size: 0.8rem; color: var(--text-muted); }
.review-form { display: flex; flex-direction: column; gap: 4px; }
.review-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.review-form-note { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; color: var(--text-muted); margin: 4px 0 18px; }
.review-form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.review-feedback { font-size: 0.85rem; font-weight: 500; min-height: 1.4em; }
.review-feedback.success { color: #4caf50; }
.review-feedback.error { color: #ff6b6b; }

/* ---- COUNTDOWN BLOCK (Current Project) ---- */
.countdown-block { margin-top: 26px; text-align: center; }
.countdown-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary);
  margin-bottom: 14px;
}
#current .countdown-grid { gap: 14px; }
#current .countdown-item { min-width: 96px; padding: 18px 12px; }
#current .countdown-number { font-size: 2.2rem; }

/* ---- FOOTER DIVIDER ---- */
.section-divider-top-footer { position: relative; z-index: 1; margin-top: -1px; line-height: 0; }
.section-divider-top-footer svg { display: block; width: 100%; height: 110px; }

/* ---- RESPONSIVE FOR NEW BLOCKS ---- */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row-2, .review-form-row { grid-template-columns: 1fr; }
  .reviews-list { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  #current .countdown-item { min-width: 68px; padding: 14px 8px; }
  #current .countdown-number { font-size: 1.5rem; }
  #current .countdown-label { font-size: 0.58rem; letter-spacing: 1.5px; }
  .review-form-wrap { padding: 24px 18px; }
  .contact-form { padding: 26px 20px; }
  .floating-actions { right: 14px; bottom: 16px; gap: 10px; }
  .floating-actions .fab { width: 46px; height: 46px; font-size: 1.1rem; }
}

/* ---- PROJECT PROGRESS STRIP (Current: Block B) ---- */
.project-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.progress-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.progress-chip:hover { transform: translateY(-3px); border-color: rgba(255, 183, 3, 0.4); }
.progress-chip-icon {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(255, 183, 3, 0.06));
  color: #ffc107;
  font-size: 1.05rem;
}
.progress-chip-info { display: flex; flex-direction: column; line-height: 1.4; text-align: left; }
.progress-chip-info strong { font-size: 0.82rem; letter-spacing: 0.3px; }
.progress-chip-info span { font-size: 0.7rem; color: var(--secondary); opacity: 0.85; }
@media (max-width: 760px) { .project-progress { grid-template-columns: 1fr; } }

/* ---- COUNTDOWN (Upcoming Villas) ---- */
#upcoming .countdown-grid { gap: 14px; justify-content: center; }
#upcoming .countdown-item { min-width: 96px; padding: 18px 12px; }
#upcoming .countdown-number { font-size: 2.2rem; }
@media (max-width: 520px) {
  #upcoming .countdown-item { min-width: 68px; padding: 14px 8px; }
  #upcoming .countdown-number { font-size: 1.5rem; }
  #upcoming .countdown-label { font-size: 0.58rem; letter-spacing: 1.5px; }
}

/* ============================================================
   WELCOME FORM — ENHANCED DESIGN & ANIMATION
   ============================================================ */
.enquiry-hero {
  padding: 32px 44px 26px;
  background:
    radial-gradient(ellipse at 15% -10%, rgba(212, 168, 83, 0.32), transparent 55%),
    radial-gradient(ellipse at 90% 110%, rgba(212, 168, 83, 0.2), transparent 55%),
    linear-gradient(160deg, #1b1b46 0%, #131334 55%, #0d0d24 100%);
}
.enquiry-hero-top {
  flex-direction: column;
  align-items: center;
  gap: 13px;
  margin-bottom: 20px;
}
.enquiry-hero-top h3 { margin-bottom: 0; }
.enquiry-hero-logo {
  width: 96px;
  height: 96px;
  border-width: 2px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 40px rgba(212, 168, 83, 0.35), inset 0 0 22px rgba(212, 168, 83, 0.12);
  animation: enquiryLogoFloat 3.4s ease-in-out infinite;
}
.enquiry-hero-img {
  width: 76px;
  height: 76px;
}
.enquiry-logo-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px dashed rgba(212, 168, 83, 0.55);
  animation: enquiryRingSpin 14s linear infinite;
}
.enquiry-logo-ring::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -4px;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 10px rgba(212, 168, 83, 0.9);
}
.enquiry-hero-badge {
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.18), rgba(212, 168, 83, 0.05));
  border-color: rgba(212, 168, 83, 0.45);
  color: var(--secondary);
  box-shadow: 0 6px 20px rgba(212, 168, 83, 0.12);
}
.enquiry-hero h3 {
  font-size: 2.05rem;
  margin-bottom: 4px;
}
.enquiry-founder {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin: 2px auto 16px;
  padding: 11px 26px 13px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.25);
}
.enquiry-founder-role {
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.enquiry-founder-role i { color: var(--secondary); font-size: 0.72rem; }
.enquiry-founder-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  line-height: 1;
  letter-spacing: 0.5px;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.enquiry-spark {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 199, 7, 0.95), rgba(212, 168, 83, 0));
  opacity: 0;
  pointer-events: none;
  animation: enquirySpark 6s ease-in-out infinite;
}
.enquiry-spark.s1 { top: 16%; left: 10%; animation-delay: 0.4s; }
.enquiry-spark.s2 { top: 26%; right: 12%; animation-delay: 2.1s; }
.enquiry-spark.s3 { bottom: 20%; left: 20%; animation-delay: 3.6s; }
@keyframes enquirySpark {
  0%, 100% { transform: translateY(0) scale(0.6); opacity: 0; }
  18% { opacity: 0.9; }
  50% { transform: translateY(-24px) scale(1); opacity: 0.35; }
  82% { opacity: 0; }
}
@keyframes enquiryLogoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes enquiryRingSpin { to { transform: rotate(360deg); } }

/* Staggered entry animation when the welcome form opens */
.enquiry-modal.open .enquiry-hero-top { animation: enquiryIn 0.6s ease both; }
.enquiry-modal.open .enquiry-hero h3 { animation: enquiryIn 0.6s 0.12s ease both; }
.enquiry-modal.open .enquiry-founder { animation: enquiryIn 0.6s 0.24s ease both; }
.enquiry-modal.open .enquiry-hero-desc { animation: enquiryIn 0.6s 0.36s ease both; }
.enquiry-modal.open .enquiry-perks { animation: enquiryIn 0.6s 0.48s ease both; }
@keyframes enquiryIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Interest options — two-column on roomier screens */
@media (min-width: 600px) {
  .interest-options { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .enquiry-hero { padding: 26px 20px 22px; }
  .enquiry-hero-logo { width: 78px; height: 78px; }
  .enquiry-hero-img { width: 62px; height: 62px; }
  .enquiry-hero h3 { font-size: 1.5rem; }
  .enquiry-founder-name { font-size: 1.18rem; }
  .enquiry-spark { display: none; }
}

/* ============================================================
   NAVBAR — FINAL SPACING, VISIBILITY & POLISH (all devices)
   ============================================================ */
.nav-container {
  gap: clamp(20px, 3vw, 48px);
}
.nav-logo {
  flex: 0 0 auto;
  margin: 0 10px 0 0;
  color: var(--secondary);
  letter-spacing: 0.4px;
}
.nav-logo img { flex: none; }
.nav-links {
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-end;
  margin-left: 0;
}
.nav-toggle { flex: 0 0 auto; margin-left: 16px; }

/* Never let brand + links bleed into each other on wide screens */
@media (min-width: 769px) {
  .nav-container { overflow: hidden; }
  .navbar { padding: 30px 48px; }
  .navbar.scrolled { padding: 13px 48px; }
}

/* Laptops & slim desktop */
@media (min-width: 769px) and (max-width: 1350px) {
  .navbar { padding: 20px 30px; }
  .navbar.scrolled { padding: 12px 30px; }
  .logo-img { height: 40px; max-width: 160px; }
  .nav-links { gap: clamp(10px, 1.4vw, 18px); }
  .nav-links a { font-size: 0.7rem; letter-spacing: 0.9px; }
  .nav-cta { padding: 9px 17px; font-size: 0.74rem !important; white-space: nowrap; }
}

/* Small laptops / tablets landscape — keep it airy right to 769px */
@media (min-width: 769px) and (max-width: 1024px) {
  .navbar { padding: 14px 22px; }
  .navbar.scrolled { padding: 11px 22px; }
  .logo-img { height: 34px; max-width: 140px; }
  .nav-logo { gap: 9px; font-size: 1.22rem; }
  .nav-links a { font-size: 0.66rem; letter-spacing: 0.5px; }
  .nav-cta { padding: 8px 14px; font-size: 0.69rem !important; }
}

/* Brand always sits a touch above the fold, crisp on any surface */
.nav-logo:hover { transform: translateY(-1px); }
.nav-logo img { border-radius: 6px; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35); }

/* ============================================================
   SPLASH SCREEN — CIRCLE LOGO DESIGN (form-style ring)
   ============================================================ */
.enquiry-hero-logo { position: relative; }
.loader-logo-mark { position: relative; }
.loader-ring {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px dashed rgba(212, 168, 83, 0.55);
  animation: enquiryRingSpin 14s linear infinite;
  pointer-events: none;
}
.loader-ring::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -4px;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 10px rgba(212, 168, 83, 0.9);
}

/* ---- Splash founder line: role above, name below ---- */
.loader-about {
  margin: 16px auto 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  opacity: 0;
  animation: loaderFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards;
}
.loader-role {
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 300;
}
.loader-role i { font-size: 0.8rem; }
.loader-name {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: 1.5px;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   REVIEWS — REALTIME WALL & UNIQUE POSTER
   ============================================================ */
/* ---- Live stats dash ---- */
.reviews-stats {
  max-width: 1200px;
  margin: 0 auto 26px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}
.stats-head { display: flex; align-items: center; gap: 18px; }
.stats-big {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  line-height: 1;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stats-meta { display: flex; flex-direction: column; gap: 4px; }
.stats-stars { display: flex; gap: 2px; font-size: 0.9rem; }
.stats-stars .fas { color: var(--secondary); }
.stats-stars .far { color: rgba(212, 168, 83, 0.35); }
.stats-count { font-size: 0.78rem; color: var(--text-muted); }
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(212, 168, 83, 0.9);
  background: rgba(212, 168, 83, 0.12);
  border: 1px solid rgba(212, 168, 83, 0.3);
  border-radius: 999px;
  padding: 8px 14px;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4caf50;
  box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.6);
  animation: livePing 1.8s ease-out infinite;
}
@keyframes livePing {
  0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.6); }
  70% { box-shadow: 0 0 0 9px rgba(76, 175, 80, 0); }
  100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

/* ---- Review cards (realtime) ---- */
.review-when { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 0.68rem; color: var(--text-muted); letter-spacing: 0.4px; }
.review-card { position: relative; overflow: hidden; }
.review-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--secondary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.review-card:hover::before { opacity: 1; }
.review-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
  border: 1px dashed rgba(212, 168, 83, 0.4);
  border-radius: 18px;
  background: var(--bg-card);
}
.review-empty i { font-size: 2rem; color: var(--secondary); margin-bottom: 12px; display: block; opacity: 0.6; }
.review-empty p { font-size: 0.9rem; }

/* ---- Unique poster wrapper ---- */
.review-post-wrap {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 46px 10px 10px;
}
.poster-mark {
  position: absolute;
  font-family: Georgia, serif;
  font-size: 7rem;
  line-height: 1;
  color: rgba(212, 168, 83, 0.12);
  pointer-events: none;
  z-index: 0;
  top: 22px; left: 6px;
  animation: posterDrift 7s ease-in-out infinite;
}
.poster-mark-end {
  top: auto; left: auto;
  right: 6px; bottom: 10px;
  animation-delay: 2.5s;
}
.poster-quill {
  position: absolute;
  top: -6px; right: 34px;
  font-size: 1rem;
  color: var(--secondary);
  pointer-events: none;
  animation: quillSway 4s ease-in-out infinite;
  opacity: 0.85;
  z-index: 2;
}
@keyframes posterDrift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes quillSway {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50% { transform: rotate(8deg) translateY(-6px); }
}
.poster-ribbon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-gold);
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 6px 18px rgba(212, 168, 83, 0.35);
  z-index: 2;
  white-space: nowrap;
}

/* ---- The poster itself ---- */
.review-poster {
  position: relative;
  z-index: 1;
  background: linear-gradient(160deg, rgba(13, 17, 23, 0.96), rgba(23, 29, 40, 0.97));
  border-radius: 24px;
  padding: 36px 38px 34px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 24px 60px rgba(0, 0, 0, 0.35);
  border-left: 3px solid var(--secondary);
  border-right: 3px solid var(--secondary);
  backdrop-filter: blur(12px);
}
.review-poster::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(212, 168, 83, 0.2);
  border-radius: 16px;
  pointer-events: none;
  z-index: 0;
}
.review-poster * { position: relative; z-index: 1; }
.poster-head { text-align: center; margin-bottom: 26px; }
.poster-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  background: var(--gradient-gold);
  box-shadow: 0 10px 24px rgba(212, 168, 83, 0.4);
  margin-bottom: 14px;
  animation: posterDrift 5s ease-in-out infinite;
}
.poster-head h4 { font-family: var(--font-heading); font-size: 1.5rem; letter-spacing: 1px; }
.poster-head p { font-size: 0.8rem; color: var(--text-muted); margin-top: 6px; }

/* ---- Star picker (click to fill) ---- */
.rating-group { margin-top: 6px; }
.rating-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
}
.star-rating { display: inline-flex; flex-direction: row; direction: ltr; gap: 4px; }
.star-btn {
  background: none;
  border: none;
  padding: 2px;
  font-size: 1.55rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: transform 0.16s ease, color 0.16s ease, text-shadow 0.16s ease;
}
.star-btn:hover { transform: scale(1.22) rotate(-6deg); }
.star-btn.is-on {
  color: var(--secondary);
  text-shadow: 0 0 14px rgba(212, 168, 83, 0.6);
  animation: starPop 0.3s ease;
}
@keyframes starPop {
  0% { transform: scale(1); }
  60% { transform: scale(1.3); }
  100% { transform: scale(1); }
}
.rating-state {
  font-size: 0.78rem;
  color: var(--text-muted);
  border-left: 2px solid rgba(212, 168, 83, 0.4);
  padding-left: 12px;
  letter-spacing: 0.3px;
}
@media (max-width: 560px) {
  .rating-row { padding: 12px; }
  .rating-state { border-left: none; padding-left: 0; width: 100%; }
}
@media (max-width: 720px) {
  .reviews-stats { padding: 14px 18px; }
  .stats-big { font-size: 2rem; }
  .review-poster { padding: 30px 20px; }
  .poster-ribbon { font-size: 0.6rem; letter-spacing: 2px; padding: 9px 16px; }
}

/* ---- Review textarea: fixed size (no drag resize) ---- */
#reviewForm .form-group .input-textarea textarea {
  height: 150px;
  min-height: 0;
  max-height: 150px;
  resize: none;
}

/* ============================================================
   NAVBAR — GUARANTEED SPACE RIGHT OF THE BUILDER NAME (all devices)
   Keeps the nav links from ever collapsing into the brand.
   ============================================================ */
@media (min-width: 769px) {
  .nav-links { margin-left: clamp(40px, 4.5vw, 84px); }
  .nav-logo { margin-right: 0; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .nav-links { margin-left: clamp(28px, 3.5vw, 44px); }
}

/* ============================================================
   NAVBAR — FINAL: space after "Manohar Reddy" + NO collapse/merge
   ============================================================ */
@media (min-width: 769px) {
  .nav-container { gap: clamp(18px, 2.4vw, 40px); }
  .nav-logo { flex: 0 0 auto; margin: 0 clamp(10px, 1.2vw, 18px) 0 0; padding-right: clamp(6px, 0.8vw, 14px); }
  .nav-links {
    flex: 0 1 auto;
    min-width: 0;
    margin-left: clamp(10px, 1.4vw, 26px);
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links > li { flex: none; }
}
@media (min-width: 769px) and (max-width: 1200px) {
  .nav-links { margin-left: clamp(8px, 1.6vw, 22px); }
  .nav-links a { letter-spacing: 0.6px; }
}@media (min-width: 1201px) {
  .nav-links { margin-left: clamp(14px, 2.2vw, 40px); }
}

/* ============================================================
   WHATSAPP DELIVERY — form/review "Get it on WhatsApp" actions
   ============================================================ */
.toast-wa {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 10px;
  background: #25d366;
  color: #fff;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease;
  vertical-align: middle;
}
.toast-wa:hover { transform: translateY(-2px); color: #fff; }
.wa-fb {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  color: #25d366;
  font-weight: 700;
  font-size: 0.8rem;
  text-decoration: none;
  border-bottom: 1px dashed rgba(37, 211, 102, 0.5);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.wa-fb:hover { color: #1da851; border-color: #1da851; }

/* ============================================================
   LIVE UPDATE BAR — realtime announcements from Supabase
   ============================================================ */
.live-bar {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 9997;
  max-width: 360px;
  width: calc(100% - 120px);
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid rgba(212, 168, 83, 0.35);
  border-left: 3px solid var(--secondary);
  border-radius: 14px;
  padding: 14px 40px 14px 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.live-bar.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.live-bar.pulse {
  animation: liveFlash 1.2s ease 2;
}
@keyframes liveFlash {
  0%, 100% { box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45); }
  50% { box-shadow: 0 0 0 4px rgba(212, 168, 83, 0.35), 0 18px 50px rgba(0, 0, 0, 0.45); }
}
.live-bar-dot {
  position: absolute;
  top: 14px;
  right: 40px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4caf50;
  box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.6);
  animation: livePing 1.8s ease-out infinite;
}
.live-title { font-size: 0.8rem; font-weight: 700; color: var(--text-light); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.live-badge {
  background: var(--gradient-gold);
  color: var(--primary);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.live-msg { font-size: 0.78rem; color: var(--text-muted); line-height: 1.6; }
.live-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  z-index: 2;
}
.live-close:hover { background: rgba(212, 168, 83, 0.2); color: var(--secondary); }
/* Keep the offers bar clear of the WhatsApp FABs on all mid/small screens */
@media (min-width: 561px) and (max-width: 980px) {
  .live-bar { max-width: min(360px, calc(100vw - 150px)); }
}
@media (max-width: 560px) {
  .live-bar {
    left: 13px;
    bottom: 84px;              /* above the WhatsApp FABs — no overlap, close always tappable */
    width: calc(100% - 26px);
    max-width: none;
    padding: 13px 42px 13px 16px;
    border-radius: 16px;
  }
  .live-close { top: 12px; right: 12px; width: 34px; height: 34px; font-size: 0.9rem; background: rgba(255, 255, 255, 0.09); }
  .live-bar-dot { right: 44px; top: 15px; }
  .live-title { font-size: 0.78rem; }
  .live-msg { font-size: 0.76rem; }
}
/* FABs always sit above transient overlays */
.floating-actions { z-index: 9999; }

/* ============================================================
   LOGO POPUP — close X INSIDE the frame + admin upgrades
   ============================================================ */
.logo-modal-close {
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  background: rgba(0, 0, 0, 0.45);
  color: var(--secondary);
  border: 1px solid rgba(212, 168, 83, 0.45);
  z-index: 3;
  font-size: 0.9rem;
}
.logo-modal-close:hover { background: rgba(212, 168, 83, 0.25); color: #fff; }
.logo-frame { padding-top: 50px; }

/* ============================================================
   ADMIN — REVIEWS MODERATION
   ============================================================ */
.reviews-admin-box {
  position: relative;
  width: min(760px, 95vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 22px;
  border-radius: 24px;
  text-align: left;
  background: linear-gradient(160deg, var(--bg-card), #0b0b26);
  border: 1px solid rgba(212, 168, 83, 0.25);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  animation: popIn 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}
.reviews-admin-head { padding-right: 46px; margin-bottom: 14px; }
.reviews-admin-head h3 { font-family: var(--font-heading); font-size: 1.35rem; margin-bottom: 4px; }
.reviews-admin-head p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; margin: 0; }
.reviews-admin-head .admin-modal-close { top: 16px; right: 16px; }
.reviews-admin-list {
  flex: 1 1 auto;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 2px 6px 12px 2px;
  min-height: 120px;
  max-height: 58vh;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 168, 83, 0.35) transparent;
}
.reviews-admin-list::-webkit-scrollbar { width: 6px; }
.reviews-admin-list::-webkit-scrollbar-thumb { background: rgba(212, 168, 83, 0.3); border-radius: 9px; }
.ra-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.ra-item.hidden-review { opacity: 0.55; border-style: dashed; }
.ra-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ra-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  background: var(--gradient-gold);
}
.ra-meta { flex: 1 1 auto; min-width: 120px; }
.ra-name { font-size: 0.86rem; font-weight: 700; display: block; }
.ra-time { font-size: 0.7rem; color: var(--text-muted); }
.ra-stars { color: var(--secondary); font-size: 0.8rem; }
.ra-text { font-size: 0.82rem; color: var(--text-light); line-height: 1.6; }
.ra-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.ra-btn {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: inherit;
}
.ra-btn i { margin-right: 5px; }
.ra-btn:hover { border-color: rgba(212, 168, 83, 0.5); background: rgba(212, 168, 83, 0.1); }
.ra-hide:hover { border-color: rgba(255, 170, 60, 0.7); background: rgba(255, 170, 60, 0.12); }
.ra-del:hover { border-color: rgba(255, 107, 107, 0.7); background: rgba(255, 107, 107, 0.14); }
.ra-del i { color: #ff8585; }
.reviews-admin-empty { font-size: 0.85rem; color: var(--text-muted); text-align: center; padding: 30px 10px; }
.reviews-admin-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.reviews-admin-count { font-size: 0.74rem; color: var(--text-muted); }

/* ============================================================
   ADMIN — IMAGE SIZE EDITOR (drag width/height) + resize corner
   ============================================================ */
.img-edit-sizes { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); }
.img-edit-sizes-title { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 700; color: var(--secondary); letter-spacing: 0.4px; margin-bottom: 10px; text-transform: uppercase; }
.img-edit-size-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.img-edit-size-row label { width: 58px; font-size: 0.72rem; color: var(--text-muted); flex: none; }
.img-edit-size-row input[type="range"] { flex: 1 1 auto; height: 5px; accent-color: var(--secondary); cursor: grab; }
.img-edit-size-row input[type="range"]:active { cursor: grabbing; }
.img-edit-size-val { width: 56px; text-align: right; font-size: 0.72rem; color: var(--secondary); font-weight: 700; }
.img-edit-size-tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.img-edit-lock { display: inline-flex; align-items: center; gap: 6px; font-size: 0.72rem; color: var(--text-muted); cursor: pointer; }
.img-edit-lock input { accent-color: var(--secondary); }
.img-edit-size-tools select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-light);
  font-family: inherit;
  font-size: 0.72rem;
  padding: 6px 8px;
  border-radius: 10px;
  outline: none;
  cursor: pointer;
}
/* On-page resize corner: image outline shows editability; dragging the corner resizes */
body.admin-editing .edit-img { position: relative; background-image: linear-gradient(135deg, transparent 78%, rgba(77, 171, 247, 0.5)); }
body.admin-editing .edit-img { background-size: 110% 110%; background-repeat: no-repeat; background-position: bottom right; }
.rz-hint {
  position: fixed;
  z-index: 1400;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--primary);
  background: var(--gradient-gold);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.rz-hint.show { opacity: 1; }

/* ============================================================
   NAVBAR — FINAL: space after "Manohar Reddy" + NO collapse/merge
   ============================================================ */
@media (min-width: 769px) {
  .nav-container { gap: clamp(18px, 2.4vw, 40px); }
  .nav-logo { flex: 0 0 auto; margin: 0 clamp(10px, 1.2vw, 18px) 0 0; padding-right: clamp(6px, 0.8vw, 14px); }
  .nav-links {
    flex: 0 1 auto;
    min-width: 0;
    margin-left: clamp(10px, 1.4vw, 26px);
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links > li { flex: none; }
}
@media (min-width: 769px) and (max-width: 1200px) {
  .nav-links { margin-left: clamp(8px, 1.6vw, 22px); }
  .nav-links a { letter-spacing: 0.6px; }
}
@media (min-width: 1201px) {
  .nav-links { margin-left: clamp(14px, 2.2vw, 40px); }
}

/* ============================================================
   PROFILE / ADMIN / LOGO-POPUP — CMS & DRIVE-VIEWER UI
   ============================================================ */
.profile-btn {
  margin-left: 14px;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(212, 168, 83, 0.35);
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.16), rgba(212, 168, 83, 0.05));
  color: var(--secondary);
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.profile-btn:hover { transform: translateY(-2px); border-color: var(--secondary); box-shadow: 0 0 0 4px rgba(212, 168, 83, 0.12); }
.profile-btn.admin-on { background: var(--secondary); color: var(--primary); border-color: var(--secondary); }

/* ---- Logo popup frame ---- */
.logo-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(3, 3, 14, 0.86);
  backdrop-filter: blur(10px);
}
.logo-modal.active { display: flex; animation: modalFade 0.35s ease both; }
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
.logo-modal-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(212, 168, 83, 0.4);
  background: rgba(255, 255, 255, 0.04);
  color: var(--secondary);
  font-size: 1.15rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  z-index: 2;
}
.logo-modal-close:hover { background: rgba(212, 168, 83, 0.18); transform: rotate(90deg); }
.logo-frame {
  position: relative;
  width: min(420px, 92vw);
  padding: 44px 40px 38px;
  text-align: center;
  border-radius: 24px;
  background: linear-gradient(160deg, var(--bg-card), #0b0b26);
  border: 1px solid rgba(212, 168, 83, 0.25);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 0 60px rgba(212, 168, 83, 0.05);
  animation: popIn 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}
@keyframes popIn { from { opacity: 0; transform: scale(0.88) translateY(16px); } to { opacity: 1; transform: none; } }
.logo-frame-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(212, 168, 83, 0.7);
  box-shadow: inset 0 0 26px rgba(212, 168, 83, 0.12);
  animation: spinSlow 14s linear infinite;
  pointer-events: none;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
.logo-frame img {
  position: absolute;
  inset: 11px;
  width: calc(100% - 22px);
  height: calc(100% - 22px);
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid rgba(212, 168, 83, 0.5);
  box-shadow: 0 0 34px rgba(212, 168, 83, 0.35);
  background: #fff;
  padding: 12px;
}
.logo-frame-emblem {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 22px;
  border-radius: 50%;
}
.logo-frame-brand {
  display: block;
  margin-top: 26px;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  letter-spacing: 1px;
}
.logo-frame-sub { display: block; margin-top: 8px; font-size: 0.78rem; color: var(--text-muted); letter-spacing: 2px; text-transform: uppercase; }
.logo-frame-role {
  display: inline-block;
  margin-top: 12px;
  padding: 7px 22px;
  border-radius: 999px;
  background: var(--gradient-gold);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(212, 168, 83, 0.3);
}

/* ---- Admin login modal ---- */
.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(3, 3, 14, 0.88);
  backdrop-filter: blur(10px);
}
.admin-modal.active { display: flex; animation: modalFade 0.35s ease both; }
.admin-modal-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(212, 168, 83, 0.4);
  background: rgba(255, 255, 255, 0.04);
  color: var(--secondary);
  cursor: pointer;
  z-index: 2;
  transition: var(--transition-fast);
}
.admin-modal-close:hover { background: rgba(212, 168, 83, 0.18); transform: rotate(90deg); }
.admin-box {
  width: min(430px, 94vw);
  padding: 38px 34px 30px;
  border-radius: 24px;
  text-align: center;
  background: linear-gradient(160deg, var(--bg-card), #0b0b26);
  border: 1px solid rgba(212, 168, 83, 0.25);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  animation: popIn 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}
.admin-box-icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--secondary);
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.2), rgba(212, 168, 83, 0.06));
  border: 1px solid rgba(212, 168, 83, 0.4);
}
.admin-box h3 { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 10px; }
.admin-box-sub { font-size: 0.82rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 22px; }
.admin-field {
  position: relative;
  margin-bottom: 18px;
}
.admin-field i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
}
.admin-field input {
  width: 100%;
  padding: 14px 16px 14px 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-fast);
}
.admin-field input:focus { border-color: var(--secondary); box-shadow: 0 0 0 4px rgba(212, 168, 83, 0.15); }
.admin-login-btn { width: 100%; justify-content: center; }
.admin-msg { min-height: 18px; font-size: 0.78rem; margin-top: 12px; }
.admin-msg.ok { color: #4caf50; }
.admin-msg.err { color: #ff6b6b; }

/* ---- Admin toolbar ---- */
.admin-toolbar {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 1350;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(8, 8, 26, 0.92);
  border: 1px solid rgba(212, 168, 83, 0.35);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.6);
  max-width: calc(100vw - 24px);
  flex-wrap: wrap;
  justify-content: center;
}
.admin-tb-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 12px rgba(212, 168, 83, 0.8);
  animation: pulse 1.6s infinite;
  flex: none;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.admin-tb-title { font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.5px; padding: 0 6px; white-space: nowrap; }
.admin-tb-title b, .admin-tb-title span { color: var(--secondary); }
.admin-tb-btn {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
  font-family: inherit;
}
.admin-tb-btn i { color: var(--secondary); margin-right: 5px; }
.admin-tb-btn:hover { border-color: rgba(212, 168, 83, 0.5); background: rgba(212, 168, 83, 0.1); }
.admin-tb-save {
  background: linear-gradient(135deg, var(--secondary), #c98f3a);
  color: var(--primary);
  border-color: transparent;
  font-weight: 700;
}
.admin-tb-save i { color: var(--primary); }
.admin-tb-save:hover { box-shadow: 0 6px 20px rgba(212, 168, 83, 0.4); }
.admin-tb-btn.save-pulse { animation: pulse 0.9s ease 3; }
.admin-tb-reset:hover { border-color: rgba(255, 107, 107, 0.6); background: rgba(255, 107, 107, 0.12); }
.admin-tb-reset i { color: #ff8585; }
.admin-tb-logout:hover { border-color: rgba(255, 107, 107, 0.6); background: rgba(255, 107, 107, 0.12); }
.admin-tb-logout i { color: #ff8585; }

/* When logged out, the toolbar/hint must NOT show — `hidden` wins over display:flex */
.admin-toolbar[hidden],
.admin-hint[hidden] { display: none; }

/* ---- Edit mode ---- */
body.admin-editing .edit-target {
  outline: 2px dashed rgba(212, 168, 83, 0.5);
  outline-offset: 3px;
  border-radius: 4px;
  min-width: 20px;
  cursor: text;
  transition: outline-color 0.2s ease, background 0.2s ease;
}
body.admin-editing .edit-target:hover { outline-color: var(--secondary); background: rgba(212, 168, 83, 0.08); }
body.admin-editing .edit-target:focus { outline: 2px solid var(--secondary); background: rgba(212, 168, 83, 0.1); }
body.admin-editing .edit-img {
  outline: 2px dashed rgba(77, 171, 247, 0.55);
  outline-offset: 4px;
  cursor: pointer;
  border-radius: 8px;
  transition: outline-color 0.2s ease, filter 0.2s ease;
  position: relative;
}
body.admin-editing .edit-img:hover { outline-color: #4dabf7; filter: brightness(1.06); }
body.admin-editing .admin-hint {
  position: fixed;
  right: 14px;
  top: 88px;
  z-index: 1300;
  font-size: 0.68rem;
  color: var(--secondary);
  background: rgba(8, 8, 26, 0.9);
  border: 1px solid rgba(212, 168, 83, 0.3);
  padding: 7px 12px;
  border-radius: 999px;
  pointer-events: none;
}

/* ---- Image source editor modal (Drive / URL) ---- */
.img-edit-overlay {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(3, 3, 14, 0.88);
  backdrop-filter: blur(10px);
}
.img-edit-overlay.active { display: flex; }
.img-edit-box {
  width: min(520px, 94vw);
  padding: 30px;
  border-radius: 22px;
  background: linear-gradient(160deg, var(--bg-card), #0b0b26);
  border: 1px solid rgba(212, 168, 83, 0.25);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  animation: popIn 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}
.img-edit-box h4 { font-family: var(--font-heading); font-size: 1.25rem; margin-bottom: 6px; }
.img-edit-box p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.img-edit-preview { max-height: 170px; max-width: 100%; margin: 12px auto; border-radius: 12px; display: block; border: 1px solid rgba(212, 168, 83, 0.2); }
.img-edit-field {
  position: relative;
  display: flex;
  align-items: center;
}
.img-edit-field i { position: absolute; left: 13px; color: var(--text-muted); font-size: 0.85rem; }
.img-edit-field input {
  width: 100%;
  padding: 12px 14px 12px 38px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  font-family: inherit;
  font-size: 0.85rem;
  outline: none;
}
.img-edit-field input:focus { border-color: var(--secondary); box-shadow: 0 0 0 4px rgba(212, 168, 83, 0.15); }
.img-edit-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.img-edit-actions .btn { flex: 1; justify-content: center; }

@media (max-width: 640px) {
  .admin-toolbar { border-radius: 20px; }
  .admin-tb-btn { padding: 7px 10px; font-size: 0.66rem; }
  .profile-btn { width: 40px; height: 40px; margin-left: 8px; }
}

/* =============================================================
   PORTFOLIO CARDS — FULL-IMAGE REDESIGN (no cropping, great look)
   Image sits on top fully visible; info flows cleanly below.
   ============================================================= */
.project-card {
  height: auto;
  padding: 12px 12px 20px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(15, 15, 42, 0.9) 100%);
  border: 1px solid rgba(212, 168, 83, 0.1);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
}
.project-card::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(212, 168, 83, 0.08);
  border-radius: 14px;
  pointer-events: none;
}
.project-card .project-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 250px;
  flex: none;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-dark);
  border: 1px solid rgba(212, 168, 83, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.project-card .project-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 14px 10px;
  background: transparent;
  transform: none;
  transition: transform 0.6s ease;
}
.project-card:hover .project-img img { transform: scale(1.045); }
.project-card .project-overlay {
  position: relative;
  inset: auto;
  z-index: 1;
  background: none;
  padding: 18px 6px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 9px;
}
.project-card:hover .project-overlay { background: none; }
.project-card .project-tag { margin-bottom: 0; }
.project-card .project-title { font-size: 1.35rem; margin-bottom: 0; text-align: left; }
.project-card .project-desc {
  transform: none;
  opacity: 1;
  position: relative;
  font-size: 0.87rem;
  margin: 0;
  text-align: left;
  max-width: 100%;
}
.project-card .explore-btn {
  margin-top: 6px;
  align-self: flex-start;
  font-size: 0.72rem;
  padding: 9px 18px;
}
.project-card:hover .project-desc { transform: none; opacity: 1; }
.project-card:hover { transform: translateY(-8px); }

@media (max-width: 1024px) {
  .project-card .project-img { height: 225px; }
}
@media (max-width: 768px) {
  .project-card .project-img { height: 210px; }
}
@media (max-width: 560px) {
  .project-card .project-img { height: 190px; }
  .project-card .project-title { font-size: 1.2rem; }
  .project-card .project-desc { font-size: 0.82rem; }
}

/* ============================================================
   HERO BACKGROUND VIDEO (construction video, muted auto-loop)
   ============================================================ */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
  z-index: 0;
  pointer-events: none;
  background: #06060f;
}
.hero.has-video .hero-video { opacity: 1; }
/* keep decorative layers above the video but below the text (absolutely positioned, out of flow) */
.hero-overlay, .hero-particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-overlay { background: linear-gradient(180deg, rgba(5,5,16,0.55) 0%, rgba(5,5,16,0.3) 45%, rgba(5,5,16,0.72) 100%); }
.hero-scroll { position: absolute; z-index: 3; }
@media (prefers-reduced-motion: reduce) {
  .hero.has-video .hero-video { opacity: 0; }
}
@media (max-width: 640px) {
  .hero-video { object-fit: cover; }
}

/* ============================================================
   ADMIN EDIT MODE — link & icon affordances
   ============================================================ */
body.admin-editing .edit-link {
  outline: 1.5px dashed rgba(212, 168, 83, 0.95);
  outline-offset: 3px;
  border-radius: 6px;
  background: rgba(212, 168, 83, 0.06);
}
body.admin-editing .edit-link:hover { background: rgba(212, 168, 83, 0.14); cursor: pointer; }
body.admin-editing .edit-link * { outline: none !important; }
body.admin-editing .edit-icon {
  outline: 1.5px dashed rgba(255, 110, 199, 0.95);
  outline-offset: 2px;
  border-radius: 6px;
}
body.admin-editing .edit-icon:hover { background: rgba(255, 110, 199, 0.12); cursor: pointer; }

/* ============================================================
   ADMIN EDITOR OVERLAYS — labels, WhatsApp field, icon grid
   ============================================================ */
.img-edit-label {
  display: block;
  margin: 14px 0 5px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #aab;
  font-weight: 700;
  text-align: left;
}
.img-edit-field i { color: var(--gold, #d4a853); }
.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(52px, 1fr));
  gap: 8px;
  margin: 14px 0 4px;
}
.icon-grid button {
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #eef;
  border-radius: 10px;
  font-size: 1.05rem;
  cursor: pointer;
  transition: 0.2s;
}
.icon-grid button:hover { border-color: var(--gold, #d4a853); color: var(--gold, #d4a853); transform: translateY(-2px); background: rgba(212, 168, 83, 0.12); }
.icon-grid button:active { transform: translateY(0); }
.img-edit-box code { background: rgba(212, 168, 83, 0.15); padding: 1px 6px; border-radius: 6px; }

/* toolbar wraps on small screens so every button stays reachable */
.admin-toolbar { flex-wrap: wrap; row-gap: 6px; }

/* ============================================================
   COMPLETED PROJECTS — STEP 03 journey showcase
   ============================================================ */
#portfolio .section-tag { animation: none; }
#portfolio .showcase-block { margin-bottom: 90px; }
#portfolio .showcase-block:last-of-type { margin-bottom: 70px; }
#portfolio .featured-info h3 { font-size: 1.9rem; }
#portfolio .featured-info p { max-width: 620px; }

/* closing marketing band */
.completed-cta {
  position: relative;
  margin-top: 40px;
  padding: 34px 38px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(212, 168, 83, 0.16), rgba(255, 255, 255, 0.02) 55%),
    linear-gradient(160deg, #0d0d24, #141433);
  border: 1px solid rgba(212, 168, 83, 0.35);
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.completed-cta::before {
  content: '';
  position: absolute;
  top: -70%;
  right: -10%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.28), transparent 70%);
  pointer-events: none;
}
.completed-cta-icon {
  flex: none;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: #0b0b1a;
  background: linear-gradient(135deg, #f0d078, #d4a853);
  box-shadow: 0 10px 26px rgba(212, 168, 83, 0.35);
}
.completed-cta-text { flex: 1 1 280px; }
.completed-cta-text h3 { font-size: 1.5rem; margin-bottom: 6px; }
.completed-cta-text p { color: #aab; font-size: 0.9rem; margin: 0; max-width: 560px; }
.completed-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.completed-cta-actions .btn { padding: 13px 26px; font-size: 0.82rem; }
@media (max-width: 640px) {
  .completed-cta { padding: 26px 22px; text-align: center; justify-content: center; }
  .completed-cta-text h3 { font-size: 1.25rem; }
}

/* nav: keep the nav tidy once 'Upcoming' is added */
@media (min-width: 769px) and (max-width: 1049px) {
  .nav-links .nav-upcoming { display: none; }
}

/* ===== Project Explore window ===== */
.project-modal-box {
  position: relative;
  width: min(960px, 94vw);
  max-height: 92vh;
  overflow-y: auto;
  background: linear-gradient(160deg, #0b0b1e 0%, #131330 100%);
  border: 1px solid rgba(212, 168, 83, 0.35);
  border-radius: 22px;
  padding: 30px 26px;
  animation: fadoomUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-modal-head { text-align: center; margin-bottom: 18px; }
.project-modal-head .status-badge { margin-bottom: 10px; }
.project-modal-head h3 { font-size: 1.7rem; letter-spacing: 0.02em; }
.project-modal-head p { color: #b9bcd6; font-size: 0.92rem; margin-top: 6px; }
.project-modal-main {
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-modal-main img.pm-big { width: 100%; max-height: 62vh; object-fit: contain; }
.project-modal-main .pm-video-wrap { width: 100%; }
.project-modal-main video { width: 100%; max-height: 62vh; background: #000; display: block; }
.pm-drive-link { display: inline-block; margin-top: 8px; font-size: 0.75rem; color: #d4a853; text-decoration: none; padding: 6px 14px; border: 1px dashed rgba(212, 168, 83, 0.5); border-radius: 999px; background: rgba(212, 168, 83, 0.08); }
.pm-drive-link:hover { background: rgba(212, 168, 83, 0.18); }
.project-modal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 10px; margin-top: 14px; }
.pm-tile { position: relative; aspect-ratio: 4 / 3; border: 2px solid rgba(255, 255, 255, 0.12); border-radius: 12px; overflow: hidden; cursor: pointer; padding: 0; background: #000; transition: border-color 0.2s, transform 0.2s; }
.pm-tile:hover { transform: translateY(-2px); }
.pm-tile.active { border-color: var(--gold, #d4a853); }
.pm-tile img { width: 100%; height: 100%; object-fit: cover; }
.pm-tile .pm-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.3rem; background: rgba(5, 5, 16, 0.35); }
.pm-empty { text-align: center; padding: 46px 20px; color: #b9bcd6; }
.pm-empty i { font-size: 2.4rem; color: #d4a853; opacity: 0.85; }
.pm-empty h4 { color: #fff; margin: 12px 0 6px; font-size: 1.1rem; }
.pm-empty p { font-size: 0.88rem; line-height: 1.6; }
.project-modal-foot { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.project-modal-foot .btn { padding: 12px 28px; font-size: 0.85rem; }

/* ===== Admin: Project Media manager ===== */
.media-proj-pick { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 4px; }
.media-proj-pick button { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.04); color: #eef; cursor: pointer; font-size: 0.8rem; }
.media-proj-pick button.active { background: linear-gradient(135deg, #f0d078, #d4a853); color: #0b0b1a; border-color: transparent; font-weight: 700; }
.media-admin-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; max-height: 300px; overflow-y: auto; margin-top: 8px; padding-right: 4px; }
.media-admin-item { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #000; border: 1px solid rgba(255, 255, 255, 0.12); }
.media-admin-item img { width: 100%; height: 100%; object-fit: cover; }
.mm-type { position: absolute; top: 6px; left: 6px; font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: rgba(5, 5, 16, 0.78); color: #fff; }
.mm-type.mm-video { background: rgba(212, 168, 83, 0.85); color: #0b0b1a; }
.mm-del { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border: none; border-radius: 50%; background: rgba(255, 60, 60, 0.9); color: #fff; cursor: pointer; font-size: 0.8rem; line-height: 1; }
.media-admin-empty { text-align: center; color: #aab; padding: 26px 0; font-size: 0.85rem; }
.media-admin-empty i { font-size: 1.8rem; color: #d4a853; opacity: 0.8; display: block; margin-bottom: 8px; }
.media-add-row { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.media-add-row input, .media-add-row select {
  background: #10102a; border: 1px solid rgba(255, 255, 255, 0.16); color: #fff;
  border-radius: 12px; padding: 11px 14px; font-size: 0.85rem;
}
.media-add-row input { flex: 1 1 240px; min-width: 0; }
.media-add-row select { flex: 0 0 auto; cursor: pointer; }
.media-admin-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.admin-note { color: #aab; font-size: 0.82rem; line-height: 1.55; margin: 4px 0; }
  .loc-admin-box .loc-in, #locAdminModal .loc-in {
    width: 100%; background: #10102a; border: 1px solid rgba(255, 255, 255, 0.16); color: #fff;
    border-radius: 12px; padding: 10px 13px; font-size: 0.85rem;
  }

@media (max-width: 640px) {
  .project-modal-box { padding: 22px 16px; }
  .project-modal-head h3 { font-size: 1.25rem; }
}

/* ===== Navigate window (route to Sapthagiri Sampada) ===== */
.contact-map-nav { margin-top: 14px; width: 100%; }
  .contact-map-nav.btn-outline { color: var(--gold); border-color: rgba(212, 168, 83, 0.55); background: rgba(255, 255, 255, 0.03); }
  .contact-map-nav.btn-outline:hover { background: var(--secondary); color: var(--primary); border-color: var(--secondary); }

  /* ===== Admin: Locations editor ===== */
  #locAdminModal .reviews-admin-box { max-width: 720px; }
  .loc-block { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(212, 168, 83, 0.18); border-radius: 14px; padding: 16px; margin-bottom: 14px; }
  .loc-block h4 { margin: 0 0 12px; font: 600 16px var(--font); color: var(--text); display: flex; align-items: center; gap: 8px; }
  .loc-proj-tag { font: 600 10px var(--font); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(212, 168, 83, 0.4); border-radius: 20px; padding: 2px 9px; }
  .loc-field { display: block; font: 600 11px var(--font); letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }
  .loc-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .loc-in { width: 100%; margin-top: 5px; }
  .loc-link-row { display: flex; gap: 8px; margin-top: 6px; }
  .loc-link-row .loc-in { margin-top: 0; flex: 1; }
  .loc-link-row .btn { white-space: nowrap; }
  @media (max-width: 520px) { .loc-row2 { grid-template-columns: 1fr; } }

  /* ===== Enquiry popup consent checkbox ===== */
  #popupForm .form-check.enquiry-consent { display: flex; align-items: flex-start; gap: 11px; margin: 4px 0 16px; padding: 11px 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(240, 208, 120, 0.18); border-radius: 12px; }
  #popupForm .enquiry-consent input { margin-top: 3px; }
  #popupForm .enquiry-consent label { font-size: 0.82rem; line-height: 1.5; color: var(--text-muted); }
  #popupForm .enquiry-consent a { color: var(--secondary); }
.map-modal-box {
  position: relative;
  width: min(720px, 94vw);
  max-height: 92vh;
  overflow-y: auto;
  background: linear-gradient(160deg, #0b0b1e 0%, #131330 100%);
  border: 1px solid rgba(212, 168, 83, 0.35);
  border-radius: 22px;
  padding: 26px 22px 22px;
  animation: fadoomUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.map-modal-head { text-align: center; margin-bottom: 14px; }
.map-modal-head h3 { font-size: 1.25rem; }
.map-modal-status { font-size: 0.82rem; color: #b9bcd6; margin-top: 6px; }
.map-route-info {
  display: inline-block;
  margin-top: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(212, 168, 83, 0.12);
  border: 1px solid rgba(212, 168, 83, 0.35);
  color: #f0d078;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  min-height: 1px;
}
.map-canvas { width: 100%; height: 62vh; min-height: 320px; border-radius: 14px; overflow: hidden; background: #0a0a22; z-index: 1; position: relative; }
.map-canvas .leaflet-container { background: #0a0a22; }
.map-modal-foot { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.map-modal-foot .btn { padding: 12px 24px; font-size: 0.8rem; }

.map-dest-pin {
  position: relative;
  width: 34px;
  height: 34px;
  background: linear-gradient(180deg, #f0d078, #d4a853);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  border: 2px solid #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
.map-dest-pin i {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(45deg);
  color: #14142a;
  font-size: 15px;
}
.map-user-pin { position: relative; width: 26px; height: 26px; }
.map-user-pin .tip {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 35% 30%, #6aa6ff, #1a73e8);
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 2px 12px rgba(26, 115, 232, 0.65);
  animation: navUserPulse 2.2s ease-in-out infinite;
}
.map-user-pin .dot {
  position: absolute;
  left: 50%;
  top: 9px;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: #fff;
}
@keyframes navUserPulse {
  0% { box-shadow: 0 2px 12px rgba(26, 115, 232, 0.65), 0 0 0 0 rgba(26, 115, 232, 0.4); }
  70% { box-shadow: 0 2px 12px rgba(26, 115, 232, 0.65), 0 0 0 14px rgba(26, 115, 232, 0); }
  100% { box-shadow: 0 2px 12px rgba(26, 115, 232, 0.65), 0 0 0 0 rgba(26, 115, 232, 0); }
}
.leaflet-tooltip.map-route-tip { background: #d4a853; color: #14142a; border: none; font-weight: 600; }
.nav-pin { background: transparent; border: none; }

@media (max-width: 640px) {
  .map-canvas { height: 56vh; }
}
.map-nav-btn.loading { pointer-events: none; opacity: 0.85; }
.map-nav-btn.loading i { animation: navSpin 1s linear infinite; }
@keyframes navSpin { to { transform: rotate(360deg); } }
/* ===== Navigate window: fields, options, loading ===== */
.map-fields { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.map-field { display: flex; flex-direction: column; gap: 6px; }
.map-field-label { font-size: 0.72rem; letter-spacing: 1.5px; text-transform: uppercase; color: #b9bcd6; }
.map-field-row { display: flex; gap: 8px; }
.map-field input {
  flex: 1 1 auto;
  min-width: 0;
  background: #10102a;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 0.85rem;
}
.map-field input:focus { outline: none; border-color: rgba(212, 168, 83, 0.6); }
.map-loc-btn {
  flex: 0 0 auto;
  width: 44px;
  border-radius: 12px;
  border: 1px solid rgba(212, 168, 83, 0.5);
  background: rgba(212, 168, 83, 0.12);
  color: var(--secondary, #d4a853);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-loc-btn:hover { background: rgba(212, 168, 83, 0.22); transform: translateY(-1px); }
.map-loc-btn.loading i, .map-show-btn.loading i { animation: navSpin 1s linear infinite; }
.map-show-btn { margin-top: 4px; width: 100%; justify-content: center; }
.map-canvas-wrap { position: relative; }
.map-canvas { position: relative; z-index: 1; }
.map-loading {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: #fff;
  background: rgba(5, 5, 16, 0.72);
  border-radius: 14px;
}
.map-loading.visible { display: flex; }
.map-loading i { color: #d4a853; }
.map-route-opts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.map-opt {
  flex: 1 1 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.03);
  color: #cdd0ea;
  cursor: pointer;
  font: inherit;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.map-opt:hover { transform: translateY(-2px); }
.map-opt .opt-name { font-size: 0.72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.map-opt .opt-meta { font-size: 0.72rem; color: #b9bcd6; }
.map-opt.active { border: 1px solid rgba(212, 168, 83, 0.7); background: rgba(212, 168, 83, 0.14); }
.map-opt.active .opt-name { color: #f0d078; }
.map-foot-note { font-size: 0.72rem; color: #9aa0c0; line-height: 1.55; margin: 0; max-width: 420px; text-align: center; }
.map-modal-foot { align-items: center; }
.map-locate-ctrl {
  width: 34px;
  height: 34px;
  text-align: center;
  cursor: pointer;
  color: #222;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}
.map-locate-ctrl:hover { background: #f0f0f4; }
.map-locate-ctrl.loading i { animation: navSpin 1s linear infinite; }

/* ============================================================
   GLOBAL RESPONSIVE HARDENING — all devices
   ============================================================ */
img, video, iframe, canvas, svg { max-width: 100%; }
.hero-logo-img {
  width: auto;
  height: 200px;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 24px;
  filter: drop-shadow(0 10px 30px rgba(212, 168, 83, 0.35));
  opacity: 0;
  animation: fadeInDown 1s ease 0.15s forwards;
}
.footer-logo {
  width: auto;
  height: 100px;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 6px;
}
.contact-info, .contact-form, .hero-content, .about-content, .footer-col, .footer-brand { min-width: 0; }

@media (max-width: 768px) {
  .hero { padding-bottom: 178px; }
  .hero-scroll { bottom: 20px; padding: 9px 13px; }
  .hero-scroll .mouse { width: 16px; height: 25px; }
  .hero-scroll .wheel { width: 3px; height: 6px; margin-top: -3px; }
  .hero-scroll > span:last-child { font-size: 0.52rem; letter-spacing: 2px; }
  .hero-logo-img { height: 110px; margin-bottom: 18px; }

  .admin-toolbar { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .admin-toolbar .admin-tb-btn, .admin-toolbar .admin-tb-title, .admin-toolbar .admin-tb-save { flex: 0 0 auto; }

  .map-modal-box { padding: 18px 14px 16px; border-radius: 18px; }
  .map-modal-head h3 { font-size: 1.02rem; }
  .map-canvas { height: 50vh; min-height: 280px; }
  .map-field input { padding: 10px 13px; }
  .reviews-admin-box { padding: 22px 16px 18px; }
  #mediaAdminModal .reviews-admin-box, #locAdminModal .reviews-admin-box { max-width: 96vw; }
  .project-modal-box { padding: 22px 16px 18px; }
  .project-modal-head h3 { font-size: 1.25rem; }
  .project-modal-main { min-height: 220px; }
  .enquiry-box { padding: 34px 20px 24px; }
  .contact-map iframe { height: 210px; }
  .footer { padding: 60px 24px 24px; }
  .footer-grid { gap: 34px; row-gap: 40px; }
}

@media (max-width: 480px) {
  .hero { padding-bottom: 200px; }
  .hero-scroll { bottom: 16px; }
  .hero-logo-img { height: 92px; margin-bottom: 14px; }

  .admin-toolbar { padding: 9px 12px; gap: 8px; }
  .admin-toolbar .admin-tb-btn { padding: 8px 12px; font-size: 0.72rem; }
  .admin-toolbar .admin-tb-title { font-size: 0.8rem; }

  .map-modal-box { width: 100vw; border-radius: 0; border-left: none; border-right: none; border-bottom: none; }
  .map-canvas { height: 46vh; min-height: 240px; }
  .map-modal-head h3 { font-size: 0.95rem; }
  .map-route-opts { gap: 6px; }
  .map-opt { padding: 8px 12px; }

  .enquiry-box { max-height: calc(100vh - 12px); border-radius: 18px; }
  .reviews-admin-box, #mediaAdminModal .reviews-admin-box, #locAdminModal .reviews-admin-box { width: 100vw; max-width: 100vw; border-radius: 0; max-height: 100vh; }
  .project-modal-box { width: 100vw; border-radius: 0; max-height: 100vh; }
  .logo-frame { padding-top: 40px; }
  .logo-frame-emblem { margin-top: 14px; }

  .footer { padding: 48px 20px 18px; }
  .footer-logo { height: 80px; }
  .contact-form { padding: 24px 16px; }
  .whatsapp-float { right: 12px; bottom: 74px; }
  .whatsapp-btn { width: 46px; height: 46px; }
  .go-top { right: 12px; bottom: 16px; }
}

/* Mobile nav: menu toggle must always be visible on phones (was being
   pushed past the viewport edge by the wide 48px nav gap) */
@media (max-width: 768px) {
  .nav-container { gap: 10px; overflow: visible; }
  .profile-btn { margin-left: 4px; }
  .nav-toggle { display: flex !important; margin-left: auto; }
}

@media (max-width: 480px) {
  .nav-container { gap: 6px; }
  .profile-btn { width: 40px; height: 40px; margin-left: 0; }
  .nav-toggle { width: 40px; height: 40px; }
}

/* Tablets & small laptops: switch to the hamburger menu too (769–1024) */
@media (min-width: 769px) and (max-width: 1024px) {
  .nav-container { overflow: visible; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 80%;
    max-width: 380px;
    height: 100vh;
    background: rgba(5, 5, 16, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column;
    padding: 100px 35px 40px;
    gap: 18px;
    transition: var(--transition);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
    border-left: 1px solid rgba(212, 168, 83, 0.05);
    overflow-y: auto;
  }
  .nav-links.active { right: 0; }
  .nav-links a { font-size: 0.85rem; letter-spacing: 2px; }
}

@media (max-width: 380px) {
  .hero { padding-bottom: 190px; }
  .hero-logo-img { height: 80px; }
  .hero-title { letter-spacing: 0; }
  .map-canvas { height: 44vh; min-height: 220px; }
  .map-modal-head h3 { font-size: 0.88rem; }
  .footer-logo { height: 72px; }
}


/* ===================== SECTIONS & VISIBILITY (admin + visitor) ===================== */
/* WhatsApp floating icon: hidden for visitors by default; admin switches it on via CMS (V:wa flag). */
.fab-wa { display: none; }
.fab-wa.show { display: flex; }

/* Tag shown to Super Admin on sections that are hidden for visitors */
.sec-hidden-tag {
  display: table;
  margin: 14px auto 0;
  padding: 6px 14px;
  max-width: 92%;
  background: rgba(212, 168, 83, 0.12);
  border: 1px dashed rgba(212, 168, 83, 0.55);
  color: var(--secondary);
  border-radius: 999px;
  font-size: 0.66rem;
  letter-spacing: 1px;
  text-align: center;
}

.sect-admin-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 56vh;
  overflow-y: auto;
  padding: 4px 2px;
}
.sec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 10px 14px;
}
.sec-info { display: flex; align-items: center; gap: 12px; min-width: 0; }
.sec-icon {
  width: 38px; height: 38px; min-width: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(212, 168, 83, 0.1);
  border: 1px solid rgba(212, 168, 83, 0.25);
  color: var(--secondary);
  font-size: 0.85rem;
}
.sec-info b { display: block; font-size: 0.86rem; color: var(--text-light); }
.sec-info small { display: block; font-size: 0.68rem; color: var(--text-muted); margin-top: 2px; }
.toggle { position: relative; display: inline-block; width: 46px; height: 24px; flex: none; cursor: pointer; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle span {
  position: absolute; inset: 0;
  background: rgba(212, 168, 83, 0.18);
  border: 1px solid rgba(212, 168, 83, 0.3);
  border-radius: 999px;
  transition: var(--transition-fast);
}
.toggle span::before {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--text-muted);
  transition: var(--transition-fast);
}
.toggle input:checked + span { background: rgba(212, 168, 83, 0.35); border-color: var(--secondary); }
.toggle input:checked + span::before { transform: translateX(22px); background: var(--secondary); }
.toggle input:focus-visible + span { outline: 2px solid var(--secondary); outline-offset: 2px; }
.sect-admin-legend { margin: 12px 2px 14px; font-size: 0.72rem; color: var(--text-muted); display: flex; gap: 8px; align-items: center; }
.sect-admin-legend i { color: var(--secondary); }

/* Contact cards � never overflow their box (long email + tokens on narrow screens) */
.contact-card { min-width: 0; overflow: hidden; }
.cc-body { flex: 1 1 auto; }
.cc-value { display: block; overflow-wrap: anywhere; word-break: break-word; max-width: 100%; }
.contact-grid, .contact-info, .contact-form-wrap, .contact-map { min-width: 0; }
.contact-map iframe { min-width: 0; }

/* Hero + section text scaled down on phones to match the smaller image sizes */
@media (max-width: 768px) {
  .hero-desc { font-size: 0.86rem; line-height: 1.62; }
  .hero-tagline { font-size: 0.72rem; letter-spacing: 1px; }
  .hero-role { font-size: 0.82rem; }
}
@media (max-width: 560px) {
  .hero-desc { font-size: 0.8rem; line-height: 1.55; }
  .hero-tagline { font-size: 0.66rem; }
  .hero-role { font-size: 0.76rem; }
  .section-desc { font-size: 0.82rem; }
  .about-content p { line-height: 1.6; }
}
@media (max-width: 480px) {
  .contact-card { padding: 16px 14px; }
  .cc-icon { width: 40px; height: 40px; min-width: 40px; }
  .cc-value { font-size: 0.85rem; }
}

/* Admin � drag-pin location setter inside the Navigate window */
.map-admin-bar {
  margin: 12px auto 0;
  max-width: 760px;
  border: 1px dashed rgba(212, 168, 83, 0.45);
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.1), rgba(212, 168, 83, 0.03));
  border-radius: 14px;
  padding: 12px 16px;
}
.map-admin-tip { display: flex; gap: 8px; align-items: center; font-size: 0.8rem; color: var(--text-light); margin-bottom: 10px; }
.map-admin-tip i { color: var(--secondary); }
.map-admin-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.map-admin-row code {
  font-size: 0.72rem;
  color: var(--secondary);
  background: rgba(212, 168, 83, 0.1);
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(212, 168, 83, 0.2);
}
@media (max-width: 480px) {
  .map-admin-row { flex-direction: column; align-items: stretch; }
  .map-admin-row .btn { width: 100%; }
  .map-admin-bar { padding: 12px 12px; }
}

/* Modal overlays � always scrollable so tall windows (Navigator, admin tools)
   open fully and can be scrolled on any screen. Boxes keep center alignment. */
.admin-modal, .img-edit-overlay {
  align-items: flex-start;
  padding: 14px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.admin-modal .admin-box,
.admin-modal .reviews-admin-box,
.admin-modal .project-modal-box,
.admin-modal .logo-frame,
.img-edit-overlay .img-edit-box,
.img-edit-overlay .map-modal-box { margin: auto; }
@media (max-width: 480px) {
  .admin-modal, .img-edit-overlay { padding: 0; align-items: stretch; }
  .map-modal-box { max-height: 100vh; }
}

/* Navigator — Google-style */
.map-float-close {
  position: fixed;
  top: 14px; right: 14px;
  z-index: 1700;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(212,168,83,0.55);
  background: rgba(8,8,26,0.92);
  color: #f0d078;
  font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.55);
  transition: all 0.25s ease;
}
.map-float-close:hover { transform: rotate(90deg) scale(1.06); background: #f0d078; color: #14142a; }
.map-field-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.map-field-actions .map-show-btn { flex: 1 1 220px; justify-content: center; }
.btn-live {
  flex: 1 1 220px;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(120deg, #17b34a, #0e8f3c);
  border: none;
  color: #fff;
  font-family: var(--font-cta);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(23,179,74,0.35);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all 0.25s ease;
}
.btn-live:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 12px 28px rgba(23,179,74,0.5); }
.btn-live i { animation: livePulse 1.4s infinite; }
.map-mode-row { display: flex; gap: 8px; margin-top: 12px; }
.map-mode {
  flex: 1;
  padding: 10px 0;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all 0.25s ease;
}
.map-mode.active { background: rgba(212,168,83,0.15); border-color: rgba(212,168,83,0.6); color: #f0d078; font-weight: 600; }
.map-live {
  display: flex; gap: 10px; align-items: center;
  margin-top: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(23,179,74,0.1);
  border: 1px solid rgba(23,179,74,0.4);
  color: #8fe08f;
  font-size: 0.8rem;
  font-weight: 500;
}
.map-live-dot { width: 10px; height: 10px; border-radius: 50%; background: #17b34a; flex: none; animation: livePulse 1.4s infinite; }
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(23,179,74,0.6); }
  70% { box-shadow: 0 0 0 10px rgba(23,179,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(23,179,74,0); }
}
@media (max-width: 480px) {
  .map-float-close { top: 10px; right: 10px; width: 42px; height: 42px; }
  .map-field-actions .map-show-btn, .btn-live { flex: 1 1 100%; }
  .map-live { font-size: 0.74rem; }
}

/* =============================================================
   WHY CHOOSE / THREE PROMISES — premium service cards
   ============================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
}
.service-card {
  position: relative;
  padding: 44px 30px 36px;
  border-radius: 24px;
  background: linear-gradient(165deg, var(--bg-card), #0b0b26);
  border: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
  text-align: center;
  transition: transform 0.45s cubic-bezier(0.2,0.9,0.3,1), box-shadow 0.45s ease, border-color 0.45s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(460px circle at 50% 0%, rgba(212,168,83,0.14), transparent 62%);
  opacity: 0;
  transition: opacity 0.45s ease;
}
.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(212,168,83,0.45);
  box-shadow: 0 26px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(212,168,83,0.16);
}
.service-card:hover::before { opacity: 1; }
.service-num {
  position: absolute;
  top: 10px; right: 22px;
  font-family: var(--font-heading);
  font-size: 4.4rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(212,168,83,0.12);
  letter-spacing: -0.05em;
  user-select: none;
  z-index: 0;
  transition: color 0.45s ease, transform 0.6s cubic-bezier(0.2,0.9,0.3,1);
}
.service-card:hover .service-num { color: rgba(212,168,83,0.24); transform: translateY(-4px) scale(1.04); }
.service-icon {
  position: relative;
  z-index: 1;
  width: 74px; height: 74px;
  margin: 0 auto 20px;
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.55rem;
  color: var(--secondary);
  background: linear-gradient(145deg, rgba(212,168,83,0.22), rgba(212,168,83,0.05));
  border: 1px solid rgba(212,168,83,0.4);
  box-shadow: 0 10px 26px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.08);
  transition: transform 0.45s cubic-bezier(0.2,0.9,0.3,1.4), background 0.4s ease, color 0.4s ease;
}
.service-card:hover .service-icon {
  transform: translateY(-5px) rotate(-6deg) scale(1.07);
  background: linear-gradient(145deg, var(--secondary), #e8c46a);
  color: #15150f;
}
.service-card h4 {
  position: relative; z-index: 1;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text-light);
  letter-spacing: 0.02em;
}
.service-divider {
  display: inline-flex; align-items: center; gap: 10px;
  width: 90px;
  margin: 16px auto 14px;
}
.service-divider::before, .service-divider::after {
  content: "";
  height: 1px; flex: 1;
  background: linear-gradient(90deg, transparent, rgba(212,168,83,0.65));
}
.service-divider::after { background: linear-gradient(90deg, rgba(212,168,83,0.65), transparent); }
.service-divider i { font-size: 0.62rem; color: var(--secondary); animation: starSpin 9s linear infinite; }
@keyframes starSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.service-card p {
  position: relative; z-index: 1;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.85;
  margin: 0 auto;
  max-width: 340px;
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; gap: 20px; max-width: 560px; }
  .service-card { padding: 38px 26px 32px; }
  .service-card p { max-width: 100%; }
}

/* =============================================================
   PROJECT PROGRESS WINDOW — live feed (Supabase block_b_views)
   ============================================================= */
.btn-progress { color: var(--secondary); border-color: rgba(212,168,83,0.55); background: rgba(212,168,83,0.08); }
.btn-progress:hover { background: var(--secondary); border-color: var(--secondary); color: #14142a; }
.progress-box {
  position: relative;
  width: min(900px, 95vw);
  max-height: 94vh;
  overflow-y: auto;
  margin: auto;
  background: linear-gradient(160deg, #0b0b1e 0%, #131330 100%);
  border: 1px solid rgba(212,168,83,0.35);
  border-radius: 24px;
  padding: 28px 24px 22px;
  animation: popIn 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}
.progress-head { text-align: center; }
.progress-head h3 { font-size: 1.3rem; }
.progress-status { font-size: 0.82rem; color: #b9bcd6; margin: 8px 0 6px; }
.pg-online { color: #8fe08f; font-weight: 600; }
.pg-online i { font-size: 0.5rem; margin-right: 6px; vertical-align: middle; animation: livePulse 1.4s infinite; }
.progress-strip { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 16px 0 18px; }
.progress-media .progress-main { width: 100%; }
.progress-main { border-radius: 16px; overflow: hidden; background: #000; min-height: 240px; margin-bottom: 14px; }
.progress-main img.pm-big { width: 100%; max-height: 60vh; object-fit: contain; }
.progress-main .pg-video { aspect-ratio: 16 / 9; }
.progress-main .pg-video iframe { width: 100%; height: 100%; border: 0; display: block; background: #000; }
.progress-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; }
.progress-admin { margin-top: 16px; padding: 14px; border-radius: 14px; background: rgba(212,168,83,0.06); border: 1px dashed rgba(212,168,83,0.4); }
.progress-admin-in { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.progress-admin-in .loc-in { flex: 1 1 160px; }
.progress-admin-note { margin: 10px 0 0; font-size: 0.72rem; color: #b9bcd6; line-height: 1.6; }
.progress-foot { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.progress-foot .btn { padding: 12px 22px; font-size: 0.8rem; }
@media (max-width: 480px) {
  .progress-box { width: 100vw; border-radius: 0; max-height: 100vh; padding: 22px 14px 16px; }
  .progress-main img.pm-big { max-height: 44vh; }
}


/* ---- Drive viewer arrows & counter (js v101) ---- */
.dv-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(212,168,83,.5); background: rgba(8,8,26,.92); color: #f0d078; font-size: 1.25rem; cursor: pointer; z-index: 1760; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,.55); transition: all .25s ease; }
.dv-nav:hover { background: #f0d078; color: #14142a; border-color: #f0d078; transform: translateY(-50%) scale(1.08); }
.dv-prev { left: 18px; } .dv-next { right: 18px; }
.dv-count { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: rgba(8,8,26,.88); border: 1px solid rgba(212,168,83,.4); color: #f0d078; font-size: .82rem; font-weight: 600; letter-spacing: .08em; padding: 7px 18px; border-radius: 999px; z-index: 1760; pointer-events: none; white-space: nowrap; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
@media (max-width: 480px) { .dv-prev { left: 8px; } .dv-next { right: 8px; } .dv-nav { width: 46px; height: 46px; font-size: 1.1rem; } }


/* ---- In-window prev/next flags on the big image (js v103) ---- */
.pg-stage { position: relative; }
.pg-stage > img.pm-big, .pg-stage > .pg-video, .pg-stage > .pm-video-wrap { position: relative; z-index: 1; }
.pg-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(212,168,83,.55); background: rgba(8,8,26,.85); color: #f0d078; font-size: 1.1rem; cursor: pointer; z-index: 6; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.5); transition: all .22s ease; }
.pg-nav:hover { background: #f0d078; color: #14142a; border-color: #f0d078; transform: translateY(-50%) scale(1.07); }
.pg-prev { left: 12px; } .pg-next { right: 12px; }
.pg-count { position: absolute; right: 14px; bottom: 12px; z-index: 6; background: rgba(8,8,26,.85); border: 1px solid rgba(212,168,83,.4); color: #f0d078; font-size: .78rem; font-weight: 600; letter-spacing: .07em; padding: 5px 14px; border-radius: 999px; pointer-events: none; box-shadow: 0 6px 18px rgba(0,0,0,.4); }
@media (max-width: 480px) { .pg-prev { left: 8px; } .pg-next { right: 8px; } .pg-nav { width: 40px; height: 40px; font-size: 1rem; } }


/* ---- Gallery window from Supabase `gallery` table (js v104) ---- */
.gallery-item-wrap { position: relative; border-radius: 16px; }
.gallery-item-wrap .gallery-item { display: block; width: 100%; height: 100%; }
.gallery-del { position: absolute; top: 10px; right: 10px; z-index: 3; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(200,30,40,.92); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: .8rem; transition: all .2s ease; box-shadow: 0 6px 16px rgba(0,0,0,.45); }
.gallery-del:hover { background: #e0313f; transform: scale(1.08); }
.gallery-admin { max-width: 1200px; margin: 24px auto 0; padding: 16px; border: 1px dashed rgba(212,168,83,.45); border-radius: 16px; background: rgba(212,168,83,.06); position: relative; z-index: 2; }
.gallery-admin .progress-admin-in { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.gallery-admin .loc-in { flex: 1 1 180px; }
.gallery-hint { position: relative; z-index: 2; }
@media (max-width: 640px) {
  .gallery-item-wrap, .gallery-item { border-radius: 12px; }
  .gallery-grid { gap: 10px; }
}


/* ---- Reviews with photos (js v105) ---- */
.review-photo-btn { position: relative; display: block; margin: 14px 0 4px; width: min(100%, 340px); border-radius: 14px; overflow: hidden; border: 1px solid rgba(212,168,83,.4); cursor: zoom-in; background: #000; line-height: 0; box-shadow: 0 10px 28px rgba(0,0,0,.35); transition: all .25s ease; }
.review-photo-btn img { width: 100%; max-height: 240px; object-fit: cover; display: block; }
.review-photo-btn:hover { border-color: #f0d078; box-shadow: 0 16px 40px rgba(0,0,0,.55), var(--shadow-gold); transform: translateY(-3px); }
.review-photo-zoom { position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; background: rgba(8,8,26,.8); color: #f0d078; display: flex; align-items: center; justify-content: center; font-size: .85rem; border: 1px solid rgba(212,168,83,.5); }
.review-photo-zoom i { line-height: 1; }
.review-photo-pick { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 6px; }
.photo-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 12px; border: 1px dashed rgba(212,168,83,.6); background: rgba(212,168,83,.08); color: #f0d078; cursor: pointer; font-size: .82rem; font-weight: 600; transition: all .2s ease; }
.photo-btn:hover { background: rgba(212,168,83,.16); border-color: #f0d078; }
.review-photo-preview { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; border: 1px solid rgba(212,168,83,.45); box-shadow: 0 8px 20px rgba(0,0,0,.35); }
.photo-clear { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(200,30,40,.9); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: .75rem; transition: all .2s ease; }
.photo-clear:hover { background: #e0313f; transform: scale(1.08); }
.photo-opt { color: #8b8fb0; opacity: .8; font-weight: 400; }
.photo-note { display: block; margin-top: 8px; font-size: .72rem; color: #8b8fb0; }
.ra-thumb { max-width: 130px; max-height: 90px; object-fit: cover; border-radius: 10px; margin: 8px 0 4px; border: 1px solid rgba(212,168,83,.35); }

/* Villas upcoming card - hover animation removed */
#upcoming .project-card,
#upcoming .project-card:hover,
#upcoming .project-card .project-img,
#upcoming .project-card .project-img img,
#upcoming .project-card .project-overlay,
#upcoming .project-card .project-title,
#upcoming .project-card .project-desc {
  transform: none !important;
  transition: none !important;
  box-shadow: none !important;
}
#upcoming .project-card:hover {
  transform: none !important;
  box-shadow: none !important;
  border-color: rgba(212, 168, 83, 0.1) !important;
}
#upcoming .project-card:hover .project-img img { transform: none !important; }
#upcoming .project-card:hover .project-overlay { background: none !important; }
#upcoming .project-card { cursor: pointer; }
#upcoming .countdown-item,
#upcoming .countdown-item:hover {
  transform: none !important;
  transition: none !important;
}

/* Windows float ABOVE the fixed nav bar (9999) so the heading is always visible */
.img-edit-overlay, .admin-modal, .logo-modal { z-index: 10050 !important; }
.map-float-close, .dv-nav { z-index: 10120 !important; }

/* Windows: open at the top, scroll down to fully reveal (welcome-form pattern) */
#enquiryModal, #logoModal, #adminModal, #reviewsAdminModal, #videoAdminModal,
#mediaAdminModal, #locAdminModal, #sectAdminModal, #imgEditOverlay, #linkEditOverlay,
#iconEditOverlay, #projectModal, #mapModal, #progressModal {
  align-items: flex-start;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
#enquiryModal .enquiry-box, #logoModal .logo-frame,
#adminModal .admin-box, #reviewsAdminModal .reviews-admin-box,
#videoAdminModal .admin-box, #mediaAdminModal .admin-box,
#locAdminModal .admin-box, #sectAdminModal .admin-box,
#imgEditOverlay .img-edit-box, #imgEditOverlay .map-modal-box,
#projectModal .project-modal-box, #mapModal .map-modal-box, #progressModal .progress-box {
  margin: auto;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Explore windows: pinned heading on top, scrollable body, pinned footer */
#projectModal .project-modal-box,
#progressModal .progress-box {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
#projectModal .project-modal-head,
#progressModal .progress-head { flex: none; }
#projectModal .project-modal-body,
#progressModal .progress-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
#projectModal .project-modal-foot,
#progressModal .progress-foot,
#progressModal .progress-admin { flex: none; }
