/* ==========================================================================
   THE FINAL RENDER - LUXURY STYLING & COMPONENT SYSTEM
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;900&family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* Typography Utilities */
.font-cinzel {
  font-family: 'Cinzel', serif;
  letter-spacing: 0.04em;
}

.font-sans {
  font-family: 'Inter', -apple-system, sans-serif;
}

.text-gold {
  color: var(--gold-primary);
}

.text-gold-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-muted {
  color: var(--text-muted);
}

.text-secondary {
  color: var(--text-secondary);
}

/* Background Gradients & Ambient Effects */
.bg-ambient-mesh {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  pointer-events: none;
  background: 
    radial-gradient(circle at 15% 15%, rgba(212, 175, 55, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(255, 140, 56, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(212, 175, 55, 0.04) 0%, transparent 50%);
  z-index: 0;
}

.subtle-grain {
  position: relative;
}

/* ==========================================================================
   HEADER & ULTRA-LUXURY NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  background: rgba(6, 6, 8, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled {
  background: rgba(6, 6, 8, 0.96);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.75), 0 1px 0 rgba(212, 175, 55, 0.25);
  border-bottom-color: rgba(212, 175, 55, 0.25);
}

.site-header .container {
  max-width: 1440px;
  padding-left: clamp(16px, 3.5vw, 44px);
  padding-right: clamp(16px, 3.5vw, 44px);
}

.site-header .btn {
  padding: 8px 18px;
  font-size: 12.5px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
}

.site-header .btn-whatsapp {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.45);
  color: #25d366;
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.15);
}

.site-header .btn-whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  color: #000000;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.site-header .btn-gold {
  background: linear-gradient(135deg, #f6e6b4 0%, #d4af37 50%, #b88d28 100%);
  color: #0a0a0c;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 2px 14px rgba(212, 175, 55, 0.35);
}

.site-header .btn-gold:hover {
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.55);
  transform: translateY(-2px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: clamp(66px, 8.5vh, 78px);
  gap: var(--fib-4);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.brand-logo:hover {
  opacity: 0.92;
}

.brand-logo img {
  height: clamp(32px, 4.5vh, 40px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6));
  transition: all 0.25s ease;
}

.brand-logo:hover img {
  transform: scale(1.02);
  filter: drop-shadow(0 4px 16px rgba(212, 175, 55, 0.45));
}

.brand-text {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.12em;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-text span {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--gold-primary);
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Desktop Nav Links - Guaranteed No Wrapping & Luxury Polish */
.nav-links {
  display: none;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.8vw, 26px);
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: #a3a3af;
  position: relative;
  padding: 8px 6px;
  letter-spacing: 0.025em;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover {
  color: #ffffff;
  text-shadow: 0 0 16px rgba(246, 230, 180, 0.35);
}

.nav-link.active {
  color: var(--gold-light);
  font-weight: 600;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.7);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

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

/* Luxury Header Action Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  user-select: none;
}

.btn-gold {
  background: linear-gradient(135deg, #f6e6b4 0%, #d4af37 48%, #b38924 100%);
  color: #060608;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.32);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.52);
  color: #000000;
}

.btn-whatsapp {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.42);
  color: #25d366;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.15);
}

.btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.22);
  border-color: #25d366;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.4);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid rgba(212, 175, 55, 0.35);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Mobile Header Hamburger Toggle (Tablet & Mobile only) */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.25s ease;
}

@media (min-width: 992px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--gold-light);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION BAR (Fixed Thumb Bar)
   ========================================================================== */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: rgba(8, 8, 11, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.6);
  padding: 6px 12px calc(6px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 991px) {
  .mobile-bottom-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    gap: 4px;
  }

  /* Safe padding so content doesn't get covered on mobile */
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  /* Hide floating button on mobile to prevent clutter */
  .whatsapp-float {
    display: none !important;
  }
}

.mobile-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 0;
  text-decoration: none;
  color: #8e8e9c;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
  border-radius: var(--radius-sm);
  position: relative;
}

.mobile-bar-item i {
  font-size: 17px;
  transition: transform 0.25s ease, color 0.25s ease;
}

.mobile-bar-item:hover,
.mobile-bar-item.active {
  color: var(--gold-light);
}

.mobile-bar-item.active i {
  color: var(--gold-primary);
  transform: translateY(-2px);
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.6));
}

/* Center Highlighted WhatsApp Action */
.mobile-bar-item.mobile-bar-whatsapp {
  color: #25d366;
}

.mobile-bar-item.mobile-bar-whatsapp .whatsapp-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.18);
  border: 1px solid rgba(37, 211, 102, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -4px;
  transition: all 0.25s ease;
}

.mobile-bar-item.mobile-bar-whatsapp .whatsapp-badge-icon i {
  font-size: 18px;
  color: #25d366;
}

.mobile-bar-item.mobile-bar-whatsapp:hover .whatsapp-badge-icon {
  background: #25d366;
  transform: scale(1.08);
}

.mobile-bar-item.mobile-bar-whatsapp:hover .whatsapp-badge-icon i {
  color: #000000;
}

/* Mobile Drawer Menu */
.mobile-drawer {
  position: fixed;
  top: clamp(64px, 8vh, 80px);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(6, 6, 8, 0.98);
  backdrop-filter: blur(20px);
  z-index: var(--z-drawer);
  display: flex;
  flex-direction: column;
  padding: var(--fib-6) var(--fib-5);
  gap: var(--fib-4);
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer a {
  font-size: var(--font-lg);
  font-weight: 600;
  color: var(--text-primary);
  padding: var(--fib-3) 0;
  border-bottom: 1px solid var(--color-glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-drawer a.active {
  color: var(--gold-primary);
  border-bottom-color: var(--gold-border);
}

/* Hero Section - Compact & Luxurious */
.hero-section {
  padding-top: calc(clamp(64px, 8vh, 80px) + 24px);
  padding-bottom: clamp(28px, 3.5vw, 48px);
  position: relative;
  overflow: hidden;
  min-height: auto;
  display: flex;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--fib-2);
  padding: var(--fib-1) var(--fib-4);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-full);
  font-size: var(--font-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: var(--fib-4);
}

.hero-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 10px var(--gold-primary);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: var(--font-3xl);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: var(--fib-4);
}

.hero-tagline {
  font-size: var(--font-md);
  color: var(--text-secondary);
  line-height: var(--lh-snug);
  margin-bottom: var(--fib-5);
  max-width: 580px;
}

/* Business Category Badges */
.category-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fib-2);
  margin-bottom: var(--fib-5);
}

.badge-tag {
  font-size: var(--font-xs);
  padding: var(--fib-1) var(--fib-3);
  border-radius: var(--radius-sm);
  background: var(--color-surface-2);
  border: 1px solid var(--color-glass-border);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.badge-tag i {
  color: var(--gold-primary);
  font-size: 11px;
}

.badge-tag:hover {
  border-color: var(--gold-border);
  color: var(--gold-light);
  background: var(--color-surface-3);
}

/* Promo Video Hero Reel Container */
.hero-video-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-surface-2);
  border: 1px solid var(--gold-border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), var(--gold-glow);
  aspect-ratio: 16 / 9;
  cursor: pointer;
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.hero-video-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: var(--gold-light);
}

.hero-video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
  transition: filter 0.4s ease;
}

.hero-video-card:hover .hero-video-thumb {
  filter: brightness(0.95);
}

.play-ripple-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(64px, 8vw, 84px);
  height: clamp(64px, 8vw, 84px);
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
  transition: all 0.3s ease;
  z-index: 2;
}

.play-ripple-button i {
  font-size: clamp(22px, 2.5vw, 30px);
  margin-left: 4px;
}

.play-ripple-button::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  right: -12px;
  bottom: -12px;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.4);
  animation: play-pulse 2.2s infinite;
}

@keyframes play-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

.video-label-floating {
  position: absolute;
  bottom: var(--fib-3);
  left: var(--fib-4);
  right: var(--fib-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(6, 6, 8, 0.75);
  backdrop-filter: blur(10px);
  padding: var(--fib-2) var(--fib-4);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--font-xs);
  z-index: 2;
}

/* Stats Ribbon */
.stats-ribbon {
  background: var(--color-surface-1);
  border-top: 1px solid var(--color-glass-border);
  border-bottom: 1px solid var(--color-glass-border);
  padding: var(--fib-5) 0;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--fib-4);
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--fib-5);
  }
}

.stat-item {
  text-align: center;
  padding: var(--fib-3);
  position: relative;
}

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

@media (min-width: 768px) {
  .stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: var(--color-glass-border);
    display: block;
  }
}

.stat-value {
  font-family: 'Cinzel', serif;
  font-size: var(--font-2xl);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--fib-1);
}

.stat-label {
  font-size: var(--font-sm);
  color: var(--text-secondary);
  font-weight: 500;
}

/* Section Header Typography */
.section-header {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(16px, 2.4vw, 28px);
  position: relative;
}

.section-pretitle {
  font-size: var(--font-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold-primary);
  text-transform: uppercase;
  margin-bottom: var(--fib-2);
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: var(--font-2xl);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--fib-3);
}

.section-subtitle {
  font-size: var(--font-base);
  color: var(--text-secondary);
  line-height: var(--lh-snug);
}

/* Category Filter Bar */
.category-tabs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--fib-2);
  margin-bottom: var(--fib-6);
}

.category-tab-btn {
  padding: var(--fib-2) var(--fib-4);
  border-radius: var(--radius-full);
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--color-surface-2);
  border: 1px solid var(--color-glass-border);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: var(--fib-2);
}

.category-tab-btn:hover {
  border-color: var(--gold-border);
  color: var(--text-primary);
}

.category-tab-btn.active {
  background: var(--gold-gradient);
  color: #000000;
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
}

/* Portfolio Video Grid */
.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--fib-5);
  min-width: 0;
}

@media (min-width: 640px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Video Card (Golden Ratio Proportioned & No Overflow) */
.video-card {
  background: var(--color-surface-1);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.video-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 24px rgba(212, 175, 55, 0.15);
}

.video-thumb-container {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000000;
  overflow: hidden;
  cursor: pointer;
}

/* Specific Vertical Styling for Shorts */
.video-card.is-short {
  grid-column: span 1;
}

.video-card.is-short .video-thumb-container {
  aspect-ratio: 9 / 16;
  max-height: 480px;
  margin: 0 auto;
}

.video-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.video-card:hover .card-play-overlay {
  background: rgba(0, 0, 0, 0.15);
}

.card-play-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(6, 6, 8, 0.85);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.card-play-icon i {
  margin-left: 3px;
  font-size: 18px;
}

.video-card:hover .card-play-icon {
  transform: scale(1.15);
  background: var(--gold-gradient);
  color: #000000;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
}

.video-duration-badge {
  position: absolute;
  bottom: var(--fib-2);
  right: var(--fib-2);
  background: rgba(6, 6, 8, 0.85);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.video-category-tag {
  position: absolute;
  top: var(--fib-2);
  left: var(--fib-2);
  background: rgba(13, 13, 17, 0.85);
  backdrop-filter: blur(8px);
  color: var(--gold-light);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid var(--gold-border);
}

.video-card-body {
  padding: var(--fib-4);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--fib-2);
}

.video-card-title {
  font-size: var(--font-base);
  font-weight: 700;
  line-height: var(--lh-snug);
  color: var(--text-primary);
}

.video-card-desc {
  font-size: var(--font-sm);
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: var(--fib-2);
}

.video-card-tag {
  font-size: 10px;
  padding: 2px 7px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  color: var(--text-muted);
}

/* ==========================================================================
   INTERACTIVE BEFORE / AFTER SLIDER (ADVANCED CLIP-PATH & SCENE SWITCHER)
   ========================================================================== */
.ba-scene-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: var(--fib-3);
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

.ba-scene-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ba-scene-btn {
  background: var(--color-surface-2);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.25s ease;
  cursor: pointer;
}

.ba-scene-btn small {
  font-size: 10.5px;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 2px;
}

.ba-scene-btn:hover {
  background: var(--color-surface-3);
  border-color: var(--gold-border);
  color: #ffffff;
}

.ba-scene-btn.active {
  background: rgba(212, 175, 55, 0.14);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.2);
}

.ba-scene-btn.active small {
  color: var(--gold-light);
  opacity: 0.85;
}

.ba-action-tools {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.before-after-wrapper {
  --split: 50%;
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--gold-border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), var(--gold-glow);
  user-select: none;
  touch-action: pan-y;
  background: #060608;
  cursor: ew-resize;
}

.ba-aspect {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 280px;
  overflow: hidden;
}

/* Layer Registration: Both layers are identical 100% overlays */
.ba-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ba-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Base layer: Graded Final Render */
.ba-after {
  z-index: 1;
}

/* Top layer: RAW Camera LOG (Clipped precisely from the right edge) */
.ba-before {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--split, 50%)) 0 0);
  will-change: clip-path;
}

/* Splitter Line & Knob */
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split, 50%);
  width: 3px;
  background: var(--gold-gradient);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.85);
  z-index: 5;
  cursor: ew-resize;
  transform: translateX(-50%);
  pointer-events: none;
}

.ba-handle-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff7dc 0%, #d4af37 50%, #99781e 100%);
  color: #060608;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.9), 0 0 20px rgba(212, 175, 55, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border: 2.5px solid #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.before-after-wrapper:hover .ba-handle-knob,
.before-after-wrapper.is-dragging .ba-handle-knob {
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 0 32px rgba(212, 175, 55, 0.95);
}

.ba-label {
  position: absolute;
  top: var(--fib-3);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: var(--font-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 6;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: none;
}

.ba-label-before {
  left: var(--fib-3);
  background: rgba(6, 6, 8, 0.78);
  color: #d4d4d8;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ba-label-after {
  right: var(--fib-3);
  background: var(--gold-gradient);
  color: #060608;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

/* DaVinci Color Science Metadata Ribbon */
.ba-meta-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  margin-top: var(--fib-3);
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .ba-meta-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ba-meta-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ba-meta-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-primary);
  font-weight: 700;
}

.ba-meta-val {
  font-size: 12.5px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ==========================================================================
   FIBONACCI 5-STEP PIPELINE
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--fib-4);
  position: relative;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .process-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.process-card {
  background: var(--color-surface-1);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
  padding: var(--fib-4);
  display: flex;
  flex-direction: column;
  gap: var(--fib-3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.process-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
  background: var(--color-surface-2);
}

.process-number {
  font-family: 'Cinzel', serif;
  font-size: var(--font-xl);
  font-weight: 800;
  color: var(--gold-primary);
  opacity: 0.85;
}

.process-title {
  font-size: var(--font-base);
  font-weight: 700;
  color: var(--text-primary);
}

.process-desc {
  font-size: var(--font-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}

.process-fib-badge {
  font-size: 10px;
  font-family: monospace;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: var(--fib-2);
  border-top: 1px dashed var(--color-glass-border);
}

/* ==========================================================================
   INTERACTIVE ESTIMATE / QUOTE CALCULATOR
   ========================================================================== */
.calculator-card {
  background: var(--color-surface-1);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xl);
  padding: clamp(var(--fib-4), 5vw, var(--fib-6));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--fib-5);
}

@media (min-width: 992px) {
  .calc-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--fib-6);
  }
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: var(--fib-2);
  margin-bottom: var(--fib-4);
}

.calc-label {
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.calc-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: var(--fib-2);
}

.calc-btn-option {
  padding: var(--fib-3);
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
  border: 1px solid var(--color-glass-border);
  font-size: var(--font-sm);
  color: var(--text-secondary);
  text-align: center;
  transition: all 0.2s ease;
}

.calc-btn-option:hover {
  border-color: var(--gold-border);
  color: var(--text-primary);
}

.calc-btn-option.selected {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  font-weight: 600;
}

.calc-summary-panel {
  background: var(--color-surface-2);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
  padding: var(--fib-5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--fib-4);
}

.calc-price-display {
  font-family: 'Cinzel', serif;
  font-size: var(--font-2xl);
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1.1;
}

/* ==========================================================================
   VIDEO LIGHTBOX MODAL
   ========================================================================== */
.video-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 4, 6, 0.95);
  backdrop-filter: blur(20px);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--fib-4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-content-wrap {
  position: relative;
  width: 100%;
  max-width: 1080px;
  background: #000000;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gold-border);
  box-shadow: 0 0 60px rgba(212, 175, 55, 0.3);
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.video-modal-overlay.active .modal-content-wrap {
  transform: scale(1);
}

.modal-content-wrap.is-vertical {
  max-width: 440px;
}

.modal-iframe-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.modal-content-wrap.is-vertical .modal-iframe-box {
  aspect-ratio: 9 / 16;
  max-height: 80vh;
}

.modal-iframe-box iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(6, 6, 8, 0.85);
  border: 1px solid var(--gold-border);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 10;
  transition: all 0.25s ease;
}

.modal-close-btn:hover {
  background: var(--gold-primary);
  color: #000;
  transform: rotate(90deg);
}

/* ==========================================================================
   CONTACT FORM & FOOTER
   ========================================================================== */
.contact-form-card {
  background: var(--color-surface-1);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-xl);
  padding: clamp(var(--fib-4), 5vw, var(--fib-6));
}

.form-group {
  margin-bottom: var(--fib-4);
}

.form-label {
  display: block;
  font-size: var(--font-sm);
  font-weight: 600;
  margin-bottom: var(--fib-1);
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: var(--fib-3) var(--fib-4);
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
  border: 1px solid var(--color-glass-border);
  color: var(--text-primary);
  font-size: var(--font-base);
  transition: border-color 0.25s ease;
}

.form-control:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

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

/* Floating WhatsApp Button - RIGHT SIDE */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  left: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  z-index: var(--z-sticky);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 14px 35px rgba(37, 211, 102, 0.65);
}

/* Site Footer - Ultra-Refined Desktop & Mobile Layout */
.site-footer {
  background: #030304;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--fib-7) 0 var(--fib-5);
  position: relative;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--fib-5);
  margin-bottom: var(--fib-6);
}

@media (min-width: 576px) and (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--fib-5);
  }
  .footer-brand-col {
    grid-column: span 2;
  }
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: var(--fib-6);
  }
}

.footer-title {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: var(--fib-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.footer-links a {
  font-size: var(--font-sm);
  color: var(--text-secondary);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--gold-light);
  transform: translateX(3px);
}

.footer-contact-box {
  background: var(--color-surface-1);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
  padding: var(--fib-4);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-box a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--font-sm);
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-contact-box a:hover {
  color: var(--gold-primary);
}

@media (max-width: 767px) {
  .site-footer {
    padding-top: var(--fib-6);
    padding-bottom: calc(var(--fib-5) + 64px); /* Extra space for bottom bar */
  }

  .footer-links-grid-mobile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--fib-4);
  }

  .footer-brand-col {
    text-align: left;
    padding-bottom: var(--fib-3);
    border-bottom: 1px solid var(--color-glass-border);
  }

  .footer-title {
    font-size: 13px;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
  }

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

  .footer-links a {
    font-size: 13px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--fib-3);
  padding-top: var(--fib-4);
  border-top: 1px solid var(--color-glass-border);
  font-size: var(--font-xs);
  color: var(--text-muted);
}

/* ==========================================================================
   ANTI-SPAM HONEYPOT & SMS COMPLIANCE TOKENS
   ========================================================================== */
.hp-field {
  display: none !important;
  position: absolute !important;
  left: -99999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.sms-consent-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-top: var(--fib-3);
  margin-bottom: var(--fib-3);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.sms-consent-box input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  accent-color: var(--gold-primary);
  cursor: pointer;
  flex-shrink: 0;
}

.sms-consent-box label {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  cursor: pointer;
  margin-bottom: 0;
}

.sms-consent-box a {
  color: var(--gold-primary);
  text-decoration: underline;
}

.sms-consent-box a:hover {
  color: var(--gold-light);
}

/* ==========================================================================
   INTERACTIVE AUDIO & DOLBY SOUND DESIGN A/B PLAYER
   ========================================================================== */
.audio-player-card {
  background: var(--color-surface-1);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xl);
  padding: clamp(20px, 4vw, 36px);
  max-width: 1040px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85), var(--gold-glow);
  position: relative;
  overflow: hidden;
}

.audio-controls-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.audio-switch-group {
  display: inline-flex;
  background: var(--color-surface-3);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-full);
  padding: 4px;
  gap: 4px;
}

.audio-switch-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.audio-switch-btn.active {
  background: var(--gold-gradient);
  color: #060608;
  font-weight: 700;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.5);
}

.audio-switch-btn.camera-btn.active {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid #ef4444;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.4);
}

.audio-vis-container {
  background: #020204;
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.audio-canvas {
  width: 100%;
  height: 120px;
  display: block;
}

.audio-progress-track {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  margin-top: 14px;
  position: relative;
  overflow: hidden;
}

.audio-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--gold-gradient);
  box-shadow: 0 0 10px var(--gold-primary);
  transition: width 0.05s linear;
}

/* ==========================================================================
   MULTI-CURRENCY SWITCHER & ESTIMATE PDF
   ========================================================================== */
.currency-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-glass-border);
  padding: 4px;
  border-radius: var(--radius-full);
}

.currency-pill {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
}

.currency-pill.active {
  background: var(--gold-gradient);
  color: #060608;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

/* ==========================================================================
   LIVE EDIT SUITES & AVAILABILITY CALENDAR
   ========================================================================== */
.suites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
}

.suite-card {
  background: var(--color-surface-1);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.suite-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), var(--gold-glow);
}

.suite-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-available {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  color: #10b981;
}

.status-rush {
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
}

.status-session {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid #38bdf8;
  color: #38bdf8;
}

.status-booked {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #f87171;
}

/* ==========================================================================
   CLIENT CASE STUDY DEEP-DIVES
   ========================================================================== */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.case-study-card {
  background: var(--color-surface-1);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s ease;
}

.case-study-card:hover {
  border-color: var(--gold-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), var(--gold-glow);
  transform: translateY(-4px);
}

.case-study-header {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.case-study-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.case-study-card:hover .case-study-img {
  transform: scale(1.05);
}

.case-study-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.case-study-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-md);
  padding: 12px 8px;
  text-align: center;
}

.case-metric-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold-light);
}

.case-metric-lbl {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* ==========================================================================
   DIRECT FRAME.IO / WIPSTER REVIEW WORKSPACE
   ========================================================================== */
.frameio-container {
  background: #09090d;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.95), var(--gold-glow);
}

.frameio-topbar {
  background: #0e0e14;
  border-bottom: 1px solid var(--color-glass-border);
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.frameio-workspace-grid {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 480px;
}

@media (min-width: 992px) {
  .frameio-workspace-grid {
    grid-template-columns: 1.7fr 1fr;
  }
}

.frameio-screen-panel {
  background: #000;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.frameio-timeline-markers {
  position: relative;
  height: 24px;
  background: #14141c;
  border-radius: 4px;
  margin-top: 12px;
  cursor: pointer;
}

.frameio-marker-pin {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold-primary);
  border: 2px solid #fff;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.frameio-marker-pin:hover {
  transform: translate(-50%, -50%) scale(1.3);
}

.frameio-sidebar {
  background: #0f0f16;
  border-left: 1px solid var(--color-glass-border);
  display: flex;
  flex-direction: column;
}

.frameio-comments-list {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  max-height: 380px;
}

.frameio-comment-item {
  background: #151520;
  border: 1px solid #232332;
  border-radius: var(--radius-md);
  padding: 12px;
  transition: all 0.2s ease;
}

.frameio-comment-item:hover {
  border-color: var(--gold-border);
}

.frameio-comment-tc {
  display: inline-block;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 6px;
}

/* ==========================================================================
   INTERACTIVE REAL-TIME MOTION VIDEO COMPARISON SUITE
   ========================================================================== */
.video-comparison-card {
  background: var(--color-surface-1);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xl);
  padding: clamp(20px, 4vw, 36px);
  max-width: 1040px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), var(--gold-glow);
  position: relative;
  overflow: hidden;
}

.video-screen-container {
  --video-split: 50%;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 280px;
  background: #000000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-glass-border);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.9);
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
}

.video-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.video-layer video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Layer Master (Underneath) */
.video-layer-master {
  z-index: 1;
}

/* Layer RAW (Clipped dynamically) */
.video-layer-raw {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--video-split, 50%)) 0 0);
  will-change: clip-path;
}

@keyframes cameraJitter {
  0% { transform: translate(0, 0) rotate(0deg) scale(1.02); }
  15% { transform: translate(-3px, 2px) rotate(-0.35deg) scale(1.02); }
  30% { transform: translate(4px, -2px) rotate(0.4deg) scale(1.02); }
  45% { transform: translate(-2px, -3px) rotate(-0.25deg) scale(1.02); }
  60% { transform: translate(3px, 2px) rotate(0.3deg) scale(1.02); }
  75% { transform: translate(-3px, 1px) rotate(-0.35deg) scale(1.02); }
  90% { transform: translate(2px, -2px) rotate(0.2deg) scale(1.02); }
  100% { transform: translate(0, 0) rotate(0deg) scale(1.02); }
}

.video-layer-raw video {
  filter: contrast(0.72) saturate(0.35) brightness(0.96);
  animation: cameraJitter 1.2s infinite ease-in-out;
}

/* Video Divider Handle */
.video-split-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--video-split, 50%);
  width: 3px;
  background: var(--gold-gradient);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.9);
  z-index: 5;
  cursor: ew-resize;
  transform: translateX(-50%);
  pointer-events: none;
}

.video-split-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff7dc 0%, #d4af37 50%, #99781e 100%);
  color: #060608;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.9), 0 0 20px rgba(212, 175, 55, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  border: 2.5px solid #ffffff;
  transition: transform 0.2s ease;
}

.video-screen-container:hover .video-split-knob {
  transform: translate(-50%, -50%) scale(1.1);
}

.rec-pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  margin-right: 6px;
  animation: recBlink 1s infinite alternate;
}

@keyframes recBlink {
  0% { opacity: 0.3; }
  100% { opacity: 1; transform: scale(1.1); }
}

.video-telemetry-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

/* ==========================================================================
   UNIFIED CONTROL PILL BUTTONS (AUDIO & VIDEO COMPARISON SUITES)
   ========================================================================== */
.ctrl-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.ctrl-btn-cluster {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ctrl-pill-btn {
  height: 42px;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  white-space: nowrap;
  border: 1px solid transparent;
  user-select: none;
}

.ctrl-pill-gold {
  background: linear-gradient(135deg, #f6e6b4 0%, #d4af37 50%, #99781e 100%);
  color: #060608;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
  font-weight: 800;
}

.ctrl-pill-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(212, 175, 55, 0.55);
  filter: brightness(1.08);
}

.ctrl-pill-gold:active {
  transform: translateY(0);
}

.ctrl-pill-glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #e4e4e7;
  backdrop-filter: blur(10px);
}

.ctrl-pill-glass:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.25);
}

.ctrl-pill-glass:active {
  transform: translateY(0);
}

.ctrl-pill-glass.active {
  background: linear-gradient(135deg, #f6e6b4 0%, #d4af37 50%, #99781e 100%);
  color: #060608;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.45);
  font-weight: 800;
}

.ctrl-pill-group {
  display: inline-flex;
  align-items: center;
  height: 42px;
  min-height: 42px;
  background: #09090e;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 50px;
  padding: 3px;
  gap: 3px;
  box-sizing: border-box;
}

.ctrl-pill-item {
  height: 34px;
  min-height: 34px;
  padding: 0 16px;
  border-radius: 50px;
  border: none;
  background: transparent;
  color: #a1a1aa;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.ctrl-pill-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.ctrl-pill-item.active {
  background: linear-gradient(135deg, #f6e6b4 0%, #d4af37 50%, #99781e 100%);
  color: #060608;
  box-shadow: 0 2px 14px rgba(212, 175, 55, 0.4);
}

.ctrl-pill-item.camera-item.active {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid #ef4444;
  color: #f87171;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.35);
}

/* Equalizing Case Study Cards & Leveling Bottom CTA Buttons */
.case-study-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.case-study-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.case-study-body .btn {
  margin-top: auto;
  height: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}

/* Footer Bottom Link Formatting */
.footer-bottom a {
  color: var(--text-muted) !important;
  font-size: 12.5px !important;
  font-weight: 400 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.footer-bottom a:hover {
  color: var(--gold-light) !important;
}

/* ==========================================================================
   FLOATING SCROLL TO TOP BUTTON (UP ARROW - POSITIONED ON LEFT)
   ========================================================================== */
.scroll-to-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  right: auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(12, 12, 18, 0.88);
  border: 1.5px solid var(--gold-border);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8), 0 0 15px rgba(212, 175, 55, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

.scroll-to-top:hover {
  background: linear-gradient(135deg, #f6e6b4 0%, #d4af37 50%, #99781e 100%);
  color: #060608;
  border-color: transparent;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.55);
}

.scroll-to-top:active {
  transform: translateY(0) scale(0.96);
}

@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 84px;
    left: 18px;
    right: auto;
    width: 44px;
    height: 44px;
    font-size: 15px;
  }
}

/* ==========================================================================
   100% MOBILE RESPONSIVENESS SUITE (SMARTPHONE & TABLET ULTRA-POLISH)
   ========================================================================== */
@media (max-width: 640px) {
  .ctrl-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .ctrl-btn-cluster {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
  }

  .ctrl-pill-btn {
    flex: 1 1 calc(50% - 8px);
    height: 38px;
    min-height: 38px;
    padding: 0 12px;
    font-size: 11px;
  }

  .ctrl-pill-group {
    width: 100%;
    height: 38px;
    min-height: 38px;
  }

  .ctrl-pill-item {
    flex: 1;
    height: 32px;
    min-height: 32px;
    padding: 0 8px;
    font-size: 10.5px;
    gap: 4px;
  }

  .video-screen-container {
    aspect-ratio: 16 / 9;
    min-height: 210px;
  }

  .video-split-knob {
    width: 36px;
    height: 36px;
    font-size: 11px;
  }

  .video-telemetry-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .case-study-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }

  .case-metric-val {
    font-size: 13px;
  }

  .case-metric-lbl {
    font-size: 9px;
  }
}

/* ==========================================================================
   CINEMATIC LOGO PRELOADER (HOLLYWOOD AESTHETIC)
   ========================================================================== */
.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: #050508;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: auto;
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), 
              visibility 0.75s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.site-preloader.preloader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.05);
}

.preloader-backdrop-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, rgba(212, 175, 55, 0.04) 45%, transparent 70%);
  animation: preloaderPulseGlow 3s ease-in-out infinite alternate;
  pointer-events: none;
}

.preloader-emblem-wrapper {
  position: relative;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.preloader-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.preloader-ring-outer {
  inset: -14px;
  border: 1.5px dashed rgba(212, 175, 55, 0.35);
  animation: preloaderSpin 20s linear infinite reverse;
}

.preloader-ring-mid {
  inset: -2px;
  border: 2px solid transparent;
  border-top-color: var(--gold-primary);
  border-right-color: var(--gold-light);
  animation: preloaderSpin 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.35);
}

.preloader-halo {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.28) 0%, transparent 75%);
  animation: preloaderBreath 2.4s ease-in-out infinite;
}

.preloader-logo-container {
  position: relative;
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  background: rgba(13, 13, 17, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.9), inset 0 0 15px rgba(212, 175, 55, 0.15);
}

.preloader-logo-img {
  width: 80px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(212, 175, 55, 0.6));
  animation: preloaderLogoLevitate 2.6s ease-in-out infinite;
}

.preloader-shimmer-sweep {
  position: absolute;
  top: -50%;
  left: -100%;
  width: 60%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: rotate(30deg);
  animation: preloaderShimmer 2.2s ease-in-out infinite;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
}

.preloader-brand-title {
  font-family: 'Cinzel', serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.34em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 10px;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.preloader-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 240px;
  font-size: 11px;
  font-family: monospace;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.preloader-status-text {
  color: #a1a1aa;
}

.preloader-percent {
  color: var(--gold-primary);
  font-weight: 700;
}

.preloader-progress-track {
  width: 240px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.preloader-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #9e7d23, #d4af37, #f6e6b4);
  border-radius: 3px;
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.85);
  transition: width 0.1s linear;
}

@keyframes preloaderSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes preloaderBreath {
  0%, 100% { opacity: 0.35; transform: scale(0.92); }
  50% { opacity: 0.85; transform: scale(1.08); }
}

@keyframes preloaderLogoLevitate {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.04); }
}

@keyframes preloaderShimmer {
  0% { left: -100%; }
  45%, 100% { left: 200%; }
}

@keyframes preloaderPulseGlow {
  0% { transform: scale(0.88); opacity: 0.5; }
  100% { transform: scale(1.18); opacity: 0.95; }
}
