/* ============================================================
   BANGKOK TOWER — DESIGN SYSTEM
   Version: 1.0.0 | Color: Navy · White · Gray
   ============================================================ */

/* ── Google Fonts Import ──────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&family=Sarabun:wght@300;400;500;600;700&display=swap');

/* ── CSS Custom Properties ───────────────────────────────── */
:root {
  /* Navy Palette */
  --navy-900: #0A1628;
  --navy-800: #0D1F3C;
  --navy-700: #122347;
  --navy-600: #1A2F5A;
  --navy-500: #1B3A6B;
  --navy-400: #244D8C;
  --navy-300: #2E5FAB;
  --navy-200: #4A7DC4;
  --navy-100: #7EA6D8;

  /* Gray Palette */
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  /* Accent */
  --gold: #C9A84C;
  --gold-light: #E8C96A;
  --white: #FFFFFF;
  --off-white: #F8F9FC;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-thai: 'Sarabun', sans-serif;
  --font-thai-heading: 'Google Sans', sans-serif;

  /* Spacing */
  --section-py: 100px;
  --container-max: 1280px;
  --gap-lg: 3rem;
  --gap-md: 2rem;
  --gap-sm: 1rem;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --duration-fast: 250ms;
  --duration-base: 400ms;
  --duration-slow: 700ms;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(10, 22, 40, .06), 0 1px 2px rgba(10, 22, 40, .04);
  --shadow-md: 0 4px 16px rgba(10, 22, 40, .10), 0 2px 6px rgba(10, 22, 40, .06);
  --shadow-lg: 0 10px 40px rgba(10, 22, 40, .15), 0 4px 12px rgba(10, 22, 40, .08);
  --shadow-xl: 0 20px 60px rgba(10, 22, 40, .20), 0 8px 24px rgba(10, 22, 40, .12);
  --shadow-glow: 0 0 40px rgba(46, 95, 171, .25);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
}

body.lang-th {
  font-family: var(--font-thai);
  --font-heading: var(--font-thai-heading);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ── Custom Cursor ───────────────────────────────────────── */
.cursor {
  width: 12px;
  height: 12px;
  background: var(--navy-300);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  transition: transform var(--duration-fast) var(--ease-out),
    opacity var(--duration-fast) ease;
  transform: translate(-50%, -50%);
}

.cursor-trail {
  width: 36px;
  height: 36px;
  border: 2px solid rgba(46, 95, 171, .4);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 99998;
  transition: transform 0.15s var(--ease-out),
    opacity var(--duration-fast) ease;
  transform: translate(-50%, -50%);
}

@media (max-width: 768px) {

  .cursor,
  .cursor-trail {
    display: none;
  }
}

/* ── Utility: Container ──────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Utility: Section Labels ─────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--navy-300);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: var(--radius-full);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.section-title.light {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--gray-500);
  max-width: 580px;
  line-height: 1.75;
}

.section-subtitle.light {
  color: rgba(255, 255, 255, .65);
}

/* ── Animate on Scroll ───────────────────────────────────── */
[data-aos] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
}

[data-aos="fade-left"] {
  transform: translateX(-40px);
}

[data-aos="fade-right"] {
  transform: translateX(40px);
}

[data-aos="zoom-in"] {
  transform: scale(0.9);
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

[data-aos][data-delay="100"].aos-animate {
  transition-delay: 100ms;
}

[data-aos][data-delay="200"].aos-animate {
  transition-delay: 200ms;
}

[data-aos][data-delay="300"].aos-animate {
  transition-delay: 300ms;
}

[data-aos][data-delay="400"].aos-animate {
  transition-delay: 400ms;
}

[data-aos][data-delay="500"].aos-animate {
  transition-delay: 500ms;
}

[data-aos][data-delay="600"].aos-animate {
  transition-delay: 600ms;
}

/* =========================================================
   NAVIGATION
   ========================================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--duration-base) ease,
    box-shadow var(--duration-base) ease,
    padding var(--duration-base) ease;
  padding: 1.25rem 0;
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(0, 0, 0, .3);
  padding: .75rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
}

/* ── PNG Logo in Navbar ─────────────────────────────────── */
.nav-logo-img {
  height: 44px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
  /* make logo white on dark navbar */
  transition: filter var(--duration-fast) ease, opacity var(--duration-fast) ease;
}

.nav-logo:hover .nav-logo-img {
  opacity: .85;
}

/* When navbar is transparent (top of page), keep white */
/* When scrolled, still white (dark bg) — no change needed */

/* ── PNG Logo in Hero Banner ────────────────────────────── */
.hero-logo {
  margin-bottom: 2rem;
  animation: fade-up 0.8s var(--ease-out) 0.1s both;
}

.hero-logo-img {
  height: 120px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  /* white on dark hero */
  display: block;
}

@media (max-width: 768px) {
  .nav-logo-img {
    height: 36px;
  }

  .hero-logo-img {
    margin-top: 80px;
    margin-left: auto;
    margin-right: auto;
    height: 80px;
    max-width: 220px;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-links a {
  font-size: .85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .8);
  padding: .5rem .9rem;
  border-radius: var(--radius-sm);
  transition: color var(--duration-fast) ease,
    background var(--duration-fast) ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--gold);
  border-radius: var(--radius-full);
  transition: left var(--duration-fast) ease, right var(--duration-fast) ease;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, .08);
}

.nav-links a:hover::after {
  left: .9rem;
  right: .9rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  background: rgba(255, 255, 255, .1);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .6);
  padding: .3rem .7rem;
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) ease;
}

.lang-btn.active {
  background: var(--navy-300);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(46, 95, 171, .4);
}

/* CTA Button (nav) */
.btn-nav-cta {
  background: linear-gradient(135deg, var(--navy-300), var(--navy-200));
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 600;
  padding: .55rem 1.25rem;
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) ease;
  box-shadow: 0 4px 16px rgba(46, 95, 171, .35);
  white-space: nowrap;
}

.btn-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(46, 95, 171, .5);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .4rem;
  border: none;
  background: none;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) ease;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Desktop Dropdown Styles */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger i {
  font-size: 0.75rem;
  margin-left: 0.25rem;
  transition: transform var(--duration-fast) ease;
}

.nav-dropdown:hover .nav-dropdown-trigger i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: rgba(13, 31, 60, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity var(--duration-fast) ease, transform var(--duration-fast) ease;
  list-style: none;
  z-index: 1100;
}

/* Connect the dropdown to the trigger to prevent closing when moving cursor */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu li a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  background: transparent;
  transition: color var(--duration-fast) ease, background var(--duration-fast) ease;
  border-radius: 0;
}

.dropdown-menu li a::after {
  display: none !important;
  /* Disable navigation underline for dropdown items */
}

.dropdown-menu li a:hover {
  color: var(--gold) !important;
  background: rgba(201, 168, 76, 0.08) !important;
}

/* Mobile Dropdown Styles */
.mobile-dropdown {
  width: 100%;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mobile-dropdown-trigger {
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: rgba(255, 255, 255, .7);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--duration-fast) ease;
  outline: none;
  padding: 0.5rem;
}

.mobile-dropdown-trigger:hover,
.mobile-dropdown-trigger:focus {
  color: var(--gold);
}

.mobile-dropdown-trigger i {
  font-size: 1.2rem;
  transition: transform var(--duration-fast) ease;
}

.mobile-dropdown.open .mobile-dropdown-trigger i {
  transform: rotate(180deg);
}

.mobile-dropdown-content {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
  padding: 1rem 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--gold);
}

.mobile-dropdown.open .mobile-dropdown-content {
  display: flex;
}

.mobile-sublink {
  font-size: 1.3rem !important;
  /* Smaller than main links */
  color: rgba(255, 255, 255, 0.6) !important;
  font-family: var(--font-heading);
  padding: 0.25rem 0;
  transition: color var(--duration-fast) ease;
}

.mobile-sublink:hover {
  color: var(--gold) !important;
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy-900);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 6rem 2rem 3rem;
  gap: 1.5rem;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-base) ease;
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: rgba(255, 255, 255, .7);
  transition: color var(--duration-fast) ease;
}

.mobile-nav a:hover {
  color: var(--gold);
}

.mobile-nav-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}

/* =========================================================
   HERO SECTION
   ========================================================= */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('images/herobanner.png') center/cover no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-bg.loaded {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(10, 22, 40, .88) 0%,
      rgba(10, 22, 40, .65) 50%,
      rgba(10, 22, 40, .4) 100%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, .5);
  border-radius: 50%;
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100vh) translateX(20px);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 8rem 0 4rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(201, 168, 76, .15);
  border: 1px solid rgba(201, 168, 76, .35);
  color: var(--gold-light);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .45rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  animation: badge-pulse 3s ease-in-out infinite;
}

@keyframes badge-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(201, 168, 76, .0);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(201, 168, 76, .0);
  }
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: dot-blink 1.5s ease-in-out infinite;
}

@keyframes dot-blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .3;
  }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: .5rem;
  overflow: hidden;
}

.hero-title .line {
  display: block;
  animation: slide-up-in 0.8s var(--ease-out) both;
}

.hero-title .line:nth-child(2) {
  animation-delay: .15s;
  color: var(--gold-light);
  font-style: italic;
}

@keyframes slide-up-in {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, .72);
  max-width: 540px;
  margin-bottom: 2.5rem;
  animation: fade-up 0.9s var(--ease-out) 0.4s both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fade-up 0.9s var(--ease-out) 0.55s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: linear-gradient(135deg, var(--navy-300) 0%, var(--navy-200) 100%);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  padding: .9rem 2rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(46, 95, 171, .45);
  transition: transform var(--duration-fast) ease,
    box-shadow var(--duration-fast) ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(46, 95, 171, .6);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  padding: .9rem 2rem;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(255, 255, 255, .25);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background var(--duration-fast) ease,
    border-color var(--duration-fast) ease,
    transform var(--duration-fast) ease;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .5);
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  animation: fade-up 0.9s var(--ease-out) 0.7s both;
}

.hero-stat {
  text-align: left;
}

.hero-stat .number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.hero-stat .number span {
  color: var(--gold-light);
}

.hero-stat .label {
  font-size: .78rem;
  color: rgba(255, 255, 255, .55);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: .35rem;
}

/* Hero Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255, 255, 255, .5);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: fade-in 1s ease 1.2s both;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.scroll-wheel {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, .3);
  border-radius: var(--radius-full);
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel::before {
  content: '';
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, .6);
  border-radius: var(--radius-full);
  animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(14px);
    opacity: 0;
  }
}

/* =========================================================
   ABOUT SECTION
   ========================================================= */
#about {
  padding: var(--section-py) 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

#about::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(46, 95, 171, .05) 0%, transparent 70%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

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

.about-img-main {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 1;
}

.about-img-main img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform var(--duration-slow) ease;
}

.about-img-main:hover img {
  transform: scale(1.04);
}

.about-img-secondary {
  position: absolute;
  bottom: -2.5rem;
  right: -2.5rem;
  width: 55%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
  z-index: 2;
}

.about-img-secondary img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  z-index: 3;
}

.about-badge .big {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gold-light);
}

.about-badge .small {
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
  margin-top: 4px;
}

.highlight-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--navy-300);
  transition: background var(--duration-fast) ease,
    transform var(--duration-fast) ease;
}

.highlight-item:hover {
  background: var(--gray-100);
  transform: translateX(4px);
}

.highlight-item .icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--navy-600), var(--navy-400));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
}

.highlight-item h4 {
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: .25rem;
}

.highlight-item p {
  font-size: .95rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* =========================================================
   FACILITIES SECTION
   ========================================================= */
#facilities {
  padding: var(--section-py) 0;
  background: var(--gray-50);
}

.facilities-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.facilities-header .section-subtitle {
  margin: 0 auto;
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.facility-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
  position: relative;
}

.facility-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.facility-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--duration-slow) ease;
}

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

.facility-card-img-wrap {
  overflow: hidden;
  height: 200px;
}

.facility-card-body {
  padding: 1.5rem;
}

.facility-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-500));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 16px rgba(18, 35, 71, .25);
}

.facility-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: .5rem;
}

.facility-card p {
  font-size: .95rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* Card featured/large */
.facility-card.featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.facility-card.featured .facility-card-img-wrap {
  height: 100%;
}

.facility-card.featured .facility-card-img {
  height: 100%;
  min-height: 240px;
}

/* =========================================================
   LOCATION SECTION
   ========================================================= */
#location {
  padding: var(--section-py) 0;
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}

#location::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/building_night.png') center/cover no-repeat;
  opacity: .08;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.transport-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.transport-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, .05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, .08);
  transition: background var(--duration-fast) ease;
}

.transport-item:hover {
  background: rgba(255, 255, 255, .09);
}

.transport-item .t-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--navy-400), var(--navy-300));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.transport-item .t-title {
  font-size: .875rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: .2rem;
}

.transport-item .t-detail {
  font-size: .95rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.5;
}

.map-controls {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.map-toggle-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.map-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.map-toggle-btn.active {
  background: linear-gradient(135deg, var(--navy-400), var(--navy-200));
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(46, 95, 171, 0.3);
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  height: 450px;
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.map-overlay-card {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(10, 22, 40, .92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  color: var(--white);
}

.map-overlay-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: .4rem;
  color: var(--gold-light);
}

.map-overlay-card p {
  font-size: .95rem;
  color: rgba(255, 255, 255, .65);
  line-height: 1.5;
  margin-bottom: .85rem;
}

.map-directions-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: linear-gradient(135deg, var(--navy-400), var(--navy-200));
  color: var(--white);
  font-size: .78rem;
  font-weight: 600;
  padding: .5rem 1rem;
  border-radius: var(--radius-full);
  letter-spacing: .04em;
  transition: transform var(--duration-fast) ease,
    box-shadow var(--duration-fast) ease;
  box-shadow: 0 4px 14px rgba(46, 95, 171, .4);
  text-decoration: none;
}

.map-directions-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(46, 95, 171, .55);
}

.map-directions-btn i {
  font-size: .9rem;
}


/* =========================================================
   SITE REFERENCES SECTION
   ========================================================= */
#references {
  padding: var(--section-py) 0;
  background: var(--white);
}

.references-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.nearby-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.nearby-card {
  text-align: center;
  padding: 2rem 1.25rem;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all var(--duration-base) var(--ease-out);
  cursor: default;
}

.nearby-card:hover {
  background: var(--navy-900);
  border-color: var(--navy-700);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.nearby-card:hover .nearby-icon {
  background: linear-gradient(135deg, var(--navy-400), var(--navy-200));
}

.nearby-card:hover h4,
.nearby-card:hover p {
  color: var(--white) !important;
}

.nearby-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-500));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--white);
  font-size: 1.5rem;
  transition: background var(--duration-base) ease;
}

.nearby-card h4 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: .4rem;
  transition: color var(--duration-fast) ease;
}

.nearby-card p {
  font-size: .95rem;
  color: var(--gray-500);
  line-height: 1.5;
  transition: color var(--duration-fast) ease;
}

/* =========================================================
   RENTAL SERVICE SECTION
   ========================================================= */
#rental {
  padding: var(--section-py) 0;
  background: var(--gray-50);
}

.rental-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.rental-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border-top: 4px solid;
  transition: transform var(--duration-base) ease, box-shadow var(--duration-base) ease;
}

.rental-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.rental-card.deposit {
  border-top-color: var(--navy-300);
}

.rental-card.aircon {
  border-top-color: var(--gold);
}

.rental-card.services {
  border-top-color: var(--navy-200);
  grid-column: span 2;
}

.rental-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.rental-card-header .r-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
}

.rental-card.deposit .r-icon {
  background: linear-gradient(135deg, var(--navy-600), var(--navy-300));
}

.rental-card.aircon .r-icon {
  background: linear-gradient(135deg, #b8860b, var(--gold));
}

.rental-card.services .r-icon {
  background: linear-gradient(135deg, var(--navy-700), var(--navy-400));
}

.rental-card-header h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
}

.rental-detail-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.rental-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.rental-detail-list li i {
  color: var(--navy-300);
  margin-top: 3px;
  flex-shrink: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: .5rem;
}

.service-tag {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1rem;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all var(--duration-fast) ease;
}

.service-tag:hover {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-700);
}

.service-tag i {
  color: var(--navy-300);
  font-size: 1rem;
  transition: color var(--duration-fast) ease;
}

.service-tag:hover i {
  color: var(--gold);
}

/* Flexibility Banner */
.flexibility-banner {
  margin-top: 3rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.flexibility-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(46, 95, 171, .25), transparent 70%);
  pointer-events: none;
}

.flex-icon-wrap {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--gold-light);
  flex-shrink: 0;
}

.flexibility-banner h3 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  color: var(--white);
  margin-bottom: .5rem;
}

.flexibility-banner p {
  font-size: .9rem;
  color: rgba(255, 255, 255, .65);
  line-height: 1.7;
  max-width: 600px;
}

/* =========================================================
   GALLERY SECTION
   ========================================================= */
#gallery {
  padding: var(--section-py) 0;
  background: var(--white);
}

.gallery-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.gallery-grid.masonry-layout {
  column-count: 3;
  column-gap: 1.5rem;
  display: block;
  /* Override grid */
}

@media (max-width: 992px) {
  .gallery-grid.masonry-layout {
    column-count: 2;
  }
}

@media (max-width: 576px) {
  .gallery-grid.masonry-layout {
    column-count: 1;
  }
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  break-inside: avoid;
  display: inline-block;
  /* Required for break-inside avoid to work properly in columns */
  width: 100%;
}

.gallery-item img {
  width: 100%;
  height: auto;
  /* Allow masonry varied heights */
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(10, 22, 40, .9) 0%,
      rgba(10, 22, 40, .2) 60%,
      transparent 100%);
  opacity: 0;
  transition: opacity var(--duration-base) ease;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-info {
  color: var(--white);
  transform: translateY(15px);
  transition: transform var(--duration-base) ease;
}

.gallery-item:hover .gallery-info {
  transform: translateY(0);
}

.gallery-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0;
  letter-spacing: -0.01em;
}

.gallery-zoom {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: .9rem;
  position: absolute;
  top: 1rem;
  right: 1rem;
  transition: background var(--duration-fast) ease;
}

.gallery-item:hover .gallery-zoom {
  background: rgba(255, 255, 255, .25);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, .94);
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
  animation: lb-in .3s var(--ease-out);
}

.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 80px rgba(0, 0, 0, .6);
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--white);
  width: 100%;
}

.lightbox-caption h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.lightbox-caption p {
  color: var(--gray-300);
  font-size: 1rem;
  margin: 0;
}

@keyframes lb-in {
  from {
    transform: scale(.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
  cursor: pointer;
  transition: background var(--duration-fast) ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, .2);
}

/* =========================================================
   CONTACT SECTION
   ========================================================= */
#contact {
  padding: var(--section-py) 0;
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(46, 95, 171, .6), transparent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-info-card {
  padding: 2.5rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.ci-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--navy-600), var(--navy-400));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
}

.ci-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: .2rem;
}

.ci-value {
  font-size: .9rem;
  color: rgba(255, 255, 255, .85);
  line-height: 1.5;
}

.social-links {
  display: flex;
  gap: .75rem;
  margin-top: 2rem;
}

.social-link {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .7);
  font-size: 1.1rem;
  transition: all var(--duration-fast) ease;
}

.social-link:hover {
  background: var(--navy-400);
  border-color: var(--navy-300);
  color: var(--white);
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
}

.form-header {
  margin-bottom: 2rem;
}

.form-header h3 {
  font-family: var(--font-heading);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: .4rem;
}

.form-header p {
  font-size: .875rem;
  color: var(--gray-500);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.form-group.full {
  grid-column: span 2;
}

.form-group label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--gray-700);
  letter-spacing: .04em;
}

.form-group label .required {
  color: #e53e3e;
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: .875rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--duration-fast) ease,
    box-shadow var(--duration-fast) ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy-300);
  box-shadow: 0 0 0 3px rgba(46, 95, 171, .12);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, .1);
}

.form-group.error-msg {
  font-size: .75rem;
  color: #e53e3e;
  display: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--navy-600), var(--navy-300));
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
  box-shadow: 0 6px 24px rgba(46, 95, 171, .35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(46, 95, 171, .5);
}

.btn-submit:disabled {
  opacity: .65;
  cursor: wait;
}

.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}

.form-success .success-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 2rem;
  color: var(--white);
  animation: success-bounce .5s var(--ease-out);
}

@keyframes success-bounce {
  0% {
    transform: scale(0);
  }

  70% {
    transform: scale(1.15);
  }

  100% {
    transform: scale(1);
  }
}

.form-success h4 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--gray-900);
  margin-bottom: .5rem;
}

.form-success p {
  font-size: .9rem;
  color: var(--gray-500);
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background: var(--navy-900);
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}

.footer-about {
  font-size: .875rem;
  color: rgba(255, 255, 255, .5);
  line-height: 1.7;
  max-width: 320px;
  margin-bottom: 1.5rem;
}

.footer-title {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.footer-links a {
  font-size: .875rem;
  color: rgba(255, 255, 255, .55);
  transition: color var(--duration-fast) ease;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-links a i {
  font-size: .7rem;
  color: var(--navy-300);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .82rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.5;
}

.footer-contact-list li i {
  color: var(--navy-200);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: .8rem;
  color: rgba(255, 255, 255, .35);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: .8rem;
  color: rgba(255, 255, 255, .35);
  transition: color var(--duration-fast) ease;
}

.footer-bottom-links a:hover {
  color: rgba(255, 255, 255, .7);
}

/* =========================================================
   BACK TO TOP
   ========================================================= */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--navy-600), var(--navy-300));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(46, 95, 171, .4);
  opacity: 0;
  transform: translateY(16px);
  transition: all var(--duration-base) ease;
  z-index: 900;
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(46, 95, 171, .55);
}

/* =========================================================
   LOADING SCREEN
   ========================================================= */
.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--navy-900);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  transition: opacity .5s ease, visibility .5s ease;
}

.loading-screen.done {
  opacity: 0;
  visibility: hidden;
}

.loader-logo-img {
  height: 150px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  display: block;
}

.loader-bar {
  width: 160px;
  height: 3px;
  background: rgba(255, 255, 255, .1);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--navy-300), var(--gold));
  border-radius: var(--radius-full);
  animation: loader-progress 1.5s ease forwards;
  width: 0%;
}

@keyframes loader-progress {
  to {
    width: 100%;
  }
}

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

/* ── Nav breakpoint (≤ 1280px) — hide desktop nav when too many items ── */
@media (max-width: 1280px) {
  .nav-links {
    display: none;
  }

  .btn-nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }
}

/* ── Tablet (≤ 1024px) ───────────────────────────────────── */
@media (max-width: 1024px) {
  :root {
    --section-py: 80px;
  }

  .hero-scroll {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image-stack {
    max-width: 560px;
    margin: 0 auto;
  }

  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .facility-card.featured {
    grid-column: span 2;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .map-container {
    height: 380px;
  }

  .nearby-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rental-grid {
    grid-template-columns: 1fr;
  }

  .rental-card.services {
    grid-column: span 1;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(3, 220px);
  }

  .gallery-item:nth-child(1) {
    grid-column: span 6;
    grid-row: span 1;
  }

  .gallery-item:nth-child(2) {
    grid-column: span 3;
  }

  .gallery-item:nth-child(3) {
    grid-column: span 3;
  }

  .gallery-item:nth-child(4) {
    grid-column: span 3;
  }

  .gallery-item:nth-child(5) {
    grid-column: span 3;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .flexibility-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .flex-icon-wrap {
    margin: 0 auto;
  }
}

/* ── Mobile (≤ 768px) ────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --section-py: 60px;
  }

  .container {
    padding: 0 1.25rem;
  }

  .hero-stats {
    gap: 1.5rem;
    display: none;
  }

  .hero-stat .number {
    font-size: 1.75rem;
  }

  .facilities-grid {
    grid-template-columns: 1fr;
  }

  .facility-card.featured {
    grid-column: span 1;
    display: block;
  }

  .facility-card.featured .facility-card-img-wrap {
    height: 200px;
  }

  .nearby-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .gallery-item {
    height: 180px;
  }

  .gallery-item:nth-child(1) {
    grid-column: span 2;
    height: 240px;
  }

  .gallery-item:nth-child(n) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-item:nth-child(1) {
    grid-column: span 2;
  }

  .contact-form {
    padding: 1.75rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full {
    grid-column: span 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .map-container {
    height: 300px;
  }

  .map-overlay-card {
    position: static;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }

  .map-container {
    border-radius: var(--radius-lg);
    overflow: visible;
  }

  .map-container iframe {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
}

@media (max-width: 480px) {
  .nearby-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-img-secondary {
    display: none;
  }

  .about-badge {
    top: 1rem;
    left: 1rem;
  }
}



/* =========================================================
   BUILDING SPECIFICATIONS
   ========================================================= */
#specs {
  padding: var(--section-py) 0;
  background: var(--white);
}

.specs-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.spec-card {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: box-shadow var(--duration-base) ease, transform var(--duration-base) ease;
}

.spec-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.spec-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gray-200);
}

.spec-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-500));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}

.spec-card-header h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy-800);
  margin: 0;
}

.spec-list {
  display: flex;
  flex-direction: column;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .55rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.spec-item dt,
.spec-item dd {
  margin: 0;
  padding: 0;
  margin-inline-start: 0;
}

.spec-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.spec-label {
  font-size: .775rem;
  color: var(--gray-500);
  flex-shrink: 0;
}

.spec-value {
  font-size: .825rem;
  font-weight: 600;
  color: var(--gray-800);
  text-align: right;
}

@media (max-width: 768px) {
  .specs-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   SUBPAGES STYLE
   ========================================================= */
.subpage-hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.subpage-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.85) 0%, rgba(10, 22, 40, 0.95) 100%);
  z-index: 1;
}

.subpage-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 1.5rem;
}

.subpage-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  transition: color var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}

.subpage-back-link:hover {
  color: var(--gold-light);
  transform: translateX(-4px);
}

.subpage-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

body.lang-th .subpage-title {
  font-family: var(--font-thai-heading);
}

.subpage-subtitle {
  font-size: 1.25rem;
  color: var(--gray-300);
  max-width: 600px;
  margin: 0 auto;
}

.subpage-container {
  padding: 5rem 0;
  background: var(--off-white);
}

.subpage-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--gap-lg);
  align-items: start;
}

@media (max-width: 992px) {
  .subpage-grid {
    grid-template-columns: 1fr;
    gap: var(--gap-md);
  }
}

.subpage-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.subpage-info-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--navy-800);
  margin-bottom: 1.5rem;
}

body.lang-th .subpage-info-title {
  font-family: var(--font-thai-heading);
}

.subpage-meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}

.subpage-meta-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--navy-700);
  font-weight: 500;
}

.subpage-meta-item i {
  color: var(--gold);
  width: 20px;
  text-align: center;
}

.subpage-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-700);
}

.subpage-highlights-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.subpage-highlights-title i {
  color: var(--gold);
}

.subpage-highlight-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.subpage-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--gray-700);
}

.subpage-highlight-item i {
  color: var(--gold);
  font-size: 1rem;
  margin-top: 0.25rem;
}

.subpage-image-section {
  margin-top: 3.5rem;
}

.subpage-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  height: 500px;
}

@media (max-width: 768px) {
  .subpage-image-wrapper {
    height: 300px;
  }
}

.subpage-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.subpage-image-wrapper:hover img {
  transform: scale(1.05);
}

.subpage-inquiry {
  margin-top: 3.5rem;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.subpage-inquiry::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.1) 0%, transparent 70%);
  top: -150px;
  right: -150px;
  pointer-events: none;
}

.subpage-inquiry-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: 1rem;
}

body.lang-th .subpage-inquiry-title {
  font-family: var(--font-thai-heading);
}

.subpage-inquiry-desc {
  color: var(--gray-300);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

.subpage-inquiry-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--gold);
  color: var(--navy-900);
  padding: 1rem 2.5rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: background var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.4);
}

.subpage-inquiry-btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.6);
}

/* =========================================================
   SUBPAGE ADDITIONS: GALLERY, MAP, AND CONTACTS
   ========================================================= */
.subpage-gallery {
  padding: 5rem 0;
  /*background: var(--white);*/
  border-top: 1px solid var(--gray-200);
}

.subpage-gallery-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.subpage-gallery-header h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--navy-800);
  margin-bottom: 0.75rem;
}

body.lang-th .subpage-gallery-header h2 {
  font-family: var(--font-thai-heading);
}

.subpage-gallery-header p {
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.subpage-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.subpage-gallery-grid .gallery-item {
  height: 240px;
  margin-bottom: 0;
  display: block;
}

.subpage-gallery-grid .gallery-item img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

@media (max-width: 992px) {
  .subpage-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .subpage-gallery-grid {
    grid-template-columns: 1fr;
  }
}

.subpage-contact-section {
  padding: 5rem 0;
  background: var(--off-white);
  border-top: 1px solid var(--gray-200);
}

.subpage-contact-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.subpage-contact-header h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--navy-800);
  margin-bottom: 0.75rem;
}

body.lang-th .subpage-contact-header h2 {
  font-family: var(--font-thai-heading);
}

.subpage-contact-header p {
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.subpage-contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--gap-lg);
  align-items: stretch;
}

@media (max-width: 992px) {
  .subpage-contact-grid {
    grid-template-columns: 1fr;
    gap: var(--gap-md);
  }
}

.subpage-map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  min-height: 400px;
  position: relative;
}

.subpage-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  position: absolute;
  top: 0;
  left: 0;
}

.subpage-contact-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.subpage-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.subpage-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.subpage-contact-item i {
  color: var(--gold);
  font-size: 1.25rem;
  width: 24px;
  text-align: center;
  margin-top: 0.25rem;
}

.subpage-contact-info h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-400);
  margin-bottom: 0.25rem;
}

.subpage-contact-info p,
.subpage-contact-info a {
  font-size: 1.05rem;
  color: var(--navy-800);
  font-weight: 500;
  transition: color var(--duration-fast) ease;
}

.subpage-contact-info a:hover {
  color: var(--gold);
}

.subpage-contact-actions {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-100);
}

/* ── Rooms & Suites Section ────────────────────────────────── */
.subpage-rooms-section {
  padding: 5rem 0;
  /*background: var(--white);*/
  border-top: 1px solid var(--gray-200);
}

.subpage-rooms-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.subpage-rooms-header h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--navy-800);
  margin-bottom: 0.75rem;
  position: relative;
  display: inline-block;
}

.subpage-rooms-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: var(--gold);
  border-radius: var(--radius-full);
}

body.lang-th .subpage-rooms-header h2 {
  font-family: var(--font-thai-heading);
}

.subpage-rooms-header p {
  color: var(--gray-500);
  max-width: 600px;
  margin: 1.25rem auto 0;
  font-size: 1.05rem;
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-md);
  margin-top: 2rem;
}

.room-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out),
    border-color var(--duration-base) var(--ease-out);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.room-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(201, 168, 76, 0.4);
}

.room-card-img-wrap {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
  background: var(--gray-100);
}

.room-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.room-card:hover .room-card-img-wrap img {
  transform: scale(1.06);
}

.room-card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.room-card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--navy-900);
  margin-bottom: 1rem;
}

body.lang-th .room-card-title {
  font-family: var(--font-thai-heading);
}

.room-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.room-badge {
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.25);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.room-card-desc {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.room-card-features-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--navy-300);
  font-weight: 500;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-100);
}

.room-card-features-text i {
  color: var(--gold);
}

/* Responsive Rooms Grid */
@media (max-width: 992px) {
  .rooms-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .subpage-rooms-section {
    padding: 4rem 0;
  }

  .subpage-rooms-header {
    margin-bottom: 2.5rem;
  }

  .subpage-rooms-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .rooms-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .room-card-content {
    padding: 1.5rem;
  }
}

/* ── Building Specifications Gallery Carousel ────────────────────────── */
.spec-gallery-section {
  max-width: 1000px;
  margin: 0 auto 3rem;
  padding: 0 1rem;
}

.spec-gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 1rem;
}

.spec-tab-btn {
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-500);
  padding: 0.5rem 1.5rem;
  cursor: pointer;
  transition: color var(--duration-base) ease, border-color var(--duration-base) ease;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

body.lang-th .spec-tab-btn {
  font-family: var(--font-thai-heading);
}

.spec-tab-btn:hover {
  color: var(--gold);
}

.spec-tab-btn.active {
  color: var(--gold);
}

.spec-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
}

.spec-carousel-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem 0;
}

.spec-carousel-container {
  display: none;
  position: relative;
  padding: 0 3.5rem;
}

.spec-carousel-container.active {
  display: block;
}

.spec-carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.spec-carousel-slide {
  flex-shrink: 0;
  width: calc(33.333% - 1rem);
  /* default 3 items */
}

@media (max-width: 992px) {
  .spec-carousel-slide {
    width: calc(50% - 0.75rem);
    /* 2 items on tablet */
  }
}

@media (max-width: 600px) {
  .spec-carousel-container {
    padding: 0 1rem;
  }

  .spec-carousel-slide {
    width: 100%;
    /* 1 item on mobile */
  }
}

.spec-carousel-slide .gallery-item {
  margin-bottom: 0;
  display: block;
  height: 220px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.spec-carousel-slide .gallery-item img {
  height: 100%;
  object-fit: cover;
}

.spec-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(10, 22, 40, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background var(--duration-fast) ease, color var(--duration-fast) ease, border-color var(--duration-fast) ease;
}

.spec-carousel-btn:hover {
  background: var(--gold);
  color: var(--navy-900);
  border-color: var(--gold);
}

.spec-carousel-btn.prev {
  left: 0.75rem;
}

.spec-carousel-btn.next {
  right: 0.75rem;
}

@media (max-width: 600px) {
  .spec-carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .spec-carousel-btn.prev {
    left: 0.25rem;
  }

  .spec-carousel-btn.next {
    right: 0.25rem;
  }
}