/* DigitMicro — Unified 3D Corporate Brand Design System
   Strictly derived from the DigitMicro Logo Palette:
   #F58220 (Primary Orange), #EA5F1C (Deep Orange), #013A87 (Primary Navy Blue),
   #041E42 (Deep Navy), #071329 (Dark Tech Background), #FFFFFF (White) */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Core Logo Brand Palette */
  --dm-orange: #F58220;
  --dm-orange-deep: #EA5F1C;
  --dm-orange-aa: #C9490C;       /* WCAG AA >= 4.7:1 white-text contrast for small UI text */
  --dm-orange-soft: #FFF5ED;
  --dm-orange-tint: #FED8BC;

  --dm-navy: #013A87;
  --dm-navy-deep: #041E42;
  --dm-dark: #071329;
  --dm-royal: #0E54B5;
  --dm-blue-soft: #EEF4FC;
  --dm-blue-tint: #C5D9F5;

  --dm-white: #FFFFFF;
  --dm-surface: #F7F9FD;
  --dm-border: #DCE5F2;
  --dm-border-strong: #BAC9E0;

  --dm-text: #071329;
  --dm-text-body: #223452;
  --dm-text-muted: #4A5B75;

  /* Official Brand Gradients */
  --grad-brand: linear-gradient(135deg, #F58220 0%, #EA5F1C 45%, #013A87 100%);
  --grad-orange: linear-gradient(135deg, #F58220 0%, #EA5F1C 62%, #C9490C 100%);
  --grad-navy: linear-gradient(135deg, #071329 0%, #041E42 48%, #013A87 100%);
  --grad-royal: linear-gradient(135deg, #041E42 0%, #013A87 55%, #0E54B5 100%);
  --grad-topbar: linear-gradient(90deg, #071329 0%, #041E42 42%, #013A87 72%, #C9490C 100%);

  --container-max: 1260px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 22px;

  --shadow-sm: 0 2px 10px rgba(7, 19, 41, 0.05);
  --shadow-md: 0 12px 30px rgba(7, 19, 41, 0.09);
  --shadow-lg: 0 24px 54px rgba(7, 19, 41, 0.16);
  --shadow-orange: 0 12px 28px rgba(234, 95, 28, 0.34);
  --shadow-navy: 0 12px 28px rgba(1, 58, 135, 0.28);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--dm-text);
  background: var(--dm-surface);
  line-height: 1.65;
  overflow-x: clip;
}

main {
  animation: dmPageReveal 0.42s var(--ease-out) both;
}

@keyframes dmPageReveal {
  from {
    opacity: 0.88;
    transform: translate3d(0, 6px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

h1, h2, h3, h4, .font-display {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  letter-spacing: -0.022em;
  margin: 0;
  color: inherit;
}

p {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--dm-navy);
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

a:hover {
  color: var(--dm-orange-deep);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--dm-orange);
  outline-offset: 2px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--dm-dark);
  color: var(--dm-white);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 999;
}

.skip-link:focus {
  left: 16px;
}

/* Containers & Sections */
.dm-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 540px) {
  .dm-container {
    padding: 0 16px;
  }
}

.dm-section {
  padding: 76px 0;
  position: relative;
}

.dm-section-tight {
  padding: 52px 0;
  position: relative;
}

@media (max-width: 768px) {
  .dm-section {
    padding: 54px 0;
  }
}

.dm-section-white {
  background: var(--dm-white);
  border-top: 1px solid var(--dm-border);
  border-bottom: 1px solid var(--dm-border);
}

.dm-section-dark {
  background: radial-gradient(circle at 86% 16%, rgba(245, 130, 32, 0.16) 0%, transparent 40%),
              radial-gradient(circle at 12% 88%, rgba(1, 58, 135, 0.36) 0%, transparent 48%),
              var(--grad-navy);
  color: var(--dm-white);
  position: relative;
  overflow: hidden;
}

/* =========================================================
   3. REDESIGNED GRADIENT TOP CONTACT BAR
   ========================================================= */
.dm-topbar {
  background: var(--grad-topbar);
  color: var(--dm-white);
  font-size: 13px;
  border-bottom: 1px solid rgba(245, 130, 32, 0.38);
  position: relative;
  z-index: 105;
}

.dm-topbar-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
}

.dm-topbar-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}

.dm-topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--dm-white) !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 13px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background-color var(--transition), border-color var(--transition), transform var(--transition);
}

.dm-topbar-link svg {
  color: #FDBA74;
  flex-shrink: 0;
}

.dm-topbar-link:hover {
  background: rgba(245, 130, 32, 0.25);
  border-color: rgba(254, 216, 188, 0.65);
  color: var(--dm-white) !important;
  transform: translateY(-1px);
}

.dm-topbar-address {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #F8FAFC;
  font-size: 12.8px;
  font-weight: 500;
}

.dm-topbar-address svg {
  color: #FDBA74;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .dm-topbar-inner {
    padding: 7px 16px;
    justify-content: center;
    text-align: center;
    gap: 6px 10px;
  }
  .dm-topbar-address {
    font-size: 12px;
    line-height: 1.4;
  }
}

@media (max-width: 480px) {
  .dm-topbar-link {
    font-size: 12px;
    padding: 3px 9px;
  }
  .dm-topbar-address {
    font-size: 11.5px;
  }
}

/* =========================================================
   4. GLASS NAVIGATION BAR WITH LOGO & GRADIENT INDICATORS
   ========================================================= */
.dm-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(1, 58, 135, 0.12);
  transition: box-shadow var(--transition), background-color var(--transition);
}

.dm-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 30px rgba(7, 19, 41, 0.1);
}

.dm-header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 76px;
}

@media (max-width: 540px) {
  .dm-header-inner {
    padding: 8px 16px;
    min-height: 66px;
  }
}

.dm-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.dm-brand img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 480px) {
  .dm-brand img {
    height: 39px;
  }
}

.dm-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dm-nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.dm-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 11px;
  text-decoration: none;
  color: var(--dm-text-body);
  font-weight: 500;
  font-size: 13.8px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.dm-nav-icon {
  color: var(--dm-navy);
  opacity: 0.78;
  flex-shrink: 0;
  transition: color var(--transition), opacity var(--transition);
}

.dm-nav-link:hover {
  color: var(--dm-navy);
  background: var(--dm-blue-soft);
}

.dm-nav-link:hover .dm-nav-icon {
  color: var(--dm-orange-deep);
  opacity: 1;
}

.dm-nav-link.is-active {
  color: var(--dm-navy);
  font-weight: 700;
  background: linear-gradient(135deg, rgba(245, 130, 32, 0.1), rgba(1, 58, 135, 0.08));
}

.dm-nav-link.is-active .dm-nav-icon {
  color: var(--dm-orange-deep);
  opacity: 1;
}

.dm-nav-link.is-active::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-brand);
}

.dm-nav-cta {
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  background: var(--grad-orange);
  color: var(--dm-white) !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13.8px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(234, 95, 28, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.dm-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
  color: var(--dm-white) !important;
}

/* Dropdown inside Nav */
.dm-dropdown {
  position: relative;
}

.dm-dropdown-toggle {
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.dm-dropdown-chevron {
  transition: transform var(--transition);
}

.dm-dropdown.is-open .dm-dropdown-chevron {
  transform: rotate(180deg);
}

.dm-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 295px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(18px);
  border: 1px solid var(--dm-border);
  border-top: 3px solid var(--dm-orange);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  display: none;
  flex-direction: column;
  gap: 3px;
  z-index: 130;
}

.dm-dropdown.is-open .dm-dropdown-menu {
  display: flex;
  animation: dmFadeSlide 0.18s var(--ease-out);
}

@media (hover: hover) {
  .dm-dropdown:hover .dm-dropdown-menu {
    display: flex;
  }
}

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

.dm-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 11px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--dm-text);
  font-size: 13.8px;
  font-weight: 600;
}

.dm-dropdown-item-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(245, 130, 32, 0.14), rgba(1, 58, 135, 0.12));
  color: var(--dm-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.dm-dropdown-item small {
  display: block;
  font-size: 11.8px;
  color: var(--dm-text-muted);
  font-weight: 400;
}

.dm-dropdown-item:hover {
  background: var(--dm-blue-soft);
  color: var(--dm-navy);
}

.dm-dropdown-item:hover .dm-dropdown-item-icon {
  background: var(--grad-orange);
  color: var(--dm-white);
}

.dm-dropdown-divider {
  height: 1px;
  background: var(--dm-border);
  margin: 5px 8px;
}

/* Mobile Toggle Button */
.dm-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--dm-border-strong);
  border-radius: var(--radius-sm);
  background: var(--dm-white);
  color: var(--dm-navy);
  cursor: pointer;
}

@media (max-width: 1180px) {
  .dm-menu-toggle {
    display: inline-flex;
  }

  .dm-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.99);
    backdrop-filter: blur(18px);
    border-bottom: 2px solid var(--dm-orange);
    box-shadow: var(--shadow-lg);
    padding: 16px 20px 24px;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
  }

  .dm-nav.is-open {
    display: flex;
    animation: dmFadeSlide 0.22s var(--ease-out);
  }

  .dm-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .dm-nav-link {
    justify-content: flex-start;
    padding: 12px 14px;
    font-size: 15px;
  }

  .dm-nav-link.is-active::after {
    display: none;
  }

  .dm-dropdown-toggle {
    justify-content: space-between;
    width: 100%;
  }

  .dm-nav-cta {
    margin: 12px 0 0;
    justify-content: center;
    padding: 13px 18px;
    font-size: 15px;
  }

  .dm-dropdown-menu {
    position: static;
    box-shadow: none;
    border: 0;
    border-left: 3px solid var(--dm-orange);
    border-radius: 0;
    margin: 4px 0 8px 14px;
    padding: 4px 0 4px 10px;
    background: var(--dm-surface);
  }
}

/* =========================================================
   TYPOGRAPHY & BADGES
   ========================================================= */
.dm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--dm-orange-aa);
  margin-bottom: 8px;
}

.dm-eyebrow::before {
  content: '';
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-brand);
}

.dm-eyebrow-light {
  color: #FDBA74;
}

.dm-eyebrow-light::before {
  background: var(--grad-orange);
}

.dm-h1 {
  font-size: clamp(30px, 4.1vw, 52px);
  line-height: 1.09;
  font-weight: 700;
}

.dm-h2 {
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.15;
  font-weight: 700;
}

.dm-h3 {
  font-size: 20px;
  line-height: 1.28;
  font-weight: 700;
}

.dm-text-grad-orange {
  background: linear-gradient(120deg, #F58220 0%, #EA5F1C 52%, #FDBA74 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dm-text-grad-brand {
  background: linear-gradient(120deg, #013A87 0%, #EA5F1C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dm-lead {
  font-size: clamp(15.5px, 1.4vw, 18px);
  line-height: 1.65;
  color: var(--dm-text-body);
  max-width: 720px;
}

.dm-section-dark .dm-lead,
.dm-hero-home .dm-lead,
.dm-hero-sub--dark .dm-lead {
  color: #D9E4F5;
}

.dm-section-head {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dm-section-head-split {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

/* =========================================================
   8. 3D GRADIENT BUTTONS
   ========================================================= */
.dm-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.dm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
  box-shadow: 0 6px 16px rgba(7, 19, 41, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition), background var(--transition), border-color var(--transition);
}

.dm-btn:hover {
  transform: translateY(-2px);
}

.dm-btn-orange {
  background: var(--grad-orange);
  color: var(--dm-white) !important;
  box-shadow: 0 8px 22px rgba(234, 95, 28, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.dm-btn-orange:hover {
  box-shadow: 0 14px 30px rgba(234, 95, 28, 0.44);
  filter: brightness(1.03);
  color: var(--dm-white) !important;
}

.dm-btn-navy {
  background: var(--grad-royal);
  color: var(--dm-white) !important;
  box-shadow: 0 8px 22px rgba(1, 58, 135, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.dm-btn-navy:hover {
  box-shadow: 0 14px 30px rgba(1, 58, 135, 0.38);
  filter: brightness(1.06);
  color: var(--dm-white) !important;
}

.dm-btn-white {
  background: linear-gradient(180deg, #FFFFFF 0%, #F1F5FB 100%);
  color: var(--dm-navy-deep) !important;
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 20px rgba(4, 30, 66, 0.2);
}

.dm-btn-white:hover {
  background: var(--dm-white);
  color: var(--dm-orange-deep) !important;
}

.dm-btn-outline {
  background: var(--dm-white);
  border: 1.5px solid var(--dm-navy);
  color: var(--dm-navy) !important;
}

.dm-btn-outline:hover {
  background: var(--grad-royal);
  border-color: var(--dm-navy);
  color: var(--dm-white) !important;
}

.dm-btn-outline-orange {
  background: var(--dm-white);
  border: 1.5px solid var(--dm-orange-deep);
  color: var(--dm-orange-aa) !important;
}

.dm-btn-outline-orange:hover {
  background: var(--grad-orange);
  border-color: var(--dm-orange-deep);
  color: var(--dm-white) !important;
}

.dm-btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.36);
  color: var(--dm-white) !important;
  backdrop-filter: blur(8px);
}

.dm-btn-outline-light:hover {
  background: rgba(245, 130, 32, 0.2);
  border-color: var(--dm-orange);
  color: var(--dm-white) !important;
}

/* =========================================================
   5. HOMEPAGE 3D SPLIT HERO & INTERACTIVE TECH SCENE
   ========================================================= */
.dm-hero-home {
  position: relative;
  background: radial-gradient(circle at 78% 28%, rgba(245, 130, 32, 0.22) 0%, transparent 45%),
              radial-gradient(circle at 14% 85%, rgba(1, 58, 135, 0.5) 0%, transparent 52%),
              linear-gradient(135deg, #071329 0%, #041E42 52%, #013A87 100%);
  color: var(--dm-white);
  padding: 48px 0 56px;
  overflow: hidden;
}

.dm-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.92;
}

.dm-hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(197, 217, 245, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 217, 245, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 65% 48%, black 26%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.dm-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.95fr);
  gap: 36px;
  align-items: center;
}

@media (max-width: 1020px) {
  .dm-hero-home {
    padding: 40px 0 46px;
  }
  .dm-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.dm-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.dm-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: #FED8BC;
  background: linear-gradient(90deg, rgba(245, 130, 32, 0.2), rgba(1, 58, 135, 0.32));
  border: 1px solid rgba(245, 130, 32, 0.45);
  width: fit-content;
  backdrop-filter: blur(8px);
}

.dm-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dm-orange);
  box-shadow: 0 0 0 0 rgba(245, 130, 32, 0.75);
  animation: dmPulseDot 2.2s infinite;
}

@keyframes dmPulseDot {
  0% { box-shadow: 0 0 0 0 rgba(245, 130, 32, 0.75); }
  70% { box-shadow: 0 0 0 8px rgba(245, 130, 32, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 130, 32, 0); }
}

.dm-hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 6px;
}

@media (max-width: 580px) {
  .dm-hero-highlights {
    grid-template-columns: 1fr;
  }
}

.dm-hero-mini-stat {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  backdrop-filter: blur(8px);
}

.dm-hero-mini-stat strong {
  display: block;
  font-size: 13.5px;
  color: #FDBA74;
}

.dm-hero-mini-stat span {
  font-size: 12px;
  color: #D5E1F2;
}

/* Right-side Interactive 3D Tech Ecosystem Hub */
.dm-hero-3d-stage {
  position: relative;
  perspective: 1250px;
  transform-style: preserve-3d;
  min-height: 410px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 600px) {
  .dm-hero-3d-stage {
    min-height: 360px;
  }
}

.dm-3d-deck {
  position: relative;
  width: 100%;
  max-width: 510px;
  min-height: 390px;
  transform-style: preserve-3d;
  transition: transform 0.32s var(--ease-out);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.dm-geo-orbit {
  position: absolute;
  inset: -16px;
  pointer-events: none;
  transform-style: preserve-3d;
}

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

.dm-geo-ring--1 {
  width: 280px;
  height: 280px;
  top: -28px;
  right: -20px;
  border: 1.5px dashed rgba(245, 130, 32, 0.5);
  animation: dmOrbitSpin 24s linear infinite;
}

.dm-geo-ring--2 {
  width: 220px;
  height: 220px;
  bottom: -20px;
  left: -16px;
  border: 1.5px solid rgba(147, 197, 253, 0.35);
  animation: dmOrbitSpinRev 18s linear infinite;
}

@keyframes dmOrbitSpin {
  0% { transform: rotateX(62deg) rotateY(16deg) rotateZ(0deg); }
  100% { transform: rotateX(62deg) rotateY(16deg) rotateZ(360deg); }
}

@keyframes dmOrbitSpinRev {
  0% { transform: rotateX(-55deg) rotateY(22deg) rotateZ(360deg); }
  100% { transform: rotateX(-55deg) rotateY(22deg) rotateZ(0deg); }
}

/* CSS 3D Rotating Tech Cube */
.dm-3d-cube-wrap {
  position: absolute;
  top: -12px;
  right: 12px;
  width: 46px;
  height: 46px;
  perspective: 600px;
  pointer-events: none;
  z-index: 4;
}

.dm-3d-cube {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: dmCubeRotate 14s linear infinite;
}

.dm-3d-cube span {
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(245, 130, 32, 0.78);
  background: linear-gradient(135deg, rgba(245, 130, 32, 0.24), rgba(1, 58, 135, 0.35));
  border-radius: 7px;
}

.dm-3d-cube span:nth-child(1) { transform: rotateY(0deg) translateZ(23px); }
.dm-3d-cube span:nth-child(2) { transform: rotateY(90deg) translateZ(23px); }
.dm-3d-cube span:nth-child(3) { transform: rotateY(180deg) translateZ(23px); }
.dm-3d-cube span:nth-child(4) { transform: rotateY(-90deg) translateZ(23px); }
.dm-3d-cube span:nth-child(5) { transform: rotateX(90deg) translateZ(23px); }
.dm-3d-cube span:nth-child(6) { transform: rotateX(-90deg) translateZ(23px); }

@keyframes dmCubeRotate {
  0% { transform: rotateX(20deg) rotateY(0deg) rotateZ(0deg); }
  100% { transform: rotateX(380deg) rotateY(360deg) rotateZ(45deg); }
}

.dm-3d-orb {
  position: absolute;
  width: 36px;
  height: 36px;
  bottom: -6px;
  left: -8px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #FDBA74 0%, #EA5F1C 50%, #013A87 100%);
  box-shadow: 0 0 32px rgba(245, 130, 32, 0.55);
  pointer-events: none;
  z-index: 4;
  animation: dmFloat3D 5.6s ease-in-out infinite;
}

@keyframes dmFloat3D {
  0%, 100% { transform: translate3d(0, 0, 22px) scale(1); }
  50% { transform: translate3d(0, -10px, 34px) scale(1.06); }
}

/* Central 3D Hub Glass Panel */
.dm-3d-hub-panel {
  position: relative;
  z-index: 2;
  background: linear-gradient(145deg, rgba(10, 34, 78, 0.88) 0%, rgba(7, 19, 41, 0.92) 100%);
  border: 1px solid rgba(245, 130, 32, 0.45);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
  transform: translateZ(24px);
}

.dm-3d-hub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.dm-3d-hub-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--dm-white);
}

.dm-3d-hub-badge {
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--grad-orange);
  color: var(--dm-white);
}

.dm-hero-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

@media (max-width: 520px) {
  .dm-hero-pillars {
    grid-template-columns: 1fr;
  }
}

.dm-hero-pillar {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(197, 217, 245, 0.18);
  border-radius: var(--radius-md);
  padding: 13px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--dm-white);
  transition: transform var(--transition), background-color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.dm-hero-pillar:hover {
  background: rgba(245, 130, 32, 0.16);
  border-color: var(--dm-orange);
  color: var(--dm-white);
  transform: translate3d(0, -3px, 16px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.dm-hero-pillar--featured {
  grid-column: 1 / -1;
  background: linear-gradient(120deg, rgba(245, 130, 32, 0.18), rgba(1, 58, 135, 0.4));
  border-color: rgba(245, 130, 32, 0.55);
  align-items: center;
}

.dm-hero-pillar-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--dm-white);
}

.dm-hero-pillar-icon--orange {
  background: var(--grad-orange);
  box-shadow: 0 6px 14px rgba(234, 95, 28, 0.35);
}

.dm-hero-pillar-icon--navy {
  background: var(--grad-royal);
  border: 1px solid rgba(197, 217, 245, 0.35);
}

.dm-hero-pillar strong {
  display: block;
  font-size: 13.8px;
  line-height: 1.25;
}

.dm-hero-pillar p {
  font-size: 12px;
  color: #CBD5E1;
  margin-top: 3px;
  line-height: 1.35;
}

.dm-3d-hub-footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #D5E1F2;
}

.dm-3d-hub-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dm-3d-tag {
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 11px;
  font-weight: 600;
  color: #FDBA74;
}

/* =========================================================
   6. SUBPAGE UNIQUE 3D HEROES & ILLUSTRATIONS
   ========================================================= */
.dm-hero-sub {
  position: relative;
  padding: 58px 0 62px;
  overflow: hidden;
  border-bottom: 1px solid var(--dm-border);
}

.dm-hero-sub--light {
  background: radial-gradient(circle at 86% 18%, rgba(245, 130, 32, 0.13) 0%, transparent 42%),
              radial-gradient(circle at 12% 85%, rgba(1, 58, 135, 0.09) 0%, transparent 48%),
              linear-gradient(135deg, #FFFFFF 0%, #F2F6FD 56%, #FFF6EE 100%);
}

.dm-hero-sub--dark {
  background: radial-gradient(circle at 82% 24%, rgba(245, 130, 32, 0.2) 0%, transparent 44%),
              radial-gradient(circle at 16% 82%, rgba(1, 58, 135, 0.45) 0%, transparent 50%),
              linear-gradient(135deg, #071329 0%, #041E42 52%, #013A87 100%);
  color: var(--dm-white);
  border-bottom-color: rgba(245, 130, 32, 0.35);
}

.dm-hero-sub-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 38px;
  align-items: center;
}

@media (max-width: 960px) {
  .dm-hero-sub {
    padding: 44px 0 48px;
  }
  .dm-hero-sub-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.dm-hero-sub-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Subpage 3D Visual Scene Container */
.dm-sub-3d-scene {
  position: relative;
  perspective: 1100px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 290px;
}

.dm-sub-3d-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-xl);
  padding: 22px;
  transform-style: preserve-3d;
  transform: rotateY(-7deg) rotateX(4deg);
  transition: transform 0.4s var(--ease-out);
  box-shadow: var(--shadow-lg);
}

.dm-sub-3d-scene:hover .dm-sub-3d-card {
  transform: rotateY(-1deg) rotateX(1deg) translateY(-3px);
}

.dm-sub-3d-card--dark {
  background: linear-gradient(145deg, rgba(10, 34, 78, 0.94), rgba(7, 19, 41, 0.96));
  border: 1.5px solid rgba(245, 130, 32, 0.48);
  color: var(--dm-white);
}

.dm-sub-3d-card--light {
  background: linear-gradient(145deg, #FFFFFF 0%, #F7FAFF 100%);
  border: 1.5px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 22px 48px rgba(4, 30, 66, 0.12);
}

.dm-sub-3d-card--light::before {
  content: '';
  position: absolute;
  inset: -1.5px;
  border-radius: inherit;
  background: var(--grad-brand);
  z-index: -1;
  opacity: 0.45;
}

.dm-sub-3d-float-badge {
  position: absolute;
  padding: 8px 13px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 12px 26px rgba(7, 19, 41, 0.2);
  animation: dmFloat3D 5s ease-in-out infinite;
  z-index: 4;
}

.dm-sub-3d-float-badge--orange {
  background: var(--grad-orange);
  color: var(--dm-white);
  top: -12px;
  right: 16px;
}

.dm-sub-3d-float-badge--navy {
  background: var(--grad-royal);
  color: var(--dm-white);
  bottom: -12px;
  left: 16px;
  animation-delay: -2.2s;
}

@media (max-width: 768px) {
  .dm-sub-3d-card {
    transform: none;
  }
  .dm-sub-3d-scene {
    min-height: auto;
    padding: 10px 0;
  }
}

/* =========================================================
   3D E2DMS DOCUMENT INTELLIGENCE & OCR DASHBOARD
   ========================================================= */
.dm-3d-doc-stage {
  position: relative;
  perspective: 1150px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 310px;
}

.dm-3d-doc-stack {
  position: relative;
  width: 100%;
  max-width: 455px;
  transform-style: preserve-3d;
  transform: rotateY(-9deg) rotateX(5deg);
  transition: transform 0.42s var(--ease-out);
}

.dm-3d-doc-stage:hover .dm-3d-doc-stack {
  transform: rotateY(-2deg) rotateX(1deg) scale(1.02);
}

.dm-3d-doc-layer {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
}

.dm-3d-doc-layer--back {
  background: rgba(245, 130, 32, 0.16);
  border: 1px solid rgba(245, 130, 32, 0.42);
  transform: translate3d(20px, 20px, -38px);
}

.dm-3d-doc-layer--mid {
  background: rgba(1, 58, 135, 0.38);
  border: 1px solid rgba(197, 217, 245, 0.35);
  transform: translate3d(10px, 10px, -19px);
}

.dm-3d-doc-card {
  position: relative;
  background: linear-gradient(145deg, #0A2558 0%, #071329 100%);
  border: 1.5px solid rgba(245, 130, 32, 0.55);
  border-radius: var(--radius-xl);
  padding: 22px;
  color: var(--dm-white);
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dm-scan-beam {
  position: absolute;
  left: 0;
  right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, transparent, #F58220, #FFFFFF, #F58220, transparent);
  box-shadow: 0 0 16px 3px rgba(245, 130, 32, 0.7);
  animation: dmScanBeam 3.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes dmScanBeam {
  0%, 100% { top: 14%; opacity: 0.45; }
  50% { top: 86%; opacity: 1; }
}

@media (max-width: 768px) {
  .dm-3d-doc-stack {
    transform: none;
  }
}

/* =========================================================
   7. & 8. CARDS, GRADIENT BORDERS & DUAL-TONE ICON SYSTEM
   ========================================================= */
.dm-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 24px;
}

.dm-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.dm-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 20px;
}

.dm-grid-5 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 16px;
}

@media (max-width: 480px) {
  .dm-grid-2,
  .dm-grid-3,
  .dm-grid-4,
  .dm-grid-5 {
    grid-template-columns: 1fr;
  }
}

.dm-card {
  position: relative;
  background: var(--dm-white);
  border: 1px solid var(--dm-border);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  box-shadow: var(--shadow-sm);
  transform-style: preserve-3d;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.dm-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 3.5px;
  border-radius: 0 0 4px 4px;
  background: var(--grad-brand);
  opacity: 0.85;
  transition: left var(--transition), right var(--transition), opacity var(--transition);
}

.dm-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245, 130, 32, 0.45);
}

.dm-card:hover::before {
  left: 0;
  right: 0;
  opacity: 1;
}

.dm-card-featured {
  border: 1.5px solid rgba(245, 130, 32, 0.45);
  background: linear-gradient(155deg, #FFFFFF 0%, #FFF8F2 100%);
}

.dm-card-flat {
  background: var(--dm-white);
  border: 1px solid var(--dm-border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.dm-card-flat:hover {
  border-color: var(--dm-blue-tint);
  box-shadow: var(--shadow-md);
}

.dm-card-glass-dark {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 22px;
  backdrop-filter: blur(10px);
  transition: transform var(--transition), border-color var(--transition), background-color var(--transition);
}

.dm-card-glass-dark:hover {
  border-color: rgba(245, 130, 32, 0.55);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

/* Dual-Tone Gradient Icon Badges */
.dm-icon-badge {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition), box-shadow var(--transition);
}

.dm-card:hover .dm-icon-badge {
  transform: scale(1.07) rotate(-3deg);
}

.dm-icon-badge--brand {
  background: var(--grad-brand);
  color: var(--dm-white);
  box-shadow: 0 8px 18px rgba(1, 58, 135, 0.22);
}

.dm-icon-badge--orange {
  background: var(--grad-orange);
  color: var(--dm-white);
  box-shadow: 0 8px 18px rgba(234, 95, 28, 0.25);
}

.dm-icon-badge--navy {
  background: var(--grad-royal);
  color: var(--dm-white);
  box-shadow: 0 8px 18px rgba(1, 58, 135, 0.24);
}

.dm-icon-badge--soft {
  background: linear-gradient(135deg, rgba(245, 130, 32, 0.14), rgba(1, 58, 135, 0.12));
  color: var(--dm-navy);
  border: 1px solid rgba(1, 58, 135, 0.18);
}

.dm-card-list {
  margin: 0;
  padding-left: 18px;
  color: var(--dm-text-body);
  line-height: 1.82;
  font-size: 14.5px;
}

.dm-card-link {
  margin-top: auto;
  padding-top: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--dm-navy);
}

.dm-card-link:hover {
  color: var(--dm-orange-deep);
  gap: 10px;
}

/* Split Practice Showcase Panels */
.dm-practice-band {
  position: relative;
  background: var(--dm-white);
  border: 1px solid var(--dm-border);
  border-radius: var(--radius-xl);
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.dm-practice-band::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--grad-brand);
}

.dm-practice-band:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--dm-blue-tint);
}

.dm-practice-band--featured {
  border: 1.5px solid rgba(245, 130, 32, 0.45);
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF7F0 100%);
}

@media (max-width: 860px) {
  .dm-practice-band {
    grid-template-columns: 1fr;
    padding: 24px 22px;
  }
}

.dm-practice-highlights {
  background: var(--dm-surface);
  border: 1px solid var(--dm-border);
  border-radius: var(--radius-md);
  padding: 22px;
}

/* Badges & Steps */
.dm-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.dm-badge-orange {
  background: var(--dm-orange-soft);
  color: var(--dm-orange-aa);
  border: 1px solid var(--dm-orange-tint);
}

.dm-badge-navy {
  background: var(--dm-blue-soft);
  color: var(--dm-navy);
  border: 1px solid var(--dm-blue-tint);
}

.dm-step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}

/* Client Logos */
.dm-logo-card {
  height: 104px;
  background: var(--dm-white);
  border: 1px solid var(--dm-border);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.dm-logo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--dm-orange-tint);
}

.dm-logo-card img {
  max-height: 60px;
  max-width: 100%;
  object-fit: contain;
}

/* Tables */
.dm-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--dm-border);
  border-radius: var(--radius-md);
  background: var(--dm-white);
  box-shadow: var(--shadow-sm);
}

.dm-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 15px;
}

.dm-table th,
.dm-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--dm-border);
  vertical-align: top;
}

.dm-table thead th {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--dm-white);
  background: var(--grad-royal);
}

.dm-table tbody tr:last-child th,
.dm-table tbody tr:last-child td {
  border-bottom: 0;
}

.dm-table tbody th[scope="row"] {
  font-weight: 700;
  color: var(--dm-navy-deep);
  width: 28%;
}

/* Highlight Feature Banners */
.dm-feature-banner {
  border-radius: var(--radius-xl);
  padding: 36px;
  color: var(--dm-white);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--grad-navy);
  border: 1px solid rgba(245, 130, 32, 0.35);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 860px) {
  .dm-feature-banner {
    grid-template-columns: 1fr;
    padding: 26px;
  }
}

.dm-e2dms-shell {
  background: var(--dm-white);
  border: 1.5px solid rgba(245, 130, 32, 0.42);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

@media (max-width: 640px) {
  .dm-e2dms-shell {
    padding: 20px;
  }
}

/* Forms */
.dm-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 44px;
  align-items: start;
}

@media (max-width: 900px) {
  .dm-contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.dm-form-card {
  background: var(--dm-white);
  color: var(--dm-text);
  border: 1px solid var(--dm-border);
  border-top: 4px solid var(--dm-orange);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 540px) {
  .dm-form-card {
    padding: 22px;
  }
}

.dm-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 600px) {
  .dm-form-row {
    grid-template-columns: 1fr;
  }
}

.dm-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dm-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dm-navy-deep);
}

.dm-input,
.dm-select,
.dm-textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--dm-border-strong);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: var(--dm-text);
  background: var(--dm-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.dm-input:focus,
.dm-select:focus,
.dm-textarea:focus {
  border-color: var(--dm-orange);
  box-shadow: 0 0 0 3px rgba(245, 130, 32, 0.16);
  outline: none;
}

.dm-input.is-invalid,
.dm-select.is-invalid,
.dm-textarea.is-invalid {
  border-color: #DC2626;
}

.dm-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--dm-text-muted);
  cursor: pointer;
}

.dm-checkbox-label input {
  margin-top: 3px;
  flex-shrink: 0;
}

.dm-form-status {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  display: none;
}

.dm-form-status.is-visible {
  display: block;
}

.dm-form-status.is-success {
  background: #DCFCE7;
  color: #166534;
  border: 1px solid #86EFAC;
}

.dm-form-status.is-error {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
}

.dm-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.dm-contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--grad-orange);
  color: var(--dm-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(234, 95, 28, 0.25);
}

.dm-contact-icon--navy {
  background: var(--grad-royal);
  box-shadow: 0 6px 14px rgba(1, 58, 135, 0.22);
}

/* Modal */
.dm-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 19, 41, 0.74);
  backdrop-filter: blur(6px);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.dm-modal-backdrop.is-open {
  display: flex;
}

.dm-modal {
  background: var(--dm-white);
  color: var(--dm-text);
  border-top: 4px solid var(--dm-orange);
  border-radius: var(--radius-xl);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.dm-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--dm-border);
  background: var(--dm-white);
  color: var(--dm-text);
  font-size: 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Scroll Reveal */
[data-reveal] {
  will-change: transform, opacity;
}

/* =========================================================
   9. FOOTER (LOGO-MATCHED DARK NAVY & ORANGE ACCENTS)
   ========================================================= */
.dm-footer {
  background: linear-gradient(180deg, #071329 0%, #041E42 100%);
  color: #C7D4E8;
  padding: 60px 0 32px;
  border-top: 4px solid transparent;
  border-image: var(--grad-brand) 1;
}

.dm-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(197, 217, 245, 0.14);
}

@media (max-width: 960px) {
  .dm-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 580px) {
  .dm-footer-grid {
    grid-template-columns: 1fr;
  }
}

.dm-footer h3 {
  font-size: 15px;
  color: var(--dm-white);
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 8px;
}

.dm-footer h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-orange);
}

.dm-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.dm-footer-links a {
  color: #E2E8F0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.dm-footer-links a:hover {
  color: #FDBA74;
}

.dm-footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #D5E1F2;
}

.dm-footer-contact-row svg {
  color: var(--dm-orange);
  flex-shrink: 0;
  margin-top: 3px;
}

.dm-footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: #9EB1CE;
}

/* Floating Quick Call Button */
.dm-call-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 17px;
  border-radius: 999px;
  background: var(--grad-orange);
  color: var(--dm-white) !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-orange);
  cursor: pointer;
}

.dm-call-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(234, 95, 28, 0.45);
}

@media (max-width: 480px) {
  .dm-call-float span {
    display: none;
  }
  .dm-call-float {
    padding: 13px;
  }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  main {
    animation: none;
  }
  .dm-live-dot,
  .dm-geo-ring,
  .dm-3d-cube,
  .dm-3d-orb,
  .dm-sub-3d-float-badge,
  .dm-scan-beam {
    animation: none !important;
  }
  .dm-3d-deck,
  .dm-3d-doc-stack,
  .dm-sub-3d-card,
  .dm-card,
  .dm-btn,
  .dm-hero-pillar {
    transition: none !important;
  }
}
