/* ==========================================================================
   RITIVERSE — SHARED BASE DESIGN SYSTEM
   (Tokens, Reset, Navbar, Fullscreen Menu, Subpage Base, Footer, Typewriter)
   Used across all pages.
   ========================================================================== */

/* ==========================================================================
   RITIVERSE — BESPOKE WEBSITE & SOFTWARE DEVELOPMENT
   Architectural Design System (Calibrated to assets/logo.png Brand Palette)
   ========================================================================== */

:root {
  /* Surface & Canvas System (Amber Minimal Calibrated) */
  --bg-page: #FAF7EE;
  --bg-surface: #FFFFFF;
  --bg-dark-nav: rgba(255, 255, 255, 0.88);

  /* ========================================================================
     RiTiVerse Owl Brand Color Palette (Extracted directly from assets/logo.png)
     ======================================================================== */
  /* 1. Flame Orange (Primary Dynamic Accent - Owl Chest & Feather Crest) */
  --brand-orange: #F86800;
  --brand-orange-hover: #E05A00;
  --brand-orange-muted: #FB923C;
  --brand-orange-subtle: rgba(248, 104, 0, 0.08);
  --brand-orange-border: rgba(248, 104, 0, 0.24);
  --brand-orange-shadow: rgba(248, 104, 0, 0.28);
  --brand-orange-glow: rgba(248, 104, 0, 0.45);

  /* 2. Amber Accent / Warm Gold Token */
  --brand-amber: #F59E0B;
  --brand-amber-light: #FEF3C7;

  /* 3. Azure / Tech Accent - Owl Wings & Flight */
  --brand-blue: #008CD8;
  --brand-blue-hover: #0077BC;
  --brand-blue-muted: #38BDF8;
  --brand-blue-subtle: rgba(0, 140, 216, 0.08);
  --brand-blue-border: rgba(0, 140, 216, 0.22);
  --brand-blue-shadow: rgba(0, 140, 216, 0.25);
  --brand-blue-glow: rgba(0, 140, 216, 0.45);

  /* 4. Crimson / Ruby Fire Red - Owl Tail & Claws */
  --brand-red: #C80000;
  --brand-red-hover: #A50000;
  --brand-red-muted: #F87171;
  --brand-red-subtle: rgba(200, 0, 0, 0.08);
  --brand-red-border: rgba(200, 0, 0, 0.24);
  --brand-red-shadow: rgba(200, 0, 0, 0.25);

  /* Primary Accent Token */
  --accent-primary: var(--brand-orange);
  --accent-primary-hover: var(--brand-orange-hover);
  --accent-primary-muted: var(--brand-orange-muted);
  --accent-primary-subtle: var(--brand-orange-subtle);
  --accent-primary-border: var(--brand-orange-border);
  --accent-primary-shadow: var(--brand-orange-shadow);

  /* Secondary & Tertiary Tokens */
  --accent-secondary: var(--brand-blue);
  --accent-secondary-hover: var(--brand-blue-hover);
  --accent-secondary-muted: var(--brand-blue-muted);
  --accent-secondary-subtle: var(--brand-blue-subtle);
  --accent-secondary-border: var(--brand-blue-border);

  --accent-tertiary: var(--brand-red);
  --accent-tertiary-hover: var(--brand-red-hover);

  /* Full Compatibility & Semantic Aliases */
  --accent-terracotta: var(--brand-orange);
  --accent-terracotta-hover: var(--brand-orange-hover);
  --accent-terracotta-muted: var(--brand-orange-muted);
  --accent-terracotta-subtle: var(--brand-orange-subtle);
  --accent-terracotta-border: var(--brand-orange-border);
  --accent-terracotta-shadow: var(--brand-orange-shadow);

  /* Brand Signature Gradients */
  --gradient-logo: linear-gradient(135deg, #008CD8 0%, #F86800 50%, #C80000 100%);
  --gradient-flame: linear-gradient(135deg, #F86800 0%, #C80000 100%);
  --gradient-flame-hover: linear-gradient(135deg, #FF7814 0%, #D80404 100%);
  --gradient-blue: linear-gradient(135deg, #00A6FB 0%, #008CD8 60%, #006AB5 100%);
  --gradient-hero-text: linear-gradient(135deg, #008CD8 0%, #F86800 52%, #C80000 100%);

  /* Functional Neutrals */
  --accent-slate: #64748B;
  --accent-emerald: #10B981;
  --accent-indigo: #6366F1;

  /* Glassmorphism & Amber Minimal Surface System */
  --card-bg: rgba(255, 255, 255, 0.92);
  --card-bg-elevated: #FFFFFF;
  --card-bg-subtle: rgba(250, 245, 234, 0.75);
  --card-border: rgba(226, 218, 204, 0.85);
  --card-border-light: rgba(226, 218, 204, 0.5);

  /* Glassmorphic Tokens */
  --glass-bg: rgba(255, 255, 255, 0.88);
  --glass-bg-hover: rgba(254, 250, 242, 0.98);
  --glass-border: rgba(217, 119, 6, 0.16);
  --glass-border-hover: rgba(245, 158, 11, 0.45);
  --glass-shadow: 0 20px 50px -10px rgba(217, 119, 6, 0.08), 0 10px 20px -5px rgba(15, 23, 42, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.95);

  /* Typography Colors */
  --text-primary-dark: #0F172A;
  --text-secondary-dark: #475569;
  --text-muted-dark: #64748B;

  --text-primary-light: #0F172A;
  --text-secondary-light: #475569;
  --text-muted-light: #64748B;

  /* Shadows (Amber Minimal Warmth & Editorial Depth) */
  --shadow-console:
    0 35px 80px -25px rgba(217, 119, 6, 0.12),
    0 15px 35px -10px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  --shadow-btn: 0 4px 18px var(--brand-orange-shadow);
  --shadow-btn-hover: 0 8px 26px var(--brand-orange-shadow);
  --shadow-input: 0 4px 20px -2px rgba(217, 119, 6, 0.05), 0 1px 3px rgba(15, 23, 42, 0.04);

  /* Typography Stacks */
  --font-display: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
}

/* ==========================================================================
   CSS RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-primary-dark);
  min-height: 100dvh;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  position: relative;
}

/* ==========================================================================
   FLOATING NAVIGATION BAR (No Black Strip, Clean Floating Capsules)
   ========================================================================== */
.synex-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  height: auto;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 44px;
  border-bottom: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  pointer-events: none;
  transition: padding 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: padding;
}

/* Scrolled elevation for sticky capsules */
.synex-nav.is-scrolled {
  padding: 16px 44px;
}

.synex-nav.is-scrolled .synex-brand,
.synex-nav.is-scrolled .synex-menu-trigger {
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 14px 34px -4px rgba(0, 140, 216, 0.18),
    0 4px 14px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.synex-nav-left,
.synex-nav-right {
  display: flex;
  align-items: center;
  pointer-events: auto;
}

/* Modern & Minimal Floating Brand Capsule with Owl Logo */
.synex-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(226, 218, 204, 0.85);
  padding: 8px 20px 8px 14px;
  border-radius: 9999px;
  box-shadow:
    0 10px 30px -5px rgba(217, 119, 6, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.synex-brand:hover {
  background: rgba(254, 250, 242, 0.98);
  border-color: var(--brand-orange);
  transform: translateY(-2px);
  box-shadow:
    0 14px 34px -4px rgba(248, 104, 0, 0.2),
    0 0 20px rgba(248, 104, 0, 0.1);
}

.synex-brand:active {
  transform: translateY(0) scale(0.97);
}

.synex-brand-logo {
  height: 28px;
  width: auto;
  max-width: 44px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(217, 119, 6, 0.25));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s;
}

.synex-brand:hover .synex-brand-logo {
  transform: scale(1.08) rotate(-3deg);
  filter: drop-shadow(0 3px 10px rgba(248, 104, 0, 0.45));
}

.synex-brand-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #0F172A;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.logo-accent-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gradient-flame);
  display: inline-block;
  margin-left: 3px;
  box-shadow: 0 0 8px rgba(248, 104, 0, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.synex-brand:hover .logo-accent-dot {
  transform: scale(1.3);
  box-shadow: 0 0 12px rgba(248, 104, 0, 0.9);
}

/* 3-Line Animated Floating Hamburger Trigger Button */
.synex-menu-trigger {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(226, 218, 204, 0.85);
  padding: 13px 18px;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  outline: none;
  box-shadow:
    0 10px 30px -5px rgba(217, 119, 6, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.synex-menu-trigger:hover {
  background: rgba(254, 250, 242, 0.98);
  border-color: var(--brand-orange);
  transform: translateY(-2px);
  box-shadow:
    0 14px 34px -4px rgba(248, 104, 0, 0.2),
    0 0 20px rgba(248, 104, 0, 0.1);
}

.synex-menu-trigger:active {
  transform: translateY(0) scale(0.96);
}

.hamburger-box {
  width: 30px;
  height: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  position: relative;
}

.hamburger-line {
  display: block;
  height: 2px;
  background-color: #0F172A;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hamburger-line.line-1 {
  width: 28px;
}

.hamburger-line.line-2 {
  width: 19px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}

.hamburger-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--brand-orange);
  margin-left: 5px;
  box-shadow: 0 0 8px rgba(248, 104, 0, 0.85);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}

.hamburger-line.line-3 {
  width: 28px;
}

/* Micro-interaction on trigger hover */
.synex-menu-trigger:hover .hamburger-line.line-1 {
  transform: translateX(-3px);
  background-color: var(--brand-blue);
}

.synex-menu-trigger:hover .hamburger-line.line-2 {
  width: 28px;
}

.synex-menu-trigger:hover .hamburger-dot {
  transform: scale(1.3);
  box-shadow: 0 0 14px rgba(248, 104, 0, 1);
}

.synex-menu-trigger:hover .hamburger-line.line-3 {
  transform: translateX(-5px);
  background-color: var(--brand-blue);
}

/* ==========================================================================
   FULLSCREEN ARCHITECTURAL NAVIGATION OVERLAY (Open State)
   ========================================================================== */
.synex-fs-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 9999;
  background-color: rgba(250, 247, 238, 0.96);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow-y: auto;
  overflow-x: clip;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}

.synex-fs-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Framer-Style Architectural Grid */
.fs-grid-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1400px;
  margin: 0 auto;
  pointer-events: none;
  z-index: 1;
}

.fs-grid-col {
  border-right: 1px solid rgba(226, 218, 204, 0.5);
  height: 100%;
}

.fs-grid-cross {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1;
  color: rgba(217, 119, 6, 0.25);
  user-select: none;
}

.fs-grid-cross.cross-1 {
  top: 90px;
  left: 25%;
}

.fs-grid-cross.cross-2 {
  top: 90px;
  right: 25%;
}

.fs-grid-cross.cross-3 {
  bottom: 120px;
  left: 25%;
}

.fs-grid-cross.cross-4 {
  bottom: 120px;
  right: 25%;
}

.fs-ambient-glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(248, 104, 0, 0.12) 0%, rgba(245, 158, 11, 0.06) 45%, rgba(250, 247, 238, 0) 70%);
  pointer-events: none;
}

/* Fullscreen Menu Top Header Bar (Exact Layout & Coordinates Match with Floating Nav) */
.fs-menu-header {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  height: auto;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 44px;
  border-bottom: 1px solid rgba(226, 218, 204, 0.85);
  z-index: 10;
  box-sizing: border-box;
}

/* Close Button (✕) with Circular Floating Capsule Style */
.fs-close-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(226, 218, 204, 0.85);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #0F172A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  box-shadow:
    0 10px 30px -5px rgba(0, 140, 216, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.fs-close-btn:hover {
  background: #FFFFFF;
  border-color: var(--brand-orange);
  color: var(--brand-orange);
  transform: rotate(90deg) scale(1.04);
  box-shadow:
    0 14px 34px -4px rgba(248, 104, 0, 0.25),
    0 0 20px rgba(248, 104, 0, 0.15);
}

.fs-close-btn:active {
  transform: rotate(90deg) scale(0.94);
}

/* Fullscreen Menu Container */
.fs-menu-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 44px 72px;
  position: relative;
  z-index: 10;
}

/* Columns 2 & 3: Navigation Grid */
.fs-nav-main-col {
  display: flex;
  flex-direction: column;
}

.fs-nav-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.fs-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fs-nav-item {
  overflow: hidden;
}

.fs-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.2vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: #0F172A;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-arrow {
  font-size: 0.65em;
  color: var(--brand-orange);
  opacity: 0;
  transform: translate(-10px, 10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.fs-nav-link:hover {
  color: var(--brand-orange);
  transform: translateX(10px);
}

.fs-nav-link:hover .nav-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

/* Menu Bottom Footer: FOLLOW & CONTACT */
.fs-menu-footer {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid rgba(226, 218, 204, 0.85);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.fs-meta-block {
  display: flex;
  flex-direction: column;
}

.fs-meta-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #64748B;
  margin-bottom: 12px;
}

.fs-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.fs-social-link {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #0F172A;
  transition: color 0.2s ease, transform 0.2s ease;
}

.fs-social-link:hover {
  color: var(--brand-orange);
  transform: translateY(-1px);
}

.fs-contact-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fs-contact-email {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #0F172A;
  transition: color 0.2s ease;
}

.fs-contact-email:hover {
  color: var(--brand-orange);
}

.fs-contact-address,
.fs-contact-phone {
  font-size: 13px;
  color: var(--text-muted-light);
}



/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes synexFadeUp {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }

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

@keyframes synexCardEntrance {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.88);
    filter: blur(6px);
  }

  50% {
    opacity: 0.95;
    filter: blur(0px);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
  }
}

/* ==========================================================================
   RESPONSIVE ADAPTATIONS
   ========================================================================== */
@media (max-width: 1080px) {

  .synex-nav,
  .fs-menu-header {
    padding: 20px 28px;
  }

  .synex-nav.is-scrolled {
    padding: 14px 28px;
  }

  .fs-menu-container {
    padding: 40px 28px 60px;
  }

  .fs-grid-overlay {
    grid-template-columns: 1fr 1fr;
  }

  .synex-dashboard-window {
    height: auto;
    min-height: 520px;
  }
}

@media (max-width: 768px) {

  .synex-nav,
  .fs-menu-header {
    padding: 16px 20px;
    height: auto;
  }

  .synex-nav.is-scrolled {
    padding: 12px 20px;
  }

  .synex-brand {
    padding: 8px 16px;
  }

  .synex-brand-name {
    font-size: 17px;
  }

  .synex-menu-trigger {
    padding: 10px 14px;
  }

  .fs-close-btn {
    width: 40px;
    height: 40px;
  }

  .fs-menu-container {
    padding: 24px 20px 48px;
  }

  .fs-nav-links-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .fs-nav-link {
    font-size: clamp(2.2rem, 8.5vw, 3rem);
  }

  .fs-menu-footer {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 36px;
    padding-top: 24px;
  }
}

@media (max-width: 480px) {

  .synex-nav,
  .fs-menu-header {
    padding: 12px 14px;
  }

  .synex-nav.is-scrolled {
    padding: 10px 14px;
  }

  .synex-brand {
    padding: 7px 13px 7px 10px;
    gap: 8px;
  }

  .synex-brand-logo {
    height: 24px;
    max-width: 36px;
  }

  .synex-brand-name {
    font-size: 15.5px;
    letter-spacing: -0.02em;
  }

  .synex-menu-trigger {
    padding: 8px 12px;
  }

  .hamburger-box {
    width: 24px;
    height: 14px;
  }

  .hamburger-line.line-1,
  .hamburger-line.line-3 {
    width: 22px;
  }

  .hamburger-line.line-2 {
    width: 16px;
  }

  .fs-menu-container {
    padding: 20px 14px 40px;
  }

  .fs-nav-link {
    font-size: clamp(1.8rem, 7.8vw, 2.4rem);
    gap: 10px;
  }

  .fs-social-links {
    gap: 12px;
  }

  .fs-social-link {
    font-size: 13px;
  }
}

@media (max-width: 360px) {

  .synex-nav,
  .fs-menu-header {
    padding: 10px 10px;
  }

  .synex-brand {
    padding: 6px 10px 6px 8px;
    gap: 6px;
  }

  .synex-brand-logo {
    height: 21px;
  }

  .synex-brand-name {
    font-size: 14px;
  }

  .synex-menu-trigger {
    padding: 7px 10px;
  }

  .fs-nav-link {
    font-size: 1.65rem;
  }
}


/* ==========================================================================
   FOOTER CTA & BOTTOM DETAILS (Amber Minimal Warmth & Editorial Glow)
   ========================================================================== */
/* Dedicated Consultation CTA Section */
.synex-cta-section {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF7EE 100%);
  padding: 100px 24px 80px;
}

.cta-section-container {
  max-width: 1260px;
  width: 100%;
  margin: 0 auto;
}

.synex-footer {
  width: 100%;
  background: linear-gradient(180deg, #FAF7EE 0%, #F5EFE0 100%);
  color: #0F172A;
  padding: 52px clamp(20px, 4vw, 56px) 32px;
  border-top: 1px solid rgba(226, 218, 204, 0.85);
  box-sizing: border-box;
}

.footer-container {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
}

.footer-cta-card {
  position: relative;
  background:
    radial-gradient(circle at 50% 0%, rgba(248, 104, 0, 0.1) 0%, rgba(245, 158, 11, 0.05) 50%, rgba(255, 255, 255, 0.98) 85%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid rgba(245, 158, 11, 0.28);
  border-radius: 28px;
  padding: 80px 48px;
  text-align: center;
  overflow: hidden;
  width: 100%;
  margin-bottom: 64px;
  box-shadow: 0 30px 80px -20px rgba(217, 119, 6, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.footer-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 16px;
}

.footer-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #0F172A;
  margin-bottom: 16px;
}

.footer-subtext {
  font-size: 15px;
  color: #475569;
  max-width: 560px;
  margin: 0 auto 32px auto;
  line-height: 1.6;
}

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-flame);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 12px 28px;
  border-radius: 9999px;
  box-shadow: var(--shadow-btn);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-cta-btn:hover {
  background: var(--gradient-flame-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
}

.footer-cta-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.footer-cta-btn:hover svg {
  transform: translateX(3px);
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  font-size: 13px;
  color: #64748B;
}

.footer-brand {
  display: flex;
  align-items: center;

}

.footer-logo {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0F172A;
}

.footer-status-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #10B981;
}

.footer-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 8px #10B981;
}

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

  .footer-bottom-row {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
    gap: 8px;
  }

  .footer-cta-card {
    padding: 48px 24px;
    border-radius: 20px;
    margin-bottom: 40px;
  }

  .subpage-hero {
    padding: 115px 20px 55px;
  }

  .subpage-section {
    padding: 60px 18px;
  }
}

@media (max-width: 480px) {
  .synex-cta-section {
    padding: 50px 14px 40px;
  }

  .synex-footer {
    padding: 50px 14px 36px;
  }

  .footer-cta-card {
    padding: 36px 16px;
    border-radius: 18px;
    margin-bottom: 32px;
  }

  .footer-headline {
    font-size: clamp(22px, 6.5vw, 28px);
  }

  .footer-subtext {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .footer-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }

  .subpage-hero {
    padding: 95px 14px 40px;
  }

  .subpage-title {
    font-size: clamp(24px, 7.5vw, 34px);
    margin-bottom: 14px;
  }

  .subpage-subtitle {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .subpage-cta-group {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .subpage-cta-group .btn-primary,
  .subpage-cta-group .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }

  .subpage-section {
    padding: 42px 14px;
  }

  .faq-question-btn {
    padding: 16px 18px;
  }

  .faq-q-text {
    font-size: 15px;
  }

  .faq-answer-body {
    padding: 0 18px 18px 18px;
    font-size: 13.5px;
  }
}



/* ==========================================================================
   SUBPAGE ARCHITECTURAL DESIGN SYSTEM (Services, About, Projects, Contact)
   ========================================================================== */

/* Subpage Hero Section */
.subpage-hero {
  position: relative;
  padding: 150px 24px 80px;
  background: radial-gradient(circle at 50% 0%, rgba(248, 104, 0, 0.08) 0%, rgba(250, 245, 234, 0.8) 50%, #FAF7EE 85%);
  border-bottom: 1px solid rgba(226, 218, 204, 0.8);
  text-align: center;
  overflow: hidden;
}

.subpage-hero-container {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.subpage-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-orange-subtle);
  border: 1px solid var(--brand-orange-border);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 24px;
}

.subpage-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-orange);
  box-shadow: 0 0 8px var(--brand-orange);
}

.subpage-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #0F172A;
  margin-bottom: 20px;
}

.subpage-title .accent-text {
  color: var(--brand-orange);
}

.subpage-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: #475569;
  max-width: 720px;
  margin: 0 auto 36px;
}

.subpage-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient-flame);
  color: #FFFFFF;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.22s ease;
  box-shadow: var(--shadow-btn);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--gradient-flame-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 140, 216, 0.25);
  color: #0F172A;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 140, 216, 0.08);
  transition: all 0.22s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  background: #FFFFFF;
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: translateY(-2px);
}

/* Standard Section Container for Subpages */
.subpage-section {
  padding: 90px 24px;
  background: #F4F9FD;
  position: relative;
}

.subpage-container {
  max-width: 1200px;
  margin: 0 auto;
}



/* ==========================================================================
   SCROLL-TRIGGERED TYPEWRITER EFFECT FOR ALL HEADINGS
   ========================================================================== */
.typewriter-cursor {
  display: inline-block;
  font-family: var(--font-mono, monospace);
  font-weight: 300;
  font-size: 0.9em;
  line-height: 1;
  color: var(--brand-orange, #F86800);
  margin-left: 3px;
  vertical-align: baseline;
  animation: typewriter-blink 0.7s steps(2, start) infinite;
  text-shadow: 0 0 10px rgba(248, 104, 0, 0.8), 0 0 20px rgba(248, 104, 0, 0.4);
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.typewriter-cursor.fade-out {
  opacity: 0;
}

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



/* ==========================================================================
   EXTENDED FOOTER SITEMAP & DIRECT NAVIGATION
   ========================================================================== */
.footer-sitemap-grid {
  display: grid;
  grid-template-columns: 2.2fr 1.4fr 1.4fr;
  gap: 36px;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(0, 140, 216, 0.15);
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
}

.footer-col-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #64748B;
  margin: 16px 0 20px 0;
  max-width: 320px;
}

.footer-contact-mini {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: #475569;
}

.footer-contact-mini a {
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 600;
}

.footer-contact-mini a:hover {
  text-decoration: underline;
}

.footer-social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.footer-social-link,
.footer-social-link:visited {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  padding: 5px 11px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(226, 218, 204, 0.9);
  border-radius: 6px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-social-link svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.footer-social-link:hover {
  color: var(--brand-orange);
  border-color: var(--brand-orange-border);
  background: var(--brand-orange-subtle);
  transform: translateY(-1.5px);
  box-shadow: 0 4px 10px -2px rgba(248, 104, 0, 0.15);
  text-decoration: none;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0F172A;
  margin-bottom: 20px;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  font-size: 13.5px;
  color: #475569;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-links-list a:hover {
  color: var(--brand-orange);
  transform: translateX(3px);
}

@media (max-width: 900px) {
  .footer-sitemap-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 540px) {
  .footer-sitemap-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}



/* Global Accent Utilities */
.accent-text {
  color: var(--brand-orange);
}

/* ==========================================================================
   GLOBAL INTERACTIVE FAQ ACCORDION
   ========================================================================== */
.faq-accordion-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.faq-item {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 218, 204, 0.85);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item:hover {
  border-color: rgba(217, 119, 6, 0.35);
}

.faq-item.is-open {
  background: #FFFFFF;
  border-color: var(--brand-orange);
  box-shadow: 0 15px 35px -10px rgba(217, 119, 6, 0.12);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  outline: none;
}

.faq-q-text {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: -0.01em;
}

.faq-icon-indicator {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(254, 243, 199, 0.8);
  border: 1px solid rgba(217, 119, 6, 0.25);
  color: #B45309;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s;
  flex-shrink: 0;
  margin-left: 14px;
}

.faq-item.is-open .faq-icon-indicator {
  transform: rotate(45deg);
  background: var(--brand-orange);
  color: #FFFFFF;
  border-color: var(--brand-orange);
}

.faq-answer-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
}

.faq-item.is-open .faq-answer-wrap {
  max-height: 400px;
  opacity: 1;
}

.faq-answer-body {
  padding: 0 24px 24px 24px;
  font-size: 14.5px;
  line-height: 1.7;
  color: #475569;
}

.faq-answer-body p {
  margin: 0;
}
