/* ==========================================================================
   Kreatiwitty Labs — Minimalist Dark × Gold Design System
   Inspired by nofluff.in · Clean, Sharp, Premium
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Great+Vibes&family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Brand Palette — Dark Navy + Gold + White */
  --navy-deep:    #0a0e1a;
  --navy:         #0d1126;
  --navy-mid:     #131836;
  --navy-light:   #1a2046;
  --navy-muted:   #222a50;

  --gold:         #c9a84c;
  --gold-light:   #e0c76a;
  --gold-bright:  #f0d878;
  --gold-dim:     #a68b3a;
  --gold-bg:      rgba(201, 168, 76, 0.08);
  --gold-border:  rgba(201, 168, 76, 0.25);

  --white:        #ffffff;
  --white-90:     rgba(255, 255, 255, 0.9);
  --white-70:     rgba(255, 255, 255, 0.7);
  --white-50:     rgba(255, 255, 255, 0.5);
  --white-30:     rgba(255, 255, 255, 0.3);
  --white-10:     rgba(255, 255, 255, 0.1);
  --white-05:     rgba(255, 255, 255, 0.05);

  /* Light Theme Variables */
  --bg-white:     #ffffff;
  --bg-cream:     #f8f5ee;
  --bg-cream-dark:#f0ebe0;
  --text-dark:    #0b0f1c;
  --text-dark-70: #333a4e;
  --text-dark-50: #626b82;
  --border-light: #e5dfd2;

  /* Typography */
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Poppins', 'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
  --font-epic:    'Cinzel', serif;
  --font-cursive: 'Great Vibes', cursive;

  /* Spacing */
  --section-gap:  110px;
  --container:    1180px;

  /* Misc */
  --radius:       12px;
  --radius-lg:    20px;
  --ease:         cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--navy-deep);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }

/* ─── Container ─── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Section Theme Variations (Alternating Light & Dark) ─── */
section {
  padding: var(--section-gap) 0;
  position: relative;
}

section.section-dark {
  background: var(--navy-deep);
  color: var(--white);
}

section.section-light {
  background: var(--bg-white);
  color: var(--text-dark);
}

section.section-cream {
  background: var(--bg-cream);
  color: var(--text-dark);
}

/* Light & Cream Section Overrides */
section.section-light h2, section.section-cream h2,
section.section-light h3, section.section-cream h3,
section.section-light h4, section.section-cream h4 {
  color: var(--text-dark);
}

section.section-light .lead, section.section-cream .lead,
section.section-light p, section.section-cream p {
  color: var(--text-dark-70);
}

section.section-light .text-muted, section.section-cream .text-muted {
  color: var(--text-dark-50);
}

section.section-light .service-card, section.section-cream .service-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  box-shadow: 0 8px 30px rgba(11, 15, 28, 0.04);
}

section.section-light .service-card:hover, section.section-cream .service-card:hover {
  border-color: var(--gold);
  box-shadow: 0 14px 40px rgba(201, 168, 76, 0.15);
}

section.section-light .service-card p, section.section-cream .service-card p {
  color: var(--text-dark-50);
}

section.section-light .process-item, section.section-cream .process-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

section.section-light .process-item h4, section.section-cream .process-item h4 {
  color: var(--text-dark);
}

section.section-light .process-item p, section.section-cream .process-item p {
  color: var(--text-dark-50);
}

section.section-light .accordion-item, section.section-cream .accordion-item {
  background: var(--white);
  border: 1px solid var(--border-light);
}

section.section-light .accordion-trigger, section.section-cream .accordion-trigger {
  color: var(--text-dark);
}

section.section-light .accordion-trigger:hover, section.section-cream .accordion-trigger:hover {
  color: var(--gold-dim);
}

section.section-light .accordion-panel-inner, section.section-cream .accordion-panel-inner {
  color: var(--text-dark-70);
}

section.section-light .faq-item, section.section-cream .faq-item {
  border-bottom: 1px solid var(--border-light);
}

section.section-light .faq-q, section.section-cream .faq-q {
  color: var(--text-dark);
}

section.section-light .faq-a-inner, section.section-cream .faq-a-inner {
  color: var(--text-dark-70);
}

section.section-light .ind-tab, section.section-cream .ind-tab {
  background: var(--white);
  border: 1px solid var(--border-light);
  color: var(--text-dark-70);
}

section.section-light .ind-tab.active, section.section-cream .ind-tab.active {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: var(--gold);
}

section.section-light .ind-features li, section.section-cream .ind-features li {
  color: var(--text-dark-70);
}

/* Light theme check-list override */
section.section-light .check-list li, section.section-cream .check-list li {
  color: var(--text-dark);
}

/* Comparison Table (Traditional vs Kreatiwitty) */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  margin-top: 40px;
}

.comparison-table th, .comparison-table td {
  padding: 20px 24px;
  text-align: left;
  font-size: 15px;
}

.comparison-table th {
  background: var(--navy-deep);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
}

.comparison-table th.kl-col {
  color: var(--gold);
  background: var(--navy);
}

.comparison-table tr {
  background: var(--white);
  transition: background 0.2s;
}

.comparison-table tr:nth-child(even) {
  background: #faf8f3;
}

.comparison-table td {
  border-bottom: 1px solid var(--border-light);
  color: var(--text-dark-70);
}

.comparison-table td.bad {
  color: #c0392b;
  font-weight: 500;
}

.comparison-table td.good {
  color: var(--navy-deep);
  font-weight: 600;
  background: rgba(201, 168, 76, 0.06);
}


/* ─── Typography ─── */
.overline {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}

h1 {
  font-family: var(--font-heading);
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
}

h2 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

.text-gold { color: var(--gold); }
.text-muted { color: var(--white-50); }
.text-secondary { color: var(--white-70); }

.lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--white-70);
  max-width: 600px;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: none;
  transition: all 0.35s var(--ease);
  text-decoration: none;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white-30);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  padding: 14px 0;
}
.btn-ghost:hover {
  opacity: 0.8;
}

.btn-sm {
  padding: 10px 24px;
  font-size: 14px;
}

/* ─── Navbar ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.4s var(--ease);
}

.navbar.scrolled {
  background: rgba(10, 14, 26, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 14px 0;
  border-bottom: 1px solid var(--white-05);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  color: var(--navy-deep);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--white-70);
  transition: color 0.3s;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-links a.nav-link:hover, .nav-links a.nav-link.active {
  color: var(--gold);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown .arrow {
  font-size: 10px;
  transition: transform 0.3s;
}

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

/* Mega Dropdown Menu */
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--navy);
  border: 1px solid var(--gold-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(201, 168, 76, 0.15);
  border-radius: var(--radius-lg);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
  z-index: 120;
  width: 720px;
  backdrop-filter: blur(20px);
}

.mega-dropdown-sm {
  width: 240px;
  padding: 16px;
}

.nav-dropdown:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}

.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 24px;
}

.mega-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mega-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}

.mega-col a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--white-70);
  padding: 8px 10px;
  border-radius: 8px;
  transition: all 0.2s;
  text-decoration: none;
}

.mega-col a:hover {
  background: rgba(201, 168, 76, 0.1);
  color: var(--gold-light);
  transform: translateX(3px);
}

.mega-icon {
  font-size: 16px;
}

.mega-highlight {
  background: rgba(19, 24, 54, 0.8);
  border: 1px solid var(--white-05);
  border-radius: var(--radius);
  padding: 16px;
}

.mega-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.mega-card p {
  font-size: 12px;
  color: var(--white-50);
  line-height: 1.5;
  margin-bottom: 12px;
}

.mega-link {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--gold) !important;
  padding: 0 !important;
}

.nav-cta .btn {
  padding: 10px 28px;
}

/* ─── Mobile Navigation Base Styles ─── */
.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  font-size: 20px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}

.mobile-toggle:hover {
  background: rgba(201, 168, 76, 0.15);
  border-color: var(--gold);
}

.mobile-close {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white-70);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.mobile-close:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.mobile-nav-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-footer {
  display: none;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-backdrop {
  display: none;
}

/* ─── Page Hero & Glows ─── */
.page-hero {
  padding-top: 170px;
  padding-bottom: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-glow-orb {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 650px;
  height: 450px;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(201, 168, 76, 0.12) 40%,
    transparent 70%
  );
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--gold);
  text-shadow: 0 0 30px rgba(201, 168, 76, 0.3);
}

.page-hero .lead {
  margin: 20px auto 0 auto;
  max-width: 680px;
}

/* White & Beige Glow Everywhere */
section {
  position: relative;
}

section::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(
    circle,
    rgba(201, 168, 76, 0.03) 0%,
    rgba(255, 255, 255, 0.015) 50%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

section .container {
  position: relative;
  z-index: 1;
}

/* ─── Two-Column Layout ─── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--white-90);
}

.check-list li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-box {
  background: var(--navy);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(201, 168, 76, 0.05);
}

.stat-box .number {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 0 15px rgba(201, 168, 76, 0.3);
}

.stat-box .label {
  font-size: 13px;
  color: var(--white-50);
  margin-top: 8px;
}

/* ─── Scroll Reveal Animations ─── */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-up.d1 { transition-delay: 0.15s; }
.reveal-up.d2 { transition-delay: 0.3s; }
.reveal-up.d3 { transition-delay: 0.45s; }


/* ─── Hero ─── */
.hero {
  padding-top: 180px;
  padding-bottom: var(--section-gap);
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero .overline {
  display: inline-block;
}

.hero h1 {
  max-width: 900px;
  margin: 0 auto 28px auto;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero .lead {
  margin: 0 auto 40px auto;
  max-width: 650px;
}

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

.hero-proof {
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--white-05);
}

.proof-item {
  text-align: center;
}

.proof-item .number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.proof-item .label {
  font-size: 13px;
  color: var(--white-50);
  margin-top: 4px;
}

/* ─── Scrolling Marquee ─── */
.marquee-section {
  padding: 40px 0;
  border-top: 1px solid var(--white-05);
  border-bottom: 1px solid var(--white-05);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-item {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--white-30);
  padding: 0 40px;
}

.marquee-item .dot {
  color: var(--gold);
  margin-right: 12px;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── Services Carousel (Card Grid) ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--navy);
  border: 1px solid var(--white-05);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
}

.service-card:hover::before { opacity: 1; }

.service-card .overline { margin-bottom: 16px; }

.service-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.service-card p {
  color: var(--white-50);
  font-size: 15px;
  line-height: 1.65;
}

/* ─── Sticky Offset Stacking Cards Deck (Homepage Services) ─── */
.services-stack-section {
  position: relative;
  padding: 100px 0 120px 0;
}

.services-stack-deck {
  position: relative;
  max-width: 980px;
  margin: 50px auto 0;
  display: flex;
  flex-direction: column;
}

.stack-card {
  position: -webkit-sticky;
  position: sticky;
  top: calc(92px + var(--i, 0) * 22px);
  z-index: calc(var(--i, 0) + 1);
  margin-bottom: min(34vh, 260px);
  transform-origin: center top;
  will-change: transform, box-shadow;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.stack-card:last-child {
  margin-bottom: 0;
}

.stack-card-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 40px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--gold);
  border-radius: 22px;
  padding: 42px 46px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.03), 0 16px 45px rgba(11, 15, 28, 0.08);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.stack-card-inner::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at top right, rgba(201, 168, 76, 0.08), transparent 70%);
  pointer-events: none;
}

.stack-card-inner:hover {
  border-color: var(--gold);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.03), 0 24px 60px rgba(201, 168, 76, 0.18);
  transform: translateY(-3px);
}

.stack-card-left {
  flex: 1 1 68%;
  display: flex;
  flex-direction: column;
}

.stack-pill-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.pillar-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dim);
  background: rgba(201, 168, 76, 0.12);
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid rgba(201, 168, 76, 0.3);
}

.pillar-focus {
  font-size: 13px;
  color: var(--text-dark-50);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.stack-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 14px;
}

.stack-desc {
  font-size: 16px;
  color: var(--text-dark-70);
  line-height: 1.65;
  margin-bottom: 22px;
}

.stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.stack-chip {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dark-70);
  background: #f7f5ee;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.stack-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-dim);
  margin-top: auto;
  transition: gap 0.25s ease, color 0.25s ease;
}

.stack-card-inner:hover .stack-link {
  color: var(--gold);
  gap: 12px;
}

.stack-card-right {
  flex: 0 0 170px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  text-align: right;
}

.stack-number {
  font-family: var(--font-heading);
  font-size: 88px;
  font-weight: 800;
  line-height: 0.9;
  color: rgba(20, 23, 31, 0.06);
  letter-spacing: -0.04em;
  user-select: none;
  transition: color 0.3s ease;
}

.stack-card-inner:hover .stack-number {
  color: rgba(201, 168, 76, 0.15);
}

.stack-badge-highlight {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #faf8f3;
  border-radius: 12px;
  border: 1px solid rgba(201, 168, 76, 0.25);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(201, 168, 76, 0.6);
}

/* Dynamic depth when card is stacked under another */
.stack-card.is-stacked-under .stack-card-inner {
  filter: brightness(0.97);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.02), 0 8px 24px rgba(11, 15, 28, 0.05);
}

/* Tablet & Mobile Responsiveness */
@media (max-width: 900px) {
  .stack-card-inner {
    padding: 34px 30px;
    gap: 24px;
  }
  .stack-title {
    font-size: 24px;
  }
  .stack-number {
    font-size: 72px;
  }
}

@media (max-width: 768px) {
  .services-stack-section {
    padding: 70px 0 90px 0;
  }
  .stack-card {
    top: calc(75px + var(--i, 0) * 16px);
    margin-bottom: min(25vh, 180px);
  }
  .stack-card-inner {
    flex-direction: column;
    padding: 26px 22px;
    gap: 20px;
    border-radius: 18px;
  }
  .stack-card-right {
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 6px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
  }
  .stack-number {
    font-size: 48px;
    line-height: 1;
  }
  .stack-title {
    font-size: 21px;
  }
  .stack-desc {
    font-size: 14px;
  }
  .stack-badge-highlight {
    font-size: 11px;
    padding: 6px 10px;
  }
}


/* ─── How We Work / Process ─── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.process-item {
  padding: 32px 28px;
  border: 1px solid var(--white-05);
  border-radius: var(--radius);
  transition: border-color 0.3s;
}

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

.process-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-item p {
  font-size: 14px;
  color: var(--white-50);
  line-height: 1.6;
}

/* ─── Statement Section — Typewriter + Eagle ─── */
.statement-section {
  position: relative;
  overflow: hidden;
  padding: 140px 0;
}

.statement-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(
    ellipse at center,
    rgba(201, 168, 76, 0.10) 0%,
    rgba(224, 199, 106, 0.05) 35%,
    transparent 70%
  );
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.statement-block {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Eagle Wing SVGs */
.eagle-wing {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 320px;
  width: auto;
  opacity: 0;
  transition: opacity 1.2s ease, transform 1.2s ease;
  pointer-events: none;
  z-index: 0;
}

.eagle-left {
  left: -60px;
  transform: translateY(-50%) translateX(-20px);
}

.eagle-right {
  right: -60px;
  transform: translateY(-50%) translateX(20px);
}

/* When section is in view, wings sweep in */
.statement-section.in-view .eagle-left {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.statement-section.in-view .eagle-right {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Eagle Eye — golden focus dot */
.eagle-eye {
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow:
    0 0 12px rgba(201, 168, 76, 0.8),
    0 0 40px rgba(201, 168, 76, 0.3);
  opacity: 0;
  transition: opacity 0.8s ease 0.3s;
}

.statement-section.in-view .eagle-eye {
  opacity: 1;
}

/* Typewriter Quote */
.typewriter-quote {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.5;
  color: var(--white);
}

.tw-word {
  opacity: 0;
  display: inline-block;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  margin-right: 0.25em;
}

.tw-word.revealed {
  opacity: 1;
  transform: translateY(0);
}

.tw-gold {
  color: var(--gold);
  text-shadow: 0 0 20px rgba(201, 168, 76, 0.4);
}

.tw-gold em {
  font-style: italic;
}

/* Blinking cursor */
.typewriter-cursor {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 300;
  color: var(--gold);
  animation: blink 0.7s step-end infinite;
  opacity: 0;
  vertical-align: baseline;
  margin-left: -0.15em;
}

.typewriter-cursor.active {
  opacity: 1;
}

.typewriter-cursor.done {
  opacity: 0;
  animation: none;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

/* Attribution fade-in */
.statement-block .attribution {
  font-size: 14px;
  color: var(--white-50);
  margin-top: 32px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.statement-block .attribution.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Section Header (reusable) ─── */
.section-head {
  max-width: 700px;
  margin-bottom: 60px;
}

.section-head.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-head h2 { margin-bottom: 16px; }

.section-head p {
  font-size: 17px;
  color: var(--white-50);
  line-height: 1.7;
}

/* ─── Founder Masterclass Section ─── */
.founder-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.founder-left .lead {
  margin-bottom: 40px;
}

/* ─── Accordions ─── */
.accordion { display: flex; flex-direction: column; gap: 8px; }

.accordion-item {
  border: 1px solid var(--white-05);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s;
}

.accordion-item.active { border-color: var(--gold-border); }

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s;
}

.accordion-trigger:hover { color: var(--gold); }

.accordion-trigger .icon {
  font-size: 20px;
  color: var(--gold);
  transition: transform 0.35s var(--ease);
}

.accordion-item.active .accordion-trigger .icon {
  transform: rotate(45deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.accordion-panel-inner {
  padding: 0 24px 24px 24px;
  color: var(--white-50);
  font-size: 15px;
  line-height: 1.7;
}

.accordion-panel-inner ul {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.accordion-panel-inner li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.accordion-panel-inner li::before {
  content: '→';
  color: var(--gold);
  flex-shrink: 0;
}

/* ─── Industry Tabs ─── */
.industry-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.ind-tab {
  padding: 10px 22px;
  border-radius: 100px;
  background: transparent;
  border: 1px solid var(--white-10);
  color: var(--white-50);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.ind-tab:hover, .ind-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}

.ind-panel { display: none; }
.ind-panel.active { display: block; }

.ind-panel h3 {
  font-size: 28px;
  margin-bottom: 12px;
}

.ind-panel p {
  color: var(--white-50);
  font-size: 16px;
  margin-bottom: 28px;
  max-width: 600px;
}

.ind-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ind-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--white-70);
}

.ind-features li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
}

/* ─── Testimonial Carousel ─── */
.testimonial-card {
  background: var(--navy);
  border: 1px solid var(--white-05);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.testimonial-card .quote {
  font-size: 18px;
  line-height: 1.7;
  color: var(--white-90);
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-card .author {
  font-weight: 600;
  font-size: 15px;
}

.testimonial-card .role {
  font-size: 13px;
  color: var(--white-50);
}

/* ─── Psychology / WIIFM Section ─── */
.psychology-block {
  background: var(--navy);
  border: 1px solid var(--white-05);
  border-radius: var(--radius-lg);
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.psychology-block::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.06), transparent);
  pointer-events: none;
}

.psychology-block .big-quote {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  line-height: 1.5;
  max-width: 750px;
  margin: 0 auto 12px auto;
  color: var(--white-90);
}

.psychology-block .big-quote em {
  color: var(--gold);
  font-style: italic;
}

/* ─── FAQ ─── */
.faq-list { max-width: 780px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--white-05);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 17px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s;
}

.faq-q:hover { color: var(--gold); }

.faq-q .icon {
  color: var(--gold);
  font-size: 18px;
  transition: transform 0.35s var(--ease);
}

.faq-item.active .faq-q .icon {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-a-inner {
  padding-bottom: 24px;
  color: var(--white-50);
  font-size: 15px;
  line-height: 1.7;
}

/* ─── CTA Section ─── */
.cta-section {
  text-align: center;
  padding: 100px 24px;
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--white-50);
  font-size: 17px;
  max-width: 550px;
  margin: 0 auto 36px auto;
}

/* ─── Footer ─── */
.footer {
  border-top: 1px solid var(--white-05);
  padding: 64px 0 32px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo { margin-bottom: 16px; }

.footer-brand p {
  font-size: 14px;
  color: var(--white-50);
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white-50);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--white-50);
  margin-bottom: 12px;
  transition: color 0.3s;
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--white-05);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--white-30);
}

/* ─── Divider ─── */
.divider {
  height: 1px;
  background: var(--white-05);
}

/* ─── Modal / Contact Form ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 26, 0.9);
  backdrop-filter: blur(12px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-overlay.open { display: flex; }

.modal-box {
  background: var(--navy);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-lg);
  padding: 48px;
  width: 100%;
  max-width: 520px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--white-50);
  font-size: 28px;
  cursor: pointer;
}

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--white-50);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--navy-deep);
  border: 1px solid var(--white-10);
  color: var(--white);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group select { cursor: pointer; }
.form-group select option { background: var(--navy); }

/* ─── Luxury Redesigned Footer Styles ─── */
.footer-luxury {
  background: var(--navy-deep);
  color: var(--white);
  border-top: 1px solid var(--gold-border);
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.footer-banner-strip {
  background: linear-gradient(90deg, var(--navy-mid), var(--navy), var(--navy-mid));
  border-bottom: 1px solid var(--gold-border);
  padding: 36px 0;
}

.footer-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-grid-luxury {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 60px;
}

.footer-brand-col .footer-desc {
  color: var(--white-70);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-location-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid var(--gold-border);
  padding: 8px 14px;
  border-radius: 100px;
}

.dot-live {
  color: #2ecc71;
  font-size: 14px;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.footer-links-col h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-links-col a {
  display: block;
  font-size: 14px;
  color: var(--white-70);
  margin-bottom: 12px;
  transition: all 0.25s;
  text-decoration: none;
}

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

.careers-highlight-link {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}

.hiring-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.footer-bottom-luxury {
  border-top: 1px solid var(--white-05);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--white-50);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-legal a {
  color: var(--white-50);
  transition: color 0.2s;
}

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

.footer-tagline {
  font-family: var(--font-mono);
  color: var(--gold-dim);
}


/* ─── Growth Way Overlay Modal ─── */
.growth-way-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 11, 22, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease);
}

.growth-way-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}

.gw-content {
  max-width: 820px;
  width: 100%;
  text-align: center;
  animation: gwPop 0.6s var(--ease);
}

@keyframes gwPop {
  from { opacity: 0; transform: scale(0.95) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.gw-header {
  margin-bottom: 36px;
}

.gw-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--white);
  margin: 8px 0;
}

.gw-subtitle {
  color: var(--white-70);
  font-size: 16px;
  max-width: 540px;
  margin: 0 auto;
}

.gw-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.gw-card {
  background: var(--navy);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.gw-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(201, 168, 76, 0.15);
}

.gw-card-gold {
  border-color: var(--gold-border);
  background: linear-gradient(180deg, var(--navy-mid), var(--navy));
}

.gw-canvas-box {
  background: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--white-05);
  padding: 16px 0;
}

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

.gw-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 12px;
  width: fit-content;
}

.gw-badge.bad {
  background: rgba(192, 57, 43, 0.15);
  color: #e74c3c;
  border: 1px solid rgba(192, 57, 43, 0.3);
}

.gw-badge.good {
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold);
  border: 1px solid var(--gold-border);
}

.gw-card h3 {
  font-size: 20px;
  color: var(--white);
  margin-bottom: 8px;
}

.gw-card p {
  font-size: 14px;
  color: var(--white-50);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* ─── Transition Typewriter Screen ─── */
.gw-transition-screen {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: var(--navy-deep);
}

.gw-trans-inner {
  text-align: center;
  max-width: 800px;
}

.gw-typewriter-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gw-typewriter-text {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}


/* ─── Font Utilities ─── */
.font-epic {
  font-family: var(--font-epic) !important;
  letter-spacing: 1.5px;
}

.font-cursive {
  font-family: var(--font-cursive) !important;
  font-size: clamp(34px, 5vw, 56px) !important;
  font-weight: 400 !important;
  color: var(--gold-light) !important;
  line-height: 1.2 !important;
  display: block;
}

/* ─── Multi-Step Onboarding Modal ─── */
.ob-step-screen {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  animation: obFadeIn 0.5s var(--ease);
}

@keyframes obFadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ob-input-box {
  max-width: 440px;
  margin: 28px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ob-input-box input[type="text"],
.ob-input-box select {
  width: 100%;
  padding: 16px 20px;
  background: rgba(13, 17, 38, 0.9);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: all 0.3s;
}

.ob-input-box input:focus,
.ob-input-box select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.3);
}

.phone-input-group {
  display: flex;
  gap: 10px;
}

.country-flag-select {
  width: 130px !important;
  background: var(--navy-mid) !important;
  cursor: pointer;
}

.movement-btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}

/* ─── Personalized Cursive Hero Text (Non-cylindrical) ─── */
.hero-personalized-cursive {
  font-family: var(--font-cursive);
  font-size: clamp(28px, 4.2vw, 44px);
  color: var(--gold-light);
  margin-bottom: 12px;
  line-height: 1.2;
  text-shadow: 0 0 25px rgba(201, 168, 76, 0.4);
  display: block;
}

/* Glowing White Selection Buttons for both cards */
.gw-btn-white {
  background: var(--white) !important;
  color: var(--navy-deep) !important;
  border: 1px solid var(--white) !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4), 0 0 35px rgba(201, 168, 76, 0.3) !important;
  transition: all 0.3s var(--ease) !important;
}

.gw-btn-white:hover {
  background: var(--gold-bright) !important;
  color: var(--navy-deep) !important;
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(240, 216, 120, 0.8) !important;
}

/* ─── Scroll-Triggered Business Survey Popup ─── */
.survey-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 11, 22, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 8888;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s var(--ease);
}

.survey-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.survey-card {
  background: var(--navy);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 520px;
  width: 100%;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(201, 168, 76, 0.15);
  animation: surveyPop 0.4s var(--ease);
}

@keyframes surveyPop {
  from { transform: scale(0.9) translateY(20px); }
  to   { transform: scale(1) translateY(0); }
}

.survey-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--white-50);
  font-size: 26px;
  cursor: pointer;
  transition: color 0.2s;
}

.survey-close:hover { color: var(--gold); }

/* ==========================================================================
   MASTER RESPONSIVE SYSTEM — COMPLETE MOBILE EXCELLENCE
   ========================================================================== */

/* ─── Global Viewport & Overflow Safety ─── */
html {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
}

body.no-scroll {
  overflow: hidden !important;
  height: 100vh !important;
  height: 100dvh !important;
  touch-action: none;
}

img, svg, canvas {
  max-width: 100%;
  height: auto;
}

/* ─── Tablet Breakpoint (<= 992px) — Navigation Drawer & Layout ─── */
@media (max-width: 992px) {
  .navbar {
    padding: 12px 0;
  }

  .nav-inner {
    position: relative;
  }

  .nav-logo {
    font-size: 18px;
    gap: 10px;
  }

  .nav-logo-mark {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .nav-cta {
    display: none !important;
  }

  .mobile-toggle {
    display: flex !important;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 18, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 999;
  }

  .nav-backdrop.active {
    opacity: 1;
    visibility: visible;
  }

  .mobile-nav-header {
    display: flex !important;
  }

  .mobile-close {
    display: flex !important;
  }

  .mobile-nav-footer {
    display: block !important;
  }

  /* Slide-out Drawer */
  .nav-links {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 100% !important;
    max-width: 350px !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: rgba(8, 11, 24, 0.98) !important;
    backdrop-filter: blur(28px) !important;
    -webkit-backdrop-filter: blur(28px) !important;
    border-left: 1px solid var(--gold-border) !important;
    box-shadow: -15px 0 45px rgba(0, 0, 0, 0.85) !important;
    z-index: 1001 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 24px 22px 36px 22px !important;
    gap: 2px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .nav-links.active {
    right: 0 !important;
  }

  .nav-dropdown {
    position: static !important;
    width: 100% !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-links a.nav-link {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--white-90) !important;
    padding: 13px 4px !important;
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .nav-dropdown .arrow {
    font-size: 12px;
    color: var(--gold);
    transition: transform 0.3s ease;
  }

  .nav-dropdown.open .arrow {
    transform: rotate(180deg);
  }

  /* Mobile Dropdown Accordion */
  .mega-dropdown {
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    display: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: rgba(201, 168, 76, 0.04) !important;
    border: 1px solid rgba(201, 168, 76, 0.15) !important;
    border-radius: 12px !important;
    padding: 12px !important;
    margin: 4px 0 12px 0 !important;
    box-shadow: none !important;
  }

  .nav-dropdown.open .mega-dropdown {
    display: block !important;
  }

  .mega-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  .mega-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
  }

  .mega-label {
    font-size: 10px !important;
    margin-bottom: 4px !important;
  }

  .mega-col a {
    padding: 8px 10px !important;
    font-size: 13.5px !important;
    border-radius: 6px !important;
    color: var(--white-90) !important;
  }

  .mega-highlight {
    margin-top: 6px !important;
    padding-top: 8px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  }
}

/* ─── Mobile Breakpoint (<= 768px) — Full Mobile Journey & Content ─── */
@media (max-width: 768px) {
  :root {
    --section-gap: 60px;
  }

  .container {
    padding: 0 18px !important;
  }

  section {
    padding: 55px 0 !important;
  }

  /* ── Typography Overrides ── */
  h1 {
    font-size: clamp(28px, 7.5vw, 38px) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
  }

  h2 {
    font-size: clamp(23px, 6vw, 30px) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em !important;
  }

  h3 {
    font-size: 19px !important;
    line-height: 1.3 !important;
  }

  h4 {
    font-size: 17px !important;
  }

  .lead {
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin-bottom: 24px !important;
  }

  .overline {
    font-size: 11px !important;
    letter-spacing: 1.2px !important;
    margin-bottom: 8px !important;
  }

  /* ── Buttons ── */
  .btn {
    padding: 13px 24px !important;
    font-size: 14px !important;
    min-height: 46px !important;
  }

  /* ── Hero Section ── */
  .hero {
    padding-top: 105px !important;
    padding-bottom: 45px !important;
  }

  .hero h1 {
    margin-bottom: 16px !important;
  }

  .hero-ctas {
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
  }

  .hero-ctas .btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .hero-proof {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 18px 12px !important;
    margin-top: 36px !important;
    padding-top: 24px !important;
  }

  .proof-item .number {
    font-size: 30px !important;
  }

  .proof-item .label {
    font-size: 12px !important;
    margin-top: 4px !important;
  }

  /* ── Page Hero for All Sub-Pages ── */
  .page-hero {
    padding-top: 105px !important;
    padding-bottom: 40px !important;
  }

  .page-hero h1 {
    margin-bottom: 14px !important;
  }

  .hero-glow-orb {
    width: 320px !important;
    height: 240px !important;
    filter: blur(50px) !important;
  }

  /* ── Marquee Section ── */
  .marquee-section {
    padding: 12px 0 !important;
  }

  .marquee-item {
    font-size: 13px !important;
    padding: 0 16px !important;
  }

  .marquee-item .dot {
    margin-right: 8px !important;
  }

  /* ── Statement Quote Section ── */
  .statement-section {
    padding: 65px 0 !important;
  }

  .statement-block {
    padding: 0 16px !important;
  }

  .eagle-wing {
    display: none !important;
  }

  .typewriter-quote {
    font-size: clamp(17px, 4.6vw, 22px) !important;
    line-height: 1.55 !important;
  }

  .attribution {
    font-size: 13px !important;
    margin-top: 16px !important;
  }

  /* ── Sticky Stacking Cards Deck (Homepage Services) ── */
  .services-stack-section {
    padding: 55px 0 75px 0 !important;
  }

  .services-stack-deck {
    margin-top: 30px !important;
  }

  .stack-card {
    top: calc(70px + var(--i, 0) * 14px) !important;
    margin-bottom: min(22vh, 150px) !important;
  }

  .stack-card-inner {
    flex-direction: column !important;
    padding: 22px 18px !important;
    gap: 16px !important;
    border-radius: 18px !important;
  }

  .stack-title {
    font-size: 20px !important;
    line-height: 1.3 !important;
    margin-bottom: 10px !important;
  }

  .stack-desc {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    margin-bottom: 16px !important;
  }

  .stack-tags {
    gap: 6px !important;
    margin-bottom: 16px !important;
  }

  .stack-chip {
    font-size: 11px !important;
    padding: 4px 10px !important;
  }

  .stack-link {
    font-size: 13px !important;
  }

  .stack-card-right {
    flex-direction: row-reverse !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    margin-top: 4px !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
  }

  .stack-number {
    font-size: 40px !important;
    line-height: 1 !important;
  }

  .stack-badge-highlight {
    font-size: 11px !important;
    padding: 5px 10px !important;
  }

  /* ── Comparison Table — Smooth Mobile Horizontal Scroll ── */
  .comparison-table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border-radius: 14px !important;
    margin-top: 24px !important;
  }

  .comparison-table th, .comparison-table td {
    padding: 14px 16px !important;
    font-size: 13px !important;
    min-width: 170px !important;
  }

  .comparison-table th {
    font-size: 14px !important;
  }

  /* ── Grid Layouts Across Entire Site ── */
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .process-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .two-col {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .two-col[style*="gap"] {
    gap: 32px !important;
  }

  .stat-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }

  .stat-box {
    padding: 20px 14px !important;
  }

  .stat-box .number {
    font-size: 30px !important;
  }

  .stat-box .label {
    font-size: 12px !important;
  }

  .check-list li {
    font-size: 14px !important;
    gap: 10px !important;
  }

  .service-card {
    padding: 26px 20px !important;
  }

  .service-card h3 {
    font-size: 20px !important;
    margin-bottom: 8px !important;
  }

  .service-card p {
    font-size: 14px !important;
  }

  .process-item {
    padding: 24px 18px !important;
  }

  .process-item h4 {
    font-size: 16px !important;
  }

  .process-item p {
    font-size: 13.5px !important;
  }

  /* ── Industry Tabs & Panels ── */
  .industry-tabs {
    gap: 6px !important;
    margin-bottom: 24px !important;
  }

  .ind-tab {
    padding: 8px 16px !important;
    font-size: 13px !important;
  }

  .ind-panel h3 {
    font-size: 22px !important;
  }

  .ind-panel p {
    font-size: 14px !important;
    margin-bottom: 20px !important;
  }

  .ind-features {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .ind-features li {
    font-size: 14px !important;
  }

  /* ── Masterclass, FAQs, Accordions ── */
  .accordion-trigger {
    padding: 16px 18px !important;
    font-size: 15px !important;
  }

  .accordion-panel-inner {
    padding: 0 18px 20px 18px !important;
    font-size: 14px !important;
  }

  .faq-q {
    padding: 18px 0 !important;
    font-size: 15px !important;
  }

  .faq-a-inner {
    font-size: 14px !important;
    line-height: 1.65 !important;
  }

  /* ── CTA Banner ── */
  .cta-section {
    padding: 60px 18px !important;
  }

  .cta-section h2 {
    font-size: clamp(23px, 6vw, 30px) !important;
  }

  .cta-section p {
    font-size: 15px !important;
    margin-bottom: 26px !important;
  }

  .cta-section .btn {
    width: 100% !important;
    max-width: 320px !important;
    justify-content: center !important;
  }

  /* ── Footer ── */
  .footer-banner-strip {
    padding: 32px 0 !important;
  }

  .footer-banner-inner {
    flex-direction: column !important;
    text-align: center !important;
    gap: 18px !important;
  }

  .footer-banner-inner .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .footer-grid-luxury {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .footer-brand-col {
    text-align: left !important;
  }

  .footer-desc {
    font-size: 13.5px !important;
  }

  .footer-bottom-luxury {
    flex-direction: column !important;
    gap: 14px !important;
    text-align: center !important;
  }

  /* ── Forms (Universal 16px Font Size to Prevent iOS Safari Auto-Zoom) ── */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  select,
  textarea {
    font-size: 16px !important;
    padding: 13px 16px !important;
    width: 100% !important;
  }

  #contact-form button[type="submit"] {
    width: 100% !important;
  }

  /* ── Initial Onboarding Journey Modal (#growth-way-overlay) ── */
  .growth-way-overlay {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    align-items: flex-start !important;
    padding: 30px 16px !important;
  }

  .ob-step-screen {
    margin: auto 0 !important;
    width: 100% !important;
  }

  #ob-title-tw {
    font-size: clamp(26px, 7vw, 40px) !important;
  }

  .gw-header {
    margin-bottom: 22px !important;
  }

  .gw-header .gw-title {
    font-size: 26px !important;
  }

  .gw-header .gw-subtitle {
    font-size: 13px !important;
  }

  .gw-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .gw-canvas-box {
    padding: 12px 0 !important;
  }

  .gw-canvas-box canvas {
    max-width: 240px !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 280 / 210;
  }

  .gw-card-body {
    padding: 20px 16px !important;
  }

  .gw-card-body h3 {
    font-size: 20px !important;
  }

  .gw-card-body p {
    font-size: 13.5px !important;
    line-height: 1.5 !important;
  }

  .gw-title {
    font-size: 24px !important;
  }

  .ob-input-box {
    max-width: 100% !important;
    margin: 20px auto 0 !important;
  }

  #ob-welcome-line1 {
    font-size: clamp(24px, 6vw, 34px) !important;
  }

  #ob-welcome-line2 {
    font-size: clamp(26px, 7vw, 38px) !important;
  }

  .movement-btn-group {
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .movement-btn-group .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .phone-input-group {
    display: flex !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .country-flag-select {
    width: 105px !important;
    flex-shrink: 0 !important;
    padding: 13px 8px !important;
    font-size: 14px !important;
  }

  #ob-whatsapp-input {
    flex-grow: 1 !important;
    width: auto !important;
    font-size: 16px !important;
  }

  #ob-final-submit, #ob-skip-btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* ── Business Survey Popup Modal ── */
  .survey-modal-overlay {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    align-items: flex-start !important;
    padding: 30px 16px !important;
  }

  .survey-card {
    padding: 26px 20px !important;
    max-height: none !important;
    margin: auto 0 !important;
    border-radius: var(--radius) !important;
  }

  .survey-card h3 {
    font-size: 20px !important;
  }
}

/* ─── Compact Mobile Devices (<= 480px) ─── */
@media (max-width: 480px) {
  .container {
    padding: 0 14px !important;
  }

  h1 {
    font-size: 28px !important;
  }

  h2 {
    font-size: 23px !important;
  }

  .nav-logo {
    font-size: 16px;
    gap: 8px;
  }

  .nav-logo-mark {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .stack-card-inner {
    padding: 18px 14px !important;
    border-radius: 16px !important;
  }

  .stat-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  .stat-box {
    padding: 16px 10px !important;
  }

  .stat-box .number {
    font-size: 26px !important;
  }
}



