/* ==========================================
   THE643 GCC | UI COMPONENTS & INTERACTION STYLES
   ========================================== */

/* ------------------------------------------
   1. CINEMATIC LOADER
   ------------------------------------------ */
#the643-loader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: #050505;
  z-index: var(--z-loader);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem;
  pointer-events: all;
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.loader-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.loader-brand {
  font-family: var(--font-logo);
  font-style: italic;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.loader-brand .gold-accent {
  color: var(--gold-primary);
}

.loader-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.loader-svg-wrap {
  width: 140px;
  height: 140px;
  margin-bottom: 2rem;
  position: relative;
}

.loader-svg-wrap svg {
  width: 100%;
  height: 100%;
}

.loader-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--ivory);
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.loader-subtitle {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.loader-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.loader-progress-wrap {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
}

.loader-percentage {
  font-family: var(--font-mono);
  font-size: 4rem;
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1;
}

.loader-bar-bg {
  width: 200px;
  height: 2px;
  background: var(--border-color);
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

.loader-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-primary), var(--emerald-primary));
  transition: width 0.1s linear;
}

/* ------------------------------------------
   2. CUSTOM CURSOR
   ------------------------------------------ */
#custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  background-color: var(--gold-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-luxury), height 0.3s var(--ease-luxury), background-color 0.3s, border-color 0.3s;
  mix-blend-mode: difference;
}

#cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: calc(var(--z-cursor) - 1);
  transform: translate(-50%, -50%);
  transition: width 0.4s var(--ease-luxury), height 0.4s var(--ease-luxury), border-color 0.3s, background-color 0.3s;
}

body.cursor-hover #custom-cursor {
  width: 24px;
  height: 24px;
  background-color: var(--gold-soft);
}

body.cursor-hover #cursor-follower {
  width: 65px;
  height: 65px;
  border-color: var(--gold-primary);
  background-color: rgba(212, 175, 55, 0.05);
}

body.cursor-view #cursor-follower {
  width: 90px;
  height: 90px;
  background-color: var(--gold-primary);
  border-color: var(--gold-primary);
}

body.cursor-view #cursor-follower::after {
  content: 'VIEW CASE';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: #000;
  letter-spacing: 0.1em;
}

/* Hide cursor on touch devices */
@media (max-width: 1024px) {
  #custom-cursor, #cursor-follower {
    display: none !important;
  }
}

/* ------------------------------------------
   3. FLOATING GLASS NAVBAR & MEGA MENU
   ------------------------------------------ */
.navbar-wrap {
  position: fixed;
  top: 1.25rem;
  left: 0;
  width: 100%;
  z-index: var(--z-navbar);
  pointer-events: none;
  transition: transform 0.4s var(--ease-luxury), opacity 0.4s ease;
  opacity: 1;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-pill);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  pointer-events: all;
  transition: padding 0.3s var(--ease-luxury), background 0.3s;
}

.navbar-wrap.scrolled .navbar-container {
  padding: 0.55rem 1.25rem;
  background: rgba(12, 12, 12, 0.92);
  border-color: rgba(212, 175, 55, 0.25);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
  vertical-align: middle;
}

.brand-text-logo {
  font-family: var(--font-logo);
  font-style: italic;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: linear-gradient(
    110deg,
    #D4AF37 0%,
    #F3E5AB 22%,
    #C85A32 38%,
    rgba(255, 255, 255, 0.4) 44%,
    #FFFFFF 48%,
    #FFFFFF 52%,
    rgba(255, 255, 255, 0.4) 56%,
    #C85A32 62%,
    #D4AF37 78%,
    #F3E5AB 100%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: logoWhiteShine 5.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  transition: transform 0.3s var(--ease-luxury), filter 0.3s ease;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.brand-text-logo::after {
  content: '';
  position: absolute;
  top: -20%;
  left: -80%;
  width: 60%;
  height: 140%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.85) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  opacity: 0;
  animation: logoGlint 5.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.nav-brand:hover .brand-text-logo {
  transform: scale(1.04);
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.6));
}

@keyframes logoWhiteShine {
  0% {
    background-position: 250% 0%;
  }
  22% {
    background-position: -50% 0%;
  }
  100% {
    background-position: -50% 0%;
  }
}

@keyframes logoGlint {
  0% {
    left: -80%;
    opacity: 0;
  }
  3% {
    opacity: 0.95;
  }
  22% {
    left: 140%;
    opacity: 0.95;
  }
  23%, 100% {
    left: 140%;
    opacity: 0;
  }
}

.nav-brand-logo {
  display: none;
}

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

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.25rem 0;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-primary), var(--emerald-primary));
  transition: width 0.3s var(--ease-luxury);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

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

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.nav-time-widget {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  padding-right: 0.85rem;
  border-right: 1px solid var(--border-color);
  white-space: nowrap;
}

.time-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.time-item .city {
  color: var(--gold-soft);
  font-weight: 600;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
}

@media (min-width: 1081px) {
  .navbar-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
  .nav-brand {
    justify-self: start;
  }
  .nav-links {
    justify-self: center;
  }
  .nav-right {
    justify-self: end;
  }
}

@media (max-width: 1280px) {
  .nav-links {
    gap: 0.85rem;
  }
  .nav-link {
    font-size: 0.78rem;
  }
  .nav-time-widget {
    display: none;
  }
}

@media (max-width: 1080px) {
  .nav-links, .nav-time-widget {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .navbar-wrap {
    top: 0.65rem;
  }
  .navbar-container {
    padding: 0.5rem 0.9rem;
    border-color: rgba(216, 107, 39, 0.25);
    background: rgba(14, 9, 6, 0.92);
  }
  .nav-brand {
    font-size: 1.1rem;
    gap: 0;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .brand-text-logo {
    font-size: 1.2rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .nav-right {
    gap: 0.5rem;
  }
  .nav-right .btn-primary {
    display: none !important;
  }
}

/* Mobile Drawer Overlay */
.mobile-drawer {
  position: fixed;
  inset: 0;
  max-height: 100vh;
  overflow-y: auto;
  background: radial-gradient(circle at 50% 30%, rgba(216, 107, 39, 0.15), rgba(9, 6, 4, 0.98));
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: calc(var(--z-navbar) + 10);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem 1.75rem;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.4s var(--ease-luxury), transform 0.4s var(--ease-luxury);
  border-bottom: 2px solid var(--terracotta-primary);
}

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

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(216, 107, 39, 0.2);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: auto 0;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: color 0.3s, transform 0.3s var(--ease-luxury);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--terracotta-soft);
  transform: translateX(6px);
}

.mobile-nav-link::after {
  content: '→';
  font-size: 1.2rem;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  color: var(--gold-primary);
}

.mobile-nav-link:hover::after, .mobile-nav-link.active::after {
  opacity: 1;
  transform: translateX(4px);
}

/* ------------------------------------------
   SOVEREIGN CULTURAL FRAMES & ORNAMENTAL DIVIDERS
   (Inspired by World Arabic Day Sovereign Festival Framing)
   ------------------------------------------ */
.sovereign-frame-badge, .tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.2rem;
  border: 1px solid var(--terracotta-primary);
  box-shadow: 0 0 0 3px rgba(12, 12, 12, 0.9), 0 0 0 4px rgba(212, 175, 55, 0.4);
  background: linear-gradient(135deg, rgba(216, 107, 39, 0.12), rgba(212, 175, 55, 0.08));
  color: var(--ivory);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  border-radius: 2px;
}

.sovereign-frame-badge::before, .sovereign-frame-badge::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-color: var(--gold-primary);
  border-style: solid;
}

.sovereign-frame-badge::before {
  top: -4px;
  left: -4px;
  border-width: 1px 0 0 1px;
}

.sovereign-frame-badge::after {
  bottom: -4px;
  right: -4px;
  border-width: 0 1px 1px 0;
}

.ornamental-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin: 2.5rem 0;
  width: 100%;
}

.ornamental-divider::before, .ornamental-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--terracotta-primary), var(--gold-primary), transparent);
}

.ornamental-divider .diamond {
  width: 8px;
  height: 8px;
  background-color: var(--gold-primary);
  transform: rotate(45deg);
  box-shadow: 0 0 10px var(--terracotta-glow);
  display: inline-block;
}

/* ------------------------------------------
   4. BUTTONS & CONTROLS
   ------------------------------------------ */
.arab-theme-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  background: linear-gradient(135deg, #d4af37 0%, #b85a28 100%);
  color: #080808 !important;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  border: 1px solid rgba(255, 235, 175, 0.5);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
  transition: all 0.28s ease;
  cursor: pointer;
  overflow: hidden;
}

.arab-theme-btn::before {
  content: '✦';
  font-size: 0.65rem;
  color: #080808;
  opacity: 0.9;
}

.arab-theme-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.4);
  background: linear-gradient(135deg, #e5c048 0%, #ca6832 100%);
}

.arab-theme-btn-sec {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  background: rgba(18, 14, 10, 0.6);
  color: var(--gold-soft) !important;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  backdrop-filter: blur(8px);
  transition: all 0.28s ease;
  cursor: pointer;
}

.arab-theme-btn-sec::before {
  content: '✦';
  font-size: 0.65rem;
  color: var(--terracotta-soft);
}

.arab-theme-btn-sec:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.7);
  color: #ffffff !important;
  transform: translateY(-2px);
}

.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--gold-primary), #b38f20);
  color: #050505;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
  transition: transform 0.3s var(--ease-luxury), box-shadow 0.3s;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  backdrop-filter: blur(10px);
  transition: all 0.3s var(--ease-luxury);
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--gold-primary);
  background: var(--gold-subtle);
  color: var(--gold-soft);
}

.btn-emerald {
  background: linear-gradient(135deg, var(--emerald-primary), var(--emerald-dark));
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 108, 103, 0.4);
}

.btn-emerald:hover {
  box-shadow: 0 8px 30px rgba(0, 108, 103, 0.6);
}

/* Magnetic Button Wrapper */
.magnetic-wrap {
  display: inline-block;
  transition: transform 0.3s var(--ease-out-expo);
}

/* ------------------------------------------
   5. CARDS & GLASS PANELS WITH LUXURY ANIMATIONS
   ------------------------------------------ */
.glass-card,
.leader-card,
.bento-card,
.portfolio-card,
.case-study-card,
.insight-card,
.industry-card,
.service-accordion-item {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  overflow: hidden;
  will-change: transform;
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease-luxury), border-color 0.4s, box-shadow 0.4s;
}

/* Light Sweep Shimmer Ray across card on hover */
.glass-card::before,
.leader-card::before,
.bento-card::before,
.portfolio-card::before,
.case-study-card::before,
.insight-card::before,
.industry-card::before,
.service-accordion-item::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 0%,
    transparent 42%,
    rgba(216, 107, 39, 0.15) 50%,
    rgba(212, 175, 55, 0.25) 54%,
    transparent 60%,
    transparent 100%
  );
  transform: translateX(-100%) translateY(-100%) rotate(25deg);
  transition: transform 0.85s var(--ease-out-expo);
  pointer-events: none;
  z-index: 2;
  opacity: 0.8;
}

.glass-card:hover::before,
.leader-card:hover::before,
.bento-card:hover::before,
.portfolio-card:hover::before,
.case-study-card:hover::before,
.insight-card:hover::before,
.industry-card:hover::before,
.service-accordion-item:hover::before {
  transform: translateX(100%) translateY(100%) rotate(25deg);
}

.glass-card:hover {
  border-color: rgba(216, 107, 39, 0.45);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.85), 0 0 35px rgba(216, 107, 39, 0.25), 0 0 15px rgba(212, 175, 55, 0.15);
}

.glass-card-emerald:hover {
  border-color: rgba(0, 108, 103, 0.6);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.85), 0 0 35px rgba(0, 108, 103, 0.3);
}

/* Image Containers & Hover Zoom Effects */
.img-zoom-wrap,
.leader-img-box,
.portfolio-thumb,
.insight-thumb,
.bento-media,
.case-study-hero-img {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.img-zoom-wrap img,
.leader-img-box img,
.portfolio-thumb img,
.insight-thumb img,
.bento-media img,
.case-study-hero-img img,
img.leader-img-box {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease-out-expo), filter 0.5s ease, opacity 0.5s ease;
  will-change: transform, filter;
}

.glass-card:hover img,
.leader-card:hover img,
.bento-card:hover img,
.portfolio-card:hover img,
.case-study-card:hover img,
.insight-card:hover img,
.industry-card:hover img,
.img-zoom-wrap:hover img {
  transform: scale(1.08) rotate(0.5deg);
  filter: brightness(1.08) contrast(1.05);
}

/* ------------------------------------------
   6. ARCHITECTURAL LUXURY FOOTER
   ------------------------------------------ */
.footer-wrap {
  position: relative;
  background: #030406;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6rem 0 3rem 0;
  overflow: hidden;
}

.footer-ambient-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 350px;
  background: radial-gradient(ellipse at top, rgba(216, 107, 39, 0.12) 0%, rgba(212, 175, 55, 0.05) 45%, transparent 75%);
  pointer-events: none;
  z-index: 1;
}

/* CTA PRE-FOOTER BANNER */
.footer-cta-box {
  background: rgba(12, 18, 28, 0.6);
  border: 1px solid rgba(216, 107, 39, 0.3);
  border-radius: var(--radius-lg);
  padding: 3.5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 5.5rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.footer-cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--terracotta-primary), var(--gold-primary));
}

.footer-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-soft);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

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

@keyframes pulseGlow {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(212, 175, 55, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.footer-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.footer-cta-desc {
  font-size: 1.02rem;
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.6;
}

.footer-cta-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.footer-cta-btn {
  padding: 0.9rem 2rem;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-email-btn {
  padding: 0.9rem 1.8rem;
  font-size: 0.85rem;
}

/* MAIN FOOTER GRID */
.footer-main-grid {
  display: grid;
  grid-template-columns: 2.2fr 1.2fr 1.6fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

.footer-brand-col {
  padding-right: 1.5rem;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 1.25rem;
  text-decoration: none;
}

.footer-logo-link .brand-text-logo {
  font-size: 2.2rem;
  letter-spacing: -0.03em;
}

.footer-brand-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 440px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-contact-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--terracotta-soft);
  letter-spacing: 0.12em;
}

.footer-contact-val {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.25s;
}

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

/* NAV COLUMNS */
.footer-col-heading {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.75rem;
  position: relative;
  display: inline-block;
}

.footer-col-heading::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--terracotta-primary);
}

.footer-links-group {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-links-group a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.25s ease;
  padding: 0.2rem 0;
}

.footer-links-group .link-arrow {
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.25s ease;
  color: var(--gold-primary);
  font-size: 0.9rem;
}

.footer-links-group a:hover {
  color: var(--text-primary);
  transform: translateX(4px);
}

.footer-links-group a:hover .link-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* HUBS LIST */
.footer-hubs-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-hub-item {
  border-left: 2px solid rgba(255, 255, 255, 0.1);
  padding-left: 1.25rem;
  transition: all 0.3s ease;
}

.footer-hub-item:hover {
  border-left-color: var(--terracotta-primary);
  transform: translateX(4px);
}

.footer-hub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
}

.hub-city {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.hub-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.hub-badge-primary {
  background: rgba(216, 107, 39, 0.18);
  color: var(--terracotta-soft);
  border: 1px solid rgba(216, 107, 39, 0.3);
}

.hub-badge-gold {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-soft);
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.hub-badge-emerald {
  background: rgba(0, 108, 103, 0.2);
  color: var(--emerald-primary);
  border: 1px solid rgba(0, 108, 103, 0.3);
}

.hub-address {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* WATERMARK GRAPHIC */
.footer-watermark-wrap {
  text-align: center;
  margin: 3.5rem 0 2rem 0;
  user-select: none;
  overflow: hidden;
  pointer-events: none;
  width: 100%;
}

.footer-watermark-text {
  font-family: var(--font-logo);
  font-style: italic;
  font-size: clamp(2.2rem, 14vw, 16rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.06);
  display: inline-block;
  text-transform: uppercase;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.12) 0%, rgba(255, 255, 255, 0.01) 100%);
  -webkit-background-clip: text;
  max-width: 100%;
  white-space: nowrap;
}

/* FOOTER BOTTOM BAR */
.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: var(--text-muted);
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-copyright {
  max-width: 480px;
  line-height: 1.5;
}

.footer-legal-links {
  display: flex;
  gap: 1.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  transition: color 0.25s;
}

.footer-legal-links a:hover {
  color: var(--gold-soft);
}

.back-to-top-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.back-to-top-button:hover {
  background: var(--terracotta-primary);
  border-color: var(--terracotta-primary);
  color: #050505;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(216, 107, 39, 0.3);
}

/* RESPONSIVE FOOTER OVERRIDES */
@media (max-width: 1024px) {
  .footer-cta-box {
    padding: 2.5rem 3rem;
  }
  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .footer-brand-col {
    grid-column: span 2;
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .footer-cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.75rem;
    gap: 2rem;
  }
  .footer-cta-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .footer-cta-btn, .footer-email-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-brand-col {
    grid-column: span 1;
  }
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }
  .footer-legal-links {
    justify-content: center;
  }
  .footer-watermark-wrap {
    margin: 2rem 0 1rem 0;
  }
  .footer-watermark-text {
    font-size: clamp(2rem, 13.5vw, 4.5rem);
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
  }
}

/* ------------------------------------------
   7. MODAL / VIP DIALOG OVERLAY
   ------------------------------------------ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(25px);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-luxury);
}

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

.modal-container {
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 50px var(--gold-subtle);
  transform: translateY(20px);
  transition: transform 0.4s var(--ease-out-expo);
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

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

@media (max-width: 768px) {
  .modal-overlay {
    padding: 1rem 0.5rem;
  }
  .modal-container {
    padding: 2rem 1.25rem;
  }
}

/* ------------------------------------------
   8. FORM INPUTS & FIELDSETS
   ------------------------------------------ */
.form-group {
  margin-bottom: 1.75rem;
  position: relative;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-soft);
  margin-bottom: 0.5rem;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 1rem;
  transition: border-color 0.3s, background 0.3s;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.03);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
}

.form-select option {
  background-color: var(--bg-card);
  color: var(--text-primary);
}
