/* ==========================================================================
   APEX GLOBAL VISUALS - WHITE & ORANGE EDITORIAL DESIGN SYSTEM
   Inspired by European Architectural Showrooms | Clean White + Vibrant Orange
   ========================================================================== */

:root {
  /* Color Palette: Pure White, Soft Warm Alabaster & Vibrant Orange */
  --bg-main: #ffffff;
  --bg-surface: #ffffff;
  --bg-surface-raised: #f8fafc;
  --bg-surface-soft: #f1f5f9;
  --bg-surface-overlay: rgba(255, 255, 255, 0.92);
  
  --border-subtle: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-focus: #ff6b00;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;

  /* Signature Orange Brand Accents */
  --accent-orange: #ff6b00;
  --accent-orange-hover: #e65c00;
  --accent-orange-light: #fff7ed;
  --accent-orange-border: #ffedd5;
  --accent-orange-glow: rgba(255, 107, 0, 0.25);

  --accent-line: #06c755;
  --accent-whatsapp: #25d366;
  --accent-cyan: #ff6b00; /* Re-mapped to orange for brand consistency */

  /* Typography: Microsoft YaHei / PingFang / JhengHei + Modern Sans */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "PingFang TC", "Microsoft YaHei", "微軟正黑體", "Microsoft JhengHei", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 10px 30px rgba(255, 107, 0, 0.18);

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  color-scheme: light;
  background-color: var(--bg-main);
}

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background-color: var(--bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==================== TOPBAR & NAVIGATION (DYNAMIC GLASSMORPHISM) ==================== */
.hd-topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.hd-topbar.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.hd-topbar-inner {
  display: flex;
  flex-direction: column;
}

.hd-topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  font-size: 1.18rem;
  color: #ffffff;
  text-decoration: none;
  flex-shrink: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  transition: color 0.35s ease, text-shadow 0.35s ease;
}

.hd-topbar.is-scrolled .brand-logo {
  color: var(--text-primary);
  text-shadow: none;
}

.brand-symbol {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-symbol img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-titles {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-name {
  font-weight: 900;
  letter-spacing: 0.5px;
}

.brand-tagline {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  padding-left: 8px;
  transition: color 0.35s ease, border-color 0.35s ease;
}

.hd-topbar.is-scrolled .brand-tagline {
  color: var(--text-muted);
  border-left-color: var(--border-subtle);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-link {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast);
  padding: 6px 0;
  position: relative;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.nav-link:hover, .nav-link.active {
  color: #ff9800;
}

.hd-topbar.is-scrolled .nav-link {
  color: var(--text-secondary);
  text-shadow: none;
}

.hd-topbar.is-scrolled .nav-link:hover,
.hd-topbar.is-scrolled .nav-link.active {
  color: var(--accent-orange);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-orange);
  border-radius: 2px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.desktop-only {
  display: inline-flex;
}

.lang-switcher {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
  transition: all 0.35s ease;
}

.hd-topbar.is-scrolled .lang-switcher {
  background: var(--bg-surface-soft);
  border: 1px solid var(--border-subtle);
  backdrop-filter: none;
}

.lang-btn {
  background: transparent;
  border: none;
  padding: 4px 8px;
  font-size: 0.76rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hd-topbar.is-scrolled .lang-btn {
  color: var(--text-secondary);
}

.lang-btn.active {
  background: #ffffff;
  color: var(--accent-orange);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.hd-pill-whatsapp {
  background: var(--accent-orange);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: 0 3px 12px var(--accent-orange-glow);
  white-space: nowrap;
}

.hd-pill-whatsapp:hover {
  background: var(--accent-orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px var(--accent-orange-glow);
}

.btn-admin {
  font-size: 0.8rem;
  color: #ffffff;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.35s ease;
  white-space: nowrap;
}

.btn-admin:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.hd-topbar.is-scrolled .btn-admin {
  background: #ffffff;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: none;
}

.hd-topbar.is-scrolled .btn-admin:hover {
  background: var(--bg-surface-soft);
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.mobile-menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}

.hd-topbar.is-scrolled .mobile-menu-toggle {
  background: #f8fafc;
  border-color: var(--border-medium);
}

.hamburger-bar {
  width: 18px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.25s ease;
}

.hd-topbar.is-scrolled .hamburger-bar {
  background: var(--text-primary);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  display: none;
  flex-direction: column;
  background: rgba(10, 14, 22, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 16px 24px 16px;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  margin-top: 4px;
}

.hd-topbar.is-scrolled .mobile-nav-drawer {
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid #f1f5f9;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.mobile-nav-drawer.active {
  display: flex;
}

.mobile-nav-item {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
}

.hd-topbar.is-scrolled .mobile-nav-item {
  color: var(--text-primary);
  border-bottom: 1px solid #f1f5f9;
}

.mobile-nav-item:hover {
  color: var(--accent-orange);
  background: rgba(255, 107, 0, 0.08);
  border-radius: var(--radius-sm);
}

.mobile-nav-footer {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}

.mobile-admin-link {
  font-size: 0.85rem;
  color: #94a3b8;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hd-topbar.is-scrolled .mobile-admin-link {
  color: var(--text-secondary);
}

/* Mobile Floating Contact FAB Button */
.mobile-floating-fab {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 18px;
  z-index: 800;
  background: var(--accent-orange);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  align-items: center;
  gap: 6px;
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: transform 0.2s ease;
}

.mobile-floating-fab:active {
  transform: scale(0.95);
}

/* ==================== HERO SECTION (ARCHITECTURAL & IMMERSIVE) ==================== */
.hero-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 140px;
  padding-bottom: 40px;
  overflow: hidden;
  background: #0a0d14;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  background: #0a0d14 url('/posters/%E9%94%81%E4%B8%9A1.mp4.jpg') center center / cover no-repeat;
}

.hero-video-bg.is-playing {
  background-image: none !important;
  background-color: #0a0d14;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1 !important;
  filter: saturate(1.08) brightness(0.92);
}

.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(10, 13, 20, 0.55) 0%,
    rgba(10, 13, 20, 0.38) 35%,
    rgba(10, 13, 20, 0.15) 55%,
    rgba(255, 255, 255, 0.02) 65%,
    rgba(255, 255, 255, 0.08) 72%,
    rgba(255, 255, 255, 0.18) 78%,
    rgba(255, 255, 255, 0.32) 84%,
    rgba(255, 255, 255, 0.52) 89%,
    rgba(255, 255, 255, 0.74) 94%,
    rgba(255, 255, 255, 0.92) 98%,
    #ffffff 100%
  );
  pointer-events: none;
}

.hero-content {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 3;
  padding: 0 20px;
  background: transparent;
  box-shadow: none;
  border: none;
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 107, 0, 0.2);
  border: 1px solid rgba(255, 107, 0, 0.45);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #ff9800;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}

.hero-badge-tag::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #ff9800;
  box-shadow: 0 0 10px #ff6b00;
}

.hero-headline {
  font-size: clamp(2.4rem, 4.8vw, 4.1rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  color: #ffffff;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.75);
}

.hero-subheadline {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: #f1f5f9;
  max-width: 760px;
  margin: 0 auto 36px auto;
  line-height: 1.65;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.btn-primary {
  background: var(--accent-orange);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 34px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

.btn-primary:hover {
  background: var(--accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(255, 107, 0, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(10px);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-deck {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 14px 18px;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color var(--transition-fast);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.btn-deck:hover {
  color: #ffffff;
}

/* Live Stats Metrics Strip - Sleek Borderless Minimalist Layout */
.stats-strip-section {
  background: #ffffff;
  padding: 44px 0 20px 0;
  border-bottom: 1px solid #f1f5f9;
  position: relative;
  z-index: 10;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  max-width: 1240px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  padding: 8px 24px;
  border-right: 1px solid var(--border-subtle);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 6px;
  font-family: var(--font-mono);
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* ==================== SECTIONS COMMON ==================== */
.section {
  padding: 100px 0;
  position: relative;
  background: #ffffff;
}

.section.bg-alt {
  background: #f8fafc;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 60px auto;
}

.section-tag {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--accent-orange);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==================== SERVICES GRID ==================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: all var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-orange);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--accent-orange-light);
  border: 1px solid var(--accent-orange-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 24px;
  color: var(--accent-orange);
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
}

/* ==================== PORTFOLIO GRID ==================== */
.portfolio-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
  color: var(--accent-orange);
  border-color: var(--accent-orange);
}

.filter-btn.active {
  background: var(--accent-orange);
  color: #ffffff;
  border-color: var(--accent-orange);
  box-shadow: 0 4px 14px var(--accent-orange-glow);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 32px;
}

.work-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.work-card:hover {
  transform: translateY(-8px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-lg);
}

.work-media-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  overflow: hidden;
}

.work-card.vertical .work-media-wrapper {
  aspect-ratio: 9 / 16;
  max-height: 480px;
}

.work-cover-img, .work-cover-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #0f172a;
  transition: transform var(--transition-smooth);
}

.work-card:hover .work-cover-img,
.work-card:hover .work-cover-video {
  transform: scale(1.04);
}

.work-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  z-index: 3;
}

.work-dual-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--accent-orange);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.work-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.25);
  transition: background var(--transition-fast);
  z-index: 2;
}

.play-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition-fast);
}

.work-card:hover .play-icon-circle {
  transform: scale(1.15);
  background: var(--accent-orange);
  color: #ffffff;
}

.work-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.work-client-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-orange);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.work-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.4;
}

.work-summary {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.work-impact-badge {
  background: var(--accent-orange-light);
  border-left: 3px solid var(--accent-orange);
  padding: 8px 12px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.82rem;
  color: #9a3412;
  margin-bottom: 16px;
  line-height: 1.45;
  font-weight: 500;
}

.work-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

.work-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.work-tag-item {
  font-size: 0.75rem;
  color: var(--text-secondary);
  background: var(--bg-surface-soft);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.btn-card-action {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ==================== FEATURE SPOTLIGHT CARDS (SHOP THE LOOK STYLE) ==================== */
.spotlight-wrap {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.spotlight-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.spotlight-card.reverse {
  grid-template-columns: 1fr 1.2fr;
}

.spotlight-card.reverse .spotlight-media {
  order: 2;
}

.spotlight-card.reverse .spotlight-info {
  order: 1;
}

.spotlight-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0f172a;
  overflow: hidden;
}

.spotlight-media video, .spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-info {
  padding: 40px;
}

.spotlight-kicker {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--accent-orange);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.spotlight-title {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.3;
}

.spotlight-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.spotlight-highlights {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.spotlight-hl-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-primary);
  font-weight: 600;
}

.spotlight-hl-icon {
  color: var(--accent-orange);
  font-weight: 900;
}

/* ==================== WHY CHOOSE US ==================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why-item {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
}

.why-number {
  font-size: 2.5rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--accent-orange);
  opacity: 0.8;
  margin-bottom: 12px;
}

.why-item h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.why-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==================== CONTACT & INQUIRY ==================== */
.contact-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  box-shadow: var(--shadow-lg);
}

.contact-channels {
  padding: 48px 40px;
  background: #f8fafc;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.channel-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
}

.channel-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.channel-card:hover {
  border-color: var(--accent-orange);
  transform: translateX(4px);
}

.channel-card.line-channel:hover {
  border-color: var(--accent-line);
}

.channel-card.wa-channel:hover {
  border-color: var(--accent-whatsapp);
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: var(--bg-surface-soft);
}

.channel-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.channel-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.contact-form-side {
  padding: 48px 40px;
  background: #ffffff;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px var(--accent-orange-light);
}

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

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 6px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.checkbox-label input {
  accent-color: var(--accent-orange);
}

/* ==================== LIGHTBOX MODAL ==================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  max-width: 1080px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--accent-orange);
  color: #ffffff;
}

.modal-media-area {
  width: 100%;
  background: #0f172a;
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow: hidden;
}

.modal-media-area.vertical-video {
  aspect-ratio: 9 / 16;
  max-height: 600px;
  margin: 0 auto;
}

.modal-media-area video, .modal-media-area iframe, .modal-media-area img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ==================== VIDEO-ONLY PURE THEATER MODAL ==================== */
.modal-container.video-only-mode {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  max-width: 92vw !important;
  max-height: 88vh !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

.modal-container.video-only-mode .modal-body {
  display: none !important;
}

.modal-container.video-only-mode .modal-media-area {
  background: #000000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.95);
  max-height: 85vh;
  max-width: 90vw;
  width: auto;
  height: auto;
  aspect-ratio: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.modal-container.video-only-mode .modal-media-area video {
  max-height: 85vh;
  max-width: 90vw;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-lg);
  background: #000;
}

.modal-container.video-only-mode .modal-media-area.vertical-video {
  max-height: 85vh;
  max-width: calc(85vh * 9 / 16);
  width: auto;
  aspect-ratio: 9 / 16;
}

.modal-container.video-only-mode .modal-media-area.vertical-video video {
  max-height: 85vh;
  width: 100%;
  height: 100%;
  aspect-ratio: 9 / 16;
}

.modal-container.video-only-mode .modal-close-btn {
  top: -16px;
  right: -16px;
  width: 38px;
  height: 38px;
  background: rgba(15, 23, 42, 0.95);
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.8);
  color: #ffffff;
  font-size: 24px;
  z-index: 30;
}

.modal-container.video-only-mode .audio-track-floating {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 25;
  display: flex;
  gap: 8px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .modal-container.video-only-mode .modal-close-btn {
    top: 10px;
    right: 10px;
  }
}

/* Prohibit Video Download UI & Right Click */
video::-internal-media-controls-download-button {
  display: none !important;
}
video::-webkit-media-controls-enclosure {
  overflow: hidden;
}

/* ==================== BEFORE / AFTER INTERACTIVE COMPARISON SLIDER ==================== */
.comparison-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #090d16;
  user-select: none;
  touch-action: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparison-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparison-img-after {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.comparison-before-layer {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 50%;
  overflow: hidden;
  z-index: 2;
  border-right: 2px solid #ffffff;
  box-shadow: 2px 0 16px rgba(0, 0, 0, 0.4);
}

.comparison-img-before {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: contain;
  pointer-events: none;
}

.comparison-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 44px;
  margin-left: -22px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: ew-resize;
}

.comparison-handle-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.comparison-handle-grip {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-orange, #ff5500);
  border: 3px solid #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  transition: transform 0.15s ease;
}

.comparison-handle:hover .comparison-handle-grip,
.comparison-handle:active .comparison-handle-grip {
  transform: scale(1.15);
}

.comparison-badge-tag {
  position: absolute;
  bottom: 18px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  z-index: 5;
  pointer-events: none;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.comparison-badge-before {
  left: 18px;
  background: rgba(15, 23, 42, 0.85);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.comparison-badge-after {
  right: 18px;
  background: rgba(255, 85, 0, 0.9);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.comparison-controls-strip {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  background: rgba(15, 23, 42, 0.85);
  padding: 4px 6px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  z-index: 15;
}

.comparison-btn-mode {
  background: transparent;
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s;
}

.comparison-btn-mode.active, .comparison-btn-mode:hover {
  background: #ffffff;
  color: #0f172a;
}

.modal-body {
  padding: 32px 36px;
}

.modal-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.modal-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.3;
}

.audio-track-toggle {
  display: flex;
  gap: 8px;
  background: var(--bg-surface-soft);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.audio-track-btn {
  background: transparent;
  border: none;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  cursor: pointer;
}

.audio-track-btn.active {
  background: var(--accent-orange);
  color: #ffffff;
}

.modal-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: #f8fafc;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.meta-item label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.meta-item span {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-text-block {
  margin-bottom: 20px;
}

.modal-text-block h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-orange);
  margin-bottom: 8px;
}

.modal-text-block p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==================== FOOTER ==================== */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: #f8fafc;
  padding: 60px 0 30px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
}

/* ==================== TOAST & QR MODAL ==================== */
.toast-msg {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: #0f172a;
  color: #ffffff;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-normal);
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}

.qr-box {
  text-align: center;
  padding: 20px;
}

.qr-box img, .qr-placeholder {
  width: 200px;
  height: 200px;
  margin: 0 auto 16px auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-medium);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  font-weight: 700;
}

/* ==================== RESPONSIVE BREAKPOINTS ==================== */
@media (max-width: 1024px) {
  .services-grid, .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .spotlight-card, .spotlight-card.reverse {
    grid-template-columns: 1fr;
  }
  .spotlight-card.reverse .spotlight-media {
    order: 1;
  }
  .spotlight-card.reverse .spotlight-info {
    order: 2;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .contact-channels {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
}

@media (max-width: 768px) {
  .hd-topbar-row {
    height: 62px;
  }
  .brand-logo {
    font-size: 1.02rem;
    gap: 8px;
  }
  .brand-symbol {
    width: 28px;
    height: 28px;
  }
  .brand-tagline {
    display: none;
  }
  .nav-links {
    display: none;
  }
  .desktop-only {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .mobile-floating-fab {
    display: inline-flex;
  }

  /* Hero Section Mobile Polish */
  .hero-section {
    padding-top: 105px;
    padding-bottom: 25px;
    min-height: auto;
  }
  .hero-headline {
    font-size: clamp(1.68rem, 6.2vw, 2.3rem);
    line-height: 1.28;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
  }
  .hero-subheadline {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 24px;
    padding: 0 4px;
  }
  .hero-ctas {
    flex-direction: column;
    gap: 12px;
    max-width: 280px;
    margin: 0 auto 28px auto;
  }
  .hero-ctas .btn-primary, .hero-ctas .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 0.95rem;
  }

  /* Section Spacing & Headings */
  .section {
    padding: 56px 0;
  }
  .section-title {
    font-size: 1.7rem;
    line-height: 1.3;
  }
  .section-desc {
    font-size: 0.92rem;
  }

  /* Filter Controls Mobile Horizontal Scroll */
  .portfolio-controls {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 6px 12px 14px 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .portfolio-controls::-webkit-scrollbar {
    display: none;
  }
  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  /* Stats Grid */
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 16px;
  }
  .stat-number {
    font-size: 1.9rem;
  }

  /* Grids */
  .services-grid, .why-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .works-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Spotlight Card */
  .spotlight-card {
    border-radius: var(--radius-lg);
  }
  .spotlight-info {
    padding: 24px 20px;
  }

  /* Contact & Form */
  .contact-channels {
    padding: 32px 20px;
  }
  .contact-form-side {
    padding: 32px 20px;
  }
  .checkbox-group {
    grid-template-columns: 1fr;
  }

  /* Modal Mobile Optimization */
  .modal-overlay {
    padding: 12px;
  }
  .modal-container {
    max-height: 94vh;
  }
  .modal-body {
    padding: 20px 16px;
  }
  .modal-title {
    font-size: 1.25rem;
  }
  .modal-meta-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 14px;
  }
}
