/* =========================================================================
   AARK INNOVATIONS &mdash; MASTER UNIFIED ENTERPRISE STYLES
   Merged Sections: Folder 3.1 + Folder Aarkinn 4 + Folder Aarkinn 5
   Theme: Royal Blue (#1e40af), Deep Navy (#090d16), Vibrant Lime Accent (#1e40af)
   ========================================================================= */

/* --- Global Theme & Layout Tokens --- */
:root {
  /* Primary Royal Blue Brand Palette */
  --color-primary: #1e40af;
  --color-primary-hover: #1d4ed8;
  --color-primary-light: #3b82f6;
  --color-primary-dark: #172554;
  --color-primary-soft: rgba(30, 64, 175, 0.08);
  --color-primary-glow: rgba(30, 64, 175, 0.25);
  --blue: #1e40af;
  --blue-light: #e6ebfb;

  /* Signature Vibrant Lime Accent from Reference Design */
  --acid: #dbeafe;
  --acid-deep: #bfdbfe;
  --acid-hover: #eff6ff;
  --acid-contrast: #1e40af;
  --acid-deep: #172554;
  --acid-hover: #1d4ed8;
  --acid-contrast: #181a17;

  /* Light Theme Surfaces */
  --bg-page: #f8fafc;
  --paper: #ffffff;
  --paper-warm: #fcfbf9;
  --bg-subtle: #f1f5f9;
  --ink: #181a17;
  --ink-secondary: #334155;
  --muted: #5e6258;
  --line: #cbd5e1;
  --line-subtle: rgba(24, 26, 23, 0.12);
  --card-bg: #ffffff;

  /* Layout Width with Generous Left & Right Side Gaps */
  --shell: 1240px;
  --shell-width: 1240px;

  /* Animation Physics */
  --mo-ease: cubic-bezier(0.32, 0.72, 0, 1);
  --mo-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --gx-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================================================
   FIX 1: LEFT & RIGHT SIDE GAPS (SHELL CONTAINER)
   ========================================================================= */
.shell {
  width: calc(100% - 96px) !important;
  max-width: var(--shell) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

@media (max-width: 900px) {
  .shell {
    width: calc(100% - 48px) !important;
  }
}

@media (max-width: 600px) {
  .shell {
    width: calc(100% - 32px) !important;
  }
}

/* =========================================================================
   STYLES FROM 3.1 (HERO & PROOF METRICS)
   ========================================================================= */
/* =========================================================================
   AARK INNOVATIONS &mdash; ENTERPRISE SYSTEMS DESIGN SYSTEM
   Theme: Light Corporate Theme with Royal Blue (#1e40af)
   Font Stack: 'Endcap Grotesk', 'Hanken Grotesk', Hanken, Arial, sans-serif
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,300..900;1,300..900&display=swap');

/* --- Brand Tokens & Color Palette --- */
:root {
  /* Main Theme Color: #1e40af (Royal Blue) */
  --color-primary: #1e40af;
  --color-primary-hover: #1d4ed8;
  --color-primary-light: #3b82f6;
  --color-primary-dark: #172554;
  --color-primary-soft: rgba(30, 64, 175, 0.08);
  --color-primary-glow: rgba(30, 64, 175, 0.25);

  /* Light Theme Surfaces & Backgrounds */
  --color-outer-bg: #f1f5f9;          /* Crisp soft light slate outer bezel */
  --color-card-bg: #ffffff;           /* Pure white inner hero card */
  --color-card-border: rgba(30, 64, 175, 0.12);
  --color-card-surface: #f8fafc;       /* Metric card background */
  --color-card-surface-border: rgba(30, 64, 175, 0.15);

  /* Navigation Colors */
  --color-nav-bg: #ffffff;
  --color-nav-border: rgba(30, 64, 175, 0.16);
  --color-nav-shadow: rgba(15, 23, 42, 0.08);

  /* Text Colors */
  --color-text-main: #0f172a;         /* Deep slate-900 headline */
  --color-text-muted: #334155;        /* Slate-700 body text */
  --color-text-subtle: #64748b;       /* Slate-500 microcopy */

  /* Accent & Highlight Colors */
  --color-accent: #1e40af;
  --color-accent-light: #60a5fa;

  /* Typography: Global Unified Font Stack */
  --font-family: 'Endcap Grotesk', 'Hanken Grotesk', Hanken, Arial, sans-serif;
  --font-headings: 'Endcap Grotesk', 'Hanken Grotesk', Hanken, Arial, sans-serif;
  --font-body: 'Endcap Grotesk', 'Hanken Grotesk', Hanken, Arial, sans-serif;
  --font-display: 'Endcap Grotesk', 'Hanken Grotesk', Hanken, Arial, sans-serif;
  --font-serif: 'Endcap Grotesk', 'Hanken Grotesk', Hanken, Arial, sans-serif;
  --font-main: 'Endcap Grotesk', 'Hanken Grotesk', Hanken, Arial, sans-serif;
  --font-mono: 'Endcap Grotesk', 'Hanken Grotesk', Hanken, Arial, sans-serif;
  --font-sans: 'Endcap Grotesk', 'Hanken Grotesk', Hanken, Arial, sans-serif;

  /* Hero & Navigation Tokens (from Aarkinn 9 Hero) */
  --bg-color: #f8fafc;
  --bg-gradient: radial-gradient(ellipse at 30% 48%, #ffffff 0%, #f1f5f9 60%, #e2e8f0 100%);
  --nav-bg: rgba(255, 255, 255, 0.90);
  --nav-border: #e2e8f0;
  --nav-height: 80px;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --title-sub: #1e293b;

  --accent-blue: #2563eb;
  --accent-cyan: #0284c7;
  --accent-glow: rgba(37, 99, 235, 0.22);
  --border-light: #e2e8f0;
  --border-hover: #cbd5e1;

  --eyebrow-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(239, 246, 255, 0.85) 100%);
  --eyebrow-border: rgba(37, 99, 235, 0.24);
  --eyebrow-text: #0f172a;
  --eyebrow-accent: #2563eb;
  --eyebrow-sub: #475569;

  --btn-primary-bg: #090d16;
  --btn-primary-color: #ffffff;
  --btn-primary-border: rgba(255, 255, 255, 0.14);
  --btn-primary-hover: #1e293b;
  --btn-primary-shadow: 0 4px 18px rgba(15, 23, 42, 0.20);

  --btn-outline-bg: rgba(255, 255, 255, 0.88);
  --btn-outline-color: #1e293b;
  --btn-outline-border: #cbd5e1;
  --btn-outline-hover: #f8faff;

  --badge-bg: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  --badge-border: rgba(37, 99, 235, 0.28);
  --badge-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.12), 0 0 14px rgba(37, 99, 235, 0.14);
  --badge-title: #0f172a;
  --badge-sub: #2563eb;
  --badge-dot: #2563eb;
  --badge-dot-glow: #38bdf8;

  --dropdown-bg: rgba(255, 255, 255, 0.97);
  --dropdown-item: #334155;
  --dropdown-hover: #eff6ff;

  /* Animation Easing */
  --ease-cubic: cubic-bezier(0.625, 0.05, 0, 1);
  --ease-hover: cubic-bezier(0.675, 0.15, 0.1, 1);

  /* Safe Area Tokens */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

/* --- Global Reset & Base Typography Styles --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Endcap Grotesk', 'Hanken Grotesk', Hanken, Arial, sans-serif;
}

html, body, button, input, select, textarea, h1, h2, h3, h4, h5, h6, p, span, a, li {
  font-family: 'Endcap Grotesk', 'Hanken Grotesk', Hanken, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(90px + var(--safe-top));
  overflow-x: hidden;
}

body {
  background-color: var(--color-outer-bg);
  color: var(--color-text-main);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  min-height: 100dvh;
  line-height: 1.5;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

/* Fluid Media Reserving Space (CLS Prevention) */
img, video, canvas {
  max-inline-size: 100%;
}

/* Anchor Targets Safe Clearance from Floating Header */
section[id],
main[id],
footer[id] {
  scroll-margin-top: calc(90px + var(--safe-top));
}

/* =========================================================================
   GLOBAL STANDARDIZED H2 SECTION HEADINGS
   Unified across all sections: Section 4, 5, 6, 7, 10
   ========================================================================= */
h2,
.re-section-head h2,
#paths-title,
#services-heading,
.event-highlights__title,
.display-title,
.journey .journey-title,
.journey-title,
.cta-title,
.faq-title,
.contact-us-title {
  font-family: 'Endcap Grotesk', 'Hanken Grotesk', Hanken, Arial, sans-serif !important;
  font-size: clamp(1.85rem, 4.2vw, 3.2rem) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.03em !important;
  color: #090d16;
  text-wrap: balance;
}

h1,
.hero-title {
  font-family: 'Endcap Grotesk', 'Hanken Grotesk', Hanken, Arial, sans-serif !important;
  font-size: clamp(30px, 5.5vw, 58px) !important;
  font-weight: 800 !important;
  line-height: 1.14 !important;
  letter-spacing: -0.03em !important;
  color: #090d16;
  text-wrap: balance;
}

p,
.hero-description,
.journey-subtitle,
.cta-subtitle,
.faq-left-text {
  text-wrap: pretty;
}

/* Two-Tone Heading Accents: Matching WE BELIEVE IN CONNECTED SYSTEMS (#1e40af) */
.heading-accent,
.display-accent,
.cta-title .heading-accent,
.faq-title .heading-accent,
.contact-us-title .heading-accent {
  color: #2563eb !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: initial !important;
  display: inline;
}

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* =========================================================================
   FLOATING PILL NAVBAR (MATCHING DAPPER REFERENCE)
   ========================================================================= */
.navbar {
  position: fixed;
  top: 18px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  pointer-events: none;
  background: transparent;
  border: none;
  padding: 0 20px;
  height: auto;
}

.nav-container {
  pointer-events: auto;
  position: relative;
  width: 100%;
  max-width: 1080px;
  height: 62px;
  background: #ffffff;
  border-radius: 14px;
  padding: 8px 10px 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #090d16;
}

.logo-mark {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.brand-text-group {
  display: flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1;
}

.logo-text {
  font-family: var(--font-family) !important;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: #090d16;
}

.logo-subtext {
  font-family: var(--font-family) !important;
  font-size: 14.5px;
  font-weight: 500;
  color: #475569;
  letter-spacing: -0.01em;
  text-transform: none;
}

/* Nav Menu: Available Sections Only */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  font-family: var(--font-family) !important;
  font-size: 14.5px;
  font-weight: 600;
  color: #1e293b;
  text-decoration: none;
  padding: 6px 4px;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #2563eb;
}

/* Nav Actions & CTA Group ("Talk to us [↗]") */
.nav-actions {
  display: flex;
  align-items: center;
}

.nav-cta-group {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 4px 4px 4px 16px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 10px;
}

.nav-cta-text {
  font-family: var(--font-family) !important;
  font-size: 14.5px;
  font-weight: 600;
  color: #090d16;
  transition: color 0.2s ease;
}

.nav-cta-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #2563eb;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.nav-cta-group:hover .nav-cta-icon {
  background: #1d4ed8;
  transform: translate(2px, -2px);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.45);
}

.nav-cta-group:hover .nav-cta-text {
  color: #2563eb;
}

/* Mobile Navigation Drawer & Hamburger Controller */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 8px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  position: relative;
  z-index: 1002;
  transition: background 0.2s ease;
}

.mobile-toggle:hover {
  background: rgba(0, 0, 0, 0.04);
}

body.dark-theme .mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-primary, #090d16);
  border-radius: 2px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  transform-origin: center;
}

body.dark-theme .mobile-toggle span {
  background-color: #f1f5f9;
}

/* Hamburger to X animation when menu is open */
.mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@keyframes navMenuFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }

  .nav-menu.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.18), 0 2px 6px rgba(0, 0, 0, 0.04);
    gap: 4px;
    z-index: 1001;
    animation: navMenuFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  }

  body.dark-theme .nav-menu.is-open {
    background: rgba(11, 15, 25, 0.98);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.6);
  }

  .nav-menu.is-open .nav-link {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    min-height: 48px; /* Standard WCAG Touch Target */
    transition: background 0.15s ease, color 0.15s ease;
  }

  .nav-menu.is-open .nav-link:hover,
  .nav-menu.is-open .nav-link:active {
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
  }

  body.dark-theme .nav-menu.is-open .nav-link:hover,
  body.dark-theme .nav-menu.is-open .nav-link:active {
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
  }

  .mobile-toggle {
    display: flex;
  }
}

@media (max-width: 480px) {
  .navbar {
    top: calc(10px + var(--safe-top));
    padding: 0 12px;
  }

  .nav-container {
    height: 54px;
    padding: 6px 8px 6px 14px;
    border-radius: 12px;
  }

  .logo-subtext {
    display: none;
  }

  .nav-cta-text {
    display: none;
  }

  .nav-cta-group {
    padding: 0;
    gap: 0;
  }

  .nav-cta-icon {
    width: 34px;
    height: 34px;
  }
}

/* Dark theme overrides for floating navbar */
body.dark-theme .nav-container {
  background: #0b0f19;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

body.dark-theme .logo-text,
body.dark-theme .nav-cta-text {
  color: #ffffff;
}

body.dark-theme .logo-subtext {
  color: #94a3b8;
}

body.dark-theme .nav-link {
  color: #cbd5e1;
}

body.dark-theme .nav-link:hover {
  color: #38bdf8;
}

/* =========================================================================
   HERO SECTION (FROM AARKINN 9 HERO)
   ========================================================================= */
.hero-wrapper {
  position: relative;
  width: 100% !important;
  max-width: 100% !important;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--bg-gradient);
  transition: background 0.3s ease;
}

#webgl-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: block;
}

.global-stream-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  pointer-events: none;
  z-index: 20;
  overflow: hidden;
}

.tech-item {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate3d(0, 0, 0);
  will-change: transform, opacity;
  pointer-events: none;
}

.tech-badge-3d {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 10px;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  border-radius: 9999px;
  box-shadow: var(--badge-shadow);
  margin-bottom: 6px;
  white-space: nowrap;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.icon-3d {
  width: 28px;
  height: 28px;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(37, 99, 235, 0.45));
}

.tech-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.tech-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--badge-title);
  font-family: var(--font-family) !important;
}

.tech-sub {
  font-size: 10px;
  font-weight: 600;
  color: var(--badge-sub);
  letter-spacing: 0.02em;
  font-family: var(--font-family) !important;
}

.tech-dot {
  width: 5px;
  height: 5px;
  background-color: var(--badge-dot);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--badge-dot-glow), 0 0 14px var(--badge-dot);
}

.hero-container {
  position: relative;
  z-index: 10;
  max-width: 1440px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 10px) 40px 40px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  pointer-events: none;
}

.hero-visual-slot {
  height: 100%;
  position: relative;
}

.hero-content {
  padding-left: 20px;
  max-width: 660px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  pointer-events: auto;
}

/* =========================================================================
   HERO EYEBROW BADGE (REDESIGNED ARCHITECTURAL PILL)
   ========================================================================= */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  border-radius: 9999px;
  background: var(--eyebrow-bg);
  border: 1px solid var(--eyebrow-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 16px -2px rgba(37, 99, 235, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  width: fit-content;
  font-family: var(--font-family) !important;
  font-size: 13px;
  line-height: 1;
  color: var(--eyebrow-text);
  margin-bottom: 22px;
  cursor: default;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.hero-eyebrow:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 6px 22px -2px rgba(37, 99, 235, 0.22), inset 0 1px 0 rgba(255, 255, 255, 1);
}

.eyebrow-beacon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.eyebrow-beacon-core {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--eyebrow-accent, #2563eb);
  box-shadow: 0 0 10px var(--eyebrow-accent, #2563eb);
  z-index: 2;
}

.eyebrow-beacon-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: var(--eyebrow-accent, #2563eb);
  opacity: 0.75;
  animation: eyebrowPing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes eyebrowPing {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }
  75%, 100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.eyebrow-tag {
  font-weight: 700;
  color: #1e40af;
  letter-spacing: -0.01em;
  font-size: 12.5px;
}

.eyebrow-sep {
  color: #94a3b8;
  font-size: 11px;
}

.eyebrow-label {
  color: #334155;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: -0.005em;
}

.eyebrow-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin-left: 2px;
}

.hero-eyebrow:hover .eyebrow-arrow {
  transform: translateX(3px);
}

body.dark-theme .hero-eyebrow {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.dark-theme .eyebrow-tag {
  color: #38bdf8;
}

body.dark-theme .eyebrow-sep {
  color: #64748b;
}

body.dark-theme .eyebrow-label {
  color: #cbd5e1;
}

body.dark-theme .eyebrow-arrow {
  color: #38bdf8;
}

@media (max-width: 640px) {
  .hero-eyebrow {
    font-size: 13px;
    padding: 5px 12px 5px 8px;
    max-width: 100%;
  }
}

@media (max-width: 420px) {
  .hero-eyebrow {
    font-size: 12px;
    padding: 5px 10px 5px 8px;
  }

  .hero-eyebrow .eyebrow-sep,
  .hero-eyebrow .eyebrow-label {
    display: none;
  }
}

.hero-title {
  font-size: clamp(36px, 4.2vw, 58px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 24px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  font-family: var(--font-family) !important;
}

.title-sub {
  color: var(--title-sub);
  font-weight: 600;
  font-family: var(--font-family) !important;
}

.stream-line-container {
  position: relative;
  width: 100%;
  height: 48px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.hero-description {
  font-size: 16px;
  line-height: 1.62;
  color: var(--text-secondary);
  margin-bottom: 34px;
  font-weight: 400;
  max-width: 600px;
  font-family: var(--font-family) !important;
}

.hero-description strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
}

/* =========================================================================
   GLOBAL BUTTON BASE
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-family) !important;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  white-space: nowrap;
  outline: none;
}

.btn:focus-visible,
button:focus-visible,
a.btn-cta-pill:focus-visible {
  outline: 3px solid #2563eb !important;
  outline-offset: 3px !important;
}

/* -------------------------------------------------------------------------
   HERO PRIMARY BUTTON (Schedule a Working Session)
   ------------------------------------------------------------------------- */
.btn-hero-primary {
  padding: 11px 18px 11px 26px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #090d16 0%, #0f172a 45%, #1e293b 100%);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.28),
              0 4px 14px rgba(15, 23, 42, 0.22),
              0 1px 3px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.btn-hero-primary .btn-text {
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.btn-hero-primary .btn-arrow-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin-left: 4px;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #0b1222 0%, #152449 60%, #1d4ed8 100%);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.4),
              0 12px 30px -4px rgba(15, 23, 42, 0.45),
              0 4px 18px rgba(37, 99, 235, 0.35);
}

.btn-hero-primary:hover .btn-arrow-bubble {
  background: #2563eb;
  color: #ffffff;
  transform: translateX(3px);
  box-shadow: 0 0 14px rgba(37, 99, 235, 0.6);
}

.btn-hero-primary:active {
  transform: translateY(0) scale(0.98);
}

/* -------------------------------------------------------------------------
   HERO SECONDARY BUTTON (Explore Practices (Deep-Dive))
   ------------------------------------------------------------------------- */
.btn-hero-secondary {
  padding: 11px 18px 11px 24px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  color: #1e293b !important;
  border: 1.5px solid #cbd5e1;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.btn-hero-secondary .btn-text {
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #1e293b;
  transition: color 0.2s ease;
}

.btn-hero-secondary .btn-arrow-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.05);
  color: #475569;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin-left: 4px;
}

.btn-hero-secondary:hover {
  transform: translateY(-2px);
  background: #f8faff;
  border-color: #2563eb;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.16), inset 0 1px 0 rgba(255, 255, 255, 1);
}

.btn-hero-secondary:hover .btn-text {
  color: #2563eb;
}

.btn-hero-secondary:hover .btn-arrow-bubble {
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
  transform: translateY(2px);
}

.btn-hero-secondary:active {
  transform: translateY(0) scale(0.98);
}

/* Dark Theme overrides for Hero Buttons */
body.dark-theme .btn-hero-primary {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  color: #090d16 !important;
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 16px rgba(255, 255, 255, 0.15);
}

body.dark-theme .btn-hero-primary .btn-text {
  color: #090d16;
}

body.dark-theme .btn-hero-primary .btn-arrow-bubble {
  background: #090d16;
  color: #ffffff;
}

body.dark-theme .btn-hero-primary:hover {
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(56, 189, 248, 0.35), 0 0 20px rgba(255, 255, 255, 0.3);
}

body.dark-theme .btn-hero-primary:hover .btn-arrow-bubble {
  background: #2563eb;
  color: #ffffff;
}

body.dark-theme .btn-hero-secondary {
  background: rgba(15, 23, 42, 0.65);
  border-color: rgba(255, 255, 255, 0.16);
  color: #f1f5f9 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

body.dark-theme .btn-hero-secondary .btn-text {
  color: #f1f5f9;
}

body.dark-theme .btn-hero-secondary .btn-arrow-bubble {
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

body.dark-theme .btn-hero-secondary:hover {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.2);
}

body.dark-theme .btn-hero-secondary:hover .btn-text {
  color: #38bdf8;
}

body.dark-theme .btn-hero-secondary:hover .btn-arrow-bubble {
  background: rgba(56, 189, 248, 0.22);
  color: #38bdf8;
}

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    padding-top: calc(var(--nav-height, 80px) + 10px);
  }

  .hero-visual-slot {
    display: none;
  }

  .hero-content {
    padding-left: 0;
    max-width: 100%;
    margin-top: auto;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .hero-wrapper {
    height: auto;
    min-height: 100svh;
    padding-top: calc(90px + var(--safe-top));
    padding-bottom: 48px;
    align-items: flex-start;
  }

  .hero-container {
    padding: 10px 16px 20px;
    margin-bottom: 0;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: clamp(28px, 7vw, 36px);
    margin-bottom: 18px;
  }

  .hero-description {
    font-size: 14.5px;
    margin-bottom: 24px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }
}

/* =========================================================================
   FLOATING THEME TOGGLE BUTTON (FLOATING ON RIGHT SIDE OF PAGE)
   ========================================================================= */
.floating-theme-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  pointer-events: auto;
}

.floating-theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 14px;
  border-radius: 9999px;
  font-family: var(--font-family) !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  border: 1.5px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.14), inset 0 1px 0 rgba(255, 255, 255, 1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  outline: none;
}

.floating-theme-btn:hover {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: #2563eb;
  color: #2563eb;
  box-shadow: 0 14px 36px rgba(37, 99, 235, 0.22), inset 0 1px 0 rgba(255, 255, 255, 1);
}

.floating-theme-btn:focus-visible {
  outline: 3px solid #2563eb !important;
  outline-offset: 3px !important;
}

.floating-theme-icon {
  font-size: 15px;
  line-height: 1;
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-theme-btn:hover .floating-theme-icon {
  transform: rotate(25deg) scale(1.15);
}

.floating-theme-text {
  font-family: var(--font-family) !important;
  font-size: 13px;
  font-weight: 600;
}

body.dark-theme .floating-theme-btn {
  background: rgba(15, 23, 42, 0.88);
  border-color: rgba(56, 189, 248, 0.3);
  color: #f8fafc;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.dark-theme .floating-theme-btn:hover {
  background: rgba(15, 23, 42, 0.98);
  border-color: #38bdf8;
  color: #38bdf8;
  box-shadow: 0 14px 40px rgba(56, 189, 248, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

@media (max-width: 640px) {
  .floating-theme-container {
    bottom: calc(18px + var(--safe-bottom));
    right: calc(18px + var(--safe-right));
  }
  .floating-theme-text {
    display: none;
  }
  .floating-theme-btn {
    width: 48px;
    height: 48px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }
  .floating-theme-icon {
    font-size: 18px;
  }
}

/* =========================================================================
   COMPREHENSIVE DARK THEME SYSTEM FOR ALL SECTIONS
   ========================================================================= */

body.dark-theme {
  /* Modern Dark Theme Tokens (Hero & Global Architecture) */
  --bg-color: #080d1a;
  --bg-gradient: radial-gradient(circle at 50% 35%, #0f1c3d 0%, #091024 45%, #060914 100%);
  --nav-bg: rgba(8, 13, 26, 0.88);
  --nav-border: rgba(56, 189, 248, 0.16);

  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --title-sub: #f1f5f9;

  --accent-blue: #38bdf8;
  --accent-cyan: #38bdf8;
  --accent-glow: rgba(56, 189, 248, 0.45);
  --border-light: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(56, 189, 248, 0.4);

  --eyebrow-bg: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%);
  --eyebrow-border: rgba(56, 189, 248, 0.32);
  --eyebrow-text: #f8fafc;
  --eyebrow-accent: #38bdf8;
  --eyebrow-sub: #94a3b8;

  --btn-primary-bg: #ffffff;
  --btn-primary-color: #080d1a;
  --btn-primary-border: #ffffff;
  --btn-primary-hover: #f1f5f9;
  --btn-primary-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);

  --btn-outline-bg: rgba(15, 23, 42, 0.7);
  --btn-outline-color: #f1f5f9;
  --btn-outline-border: rgba(255, 255, 255, 0.16);
  --btn-outline-hover: rgba(56, 189, 248, 0.1);

  --badge-bg: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
  --badge-border: rgba(56, 189, 248, 0.45);
  --badge-shadow: 0 8px 26px rgba(0, 0, 0, 0.65), 0 0 16px rgba(56, 189, 248, 0.25);
  --badge-title: #ffffff;
  --badge-sub: #38bdf8;
  --badge-dot: #ffffff;
  --badge-dot-glow: #38bdf8;

  --dropdown-bg: rgba(12, 19, 36, 0.96);
  --dropdown-item: #c0c6d4;
  --dropdown-hover: rgba(56, 189, 248, 0.12);

  /* Global Surface Variables for Other Sections */
  --bg-page: #080d1a;
  --paper: #0d1527;
  --paper-warm: #111d38;
  --bg-subtle: #0a1122;
  --ink: #f8fafc;
  --ink-secondary: #cbd5e1;
  --muted: #94a3b8;
  --line: rgba(255, 255, 255, 0.1);
  --line-subtle: rgba(255, 255, 255, 0.06);
  --card-bg: #0d1527;

  --color-outer-bg: #080d1a;
  --color-card-bg: #0d1527;
  --color-card-border: rgba(56, 189, 248, 0.22);
  --color-card-surface: #101c36;
  --color-card-surface-border: rgba(255, 255, 255, 0.1);
  --color-text-main: #f8fafc;
  --color-text-muted: #94a3b8;
  --color-text-subtle: #64748b;
  --color-accent: #38bdf8;
  --color-accent-light: #60a5fa;
  --grid-line: rgba(255, 255, 255, 0.06);

  background-color: #080d1a !important;
  color: #f8fafc !important;
}

/* Floating Switcher in Dark Theme */
body.dark-theme .floating-theme-btn {
  background: rgba(15, 23, 42, 0.92);
  color: #f8fafc;
  border: 1.5px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.25);
}

body.dark-theme .floating-theme-btn:hover {
  background: rgba(30, 41, 59, 0.98);
  border-color: #38bdf8;
  color: #38bdf8;
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.8), 0 0 28px rgba(56, 189, 248, 0.45);
}

/* Dark Theme Headings: Crisp White Base (#ffffff) & Sky Blue Accent (#38bdf8) */
body.dark-theme h1,
body.dark-theme h2,
body.dark-theme .hero-title,
body.dark-theme #paths-title,
body.dark-theme #services-heading,
body.dark-theme .event-highlights__title,
body.dark-theme .display-title,
body.dark-theme .journey-title {
  color: #ffffff !important;
}

body.dark-theme .heading-accent,
body.dark-theme .display-accent {
  color: #38bdf8 !important;
}

/* Section 04: Practices & Endcap Grid (.hx-paths) */
body.dark-theme .hx-paths {
  background: radial-gradient(circle at 50% 0%, #0e1730 0%, #080d1a 65%) !important;
}

body.dark-theme .hx-path-grid {
  border-color: rgba(56, 189, 248, 0.16) !important;
}

body.dark-theme .hx-path {
  background: rgba(12, 19, 36, 0.85) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #f8fafc !important;
  backdrop-filter: blur(12px);
}

body.dark-theme .hx-path:hover {
  background: rgba(18, 29, 56, 0.95) !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
}

body.dark-theme .hx-path h3 {
  color: #ffffff !important;
}

body.dark-theme .hx-path p {
  color: #94a3b8 !important;
}

body.dark-theme .hx-path-n {
  color: #38bdf8 !important;
}

body.dark-theme .hx-path-go {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #38bdf8 !important;
}

body.dark-theme .hx-path:hover .hx-path-go {
  background: #2563eb !important;
  color: #ffffff !important;
}

body.dark-theme .re-section-head h2 {
  color: #ffffff !important;
}

body.dark-theme .re-section-head h2 em {
  color: #38bdf8 !important;
}

body.dark-theme .re-section-head .eyebrow {
  color: #38bdf8 !important;
}

body.dark-theme .re-section-head > p:last-child {
  color: #94a3b8 !important;
}

/* Section 05: Platforms Showcase (.re-services) */
body.dark-theme .re-services {
  background: radial-gradient(ellipse at 50% 0%, #0f1c3d 0%, #080d1a 65%, #050811 100%) !important;
  border-top: 1px solid rgba(56, 189, 248, 0.15) !important;
}

body.dark-theme .re-service {
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #f8fafc !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.dark-theme .re-service:hover {
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.08) 0%, rgba(56, 189, 248, 0.14) 50%, rgba(37, 99, 235, 0.08) 100%) !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
}

body.dark-theme .re-service .re-index,
body.dark-theme .re-service .re-service-num,
body.dark-theme .re-service-n {
  color: #38bdf8 !important;
}

body.dark-theme .re-service h3,
body.dark-theme .re-service-title {
  color: #ffffff !important;
}

body.dark-theme .re-service p,
body.dark-theme .re-service-desc {
  color: #94a3b8 !important;
}

body.dark-theme .re-service .re-service-arrow {
  color: #38bdf8 !important;
}

body.dark-theme .re-service .re-service-badge {
  background: rgba(56, 189, 248, 0.12) !important;
  border-color: rgba(56, 189, 248, 0.28) !important;
  color: #38bdf8 !important;
}

body.dark-theme .re-service-more {
  color: #94a3b8 !important;
}

body.dark-theme .re-service-more a {
  color: #38bdf8 !important;
  border-bottom-color: rgba(56, 189, 248, 0.4) !important;
}

body.dark-theme .re-service-more a:hover {
  color: #60a5fa !important;
  border-bottom-color: #60a5fa !important;
}

/* Dark Theme Platform Center SVG Illustrations (High-Tech Blueprint Architecture) */
body.dark-theme .mo-icon .mo-i-frame {
  fill: #0c1426 !important;
  stroke: #38bdf8 !important;
  stroke-width: 1.8 !important;
  filter: drop-shadow(0 4px 16px rgba(56, 189, 248, 0.18));
}

body.dark-theme .mo-icon .mo-i-card {
  fill: #111d38 !important;
  stroke: rgba(56, 189, 248, 0.45) !important;
  stroke-width: 1.4 !important;
}

body.dark-theme .mo-icon .mo-i-line {
  stroke: #94a3b8 !important;
  stroke-width: 1.6 !important;
}

body.dark-theme .mo-icon line.mo-i-line,
body.dark-theme .mo-icon path.mo-i-line {
  fill: none !important;
}

body.dark-theme .mo-icon rect.mo-i-line {
  fill: rgba(148, 163, 184, 0.18) !important;
  stroke: rgba(148, 163, 184, 0.45) !important;
}

body.dark-theme .mo-icon .mo-i-dot,
body.dark-theme .mo-icon .mo-i-hole {
  fill: #38bdf8 !important;
}

body.dark-theme .mo-icon .mo-acc {
  fill: #2563eb !important;
  stroke: none !important;
}

body.dark-theme .mo-icon .mo-i-stroke {
  stroke: #94a3b8 !important;
  stroke-width: 1.6 !important;
}

body.dark-theme .mo-icon .mo-i-mark {
  stroke: #38bdf8 !important;
  fill: none !important;
}

body.dark-theme .mo-icon .mo-i-win {
  fill: #162447 !important;
  stroke: #38bdf8 !important;
}

body.dark-theme .mo-icon .mo-i-txt {
  fill: #cbd5e1 !important;
}

body.dark-theme .mo-icon .mo-i-cursor {
  fill: #38bdf8 !important;
  stroke: #080d1a !important;
  stroke-width: 1.2 !important;
}

body.dark-theme .mo-icon .mo-i-ring {
  stroke: #38bdf8 !important;
}

body.dark-theme .re-service:hover .mo-icon .mo-i-frame {
  fill: #101c36 !important;
  stroke: #60a5fa !important;
  filter: drop-shadow(0 6px 22px rgba(56, 189, 248, 0.38));
}

body.dark-theme .re-service:hover .mo-icon .mo-i-card {
  fill: #16254a !important;
  stroke: #93c5fd !important;
}

body.dark-theme .re-service:hover .mo-icon .mo-acc {
  fill: #3b82f6 !important;
}

/* Section 06: Event Highlights & Bottleneck (.event-highlights) */
body.dark-theme .event-highlights {
  background: radial-gradient(circle at 50% 25%, #0e1730 0%, #080d1a 65%, #050811 100%) !important;
  border-top: 1px solid rgba(56, 189, 248, 0.12) !important;
}

body.dark-theme .event-highlights__title {
  color: #ffffff !important;
}

body.dark-theme .event-highlights__subtitle {
  color: #94a3b8 !important;
}

body.dark-theme .event-highlights__header .eyebrow-badge {
  background: rgba(56, 189, 248, 0.12) !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
  color: #38bdf8 !important;
}

body.dark-theme .fwrd-zoom-card {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

body.dark-theme .fwrd-zoom-card--purple {
  background-color: #111827 !important;
  border: 1px solid rgba(129, 140, 248, 0.25) !important;
}

body.dark-theme .fwrd-zoom-card--pink {
  background-color: #131b2e !important;
  border: 1px solid rgba(192, 132, 252, 0.25) !important;
}

body.dark-theme .fwrd-zoom-card--yellow {
  background-color: #0d1e3a !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
}

body.dark-theme .fwrd-zoom-card--purple:hover,
body.dark-theme .fwrd-zoom-card--purple.is-active {
  background-color: #1e1b4b !important;
  border-color: #818cf8 !important;
}

body.dark-theme .fwrd-zoom-card--pink:hover,
body.dark-theme .fwrd-zoom-card--pink.is-active {
  background-color: #2e1065 !important;
  border-color: #c084fc !important;
}

body.dark-theme .fwrd-zoom-card--yellow:hover,
body.dark-theme .fwrd-zoom-card--yellow.is-active {
  background-color: #0c4a6e !important;
  border-color: #38bdf8 !important;
}

body.dark-theme .fwrd-card-content__title,
body.dark-theme .card-info__title {
  color: #ffffff !important;
}

body.dark-theme .fwrd-card-content__desc,
body.dark-theme .card-info__desc {
  color: #cbd5e1 !important;
}

body.dark-theme .card-info__tag {
  color: #38bdf8 !important;
}

body.dark-theme .highlight-stat-card,
body.dark-theme .proof-metric-card {
  background: #0d1527 !important;
  border-color: rgba(56, 189, 248, 0.18) !important;
  color: #ffffff !important;
}

/* Section 07: Connected Architecture (.section-connected) */
body.dark-theme .section-connected {
  background: #080d1a !important;
  border-top: 1px solid rgba(56, 189, 248, 0.12) !important;
}

body.dark-theme .display-title {
  color: #ffffff !important;
}

body.dark-theme .display-accent {
  color: #38bdf8 !important;
}

body.dark-theme .hero-lead-text {
  color: #94a3b8 !important;
}

body.dark-theme .connected-card,
body.dark-theme .arch-node,
body.dark-theme .pillar-card {
  background: #0d1527 !important;
  border-color: rgba(56, 189, 248, 0.18) !important;
  color: #ffffff !important;
}

body.dark-theme .arch-node-title {
  color: #ffffff !important;
}

body.dark-theme .arch-node-meta {
  color: #94a3b8 !important;
}

body.dark-theme .arch-node-tag {
  color: #38bdf8 !important;
}

body.dark-theme .arch-telemetry-row {
  background: #0a1122 !important;
  border-color: rgba(56, 189, 248, 0.15) !important;
}

body.dark-theme .telemetry-val {
  color: #38bdf8 !important;
}

body.dark-theme .telemetry-lbl {
  color: #94a3b8 !important;
}

body.dark-theme .hero-visual-card {
  background: #0d1527 !important;
  border-color: rgba(56, 189, 248, 0.25) !important;
}

body.dark-theme .arch-card-header {
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

body.dark-theme .arch-header-title {
  color: #ffffff !important;
}

/* Section 10: Delivery Journey (.journey) */
body.dark-theme .journey {
  background: #080d1a !important;
  border-top: 1px solid rgba(56, 189, 248, 0.12) !important;
  color: #f8fafc !important;
}

body.dark-theme .journey::before {
  opacity: 0.02 !important;
  filter: invert(1);
}

body.dark-theme .journey .journey-title {
  color: #ffffff !important;
}

body.dark-theme .journey .journey-subtitle {
  color: #94a3b8 !important;
}

body.dark-theme .journey .journey-eyebrow {
  background: rgba(56, 189, 248, 0.12) !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
  color: #38bdf8 !important;
}

body.dark-theme .journey-svg-dots {
  stroke: rgba(255, 255, 255, 0.2) !important;
}

body.dark-theme .journey-svg-progress {
  stroke: #38bdf8 !important;
}

body.dark-theme .journey-marker-ring {
  stroke: #38bdf8 !important;
  fill: #080d1a !important;
}

body.dark-theme .journey-marker-pulse {
  stroke: #38bdf8 !important;
}

body.dark-theme .journey-node {
  background: #0b0f19 !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #94a3b8 !important;
}

body.dark-theme .journey-node.is-active {
  background: #2563eb !important;
  border-color: #38bdf8 !important;
  color: #ffffff !important;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.6) !important;
}

body.dark-theme .journey-card {
  background: #0b0f19 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.6) !important;
}

body.dark-theme .journey-card.is-active {
  border-color: rgba(56, 189, 248, 0.45) !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.75), 0 0 24px rgba(56, 189, 248, 0.2) !important;
}

body.dark-theme .journey-card-step {
  color: #38bdf8 !important;
}

body.dark-theme .journey-card-title {
  color: #ffffff !important;
}

body.dark-theme .journey-card-desc {
  color: #cbd5e1 !important;
}

body.dark-theme .journey-card-note {
  background: rgba(56, 189, 248, 0.08) !important;
  border-color: rgba(56, 189, 248, 0.2) !important;
  color: #94a3b8 !important;
}

body.dark-theme .journey-cta-note {
  color: #94a3b8 !important;
}

/* =========================================================================
   STYLES FROM AARKINN 4 (PRACTICES - EXACT 1:1)
   ========================================================================= */
/* ==========================================================================
   Endcap Grid "Who We Work With" Section
   Framework: OneReach Labs Section Design System (Native Vanilla HTML5 / CSS3 / ES6+)
   Font Family: 'Endcap Grotesk', Hanken, Arial, sans-serif + 'Fraunces', Georgia, serif
   ========================================================================== */

/* --- Font Declarations --- */












/* --- Theme Tokens --- */


/* OneReach Labs Midnight Dark Theme */
[data-theme="dark"] {
  --paper: #0a1638;
  --bg-page: #0a1638;
  --bg-subtle: #0f1d47;
  --ink: #ffffff;
  --muted: #a2b1d8;
  --line: rgba(143, 166, 255, 0.35);
  --line-subtle: rgba(143, 166, 255, 0.18);
  --acid: #1e40af;
  --acid-deep: #1e40af;
  --acid-contrast: #0a1638;

  --nav-bg: rgba(10, 22, 56, 0.92);
  --nav-border: rgba(143, 166, 255, 0.22);
  --nav-pill-bg: rgba(143, 166, 255, 0.12);
  --nav-pill-text: #ffffff;
}

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

html {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--ink);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background-color 0.4s var(--gx-ease), color 0.4s var(--gx-ease);
}



::selection {
  background: var(--ink);
  color: var(--acid);
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Ambient Top Navigation Bar (OneReach Labs Suite Style) --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--nav-border);
  transition: background 0.3s, border-color 0.3s;
}

.header-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.brand-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 850;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-transform: uppercase;
}

.brand-title span {
  color: var(--muted);
  font-weight: 400;
}

.brand-pill {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--acid);
  color: #181a17;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(24, 26, 23, 0.12);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Control Pills (Mode & Theme Toggles) */
.toggle-group {
  display: inline-flex;
  background: var(--nav-pill-bg);
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--line-subtle);
}

.toggle-btn {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 650;
  border-radius: 999px;
  color: var(--muted);
  transition: all 0.25s var(--gx-ease);
}

.toggle-btn.is-active {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 650;
  color: var(--ink);
  background: var(--nav-pill-bg);
  border: 1px solid var(--line-subtle);
  border-radius: 999px;
  transition: all 0.25s var(--gx-ease);
}

.theme-toggle-btn:hover {
  background: var(--acid);
  color: #181a17;
  border-color: #181a17;
}

.theme-toggle-btn svg {
  width: 14px;
  height: 14px;
}

/* --- Container Shell --- */
.shell {
  width: calc(100% - 64px);
  max-width: var(--shell);
  margin-inline: auto;
}

@media (max-width: 650px) {
  .shell {
    width: calc(100% - 32px);
  }
}

/* ==========================================================================
   WHO WE WORK WITH SECTION (.hx-paths)
   ========================================================================== */
.hx-paths {
  padding-block: clamp(70px, 8vw, 120px);
  content-visibility: auto;
  contain-intrinsic-size: auto 1100px;
}

/* Section Header (3-Column Layout: Eyebrow | Huge Title | Lead Paragraph) */
.re-section-head {
  display: grid;
  grid-template-columns: 0.5fr 1.35fr 0.65fr;
  align-items: start;
  gap: 30px;
  margin-bottom: 58px;
}

.eyebrow {
  font-size: 11px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 8px;
}

.re-section-head h2 {
  font-family: var(--font-display);
  font-weight: 850;
  font-size: clamp(48px, 6vw, 84px);
  letter-spacing: -0.055em;
  line-height: 0.92;
  color: var(--ink);
}

.re-section-head h2 em {
  font-family: var(--font-headings);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--ink);
}

.re-section-head > p:last-child {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 36ch;
  padding-top: 10px;
  transition: color 0.3s;
}

/* ==========================================================================
   INTERACTIVE PATH GRID (3 x 2)
   ========================================================================== */
.hx-path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: transparent;
  transition: border-color 0.3s;
}

/* Individual Grid Card (.hx-path) */
.hx-path {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 32px 30px 38px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.5s var(--gx-ease), border-color 0.3s;
  outline: none;
}

.hx-path:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: -3px;
  z-index: 2;
}

/* Card Image Container */
.hx-path-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  margin: 0 0 16px;
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 16px rgba(9, 13, 22, 0.04);
  transition: transform 0.5s var(--gx-ease), box-shadow 0.5s var(--gx-ease), border-color 0.3s;
}

.hx-path-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--gx-ease);
}

.hx-path:hover .hx-path-img-wrap {
  border-color: rgba(30, 64, 175, 0.25);
  box-shadow: 0 10px 28px rgba(30, 64, 175, 0.15);
  transform: translateY(-2px);
}

.hx-path:hover .hx-path-img {
  transform: scale(1.05);
}

/* Top Right Action Arrow Box */
.hx-path-go {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ink);
  transform-origin: 50% 50%;
  transition: background 0.45s var(--gx-ease), color 0.45s var(--gx-ease), transform 0.6s var(--gx-spring), border-color 0.3s;
  z-index: 3;
}

.hx-path-go svg {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  margin: 0 !important;
  display: block !important;
  color: inherit !important;
  stroke: currentColor !important;
  transition: transform 0.4s var(--gx-ease);
}

.hx-path-go svg path {
  stroke: currentColor !important;
  fill: none !important;
}

/* Card Number */
.hx-path-n {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-top: 4px;
}

/* Card Heading */
.hx-path h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 820;
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: var(--ink);
  margin-top: 2px;
}

/* Card Description */
.hx-path p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 34ch;
  margin-top: 4px;
  transition: color 0.3s var(--gx-ease);
}

/* ==========================================================================
   HOVER & ACTIVE STATES (SIGNATURE ACID ACCENT)
   ========================================================================== */
.hx-path:hover {
  background: #eff6ff !important;
  border-color: #2563eb !important;
}

.hx-path:hover p {
  color: #181a17;
}

.hx-path:hover .hx-path-n,
.hx-path:hover h3 {
  color: #181a17;
}

/* Top-right box flips 45deg into solid black diamond with acid arrow */
.hx-path:hover .hx-path-go {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #2563eb !important;
  transform: rotate(45deg) !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4) !important;
}

.hx-path:hover .hx-path-go svg {
  transform: rotate(-45deg) !important; /* Keeps the arrow pointing upright diagonal */
  color: #ffffff !important;
  stroke: #ffffff !important;
}

.hx-path:hover .hx-path-go svg path {
  stroke: #ffffff !important;
  stroke-width: 2 !important;
  fill: none !important;
}

/* SVG fills invert to solid ink on card hover */
.hx-path:hover .hx-fill {
  fill: #181a17;
}

/* Text inside SVG (e.g. "OPEN", "LEASE") flips to acid text */
.hx-path:hover .hx-svg-label {
  fill: #ffffff !important;
  font-weight: 700 !important;
  fill: var(--acid);
}

/* In dark mode, ensure strong contrast on hover */
[data-theme="dark"] .hx-path:hover {
  background: var(--acid);
  color: #181a17;
}

[data-theme="dark"] .hx-path:hover .hx-ln {
  stroke: #181a17;
}

[data-theme="dark"] .hx-path:hover .hx-path-go {
  background: #181a17;
  color: var(--acid);
  border-color: #181a17;
}

/* ==========================================================================
   SVG ILLUSTRATIONS & ANIMATION VOCABULARY
   ========================================================================== */
.hx-path svg {
  display: block;
  width: 100%;
  max-width: 210px;
  height: auto;
  color: var(--ink);
  margin: 6px 0 20px;
  overflow: visible;
  transition: color 0.3s;
}

/* Stroke lines */
.hx-ln {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s;
}

.hx-soft {
  stroke-opacity: 0.35;
}

/* Accent fills */
.hx-fill {
  fill: var(--acid-deep);
  transition: fill 0.4s var(--gx-ease);
}

/* Text labels inside illustrations (e.g. OPEN, LEASE) */
.hx-svg-label {
  fill: #ffffff !important;
  font-weight: 700 !important;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 8px;
  letter-spacing: 0.12em;
  fill: #181a17;
  transition: fill 0.3s;
}

/* Initial Scroll-Driven Line Draw */
.is-drawable .hx-ln[pathLength="1"] {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.3s var(--gx-ease) calc(var(--d, 0s) + var(--i, 0) * 0.08s);
}

.is-drawable.is-in .hx-ln[pathLength="1"] {
  stroke-dashoffset: 0;
}

.is-drawable .hx-fill {
  opacity: 0;
  transform: scale(0.65);
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transition: opacity 0.6s var(--gx-ease) 0.4s, transform 0.8s var(--gx-spring) 0.4s;
}

.is-drawable.is-in .hx-fill {
  opacity: 1;
  transform: none;
}

/* Micro-animations inside SVGs */
.hx-win {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  animation: hx-lights 5.5s var(--gx-ease) infinite;
  animation-delay: calc(var(--i, 0) * 0.35s);
}

.hx-bob {
  animation: hx-bob 3.2s ease-in-out infinite;
}

.hx-swing {
  transform-box: fill-box;
  transform-origin: 50% 0;
  animation: hx-swing 4s ease-in-out infinite;
}

.hx-pin {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: hx-pin 2.8s var(--gx-spring) infinite;
  animation-delay: calc(var(--i, 0) * 0.32s);
}

.hx-endcap {
  animation: hx-glow 3s ease-in-out infinite;
}

/* Animations pause by default and run on hover (or run continuously when toggled) */
body:not(.anim-continuous) .hx-path .hx-win,
body:not(.anim-continuous) .hx-path .hx-bob,
body:not(.anim-continuous) .hx-path .hx-swing,
body:not(.anim-continuous) .hx-path .hx-pin,
body:not(.anim-continuous) .hx-path .hx-endcap {
  animation-play-state: paused;
}

.hx-path:hover .hx-win,
.hx-path:hover .hx-bob,
.hx-path:hover .hx-swing,
.hx-path:hover .hx-pin,
.hx-path:hover .hx-endcap,
.hx-path:focus-visible .hx-win,
.hx-path:focus-visible .hx-bob,
.hx-path:focus-visible .hx-swing,
.hx-path:focus-visible .hx-pin,
.hx-path:focus-visible .hx-endcap {
  animation-play-state: running;
}

/* Keyframe Definitions */
@keyframes hx-lights {
  0%, 100% { fill: transparent; }
  25%, 65% { fill: var(--acid); }
}

@keyframes hx-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

@keyframes hx-swing {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}

@keyframes hx-pin {
  0%, 70%, 100% { transform: none; }
  80% { transform: translateY(-7px); }
}

@keyframes hx-glow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}

/* ==========================================================================
   BOTTOM FOOTER LINKS ROW (.hx-paths-more)
   ========================================================================== */
.hx-paths-more {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 36px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 4px;
  transition: color 0.3s, gap 0.3s var(--gx-ease);
}

.text-link .ui-arrow {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  transition: transform 0.35s var(--gx-spring);
}

.text-link:hover {
  gap: 15px;
  color: var(--acid-deep);
}

[data-theme="dark"] .text-link:hover {
  color: var(--acid);
}

.text-link:hover .ui-arrow {
  transform: translate(3px, -3px);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .re-section-head {
    grid-template-columns: 0.8fr 1.5fr 1fr;
    gap: 24px;
    margin-bottom: 44px;
  }
}

@media (max-width: 900px) {
  .re-section-head {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 36px;
  }

  .re-section-head > p:last-child {
    max-width: 50ch;
    padding-top: 0;
  }

  .hx-path-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hx-path {
    padding: 26px 22px 30px;
  }

  .hx-path-go {
    top: 20px;
    right: 20px;
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 600px) {
  .header-inner {
    padding: 12px 16px;
    flex-wrap: wrap;
  }

  .hx-path-grid {
    grid-template-columns: 1fr;
  }

  .hx-path {
    padding: 22px 18px 26px;
  }

  .hx-path h3 {
    font-size: 22px;
  }

  .hx-path p {
    font-size: 13px;
  }

  .hx-path-go {
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
  }

  .hx-paths-more {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* =========================================================================
   STYLES FROM AARKINN 5 (PLATFORMS - EXACT 1:1)
   ========================================================================= */
/* ==========================================================================
   AARK INNOVATIONS & ONEREACH LABS — SERVICES SECTION SHOWCASE
   Font Family: 'Endcap Grotesk', Hanken, Arial, sans-serif
   Architecture: OneReach Labs Component Framework
   ========================================================================== */

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









/* --------------------------------------------------------------------------
   2. DESIGN TOKENS (OneReach Labs + Endcap Grotesk Studio System)
   -------------------------------------------------------------------------- */


/* OneReach Labs Dark Mode Variant */
[data-theme="dark"] {
  --bg-page: #0a1638;
  --paper: #0f1d47;
  --ink: #ffffff;
  --muted: #b4c0e0;
  --line: #22336a;
  --line-strong: #8fa6ff;
  --acid: #f08a2e;         /* OneReach Inbound Coral / Gold Accent */
  --acid-hover: #ff9e47;
  --card-bg: #111f4a;
  --tag-bg: rgba(143, 166, 255, 0.12);
}

/* --------------------------------------------------------------------------
   3. BASE & RESET
   -------------------------------------------------------------------------- */
*,
*::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;
}



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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: transparent;
}

/* --------------------------------------------------------------------------
   4. LAYOUT CONTAINERS & SHELL
   -------------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3.5rem);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   5. TOP AMBIENT NAVIGATION (OneReach Labs Integration)
   -------------------------------------------------------------------------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 247, 243, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, border-color 0.3s ease;
}

[data-theme="dark"] .site-nav {
  background: rgba(10, 22, 56, 0.92);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.site-nav__logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 850;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.site-nav__logo span {
  color: var(--acid);
}

[data-theme="dark"] .site-nav__logo span {
  color: var(--acid);
}

.site-nav__controls {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.site-nav__link {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: opacity 0.2s ease;
}

.site-nav__link:hover {
  opacity: 0.7;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: 9999px;
  background: var(--ink);
  color: var(--paper);
  transition: transform 0.2s var(--mo-spring), background 0.2s ease, color 0.2s ease;
}

.btn-pill:hover {
  transform: scale(1.04);
}

[data-theme="dark"] .btn-pill {
  background: #ffffff;
  color: #0a1638;
}

/* Utility Toggles in Header */
.toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.toggle-btn:hover {
  background: var(--tag-bg);
  border-color: var(--ink);
}

/* --------------------------------------------------------------------------
   6. SERVICES SECTION (Exact 1:1 Implementation from Video & Live Code)
   -------------------------------------------------------------------------- */
.re-services {
  padding-block: clamp(3.5rem, 6vw, 6.875rem);
  content-visibility: auto;
  contain-intrinsic-size: auto 1100px;
}

/* Section Header (3 Columns: Eyebrow | Huge H2 Title | Subtext) */
.re-section-head {
  display: grid;
  grid-template-columns: 0.45fr 1.35fr 0.85fr;
  align-items: start;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
  margin-bottom: clamp(2.5rem, 4.5vw, 4rem);
}

.re-section-head .eyebrow {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.75rem;
}

.re-section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5.8vw, 5.75rem);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 0.94;
  color: var(--ink);
  margin: 0;
}

.re-section-head > p:last-child {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.05vw, 1.0625rem);
  line-height: 1.7;
  color: var(--muted);
  max-width: 42ch;
  padding-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   7. SERVICES LIST & ROWS
   -------------------------------------------------------------------------- */
.re-service-list {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.re-service {
  position: relative;
  display: grid;
  grid-template-columns: 60px 1.35fr 150px 1fr 50px;
  gap: clamp(1.25rem, 2.2vw, 2.25rem);
  align-items: center;
  border-top: 1px solid var(--line);
  padding-block: clamp(1.85rem, 2.6vw, 2.5rem);
  padding-inline: 0;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  transition: padding 0.28s var(--mo-ease), background-color 0.24s ease, border-color 0.24s ease;
}

.re-service:last-child {
  border-bottom: 1px solid var(--line);
}

/* Row Hover State: Signature Yellow Fill + Padding expansion */
.re-service:hover,
.re-service:focus-visible {
  background-color: var(--acid);
  padding-inline: clamp(1rem, 2vw, 1.75rem);
  border-color: transparent;
  outline: none;
}

[data-theme="dark"] .re-service:hover,
[data-theme="dark"] .re-service:focus-visible {
  background-color: #1a2c68;
  border-color: transparent;
}

/* Row Index Number */
.re-index {
  font-family: var(--font-display);
  font-size: clamp(0.875rem, 1vw, 1rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  align-self: center;
}

/* Row Service Title */
.re-service h3 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 3.125rem);
  font-weight: 750;
  letter-spacing: -0.05em;
  line-height: 1.05;
  color: var(--ink);
  max-width: 15ch;
  transition: transform 0.24s var(--mo-ease);
}

.re-service:hover h3 {
  transform: translateX(4px);
}

/* Row Description */
.re-service p {
  font-family: var(--font-body);
  font-size: clamp(0.875rem, 0.95vw, 0.95rem);
  line-height: 1.75;
  color: var(--muted);
  max-width: 44ch;
  transition: color 0.2s ease;
}

.re-service:hover p {
  color: var(--ink);
}

/* Row Diagonal Arrow */
.re-service-arrow {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: transform 0.28s var(--mo-spring);
}

.re-service-arrow svg {
  width: clamp(24px, 2vw, 31px);
  height: clamp(24px, 2vw, 31px);
}

.re-service:hover .re-service-arrow {
  transform: translate(5px, -5px) scale(1.1);
}

/* --------------------------------------------------------------------------
   8. VECTOR ILLUSTRATIONS (SVG) & MICRO-INTERACTION ENGINE
   -------------------------------------------------------------------------- */
.mo-icon {
  display: block;
  width: 150px;
  align-self: center;
  justify-self: center;
  transition: transform 0.65s var(--mo-spring);
  transform-origin: center center;
}

.mo-icon svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

/* Base Line & Frame Art Styles */
.mo-icon .mo-i-frame,
.mo-icon .mo-i-card {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 2;
  transition: fill 0.25s ease;
}

.mo-icon .mo-i-line {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
}

.mo-icon .mo-i-dot {
  fill: var(--ink);
}

.mo-icon .mo-acc {
  fill: var(--acid);
  transition: fill 0.25s ease;
}

.mo-icon .mo-i-stroke {
  stroke: var(--ink);
  stroke-width: 2;
}

.mo-icon .mo-i-hole {
  fill: var(--ink);
}

.mo-icon .mo-i-mark {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.2;
  stroke-linecap: round;
}

.mo-icon .mo-i-win {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 1.5;
}

.mo-icon .mo-i-ring {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.mo-icon .mo-i-pointer {
  fill: var(--ink);
  stroke: var(--paper);
  stroke-width: 1.2;
  transform: translate(118px, 88px);
}

.mo-icon .mo-i-panel {
  transform-box: fill-box;
}

.mo-i-left {
  transform-origin: 100% 50%;
}

.mo-i-right {
  transform-origin: 0% 50%;
}

/* Interactive Hover Reactions on SVGs */
.re-service:hover .mo-icon {
  transform: rotate(-3deg) scale(1.08);
}

/* Invert accent to white on yellow row hover */
.re-service:hover .mo-icon .mo-acc {
  fill: #ffffff;
}

.re-service:hover .mo-icon .mo-i-frame,
.re-service:hover .mo-icon .mo-i-card {
  fill: #fbfaf5;
}

[data-theme="dark"] .re-service:hover .mo-icon .mo-acc {
  fill: var(--acid);
}

[data-theme="dark"] .re-service:hover .mo-icon .mo-i-frame,
[data-theme="dark"] .re-service:hover .mo-icon .mo-i-card {
  fill: #0f1d47;
}

/* --------------------------------------------------------------------------
   9. SVG ANIMATION SEQUENCES (KEYFRAMES)
   -------------------------------------------------------------------------- */
/* Icon 1: Browser feed scroll & clicking pointer */
.mo-i-scroll {
  animation: mo-feed 5s var(--mo-ease) infinite;
}

.mo-i-pointer {
  animation: mo-point 5s var(--mo-ease) infinite;
}

@keyframes mo-feed {
  0%, 18% { transform: none; }
  50%, 68% { transform: translateY(-38px); }
  100% { transform: translateY(-76px); }
}

@keyframes mo-point {
  0%, 10% { transform: translate(118px, 88px); }
  35%, 45% { transform: translate(78px, 56px) scale(0.9); }
  50% { transform: translate(78px, 56px); }
  80%, 100% { transform: translate(118px, 88px); }
}

/* Icon 2 & 3: Window Lights & Sequential Pulsing */
.mo-i-win {
  animation: mo-light 2.4s var(--w, 0s) steps(1) infinite;
}

@keyframes mo-light {
  0% { fill: var(--paper); }
  50% { fill: var(--acid); }
}

/* Icon 3: Real Estate Pin bounce & Radar rings */
.mo-i-pin {
  animation: mo-bounce 1.8s var(--mo-ease) infinite;
}

.mo-i-ring {
  animation: mo-ping 1.8s ease-out infinite;
}

.mo-i-ring-b {
  animation-delay: 0.9s;
}

@keyframes mo-bounce {
  0%, 100% { transform: none; }
  45% { transform: translateY(-9px); }
}

@keyframes mo-ping {
  0% { opacity: 0.7; transform: scale(0.35); }
  100% { opacity: 0; transform: scale(1.15); }
}

/* Icon 4: Branding Mark draw animation */
.mo-i-mark {
  stroke-dasharray: 60;
  animation: mo-ink 4.2s var(--mo-ease) infinite;
}

@keyframes mo-ink {
  0%, 55% { stroke-dashoffset: 60; }
  85%, 100% { stroke-dashoffset: 0; }
}

/* Icon 5: Brochure 3D folding panels */
.mo-i-left {
  animation: mo-fold-l 4.2s var(--mo-ease) infinite;
}

.mo-i-right {
  animation: mo-fold-r 4.2s var(--mo-ease) infinite;
}

@keyframes mo-fold-l {
  0%, 12%, 88%, 100% { transform: none; }
  40%, 60% { transform: scaleX(0.08) skewY(8deg); }
}

@keyframes mo-fold-r {
  0%, 12%, 88%, 100% { transform: none; }
  40%, 60% { transform: scaleX(0.08) skewY(-8deg); }
}

/* Accelerate SVG animations on hover for energetic responsiveness */
.re-service:hover .mo-icon * {
  animation-duration: 1.4s;
}

.re-service:hover .mo-i-left,
.re-service:hover .mo-i-right,
.re-service:hover .mo-i-mark,
.re-service:hover .mo-i-scroll,
.re-service:hover .mo-i-pointer {
  animation-duration: 2.4s;
}

/* --------------------------------------------------------------------------
   10. BOTTOM SUB-FOOTNOTE / ANCILLARY LINKS
   -------------------------------------------------------------------------- */
.re-service-more {
  max-width: 860px;
  margin-top: 2.25rem;
  font-family: var(--font-body);
  font-size: clamp(0.875rem, 1vw, 0.95rem);
  line-height: 1.75;
  color: var(--muted);
}

.re-service-more a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.re-service-more a:hover {
  color: #3b500e;
}

[data-theme="dark"] .re-service-more a:hover {
  color: var(--acid);
}

/* --------------------------------------------------------------------------
   11. CONTROLS BAR (Interactive Mode Switcher for Aark Innovations)
   -------------------------------------------------------------------------- */
.demo-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.85rem 1.25rem;
  margin-bottom: 2.5rem;
  background: var(--tag-bg);
  border: 1px dashed var(--line);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--muted);
}

.demo-toolbar__group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.demo-chip {
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  transition: all 0.2s ease;
}

.demo-chip.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

[data-theme="dark"] .demo-chip.active {
  background: #ffffff;
  color: #0a1638;
}

/* --------------------------------------------------------------------------
   12. RESPONSIVE BREAKPOINTS (Fluid Multi-Device Support)
   -------------------------------------------------------------------------- */
/* Large Tablet / Small Desktop */
@media (max-width: 1080px) {
  .re-section-head {
    grid-template-columns: 0.4fr 1.3fr 0.75fr;
    gap: 1.5rem;
  }
  .re-service {
    grid-template-columns: 45px 1.2fr 130px 1fr 40px;
    gap: 1.5rem;
  }
  .mo-icon {
    width: 130px;
  }
}

/* Tablet */
@media (max-width: 860px) {
  .re-section-head {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
  }
  .re-section-head .eyebrow {
    padding-top: 0;
  }
  .re-service {
    grid-template-columns: 35px 1.2fr 110px 1fr 30px;
    gap: 1.25rem;
    padding-block: 2rem;
  }
  .re-service h3 {
    font-size: 2rem;
  }
  .mo-icon {
    width: 110px;
  }
}

/* Mobile Devices */
@media (max-width: 640px) {
  .site-nav__links {
    display: none;
  }
  .re-services {
    padding-block: 3.5rem;
  }
  .re-section-head h2 {
    font-size: clamp(1.85rem, 6.5vw, 2.5rem);
  }
  /* On mobile stack: Index + Title in row 1, Arrow in row 1 right, Description & Icon below */
  .re-service {
    grid-template-columns: 28px 1fr 28px;
    grid-template-areas:
      "idx title arrow"
      ".   desc  ."
      ".   icon  .";
    gap: 0.75rem 1rem;
    padding-block: 1.75rem;
  }

  .re-index {
    grid-area: idx;
    align-self: start;
    padding-top: 0.25rem;
  }

  .re-service h3 {
    grid-area: title;
    font-size: 1.65rem;
  }

  .re-service-arrow {
    grid-area: arrow;
    align-self: start;
    padding-top: 0.35rem;
  }

  .re-service p {
    grid-area: desc;
    font-size: 0.875rem;
  }

  .mo-icon {
    grid-area: icon;
    width: 120px;
    justify-self: start;
    margin-top: 0.5rem;
  }

  .re-service:hover {
    padding-inline: 0.75rem;
  }
}


/* =========================================================================
   FIX 2 & 3: AUTOMATIC ANIMATIONS, TRANSPARENT SVGS & LIME ACCENT
   ========================================================================= */

/* SVG Vector Frame & Line Coloring (Light Mode Base) */
body.light-theme .mo-icon .mo-i-frame,
body.light-theme .mo-icon .mo-i-card,
body:not(.dark-theme) .mo-icon .mo-i-frame,
body:not(.dark-theme) .mo-icon .mo-i-card {
  fill: #ffffff !important;
  stroke: #0f172a !important;
  stroke-width: 2 !important;
}

body.light-theme .mo-icon .mo-i-line,
body:not(.dark-theme) .mo-icon .mo-i-line {
  fill: none !important;
  stroke: #0f172a !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
}

body.light-theme .mo-icon .mo-acc,
body:not(.dark-theme) .mo-icon .mo-acc {
  fill: #1e40af !important;
}

body.light-theme .mo-icon .mo-i-dot,
body.light-theme .mo-icon .mo-i-hole,
body:not(.dark-theme) .mo-icon .mo-i-dot,
body:not(.dark-theme) .mo-icon .mo-i-hole {
  fill: #0f172a !important;
}

body.light-theme .mo-icon .mo-i-stroke,
body:not(.dark-theme) .mo-icon .mo-i-stroke {
  stroke: #0f172a !important;
  stroke-width: 2 !important;
}

body.light-theme .mo-icon .mo-i-mark,
body:not(.dark-theme) .mo-icon .mo-i-mark {
  fill: none !important;
  stroke: #0f172a !important;
  stroke-width: 2.2 !important;
}

body.light-theme .mo-icon .mo-i-cursor,
body:not(.dark-theme) .mo-icon .mo-i-cursor {
  fill: #090d16 !important;
  stroke: #ffffff !important;
  stroke-width: 1.2 !important;
}

/* Dark Theme SVG Vector Blueprint & Monitor Styling */
body.dark-theme .mo-icon .mo-i-frame {
  fill: #0c1426 !important;
  stroke: #38bdf8 !important;
  stroke-width: 1.8 !important;
  filter: drop-shadow(0 4px 14px rgba(56, 189, 248, 0.18));
}

body.dark-theme .mo-icon .mo-i-card {
  fill: #111d38 !important;
  stroke: rgba(56, 189, 248, 0.45) !important;
  stroke-width: 1.4 !important;
}

body.dark-theme .mo-icon .mo-i-line {
  stroke: #94a3b8 !important;
  stroke-width: 1.6 !important;
}

body.dark-theme .mo-icon line.mo-i-line,
body.dark-theme .mo-icon path.mo-i-line {
  fill: none !important;
}

body.dark-theme .mo-icon rect.mo-i-line {
  fill: rgba(148, 163, 184, 0.18) !important;
  stroke: rgba(148, 163, 184, 0.45) !important;
}

body.dark-theme .mo-icon .mo-i-dot,
body.dark-theme .mo-icon .mo-i-hole {
  fill: #38bdf8 !important;
}

body.dark-theme .mo-icon .mo-acc {
  fill: #2563eb !important;
  stroke: none !important;
}

body.dark-theme .mo-icon .mo-i-stroke {
  stroke: #94a3b8 !important;
  stroke-width: 1.6 !important;
}

body.dark-theme .mo-icon .mo-i-mark {
  stroke: #38bdf8 !important;
  fill: none !important;
}

body.dark-theme .mo-icon .mo-i-win {
  fill: #162447 !important;
  stroke: #38bdf8 !important;
}

body.dark-theme .mo-icon .mo-i-txt {
  fill: #cbd5e1 !important;
}

body.dark-theme .mo-icon .mo-i-cursor {
  fill: #38bdf8 !important;
  stroke: #080d1a !important;
  stroke-width: 1.2 !important;
}

body.dark-theme .mo-icon .mo-i-ring {
  stroke: #38bdf8 !important;
}

body.dark-theme .re-service:hover .mo-icon .mo-i-frame {
  fill: #101c36 !important;
  stroke: #60a5fa !important;
  filter: drop-shadow(0 6px 22px rgba(56, 189, 248, 0.38));
}

body.dark-theme .re-service:hover .mo-icon .mo-i-card {
  fill: #16254a !important;
  stroke: #93c5fd !important;
}

body.dark-theme .re-service:hover .mo-icon .mo-acc {
  fill: #3b82f6 !important;
}

/* Section 4 SVG Styling */
.hx-fill {
  fill: var(--acid, #1e40af) !important;
}

.hx-ln {
  stroke: var(--ink, #181a17) !important;
  stroke-width: 2 !important;
  fill: none !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.hx-path:hover .hx-fill {
  fill: var(--acid-hover, #1d4ed8) !important;
}

.hx-path:hover .hx-ln {
  stroke: var(--color-primary, #1e40af) !important;
}

/* Ensure Automatic Section 4 Keyframe Animations Run */
.hx-swing {
  transform-origin: 62px 16px;
  animation: hx-swing 3.2s ease-in-out infinite !important;
}

@keyframes hx-swing {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-7deg); }
  75% { transform: rotate(7deg); }
}

/* Ensure Automatic Section 5 Keyframe Animations Run */
.mo-i-scroll {
  animation: mo-feed 5s ease-in-out infinite !important;
}

@keyframes mo-feed {
  0%, 18% { transform: none; }
  50%, 68% { transform: translateY(-38px); }
  100% { transform: translateY(-76px); }
}

.mo-i-cursor {
  animation: mo-point 5s ease-in-out infinite !important;
}

@keyframes mo-point {
  0%, 10% { transform: translate(118px, 88px); }
  35%, 45% { transform: translate(78px, 56px) scale(0.9); }
  50% { transform: translate(78px, 56px); }
  80%, 100% { transform: translate(118px, 88px); }
}

.mo-i-win {
  animation: mo-light 2.4s var(--w, 0s) steps(1) infinite !important;
}

@keyframes mo-light {
  0% { fill: #ffffff; }
  50% { fill: var(--acid, #1e40af); }
}

.mo-i-pin {
  animation: mo-bounce 1.8s cubic-bezier(0.32, 0.72, 0, 1) infinite !important;
}

.mo-i-ring {
  animation: mo-ping 1.8s ease-out infinite !important;
}

@keyframes mo-bounce {
  0%, 100% { transform: none; }
  45% { transform: translateY(-9px); }
}

@keyframes mo-ping {
  0% { opacity: 0.7; transform: scale(0.35); }
  100% { opacity: 0; transform: scale(1.15); }
}

.mo-i-mark {
  stroke-dasharray: 60;
  animation: mo-ink 4.2s cubic-bezier(0.32, 0.72, 0, 1) infinite !important;
}

@keyframes mo-ink {
  0%, 55% { stroke-dashoffset: 0; }
  75% { stroke-dashoffset: 60; }
  100% { stroke-dashoffset: 0; }
}

.mo-i-fold-l {
  transform-origin: 35px 55px;
  animation: mo-fold-l 4.5s ease-in-out infinite !important;
}

.mo-i-fold-r {
  transform-origin: 125px 55px;
  animation: mo-fold-r 4.5s ease-in-out infinite !important;
}

@keyframes mo-fold-l {
  0%, 15% { transform: none; }
  40%, 65% { transform: rotateY(-65deg); }
  85%, 100% { transform: none; }
}

@keyframes mo-fold-r {
  0%, 15% { transform: none; }
  40%, 65% { transform: rotateY(65deg); }
  85%, 100% { transform: none; }
}

/* Section 5 Row Hover Highlight */
.re-service:hover {
  background: #ffffff !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06) !important;
  border-bottom: 2px solid var(--color-primary, #1e40af) !important;
}

.re-service:hover .re-index,
.re-service:hover .re-service-arrow {
  color: var(--color-primary, #1e40af) !important;
}


/* --- VISIBILITY FIX: Make SVG fills visible without hover --- */
.hx-fill,
.is-drawable .hx-fill,
.is-in .hx-fill {
  opacity: 1 !important;
  transform: none !important;
  fill: #bfdbfe !important;
  transition: fill 0.3s ease !important;
}

/* --- VISIBILITY FIX: Crisp hover state with perfect contrast --- */
.hx-path:hover {
  background: #dbeafe !important;
  border-color: #1e40af !important;
}

.hx-path:hover h3,
.hx-path:hover p,
.hx-path:hover .hx-path-n {
  color: #2563eb !important;
}

.hx-path:hover .hx-path-n {
  color: #1e40af !important;
}

.hx-path:hover .hx-fill {
  fill: #181a17 !important;
}

.hx-path:hover .hx-svg-label {
  fill: #dbeafe !important;
}

.hx-path:hover .hx-path-go {
  background: #2563eb !important;
  border-color: #2563eb !important;
  color: #ffffff !important;
  transform: rotate(45deg) !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4) !important;
}

.hx-path:hover .hx-path-go svg {
  transform: rotate(-45deg) !important;
  color: #ffffff !important;
  stroke: #ffffff !important;
}

.hx-path:hover .hx-path-go svg path {
  stroke: #ffffff !important;
  stroke-width: 2 !important;
  fill: none !important;
}

/* SVG Line Drawing visibility */
.hx-ln {
  stroke: #181a17 !important;
  stroke-width: 2 !important;
  stroke-dashoffset: 0 !important;
}

.hx-path:hover .hx-ln {
  stroke: #181a17 !important;
}

/* Section 5 SVG and Hover visibility */
.mo-acc {
  fill: #3b82f6 !important;
}

.re-service:hover {
  background: #f8fafc !important;
  border-bottom: 2px solid #1e40af !important;
}

.re-service:hover h3,
.re-service:hover p {
  color: #181a17 !important;
}

.re-service:hover .re-index,
.re-service:hover .re-service-arrow {
  color: #1e40af !important;
}


/* =========================================================================
   CUSTOM ENTERPRISE ANIMATIONS FOR REDESIGNED SVGS
   ========================================================================= */

/* 1. Oracle ERP: Rotating Sync Gear */
.hx-gear {
  transform-origin: 70px 46px;
  animation: hx-gear-rotate 9s linear infinite;
}

@keyframes hx-gear-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* 2. Data Platforms: Flowing Data Stream */
.hx-stream-dot {
  animation: hx-stream-flow 2.4s cubic-bezier(0.32, 0.72, 0, 1) infinite;
}

@keyframes hx-stream-flow {
  0% { transform: translateY(0); opacity: 0; }
  25% { opacity: 1; }
  75% { opacity: 1; }
  100% { transform: translateY(54px); opacity: 0; }
}

/* 3. Applied AI: Laser Scanning Beam & Chip Pulse */
.hx-scan-laser {
  stroke: var(--color-primary, #1e40af) !important;
  stroke-width: 2.5 !important;
  stroke-linecap: round;
  animation: hx-laser-scan 3s ease-in-out infinite;
}

@keyframes hx-laser-scan {
  0%, 100% { transform: translateY(-14px); opacity: 0.7; }
  50% { transform: translateY(26px); opacity: 1; }
}

.hx-pulse-node {
  transform-origin: 115px 55px;
  animation: hx-chip-pulse 2.2s ease-in-out infinite;
}

@keyframes hx-chip-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

/* 4. RevOps: Deal Token Dropping Through Funnel */
.hx-deal-drop {
  animation: hx-deal-fall 2.6s ease-in-out infinite;
}

@keyframes hx-deal-fall {
  0% { transform: translateY(-4px); opacity: 0; }
  20% { opacity: 1; }
  75% { opacity: 1; }
  100% { transform: translateY(48px); opacity: 0; }
}

/* 5. Cloud Architecture: Serverless Cloud Bob & Dynamic Bridge */
.hx-cloud-float {
  animation: hx-cloud-bob 3.2s ease-in-out infinite;
}

@keyframes hx-cloud-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.hx-cloud-bridge {
  stroke-dasharray: 4 3;
  animation: hx-bridge-dash 1.4s linear infinite;
}

@keyframes hx-bridge-dash {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -21; }
}

/* 6. Systems Integration: Bidirectional Data Pulse */
.hx-bridge-pulse {
  animation: hx-packet-move 2s ease-in-out infinite;
}

@keyframes hx-packet-move {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

/* Floating Tag Badges */
.hx-tag-float {
  animation: hx-tag-bob 3.5s ease-in-out infinite;
}

@keyframes hx-tag-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* Section 5 Typography inside SVGs */
.mo-i-txt {
  font-family: var(--font-headings);
  font-size: 8px;
  font-weight: 700;
  fill: var(--ink, #181a17);
}


/* ==========================================================================
   SECTION 06: EVENT HIGHLIGHTS & BOTTLENECK / THE DATA TRUST GAP
   Theme: Royal Blue (#1e40af), Deep Navy (#090d16 / #172554), Soft Tints
   Preserving 1:1 Ataccama layout proportions & authentic micro-interactions
   ========================================================================== */
.event-highlights {
  padding: 90px 0 110px;
  overflow: hidden;
  background-color: #ffffff;
  border-top: 1px solid var(--grid-line, #e2e8f0);
}

/* Reduced Container Width: 980px max-width, comfortably centered */
.event-highlights .shell {
  max-width: 980px !important;
  width: calc(100% - 48px) !important;
  margin-inline: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.event-highlights__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.event-highlights__header .eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-headings);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1e40af;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.event-highlights__header .eyebrow-badge svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.event-highlights__header .eyebrow-badge:hover svg {
  transform: translateX(2px);
}

.event-highlights__title {
  font-family: var(--font-headings);
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #090d16;
  line-height: 1.15;
  margin-bottom: 16px;
}

.event-highlights__subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.25vw, 1.05rem);
  color: #475569;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* 3-Card Interactive Grid: Compact Width (max 960px) & 20px gaps */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 300px));
  justify-content: center;
  gap: 20px;
  margin-bottom: 44px;
}

/* Compact Zoom Card Component - Outer Rounded Squircle Tray */
.fwrd-zoom-card {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 267 / 270;
  border-radius: 28px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(9, 13, 22, 0.05);
  transform: translateZ(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              background-color 0.75s cubic-bezier(0.25, 1, 0.3, 1), 
              border-color 0.75s cubic-bezier(0.25, 1, 0.3, 1);
  user-select: none;
}

.fwrd-zoom-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(16, 8, 39, 0.14);
}

/* Specific Card Outer Wrappers with distinct soft backgrounds */
.fwrd-zoom-card--purple {
  background-color: #e0e7ff;
  border: 1px solid #c7d2fe;
}

.fwrd-zoom-card--pink {
  background-color: #ede9fe;
  border: 1px solid #ddd6fe;
}

.fwrd-zoom-card--yellow {
  background-color: #dbeafe;
  border: 1px solid #bfdbfe;
}

/* ==========================================================================
   FULL BOX COVERAGE ON HOVER & ACTIVE
   Outer container background-color transitions smoothly over 0.75s to match the silhouette
   ========================================================================== */
.fwrd-zoom-card--purple:hover,
.fwrd-zoom-card--purple.is-active {
  background-color: #0f172a !important;
  border-color: #0f172a !important;
}

.fwrd-zoom-card--pink:hover,
.fwrd-zoom-card--pink.is-active {
  background-color: #172554 !important;
  border-color: #172554 !important;
}

.fwrd-zoom-card--yellow:hover,
.fwrd-zoom-card--yellow.is-active {
  background-color: #1e40af !important;
  border-color: #1e40af !important;
}

/* ==========================================================================
   1. SPACING AROUND DARK BACKGROUND (FRAMED TRAY EFFECT)
   The dark silhouette art is inset by 18px from all sides, creating an even,
   generous light-colored squircle tray border all around it (1:1 with reference).
   On hover, the path scales by 4.5, smoothly expanding to completely fill the box.
   ========================================================================== */
.fwrd-zoom-card__art {
  position: absolute;
  inset: 18px;
  width: calc(100% - 36px);
  height: calc(100% - 36px);
  z-index: 1;
  pointer-events: none;
}

.fwrd-zoom-card__art svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

/* ==========================================================================
   2. SMOOTH, CINEMATIC HOVER ANIMATION (0.75s LUXURY EASING)
   Slowing down transitions from abrupt 0.3s/0.5s to 0.75s cubic-bezier(0.25, 1, 0.3, 1)
   ========================================================================== */
.fwrd-zoom-card .fwrd-background path {
  transition: transform 0.75s cubic-bezier(0.25, 1, 0.3, 1);
  transform-box: view-box;
  transform-origin: 133.5px 135px;
  will-change: transform;
}

.fwrd-zoom-card .fwrd-icon {
  transition: transform 0.75s cubic-bezier(0.25, 1, 0.3, 1);
  transform-box: view-box;
  transform-origin: 22.5px 22.5px;
  will-change: transform;
}

/* On Hover / Active: Silhouette expands smoothly to fill card, icon scales up gracefully */
.fwrd-zoom-card:hover .fwrd-background path,
.fwrd-zoom-card.is-active .fwrd-background path {
  transform: scale(4.5);
}

.fwrd-zoom-card:hover .fwrd-icon,
.fwrd-zoom-card.is-active .fwrd-icon {
  transform: scale(1.42);
}

/* Card Title Layer (Default visible, fades out smoothly on hover) */
.fwrd-zoom-card__title-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 28px;
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.fwrd-zoom-card__title {
  font-family: var(--font-headings);
  font-size: clamp(1.35rem, 1.7vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.fwrd-zoom-card--purple .fwrd-zoom-card__title {
  color: #bfdbfe;
}

.fwrd-zoom-card--pink .fwrd-zoom-card__title {
  color: #bfdbfe;
}

.fwrd-zoom-card--yellow .fwrd-zoom-card__title {
  color: #ffffff;
}

.fwrd-zoom-card:hover .fwrd-zoom-card__title-layer,
.fwrd-zoom-card.is-active .fwrd-zoom-card__title-layer {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

/* Card Body / Description Layer (Vertically centered with ample clearance below badge icon) */
.fwrd-zoom-card__text-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 26px 30px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.55s ease-out 0.18s, transform 0.55s ease-out 0.18s;
}

.fwrd-zoom-card__desc {
  font-family: var(--font-body);
  font-size: clamp(0.84rem, 1vw, 0.9rem);
  line-height: 1.55;
  font-weight: 500;
  margin: 0;
  text-align: left;
}

.fwrd-zoom-card--purple .fwrd-zoom-card__desc,
.fwrd-zoom-card--pink .fwrd-zoom-card__desc,
.fwrd-zoom-card--yellow .fwrd-zoom-card__desc {
  color: #ffffff;
}

.fwrd-zoom-card:hover .fwrd-zoom-card__text-layer,
.fwrd-zoom-card.is-active .fwrd-zoom-card__text-layer {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ==========================================================================
   FLOATING CORNER TOGGLE BUTTON (1:1 Ataccama Match)
   Positioned inside the tray spacing (bottom: 20px, right: 20px)
   ========================================================================== */
.fwrd-zoom-card__toggle {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff !important;
  border: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14) !important;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  cursor: pointer;
}

.fwrd-zoom-card__toggle-plus,
.fwrd-zoom-card__toggle-minus {
  transition: transform 0.3s ease, opacity 0.25s ease;
}

.fwrd-zoom-card__toggle-minus {
  display: none;
}

.fwrd-zoom-card:hover .fwrd-zoom-card__toggle-plus,
.fwrd-zoom-card.is-active .fwrd-zoom-card__toggle-plus {
  display: none;
}

.fwrd-zoom-card:hover .fwrd-zoom-card__toggle-minus,
.fwrd-zoom-card.is-active .fwrd-zoom-card__toggle-minus {
  display: block;
}

.fwrd-zoom-card:hover .fwrd-zoom-card__toggle,
.fwrd-zoom-card.is-active .fwrd-zoom-card__toggle {
  transform: rotate(180deg) scale(1.08);
  background: #ffffff !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22) !important;
}

.fwrd-zoom-card__toggle-plus path,
.fwrd-zoom-card__toggle-minus line {
  stroke: #090d16 !important;
  stroke-width: 2.4 !important;
}

/* Lower Stat Banner (67% Callout) - Matching the 960px width */
.stat-banner {
  max-width: 960px;
  margin: 0 auto;
  background-color: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(9, 13, 22, 0.28);
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: center;
  position: relative;
}

.stat-banner__art {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 64, 175, 0.08);
  overflow: hidden;
  padding: 12px;
}

.stat-banner__art svg {
  width: 100%;
  height: auto;
  max-width: 280px;
  display: block;
}

.stat-banner__content {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-banner__heading {
  font-family: var(--font-headings);
  font-size: clamp(1.3rem, 1.8vw, 1.65rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.38;
  margin-bottom: 20px;
}

.stat-banner__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  margin: 0;
}

.stat-banner__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  transition: color 0.18s ease, transform 0.18s ease;
  cursor: pointer;
}

.stat-banner__item:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.stat-banner__item-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(30, 64, 175, 0.4);
  color: #93c5fd;
  transition: background 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

.stat-banner__item:hover .stat-banner__item-icon {
  background: #1e40af;
  color: #ffffff;
  transform: scale(1.12);
}

/* Responsive Breakpoints for Section 06 */
@media (max-width: 992px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 300px));
  }

  .stat-banner {
    grid-template-columns: 1fr;
  }

  .stat-banner__art {
    padding-top: 28px;
  }

  .stat-banner__content {
    padding: 32px 28px 40px;
  }
}

@media (max-width: 680px) {
  .cards-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    padding: 0 16px;
    margin-left: auto;
    margin-right: auto;
  }

  .event-highlights {
    padding: 60px 0 80px;
  }

  .event-highlights__header {
    margin-bottom: 32px;
  }

  .stat-banner__content {
    padding: 24px 20px 32px;
  }
}


/* ==========================================================================
   SECTION 10: ENGAGEMENT MODELS & DELIVERY JOURNEY (FROM AARKINN 7)
   Interactive Serpentine Curve, Pulse Radar Tracking & Stage Geometry
   ========================================================================== */

.journey {
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  padding: 120px 0;
  font-family: var(--font-body);
  color: #090d16;
  overflow: hidden;
  position: relative;
  border-top: 1px solid #e2e8f0;
}

/* Background repeating logo tile watermark */
.journey::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/04-journey/pattern-tile.svg") 0 0 / 100px 100px repeat;
  opacity: 0.05;
  pointer-events: none;
}

.journey > * {
  position: relative;
}

/* Header */
.journey .journey-header {
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.journey .journey-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1e40af;
}

.journey .journey-title {
  margin: 0;
  color: #090d16;
  font-family: var(--font-headings);
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  width: 100%;
}

.journey .journey-subtitle {
  margin: 0;
  color: #475569;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.6;
  letter-spacing: -0.01em;
  width: 100%;
  max-width: 740px;
}

/* Stage: 1440 × 2735 Centred in the frame */
.journey .journey-stage {
  position: relative;
  width: 1440px;
  max-width: 100%;
  margin: 0 auto;
  height: 2735px;
  flex-shrink: 0;
}

/* Path/Journey SVG: 302 × 2186 placed at left: 558px, top: 59px */
.journey .journey-svg {
  position: absolute;
  left: 558px;
  top: 59px;
  width: 302px;
  height: 2186px;
  overflow: visible;
  display: block;
  z-index: 1;
}

.journey .journey-svg-dots {
  fill: none;
  stroke: #94a3b8;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 1 7;
  animation: journey-flow 0.4s linear infinite;
}

@keyframes journey-flow {
  to {
    stroke-dashoffset: -8;
  }
}

.journey .journey-svg-progress {
  fill: none;
  stroke: #2563eb;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: var(--path-len, 4000);
  stroke-dashoffset: var(--path-len, 4000);
  transition: stroke-dashoffset 0.1s linear;
}

/* Traveling Marker Pulses */
.journey .journey-marker {
  transition: opacity 0.35s ease;
}

.journey .journey-marker.is-hidden {
  opacity: 0;
}

.journey .journey-marker-ring {
  fill: none;
  stroke: #1e40af;
  stroke-width: 2.5;
  opacity: 0.9;
}

.journey .journey-marker-pulse {
  fill: none;
  stroke: #3b82f6;
  stroke-width: 2;
  transform-origin: center;
  transform-box: fill-box;
  animation: journey-pulse 2.4s ease-out infinite;
}

.journey .journey-marker-pulse-2 {
  animation-delay: 0.5s;
}

.journey .journey-marker-pulse-3 {
  stroke: #60a5fa;
  animation-delay: 1s;
}

@keyframes journey-pulse {
  0% {
    transform: scale(0.72);
    opacity: 0;
  }
  30% {
    opacity: 0.9;
  }
  100% {
    transform: scale(1.1);
    opacity: 0;
  }
}

/* Milestone Nodes */
.journey .journey-nodes,
.journey .journey-cards {
  list-style: none;
  margin: 0;
  padding: 0;
}

.journey .journey-node {
  position: absolute;
  width: 64px;
  height: 64px;
  margin: -8px 0 0 -8px;
  border-radius: 999px;
  background: #cbd5e1;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: background-color 0.4s ease, color 0.4s ease, transform 0.3s ease, box-shadow 0.4s ease;
  z-index: 3;
}

.journey .journey-node-icon {
  width: 28px;
  height: 28px;
  display: block;
}

.journey .journey-node.is-done,
.journey .journey-node.is-active {
  background: #1e40af;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(30, 64, 175, 0.35);
}

.journey .journey-node.is-active {
  transform: scale(1.08);
  background: #2563eb;
}

/* Precise Node coordinates (stage-relative) */
.journey .journey-node-1 { left: 695px; top: 36px; }
.journey .journey-node-2 { left: 535px; top: 431.2px; }
.journey .journey-node-3 { left: 835px; top: 809.5px; }
.journey .journey-node-4 { left: 575px; top: 1161.8px; }
.journey .journey-node-5 { left: 815px; top: 1538.8px; }
.journey .journey-node-6 { left: 595px; top: 1904.1px; }
.journey .journey-node-7 { left: 695px; top: 2220px; }

/* --------------------------------------------------------------------------
   JOURNEY CARDS (Stage coordinates & soft enterprise halo)
   -------------------------------------------------------------------------- */
.journey .journey-card {
  position: absolute;
  width: 380px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 26px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(9, 13, 22, 0.05),
              0 1px 3px rgba(9, 13, 22, 0.04);
  overflow: hidden;
  transition: box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease,
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.journey .journey-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(9, 13, 22, 0.09),
              0 2px 6px rgba(9, 13, 22, 0.04);
  border-color: #cbd5e1;
}

/* Active step: vibrant enterprise blue accent halo */
.journey .journey-card.is-active {
  border-color: #93c5fd;
  box-shadow: 0 0 16px 4px rgba(59, 130, 246, 0.22),
              0 20px 50px 10px rgba(30, 64, 175, 0.18),
              0 0 30px rgba(96, 165, 250, 0.25);
  transform: translateY(-2px);
}

/* Exact Card x/y coordinates from Stage Geometry */
.journey .journey-card-1 { left: 52.5px; top: 0; }
.journey .journey-card-2 { left: 909px; top: 337.95px; }
.journey .journey-card-3 { left: 114px; top: 716.25px; }
.journey .journey-card-4 { left: 933px; top: 1059.55px; }
.journey .journey-card-5 { left: 92.9px; top: 1445.55px; }
.journey .journey-card-6 { left: 940px; top: 1839.15px; }
.journey .journey-card-7 { left: 530px; top: 2340px; }

.journey .journey-card-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  padding: 0;
}

.journey .journey-card-step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #1e40af;
}

.journey .journey-card-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
}

.journey .journey-card-title {
  margin: 0;
  color: #090d16;
  font-family: var(--font-headings);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  width: 100%;
}

.journey .journey-card-desc {
  margin: 0;
  color: #475569;
  font-size: 0.90rem;
  line-height: 1.6;
  width: 100%;
}

.journey .journey-card-note {
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 11px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  color: #1e293b;
  font-size: 0.82rem;
  line-height: 1.5;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   JOURNEY CTA
   -------------------------------------------------------------------------- */
.journey .journey-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.journey .journey-cta-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.journey .journey-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: #1e40af;
  color: #ffffff;
  border: 1px solid #1e40af;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(30, 64, 175, 0.25);
}

.journey .journey-btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 64, 175, 0.35);
}

.journey .journey-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: #ffffff;
  color: #090d16;
  border: 1.5px solid #cbd5e1;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.journey .journey-btn-outline:hover {
  border-color: #1e40af;
  color: #1e40af;
  transform: translateY(-2px);
}

.journey .journey-cta-note {
  margin: 0;
  color: #475569;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  padding: 10px 22px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(9, 13, 22, 0.04);
}

/* --------------------------------------------------------------------------
   RESPONSIVE FALLBACKS (Tablet & Mobile)
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .journey .journey-stage {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    padding: 16px 16px 0;
    box-sizing: border-box;
  }

  .journey .journey-svg,
  .journey .journey-nodes {
    display: none;
  }

  .journey .journey-cards {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    width: 100%;
    overflow: visible;
  }

  .journey .journey-card {
    position: relative;
    left: auto !important;
    top: auto !important;
    width: 100%;
    max-width: 480px;
    overflow: visible;
  }

  .journey .journey-card:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 3px;
    height: 48px;
    margin-left: -1.5px;
    background:
      linear-gradient(#2563eb, #2563eb) center top / 3px calc(var(--fill, 0) * 51px) no-repeat,
      url("assets/04-journey/path-mobile-dotted.svg") center / 2px 50px no-repeat;
    transition: background-size 0.25s linear;
    pointer-events: none;
  }

}

@media (max-width: 767px) {
  .journey {
    padding: 72px 0 80px;
    gap: 40px;
  }

  .journey .journey-header {
    gap: 14px;
    padding: 0 16px;
  }

  .journey .journey-card {
    max-width: none;
    padding: 20px 20px 22px;
    gap: 12px;
    border-radius: 16px;
  }

  .journey .journey-card-text {
    padding: 0;
  }

  .journey .journey-cta {
    width: 100%;
    padding: 24px 16px 0;
    box-sizing: border-box;
    gap: 16px;
  }

  .journey .journey-cta-pair {
    width: 100%;
    flex-direction: column;
  }

  .journey .journey-btn-primary,
  .journey .journey-btn-outline {
    width: 100%;
  }

  .journey .journey-cta-note {
    white-space: normal;
  }
}


/* =========================================================================
   SECTION 07: CONNECTED ARCHITECTURE & WHAT WE BUILD (FROM AARKINN 8)
   ========================================================================= */
.section-connected {
  padding: 100px 0 120px;
  position: relative;
  background-color: #ffffff;
  overflow: hidden;
}

.connected-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  column-gap: 80px;
  align-items: start;
  margin-bottom: 70px;
}

.hero-left-col {
  position: relative;
}

.display-title {
  font-family: var(--font-headings);
  font-size: clamp(2.8rem, 5.2vw, 4.8rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: #090d16;
  display: flex;
  flex-direction: column;
}

.display-accent {
  color: #1e40af;
}

.hero-right-col {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-lead-text {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  font-weight: 400;
  line-height: 1.6;
  color: #334155;
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-action-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.btn-schedule {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #1e40af;
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border-radius: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(30, 64, 175, 0.25);
}

.btn-schedule:hover {
  background-color: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 64, 175, 0.35);
}

.btn-arrow-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.btn-schedule:hover .btn-arrow-icon {
  transform: translate(2px, -2px);
}

.hero-story-link {
  display: inline-flex;
  flex-direction: column;
  color: #090d16;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  position: relative;
  padding-bottom: 3px;
}

.story-link-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: #090d16;
  transition: background-color 0.2s ease;
}

.hero-story-link:hover .story-link-line {
  background-color: #1e40af;
}

/* --- Diagram Stage --- */
.system-architecture-section {
  position: relative;
  margin-top: 40px;
  margin-bottom: 80px;
  width: 100%;
}

.system-diagram-container {
  position: relative;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.system-connectors-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 25;
  overflow: visible;
}

.connector-line {
  stroke: #2563eb;
  stroke-width: 1.5px;
  stroke-dasharray: 4 4;
  opacity: 1;
  transition: stroke-width 0.25s ease, stroke 0.25s ease;
}

.system-grid {
  display: grid;
  grid-template-columns: 310px 310px;
  justify-content: space-between;
  row-gap: 360px;
  position: relative;
  z-index: 10;
}

.system-card {
  border-radius: 14px;
  position: relative;
  width: 310px;
  box-shadow: 0 8px 24px rgba(9, 13, 22, 0.08);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.card-inner {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.card-title {
  font-family: var(--font-headings);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 4px;
  line-height: 1.25;
}

.card-subtitle {
  font-size: 13px;
  font-style: italic;
  font-weight: 400;
  margin-bottom: 14px;
  line-height: 1.4;
}

.card-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
  padding: 0;
}

.card-bullet-list li {
  font-size: 12.5px;
  line-height: 1.38;
  position: relative;
  padding-left: 14px;
}

.card-bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #ffffff;
}

.card-divider {
  width: 100%;
  height: 1px;
  margin-top: auto;
  margin-bottom: 12px;
}

.card-quote {
  font-size: 11px;
  font-style: italic;
  line-height: 1.45;
}

/* Outer Dark Cards (matching Aarkinn obsidian palette) */
.card-dark {
  background-color: #090d16;
  color: #ffffff;
  border: 1px solid #1e293b;
  z-index: 10;
  will-change: transform, opacity;
  transform-origin: center center;
}

.card-dark .card-title {
  color: #ffffff;
}

.card-dark .card-subtitle {
  color: #94a3b8;
}

.card-dark .card-bullet-list li {
  color: #e2e8f0;
}

.card-dark .card-divider {
  background-color: rgba(255, 255, 255, 0.12);
}

.card-dark .card-quote {
  color: #94a3b8;
}

.card-dark:hover {
  border-color: #3b82f6;
  box-shadow: 0 12px 32px rgba(9, 13, 22, 0.22);
}

/* Center Hub Card: Rich Enterprise Royal Blue */
.card-pink,
.card-accent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 310px;
  background: linear-gradient(145deg, #1e40af 0%, #1d4ed8 100%);
  color: #ffffff;
  border: 1px solid #3b82f6;
  border-radius: 14px;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.25), 0 16px 40px rgba(30, 64, 175, 0.35);
  z-index: 20;
  will-change: transform;
}

.card-accent .card-title,
.card-pink .card-title {
  color: #ffffff;
  font-size: 17.5px;
}

.card-accent .card-subtitle,
.card-pink .card-subtitle {
  color: #dbeafe;
}

.card-accent .card-bullet-list li,
.card-pink .card-bullet-list li {
  color: #ffffff;
}

.card-accent .card-bullet-list li::before,
.card-pink .card-bullet-list li::before {
  background-color: #93c5fd;
}

.card-accent .card-divider,
.card-pink .card-divider {
  background-color: rgba(255, 255, 255, 0.25);
}

.card-accent .card-quote,
.card-pink .card-quote {
  color: #dbeafe;
}

/* Card placements */
.card-consulting { grid-column: 1 / 2; }
.card-strategy { grid-column: 2 / 3; }
.card-design { grid-column: 1 / 2; }
.card-delivery { grid-column: 2 / 3; }

/* Bottom Tagline */
.system-tagline-wrap {
  text-align: center;
  margin-top: 80px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(15px);
  will-change: transform, opacity;
}

.system-tagline {
  font-family: var(--font-headings);
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #090d16;
  font-style: italic;
}

/* Responsive queries */
@media (max-width: 900px) {
  .connected-hero-grid {
    grid-template-columns: 1fr;
    row-gap: 32px;
    margin-bottom: 40px;
  }

  .hero-right-col {
    padding-top: 0;
  }

  .system-grid {
    grid-template-columns: 1fr;
    row-gap: 24px;
    width: 100%;
  }

  .system-card {
    width: 100%;
  }

  .card-pink,
  .card-accent {
    position: static;
    transform: none !important;
    width: 100%;
    margin-bottom: 24px;
  }

  .system-connectors-svg {
    display: none;
  }

  .system-tagline-wrap {
    opacity: 1;
    transform: none;
  }
}


/* =========================================================================
   08. CTA SECTION (MATCHING REFERENCE DESIGN)
   ========================================================================= */
.section-cta {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 80px 24px 0 !important;
  background: var(--bg-primary);
  transition: background 0.3s ease;
}

.cta-container {
  max-width: 1540px;
  width: calc(100% - 48px);
  margin: 0 auto;
  padding: 0;
}

.cta-card {
  position: relative;
  z-index: 10;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(135deg, #090f26 0%, #0d1a3c 55%, #13234d 100%);
  padding: 84px clamp(40px, 6vw, 92px);
  box-shadow: 0 24px 60px rgba(9, 15, 38, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.cta-card:hover {
  border-color: rgba(96, 165, 250, 0.3);
  box-shadow: 0 30px 70px rgba(9, 15, 38, 0.24);
}

/* Subtle Architectural Ambient Wave / Contour Lines */
.cta-contour-lines {
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: 100%;
  pointer-events: none;
  color: #60a5fa;
  opacity: 0.85;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
}

.cta-title {
  font-family: 'Endcap Grotesk', 'Hanken Grotesk', Hanken, Arial, sans-serif !important;
  font-size: clamp(2rem, 3.8vw, 3.2rem) !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.03em !important;
  color: #ffffff !important;
  margin-bottom: 22px;
}

.cta-title .heading-accent {
  color: #2563eb !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: initial !important;
  display: inline;
}

.cta-subtitle {
  font-family: var(--font-family) !important;
  font-size: 17px;
  line-height: 1.6;
  color: #94a3b8;
  max-width: 600px;
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-cta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 20px 12px 28px;
  border-radius: 9999px;
  background: #ffffff;
  color: #090f26 !important;
  font-family: var(--font-family) !important;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.35), 0 4px 12px rgba(37, 99, 235, 0.25);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.btn-cta-pill .btn-text {
  color: #090f26;
  font-weight: 700;
}

.btn-cta-pill .btn-icon-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #2563eb;
  color: #ffffff;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-cta-pill:hover {
  transform: translateY(-2px);
  background: #ffffff;
  color: #090f26 !important;
  box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.45), 0 0 25px rgba(255, 255, 255, 0.45);
}

.btn-cta-pill:hover .btn-icon-bubble {
  background: #1d4ed8;
  transform: translateX(3px) scale(1.05);
  box-shadow: 0 0 14px rgba(37, 99, 235, 0.6);
}

.btn-cta-pill:active {
  transform: translateY(0) scale(0.98);
}

/* Dark Theme overrides for CTA Card */
body.dark-theme .section-cta {
  background: #080d1a;
}

body.dark-theme .cta-card {
  background: linear-gradient(135deg, #070c1a 0%, #0d162c 55%, #101d3b 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(37, 99, 235, 0.12);
}

body.dark-theme .cta-title .heading-accent {
  color: #38bdf8 !important;
}

body.dark-theme .btn-cta-pill {
  background: #ffffff;
  color: #050811 !important;
}

body.dark-theme .btn-cta-pill:hover {
  box-shadow: 0 16px 40px rgba(56, 189, 248, 0.4), 0 0 30px rgba(255, 255, 255, 0.4);
}

/* =========================================================================
   09. FAQ SECTION (FULL-BLEED ARCHITECTURE MATCHING REFERENCE EXACTLY)
   Left full-height panel starts at screen edge (0px) with custom AARK streamlines
   Vertical border-right seamlessly touches the bottom curve of the CTA card
   Right panel with FAQ header (Label, H2, Subtitle) & 6-item accordion
   ========================================================================= */
.section-faq {
  position: relative;
  z-index: 5;
  width: 100%;
  margin-top: -32px; /* Tucks seamlessly under CTA card so vertical border-right touches the card curve */
  padding: 0 0 100px !important;
  background: var(--bg-primary);
  transition: background 0.3s ease;
}

.faq-layout {
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
}

/* Left Panel - Flush with left edge of screen, vertical border touches CTA card directly */
.faq-left-panel {
  position: relative;
  width: clamp(360px, 28vw, 460px);
  min-width: 340px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 100px 32px 56px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #f5f5f5 87.35%);
  border-right: 1px solid #e1e1e1;
  border-bottom: 1px solid #e1e1e1;
  overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.faq-wave-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.faq-wave-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  opacity: 0.95;
  transition: opacity 0.3s ease;
}

.faq-left-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.faq-left-text {
  font-family: var(--font-family) !important;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 250px;
  margin-bottom: 26px;
  text-align: center;
}

.btn-faq-schedule {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 18px 11px 24px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff !important;
  font-family: var(--font-family) !important;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3), 0 6px 20px rgba(37, 99, 235, 0.35);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.btn-faq-schedule .btn-text {
  color: #ffffff;
}

.btn-faq-schedule .btn-icon-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-faq-schedule:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 10px 28px rgba(37, 99, 235, 0.5);
}

.btn-faq-schedule:hover .btn-icon-bubble {
  background: #ffffff;
  color: #1e40af;
  transform: translateX(3px);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.btn-faq-schedule:active {
  transform: translateY(0) scale(0.98);
}

/* Right Panel */
.faq-right-panel {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 72px clamp(24px, 4vw, 64px) 40px clamp(32px, 5vw, 80px);
}

.faq-header {
  margin-bottom: 40px;
  max-width: 860px;
}

.faq-label {
  display: inline-block;
  font-family: var(--font-family) !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.faq-title {
  font-family: 'Endcap Grotesk', 'Hanken Grotesk', Hanken, Arial, sans-serif !important;
  font-size: clamp(2rem, 3.8vw, 3.2rem) !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.03em !important;
  color: #090d16 !important;
  margin-bottom: 18px;
}

.faq-title .heading-accent {
  color: #2563eb !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: initial !important;
  display: inline;
}

.faq-subtitle {
  font-family: var(--font-family) !important;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 720px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 860px;
}

.faq-item {
  border-bottom: 1px solid #e1e1e1;
  transition: border-color 0.25s ease;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-family) !important;
  font-size: 17.5px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.45;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--accent-blue);
}

.faq-question-text {
  flex: 1;
  padding-right: 18px;
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--text-secondary);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
  flex-shrink: 0;
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
  color: var(--accent-blue);
}

.faq-item.is-open .faq-question {
  color: var(--accent-blue);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 0 24px;
  font-family: var(--font-family) !important;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 800px;
}

/* Dark Theme overrides for FAQ */
body.dark-theme .section-faq {
  background: #080d1a;
}

body.dark-theme .faq-left-panel {
  background: linear-gradient(180deg, rgba(14, 23, 44, 0.6) 0%, #090e1c 100%);
  border-right-color: rgba(255, 255, 255, 0.08);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .faq-wave-img {
  opacity: 0.85;
  filter: hue-rotate(190deg) brightness(1.2);
}

body.dark-theme .faq-left-text {
  color: #94a3b8;
}

body.dark-theme .faq-title {
  color: #ffffff !important;
}

body.dark-theme .faq-title .heading-accent {
  color: #38bdf8 !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: initial !important;
}

body.dark-theme .faq-item {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .faq-question {
  color: #f1f5f9;
}

body.dark-theme .faq-question:hover,
body.dark-theme .faq-item.is-open .faq-question {
  color: #38bdf8;
}

body.dark-theme .faq-item.is-open .faq-icon {
  color: #38bdf8;
}

body.dark-theme .faq-answer-inner {
  color: #94a3b8;
}


/* =========================================================================
   10. FOOTER SECTION (3-COLUMN, CONTACT INFO, WATERMARK)
   ========================================================================= */
.site-footer {
  position: relative;
  width: 100%;
  background: #ffffff;
  padding: 85px 24px 30px;
  border-top: 1px solid #e2e8f0;
  overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 1.6fr;
  gap: 56px;
  margin-bottom: 56px;
}

.footer-col-title {
  font-family: var(--font-family) !important;
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -0.015em;
}

/* Contact Details */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-family) !important;
  font-size: 14px;
  color: #475569;
}

.footer-icon {
  color: var(--accent-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-pin-icon {
  margin-top: 4px;
}

.footer-contact-text {
  line-height: 1.5;
}

.footer-contact-text a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-contact-text a:hover {
  color: var(--accent-blue);
}

.footer-contact-label {
  color: var(--text-secondary);
  font-size: 13px;
  margin-left: 2px;
}

.footer-address-text {
  max-width: 330px;
  line-height: 1.55;
  color: #475569;
}

/* Social Wrap */
.footer-social-wrap {
  margin-top: 22px;
}

.footer-social-title {
  font-family: var(--font-family) !important;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.footer-social-links {
  display: flex;
  gap: 10px;
  align-items: center;
}

.social-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  text-decoration: none;
  transition: all 0.2s ease;
  background: transparent;
}

.social-circle:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  background: rgba(30, 64, 175, 0.08);
  transform: translateY(-2px);
}

/* Column Links */
.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links-list li a {
  font-family: var(--font-family) !important;
  color: #475569;
  font-size: 14.5px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-links-list li a:hover {
  color: var(--accent-blue);
  transform: translateX(3px);
}

/* Divider */
.footer-divider {
  height: 1px;
  background: #e2e8f0;
  margin-bottom: 28px;
  transition: background 0.3s ease;
}

/* Bottom Bar */
.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-family) !important;
  font-size: 13.5px;
  color: #64748b;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 15px;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: var(--accent-blue);
}

/* Giant Architectural Watermark at Bottom (Matching DevineGlobe Reference Exactly) */
.footer-watermark {
  text-align: center;
  font-family: var(--font-family) !important;
  font-size: clamp(65px, 10.5vw, 142px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  margin-top: 36px;
  margin-bottom: -15px;
  white-space: nowrap;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25em;
}

.footer-watermark .watermark-brand {
  background: linear-gradient(180deg, #091851 0%, #1e3a8a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #091851;
  opacity: 0.78;
  display: inline-block;
  transition: opacity 0.3s ease;
}

.footer-watermark .watermark-accent {
  background: linear-gradient(180deg, #2563eb 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #2563eb;
  opacity: 0.85;
  display: inline-block;
  transition: opacity 0.3s ease;
}

body.dark-theme .footer-watermark .watermark-brand {
  background: linear-gradient(180deg, #ffffff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #ffffff;
  opacity: 0.82;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.15);
}

body.dark-theme .footer-watermark .watermark-accent {
  background: linear-gradient(180deg, #38bdf8 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #38bdf8;
  opacity: 0.90;
  text-shadow: 0 0 40px rgba(56, 189, 248, 0.35);
}

/* Dark Theme overrides for Footer */
body.dark-theme .site-footer {
  background: #060912;
  border-top-color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .footer-contact-item,
body.dark-theme .footer-address-text,
body.dark-theme .footer-links-list li a {
  color: #94a3b8;
}

body.dark-theme .footer-icon {
  color: #38bdf8;
}

body.dark-theme .footer-contact-text a {
  color: #f1f5f9;
}

body.dark-theme .footer-contact-text a:hover,
body.dark-theme .footer-links-list li a:hover,
body.dark-theme .footer-legal-links a:hover {
  color: #38bdf8;
}

body.dark-theme .social-circle {
  border-color: rgba(255, 255, 255, 0.14);
  color: #94a3b8;
}

body.dark-theme .social-circle:hover {
  border-color: #38bdf8;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
}

body.dark-theme .footer-divider {
  background: rgba(255, 255, 255, 0.08);
}

body.dark-theme .footer-bottom-row {
  color: #64748b;
}



/* =========================================================================
   RESPONSIVE MEDIA QUERIES FOR NEW SECTIONS
   ========================================================================= */
@media (max-width: 1024px) {
  .cta-card {
    padding: 56px 40px;
  }

  .section-faq {
    margin-top: -24px;
    padding-bottom: 60px !important;
  }

  .faq-layout {
    flex-direction: column;
  }

  .faq-left-panel {
    width: 100%;
    min-width: 100%;
    height: 420px;
    border-right: none;
    border-bottom: 1px solid #e1e1e1;
    padding: 60px 24px 48px;
  }

  .faq-right-panel {
    padding: 48px 24px 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-col-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .section-cta {
    padding: 40px 16px 0 !important;
  }

  .cta-card {
    padding: 38px 20px;
    border-radius: 20px;
  }

  .cta-title {
    font-size: 28px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .btn-cta-pill {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .section-faq {
    margin-top: -16px;
    padding-bottom: 50px !important;
  }

  .faq-left-panel {
    height: auto;
    min-height: 200px;
    padding: 36px 16px 28px;
  }

  .faq-right-panel {
    padding: 36px 16px 30px;
  }

  .faq-header {
    margin-bottom: 30px;
  }

  .site-footer {
    padding: 60px 16px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .footer-watermark {
    font-size: clamp(38px, 12vw, 68px);
    margin-top: 18px;
    margin-bottom: -10px;
  }
}


/* =========================================================================
   10. CONTACT US / ARCHITECTURAL REVIEW SECTION (AARK BRAND & COLOR)
   ========================================================================= */
.section-contact-us {
  position: relative;
  width: calc(100% - 48px);
  max-width: 1440px;
  margin: 60px auto 80px;
  border-radius: 36px;
  padding: 84px clamp(32px, 5vw, 76px);
  background: radial-gradient(130% 110% at 85% 15%, #1e3a8a 0%, #0d1a3c 45%, #070d1e 100%);
  border: 1px solid rgba(56, 189, 248, 0.22);
  color: #ffffff;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(7, 13, 30, 0.45);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.section-contact-us::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, rgba(37, 99, 235, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

.contact-us-container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.contact-us-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: stretch;
}

.contact-us-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-us-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-family) !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 18px;
}

.contact-us-title {
  font-family: 'Endcap Grotesk', 'Hanken Grotesk', Hanken, Arial, sans-serif !important;
  font-size: clamp(2rem, 3.8vw, 3.2rem) !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.03em !important;
  color: #ffffff !important;
  margin-bottom: 22px;
}

.contact-us-title .heading-accent {
  color: #2563eb !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: initial !important;
  display: inline;
}

.contact-us-subtitle {
  font-family: var(--font-family) !important;
  font-size: 16.5px;
  line-height: 1.6;
  color: #cbd5e1;
  max-width: 520px;
  margin-bottom: 36px;
}

/* Proof Block & Badges */
.contact-us-proof {
  margin-top: auto;
  padding-top: 10px;
}

.contact-value-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-family) !important;
  font-size: 13.5px;
  font-weight: 500;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 9999px;
  padding: 6px 16px;
  width: fit-content;
  backdrop-filter: blur(8px);
}

.contact-badge .badge-dot {
  color: #38bdf8;
  font-size: 11px;
}

.contact-proof-card {
  background: rgba(13, 26, 60, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 18px;
  padding: 20px 24px;
  margin-bottom: 24px;
  backdrop-filter: blur(12px);
}

.contact-proof-quote {
  font-family: var(--font-family) !important;
  font-size: 14.5px;
  line-height: 1.6;
  color: #f1f5f9;
  font-style: italic;
  margin-bottom: 10px;
}

.contact-proof-author {
  display: block;
  font-family: var(--font-family) !important;
  font-size: 12.5px;
  color: #94a3b8;
  font-weight: 500;
}

.contact-direct-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.direct-strip-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: var(--font-family) !important;
}

.direct-label {
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
}

.direct-link {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.2s;
}

.direct-link:hover {
  color: #93c5fa;
  text-decoration: underline;
}

.direct-val {
  color: #e2e8f0;
  font-size: 13px;
}

/* Right Glassmorphic Form Card */
.contact-form-card {
  background: rgba(10, 18, 42, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 28px;
  padding: 44px 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.form-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding-bottom: 8px;
  margin-bottom: 24px;
  transition: border-color 0.25s ease;
}

.form-field-group:focus-within {
  border-bottom-color: #38bdf8;
}

.field-label {
  font-family: var(--font-family) !important;
  font-size: 12.5px;
  font-weight: 500;
  color: #cbd5e1;
  letter-spacing: 0.02em;
}

.field-input {
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-family) !important;
  font-size: 16px;
  color: #ffffff;
  padding: 6px 0;
  width: 100%;
}

.field-input::placeholder {
  color: rgba(203, 213, 225, 0.45);
}

.field-textarea {
  resize: vertical;
  min-height: 48px;
}

/* File Upload */
.form-upload-group {
  margin-bottom: 24px;
}

.file-upload-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: #e2e8f0;
  font-family: var(--font-family) !important;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.file-upload-trigger:hover {
  color: #38bdf8;
}

.file-input-hidden {
  display: none;
}

.file-selected-name {
  margin-top: 6px;
  font-family: var(--font-family) !important;
  font-size: 12.5px;
  color: #38bdf8;
}

/* reCAPTCHA Widget */
.recaptcha-widget {
  background: #f9f9f9;
  border: 1px solid #d3d3d3;
  border-radius: 6px;
  padding: 12px 14px;
  width: 302px;
  max-width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.recaptcha-checkbox-custom {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.recaptcha-input {
  display: none;
}

.recaptcha-box-indicator {
  width: 24px;
  height: 24px;
  border: 2px solid #c1c1c1;
  border-radius: 3px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.recaptcha-input:checked + .recaptcha-box-indicator {
  background: #00a65a;
  border-color: #00a65a;
}

.recaptcha-input:checked + .recaptcha-box-indicator::after {
  content: '✓';
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
}

.recaptcha-label-text {
  font-family: Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  color: #222222;
  font-weight: 500;
}

.recaptcha-branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.recaptcha-text-brand {
  font-family: Roboto, sans-serif;
  font-size: 10px;
  color: #555555;
  font-weight: 500;
}

.recaptcha-privacy-terms {
  font-size: 9px;
  color: #555555;
}

.recaptcha-privacy-terms a {
  color: #555555;
  text-decoration: none;
}

/* Submit Button */
.btn-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px 32px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #1e40af 100%);
  color: #ffffff !important;
  font-family: var(--font-family) !important;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35), 0 10px 28px rgba(37, 99, 235, 0.4);
  position: relative;
  overflow: hidden;
  outline: none;
}

.btn-form-submit .btn-text {
  color: #ffffff;
}

.btn-form-submit .btn-submit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-form-submit:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5), 0 14px 36px rgba(37, 99, 235, 0.55);
}

.btn-form-submit:hover .btn-submit-icon {
  background: #ffffff;
  color: #2563eb;
  transform: translate(2px, -2px) scale(1.05);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

.btn-form-submit:active {
  transform: translateY(0) scale(0.99);
}

.form-feedback-message {
  padding: 14px 18px;
  border-radius: 10px;
  font-family: var(--font-family) !important;
  font-size: 14.5px;
  margin-top: 18px;
  text-align: center;
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.5);
  color: #ffffff;
}

/* Dark Theme Overrides for Contact Us */
body.dark-theme .section-contact-us {
  background: radial-gradient(130% 110% at 85% 15%, #15244d 0%, #080d1f 45%, #030611 100%);
  border: 1px solid rgba(56, 189, 248, 0.28);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

body.dark-theme .contact-form-card {
  background: rgba(8, 14, 32, 0.75);
  border-color: rgba(56, 189, 248, 0.24);
}

body.dark-theme .btn-form-submit {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 60%, #0ea5e9 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35), 0 10px 30px rgba(56, 189, 248, 0.35);
}

body.dark-theme .btn-form-submit:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
  color: #04060c !important;
  box-shadow: 0 14px 40px rgba(56, 189, 248, 0.5);
}

body.dark-theme .btn-form-submit:hover .btn-text {
  color: #04060c;
}

body.dark-theme .btn-form-submit:hover .btn-submit-icon {
  background: #04060c;
  color: #38bdf8;
}

/* Responsive Rules for Contact Us */
@media (max-width: 1024px) {
  .section-contact-us {
    width: calc(100% - 32px);
    margin: 40px auto 60px;
    padding: 60px 36px 70px;
    border-radius: 28px;
  }

  .contact-us-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 640px) {
  .section-contact-us {
    width: calc(100% - 24px);
    margin: 30px auto 50px;
    padding: 40px 20px 50px;
    border-radius: 22px;
  }

  .contact-form-card {
    padding: 32px 20px;
    border-radius: 22px;
  }

  .contact-us-title {
    font-size: 29px;
  }
}

/* Footer Location & Email Enhancements */
.footer-location-title {
  display: block;
  font-family: var(--font-family) !important;
  font-size: 14.5px;
  font-weight: 700;
  color: #090d16;
  margin-bottom: 2px;
}

.footer-location-line {
  display: block;
  font-family: var(--font-family) !important;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
}

.footer-location-sub {
  display: block;
  font-family: var(--font-family) !important;
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.45;
  margin-top: 2px;
}

.footer-email-link {
  font-family: var(--font-family) !important;
  font-size: 14.5px;
  font-weight: 600;
  color: #2563eb !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-email-link:hover {
  color: #1d4ed8 !important;
  text-decoration: underline;
}

body.dark-theme .footer-location-title {
  color: #ffffff;
}

body.dark-theme .footer-location-line {
  color: #e2e8f0;
}

body.dark-theme .footer-location-sub {
  color: #94a3b8;
}

body.dark-theme .footer-email-link {
  color: #38bdf8 !important;
}
