:root {

  --hsw-red:        #FF6600;
  --hsw-red-dark:   #CC5200;
  --hsw-red-light:  #FF6600;
  --hsw-red-glow:   rgba(255,102,0,0.35);
  --hsw-red-dim:    rgba(255,102,0,0.15);
  --hsw-gold:       #C8A84B;
  --hsw-gold-light: rgba(200,168,75,0.15);
  --hsw-blue:       #1A3A6B;
  --hsw-blue-mid:   #1E4A8C;
  --hsw-blue-light: #2B6CB0;


  --navy-950: #020A14;
  --navy-900: #050F1C;
  --navy-800: #09162A;
  --navy-700: #0D1E38;
  --navy-600: #122548;


  --cyan:         #00D4FF;
  --cyan-dim:     rgba(0,212,255,0.12);
  --teal:         #00B4A0;
  --teal-light:   rgba(0,180,160,0.15);
  --purple:       #7B5CF6;
  --purple-light: rgba(123,92,246,0.15);
  --green:        #22C55E;
  --green-light:  rgba(34,197,94,0.12);
  --amber:        #F59E0B;
  --amber-light:  rgba(245,158,11,0.12);
  --coral:        #F43F5E;
  --coral-light:  rgba(244,63,94,0.12);


  --white:       #FFFFFF;
  --text:        #FFFFFF;
  --text-muted:  rgba(255,255,255,0.60);
  --border:      rgba(255,255,255,0.08);
  --border-glow: rgba(255,102,0,0.40);
  --glass-bg:    rgba(255,255,255,0.04);
  --glass-bg2:   rgba(255,255,255,0.07);


  --font-head: 'Rajdhani', sans-serif;
  --font-body: 'Nunito Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;


  --fs-hero:    clamp(3rem,   7.5vw, 4.6rem);
  --fs-h1:      clamp(2.2rem, 5.5vw, 3.6rem);
  --fs-h2:      clamp(1.5rem, 3vw,   2rem);
  --fs-h3:      clamp(1rem,   1.8vw, 1.15rem);
  --fs-welcome: clamp(2.8rem, 7vw,   4rem);
  --fs-body:    clamp(14px,   1.1vw, 15px);
  --fs-lead:    clamp(15px,   1.3vw, 17px);
  --fs-small:   clamp(11px,   0.85vw,13px);
  --fs-mono:    clamp(10px,   0.8vw, 12.5px);





  --container-max: 1040px;
  --section-gap:   3.5rem;
  --header-h1:     138px;
  --header-h2:     52px;
  --header-total:  190px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--navy-950);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

main { contain: paint; }

#page-loader {
  position: fixed;
  inset: 0;
  background: #020A14;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}
#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-logo {
  height: 70px;
  width: auto;
  mix-blend-mode: screen;
  animation: loaderPulse 1.4s ease-in-out infinite;
}
@keyframes loaderPulse {
  0%, 100% { opacity: 0.6; transform: scale(0.97); }
  50%       { opacity: 1;   transform: scale(1.03); }
}
.loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
}
.loader-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #FF6600, #C8A84B);
  border-radius: 4px;
  will-change: transform;
  animation: loaderFill 1.6s ease-in-out infinite;
}
@keyframes loaderFill {
  0%   { width: 0%; }
  60%  { width: 100%; }
  100% { width: 100%; transform: translateX(100%); }
}
.loader-text {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  font-family: 'JetBrains Mono', monospace;
}

#header-top {
  position: sticky;
  top: 0;
  z-index: 620;
  background-color: #12151A;
  border-bottom: 1px solid rgba(10,100,220,0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  height: var(--header-h1);
  gap: 1rem;
  overflow: visible;
}
#header-top::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 380px; height: 100%;
  background: radial-gradient(ellipse at right center, rgba(10,100,220,0.12), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
#header-top > * { position: relative; z-index: 1; }
.logo-wrap a  { display: flex; align-items: center; text-decoration: none; }
.logo-wrap img {
  height: 129px;
  width: auto;
  max-width: 480px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
  flex-wrap: nowrap;
}
.main-nav > .mnav-item { position: relative; }
.main-nav > .mnav-item > a,
.main-nav > .mnav-item > span {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 14px;
  height: var(--header-h1);
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}
.main-nav > .mnav-item > a:hover,
.main-nav > .mnav-item > span:hover,
.main-nav > .mnav-item > a.active,
.main-nav > .mnav-item > span.active {
  background: linear-gradient(90deg, var(--hsw-red-light), var(--hsw-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border-bottom-color: var(--hsw-red);
}
.mnav-chevron {
  width: 14px; height: 14px;
  stroke: currentColor;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.mnav-item:hover .mnav-chevron { transform: rotate(180deg); }

.mnav-dropdown {
  display: none !important;
  position: absolute;
  top: 100%; left: 0;
  min-width: 200px;
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.1);
  border-top: 3px solid var(--hsw-red);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  z-index: 400;
  max-height: 80vh;
  overflow-y: auto;
}
.mnav-item:hover .mnav-dropdown,
.mnav-item:focus-within .mnav-dropdown {
  display: flex !important;
  flex-direction: column;
}

#header-top, .main-nav, .mnav-item { overflow: visible !important; }
.mnav-dropdown a {
  display: block;
  padding: 12px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: all 0.15s;
}
.mnav-dropdown a:last-child { border-bottom: none; }
.mnav-dropdown a:hover { background: var(--hsw-red-dim); color: var(--hsw-red); padding-left: 24px; }

.mnav-item.mnav-ai-wide > .mnav-dropdown { min-width: 260px; }

.header-btns {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}
.btn-quote {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(105deg, #CC5200 0%, #FF6600 55%, #FF8C3A 100%);
  box-shadow: inset 0 0 18px rgba(255,180,100,0.25), 0 2px 10px rgba(255,102,0,0.3);
  color: white;
  border: none;
  padding: 9px 16px;
  border-radius: 8px;
  font-family: var(--font-head);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
}
.btn-quote:hover {
  background: linear-gradient(105deg, #B34800 0%, #E55C00 55%, #FF7A26 100%);
  box-shadow: inset 0 0 22px rgba(255,180,80,0.3), 0 4px 18px rgba(255,102,0,0.45);
  transform: translateY(-1px);
}
.lang-selector { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.20);
  padding: 7px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  color: rgba(255,255,255,0.80);
  transition: all 0.2s;
}
.lang-btn:hover { border-color: var(--hsw-red); color: #fff; }
.lang-flag { display: none !important; }
.lang-emoji {
  font-size: 16px;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
}
.lang-btn-code { font-size: var(--fs-small); font-weight: 700; letter-spacing: 0.05em; }
.lang-dropdown {
  position: absolute;
  top: calc(100% + 4px); right: 0;
  background: rgba(5,14,28,0.98);
  border: 1px solid rgba(255,102,0,0.25);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.5);
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: all 0.2s;
  z-index: 700;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.lang-selector:hover .lang-dropdown,
.lang-selector.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-option {
  display: flex !important;
  align-items: center;
  gap: 0;
  padding: 10px 16px;
  cursor: pointer;
  font-size: var(--fs-small);
  font-weight: 500;
  color: #ffffff;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.15s;
}
.lang-option:last-child { border-bottom: none; }
.lang-option:hover { background: var(--hsw-red-dim); color: var(--hsw-red); }
.lang-option.active { color: var(--hsw-red); }

/* Google Website Translate (driven by .lang-selector): hide all of its UI */
#google_translate_element,
.skiptranslate > iframe,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-ZVi9od-aZ2wEe-OiiCO { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight,
.VIpgJd-yAWNEb-VIpgJd-fmcmS-sn54Q { background: none !important; box-shadow: none !important; }

#header-nav {
  position: sticky;
  top: var(--header-h1);
  z-index: 610;
  background: rgba(9,22,42,0.99);
  border-bottom: 1px solid rgba(255,102,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  height: var(--header-h2);
  gap: 2px;
  overflow: visible;
}
#nav-scroll-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
#nav-scroll-row::-webkit-scrollbar { display: none; }

#nav-toggle-btn {
  display: none;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
}
#nav-toggle-btn:hover { border-color: var(--hsw-red); color: white; }
#nav-toggle-btn svg { transition: transform 0.25s; }
#nav-toggle-btn.open svg { transform: rotate(180deg); }

#nav-dropdown-panel {
  display: none !important;
  position: fixed;
  top: calc(var(--header-h1) + var(--header-h2));
  left: 0; right: 0;
  background: rgba(5,15,28,0.99);
  border-bottom: 1px solid rgba(255,102,0,0.25);
  z-index: 590;
  will-change: auto;
  -webkit-transform: none;
  transform: none;
  padding: 8px 0;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
  overflow-y: auto;
  max-height: calc(100dvh - var(--header-h1) - var(--header-h2));
}
#nav-dropdown-panel.open {
  display: block !important;
  max-height: calc(100dvh - var(--header-h1));
  overflow-y: scroll;
}
#nav-dropdown-panel .nav-btn {
  width: 100%;
  height: 44px;
  padding: 0 1.5rem;
  justify-content: flex-start;
  border-bottom: none;
  border-left: 3px solid transparent;
}
#nav-dropdown-panel .nav-btn:hover  { border-left-color: var(--hsw-red); background: rgba(255,102,0,0.08); }
#nav-dropdown-panel .nav-btn.active {
  border-left-color: var(--hsw-red);
  background: rgba(255,102,0,0.12);
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  height: var(--header-h2);
  font-size: 12.5px;
  font-weight: 600;
  font-family: var(--font-head);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  border: none;
  background: transparent;
  white-space: nowrap;
  border-bottom: 2.5px solid transparent;
  transition: all 0.2s;
  flex-shrink: 0;
}
.nav-btn:hover  { color: var(--white); background: rgba(255,255,255,0.04); }
.nav-btn.active { color: var(--white); border-bottom-color: var(--hsw-red); background: rgba(255,102,0,0.1); }
.nav-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }

.page         { display: none; position: relative; z-index: 1; }
.page.active  { display: block; }

.page-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.12em;
}
.page-placeholder::before {
  content: '';
  width: 32px; height: 32px;
  border: 2px solid var(--border);
  border-top-color: var(--hsw-red);
  border-radius: 50%;
  animation: spinLoader 0.8s linear infinite;
  margin-right: 12px;
}
@keyframes spinLoader {
  to { transform: rotate(360deg); }
}

.page > .stats,
.page > .divider,
.page > .alert,
.page > .steps,
.page > .accordion,
.page > .grid,
.page > .table-wrap,
.page > .services-grid,
.page > .cmp-table {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
  box-sizing: border-box;
}
.page > .stats { padding-top: 1.5rem; padding-bottom: 1.5rem; }

.hero-slideshow {
  position: relative;
  height: calc(100vh - var(--header-total));
  min-height: 500px;
  max-height: 900px;
  overflow: hidden;
  background: var(--navy-950);
}
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.9s ease;
  z-index: 1;
}
.slide.active { opacity: 1; z-index: 2; }
.slide.prev   { opacity: 0; z-index: 1; }

.slide-bg { position: absolute; inset: 0; background: var(--navy-950); }
.slide-bg::before {
  content: '';
  position: absolute; inset: 0;
  z-index: 1;
}
.slide-bg .slide-grid-light {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 65% 70% at 72% 42%,
    rgba(10,100,255,0.18) 0%,
    rgba(0,180,255,0.08) 40%,
    transparent 70%);
  z-index: 2;
  pointer-events: none;
}
.slide-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%,
    transparent 30%, rgba(2,10,20,0.55) 100%);
  z-index: 2;
}
.slide-glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  filter: none;
  -webkit-filter: none;
  opacity: 0.55;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(circle, currentColor 0%, transparent 70%) !important;
}

.slide-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 3rem;
}
.slide-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 400;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.6rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s 0.05s, transform 0.6s 0.05s;
}
.slide.active .slide-eyebrow { opacity: 1; transform: translateY(0); }
.slide-eyebrow::before {
  content: '//';
  color: rgba(10,180,255,0.5);
  font-size: 13px;
  letter-spacing: 0;
  margin-right: 2px;
}
.slide-title {
  font-family: 'Syne', var(--font-head), sans-serif;
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 1.5rem;
  max-width: 820px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s 0.15s, transform 0.65s 0.15s;
}
.slide.active .slide-title { opacity: 1; transform: translateY(0); }
.slide-title span.hl {
  background: linear-gradient(90deg, #1A7FFF 0%, #00D4FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.slide-title span.ghost {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.18);
  font-weight: 800;
}
.slide-desc {
  font-size: var(--fs-lead);
  color: rgba(255,255,255,0.62);
  max-width: 98%;
  line-height: 1.78;
  margin-bottom: 2.2rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s 0.25s, transform 0.65s 0.25s;
}
.slide.active .slide-desc { opacity: 1; transform: translateY(0); }
.slide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s 0.35s, transform 0.6s 0.35s;
}
.slide.active .slide-tags { opacity: 1; transform: translateY(0); }
.slide-tag {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 20px;
  border: 1px solid rgba(10,160,255,0.45);
  color: rgba(200,235,255,0.90);
  background: rgba(10,100,220,0.12);
  cursor: pointer;
  transition: all 0.25s;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 0 10px rgba(10,160,255,0.15), inset 0 0 8px rgba(10,160,255,0.06);
  letter-spacing: 0.02em;
}
.slide-tag:hover {
  background: rgba(10,132,255,0.28);
  border-color: rgba(10,200,255,0.80);
  color: white;
  box-shadow: 0 0 18px rgba(10,160,255,0.35), inset 0 0 12px rgba(10,160,255,0.12);
  transform: translateY(-1px);
}
.slide-controls { display: none; }
.slide-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(2,10,20,0.5);
  border: 1px solid rgba(255,255,255,0.12);
  color: white;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.2s;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.slide-nav-btn:hover { background: rgba(10,100,220,0.45); border-color: rgba(10,180,255,0.5); }
.slide-prev { left: 24px; }
.slide-next { right: 24px; }

.slide-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(105deg, #CC5200 0%, #FF6600 55%, #FF8C3A 100%);
  box-shadow: inset 0 0 18px rgba(255,180,100,0.25), 0 2px 10px rgba(255,102,0,0.3);
  color: white; border: none; border-radius: 8px;
  font-family: var(--font-head); font-size: 15px; font-weight: 700; letter-spacing: 0.05em;
  cursor: pointer; text-decoration: none; transition: all 0.2s; margin-right: 12px;
}
.slide-cta:hover {
  background: linear-gradient(105deg, #B34800 0%, #E55C00 55%, #FF7A26 100%);
  box-shadow: inset 0 0 22px rgba(255,180,80,0.3), 0 6px 20px rgba(255,102,0,0.45);
  transform: translateY(-2px);
}
.slide-cta-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; background: transparent; color: white;
  border: 1px solid rgba(255,255,255,0.3); border-radius: 8px;
  font-family: var(--font-head); font-size: 15px; font-weight: 600;
  letter-spacing: 0.05em; cursor: pointer; text-decoration: none; transition: all 0.2s;
}
.slide-cta-ghost:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.06); }

.intro-hero {
  background: var(--navy-950);
  position: relative;
  padding: 5.5rem 2rem 4.5rem;
  overflow: hidden;
  text-align: left;
}
.hero {
  position: relative;
  padding: 4.5rem 2rem 3.5rem;
  overflow: hidden;
  text-align: left;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
}
.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  filter: none;
  -webkit-filter: none;
  opacity: 0.50;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-mono);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hsw-gold);
  margin-bottom: 1.25rem;
}
.hero-eyebrow::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--hsw-gold);
  border-radius: 2px;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0em;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero h1 .glow {
  background: linear-gradient(90deg, var(--hsw-red-light), var(--hsw-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: var(--fs-body);
  color: var(--text-muted);
  max-width: 100%;
  line-height: 1.75;
  margin-bottom: 2rem;
}
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,102,0,0.35);
  color: rgba(255,255,255,0.7);
  background: rgba(255,102,0,0.1);
  transition: all 0.2s;
}
.hero-tag:hover { border-color: rgba(255,102,0,0.65); color: #fff; }
.hero-tag-active { background: linear-gradient(105deg,#CC5200,#FF6600); border-color: transparent; color: #fff; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 3rem 2rem;
}
.section        { margin-bottom: var(--section-gap); }
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hsw-red-light);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-eyebrow::after {
  content: '';
  display: block;
  height: 1px;
  width: 40px;
  background: var(--hsw-red);
  opacity: 0.5;
}
h2 {
  font-family: var(--font-head);
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
h3 {
  font-family: var(--font-head);
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}
p {
  font-size: var(--fs-body);
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}
p:last-child { margin-bottom: 0; }
.divider { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }
.container .divider { width: 100%; }
.container > .stats,
.container > .steps { width: 100%; }

.grid  { display: grid; gap: 14px; }
.g2    { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.g3    { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.g4    { grid-template-columns: repeat(4, 1fr); gap: 16px; }

.card {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 24px;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.card:hover {
  border-color: var(--border-glow);
  background: var(--glass-bg2);
  transform: translateY(-2px);
}
.card-sm         { padding: 16px 18px; }
.card-title      { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 6px; letter-spacing: 0.03em; }
.card-desc       { font-size: var(--fs-small); color: var(--text-muted); line-height: 1.65; }
.card.card-sm    { border-color: rgba(255,255,255,0.08); }
.card.card-sm:hover { border-color: rgba(52,211,153,0.3); }

.a-red    { border-left: 3px solid var(--hsw-red); }
.a-blue   { border-left: 3px solid var(--hsw-blue-light); }
.a-cyan   { border-left: 3px solid var(--cyan); }
.a-teal   { border-left: 3px solid var(--teal); }
.a-purple { border-left: 3px solid var(--purple); }
.a-amber  { border-left: 3px solid var(--amber); }
.a-coral  { border-left: 3px solid var(--coral); }
.a-green  { border-left: 3px solid var(--green); border-color: rgba(52,211,153,0.18) !important; }
.a-gold   { border-left: 3px solid var(--hsw-gold); }
.a-green:hover { border-color: rgba(52,211,153,0.5) !important; background: rgba(52,211,153,0.05) !important; }
.a-green .card-title { color: #34D399 !important; }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}
.stat {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 16px;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}
.stat:hover { transform: translateY(-3px); border-color: var(--border-glow); }
.stat-num {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label { font-size: var(--fs-small); color: var(--text-muted); margin-top: 6px; line-height: 1.4; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 20px;
  margin-top: 2rem;
}
.service-box {
  position: relative;
  background: linear-gradient(145deg, var(--glass-bg2), var(--glass-bg));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
}
.service-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--sb-color, var(--hsw-red));
  border-radius: 20px 20px 0 0;
  opacity: 0.7;
}
.service-box::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--sb-color, var(--hsw-red)), transparent 70%);
  opacity: 0.06;
  transition: all 0.3s;
}
.service-box:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.service-box:hover::after { opacity: 0.12; transform: scale(1.2); }
.sb-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  background: rgba(255,102,0,0.12);
  border: 1px solid rgba(255,102,0,0.2);
}
.sb-badge {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px; border-radius: 20px; margin-bottom: 12px;
}
.sb-title  { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; color: var(--white); margin-bottom: 10px; letter-spacing: 0.02em; }
.sb-desc   { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.sb-highlights { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.sb-hl {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,0.75);
}
.sb-hl::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--sb-color, var(--hsw-red));
  flex-shrink: 0;
}
.sb-more-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid rgba(255,102,0,0.4);
  color: rgba(255,255,255,0.8);
  border-radius: 8px;
  font-family: var(--font-head); font-size: var(--fs-small); font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer; transition: all 0.2s; text-transform: uppercase;
}
.sb-more-btn:hover {
  background: var(--hsw-red-dim); border-color: var(--hsw-red);
  color: white; transform: translateX(2px);
}

.flow { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 1.25rem 0; }
.flow-step {
  background: var(--glass-bg); border: 1px solid var(--border);
  border-radius: 8px; padding: 8px 14px;
  font-size: var(--fs-small); font-weight: 600;
  color: rgba(255,255,255,0.85); white-space: nowrap;
}
.flow-arrow { color: var(--hsw-red-light); font-size: 16px; opacity: 0.7; }

.steps { display: flex; flex-direction: column; gap: 14px; }
.step  { display: flex; gap: 16px; align-items: flex-start; }
.step-num {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  flex-shrink: 0; margin-top: 2px; border: 1px solid;
}
.step-t { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 4px; letter-spacing: 0.02em; }
.step-d { font-size: var(--fs-small); color: var(--text-muted); line-height: 1.6; }
.n-red    { background: var(--hsw-red-dim);              color: var(--hsw-red-light);  border-color: rgba(255,102,0,0.3); }
.n-blue   { background: rgba(26,58,107,0.2);             color: var(--hsw-blue-light); border-color: rgba(43,108,176,0.3); }
.n-cyan   { background: rgba(0,212,255,0.10);            color: var(--cyan);           border-color: rgba(0,212,255,0.25); }
.n-teal   { background: var(--teal-light);               color: var(--teal);           border-color: rgba(0,180,160,0.25); }
.n-purple { background: var(--purple-light);             color: var(--purple);         border-color: rgba(123,92,246,0.25); }
.n-amber  { background: var(--amber-light);              color: var(--amber);          border-color: rgba(245,158,11,0.25); }
.n-coral  { background: var(--coral-light);              color: var(--coral);          border-color: rgba(244,63,94,0.25); }
.n-green  { background: var(--green-light);              color: var(--green);          border-color: rgba(34,197,94,0.25); }
.n-gold   { background: rgba(200,168,75,0.12);           color: var(--hsw-gold);       border-color: rgba(200,168,75,0.25); }

.alert { border-radius: 12px; padding: 16px 20px; border-left: 3px solid; margin: 1rem 0; }
.alert-title { font-family: var(--font-head); font-size: 14px; font-weight: 700; margin-bottom: 6px; letter-spacing: 0.03em; }
.alert-body  { font-size: var(--fs-small); line-height: 1.65; color: var(--text-muted); }
.alert-red    { background: var(--hsw-red-dim);          border-color: var(--hsw-red); }
.alert-red    .alert-title { color: var(--hsw-red-light); }
.alert-blue   { background: rgba(26,58,107,0.15);        border-color: var(--hsw-blue-light); }
.alert-blue   .alert-title { color: #63B3ED; }
.alert-cyan   { background: rgba(0,212,255,0.08);        border-color: var(--cyan); }
.alert-cyan   .alert-title { color: var(--cyan); }
.alert-amber  { background: var(--amber-light);          border-color: var(--amber); }
.alert-amber  .alert-title { color: var(--amber); }
.alert-green  { background: var(--green-light);          border-color: var(--green); }
.alert-green  .alert-title { color: var(--green); }
.alert-purple { background: var(--purple-light);         border-color: var(--purple); }
.alert-purple .alert-title { color: var(--purple); }
.alert-coral  { background: var(--coral-light);          border-color: var(--coral); }
.alert-coral  .alert-title { color: var(--coral); }
.alert-gold   { background: rgba(200,168,75,0.1);        border-color: var(--hsw-gold); }
.alert-gold   .alert-title { color: var(--hsw-gold); }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill  { font-size: 12px; font-weight: 600; padding: 5px 14px; border-radius: 20px; border: 1px solid var(--border); color: var(--text-muted); background: var(--glass-bg); }
.badge { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; margin-bottom: 12px; }
.badge-red    { background: var(--hsw-red-dim);      color: var(--hsw-red-light); }
.badge-blue   { background: rgba(26,58,107,0.2);     color: var(--hsw-blue-light); }
.badge-cyan   { background: var(--cyan-dim);         color: var(--cyan); }
.badge-teal   { background: var(--teal-light);       color: var(--teal); }
.badge-purple { background: var(--purple-light);     color: var(--purple); }
.badge-amber  { background: var(--amber-light);      color: var(--amber); }
.badge-coral  { background: var(--coral-light);      color: var(--coral); }
.badge-green  { background: var(--green-light);      color: var(--green); }
.badge-gold   { background: rgba(200,168,75,0.12);   color: var(--hsw-gold); }

.cmp-table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.cmp-table th {
  padding: 10px 14px; font-weight: 700; text-align: left;
  border-bottom: 1px solid var(--border); color: var(--text-muted);
  font-family: var(--font-head); font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.cmp-table td {
  padding: 11px 14px; color: var(--text-muted);
  border-bottom: 1px solid var(--border); line-height: 1.5; vertical-align: top;
}
.cmp-table tr:last-child td { border-bottom: none; }
.cmp-table tr:hover td { background: var(--glass-bg); }
.cmp-table .td-hi { color: var(--white); font-weight: 600; }
.table-wrap {
  background: var(--glass-bg); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden; overflow-x: auto;
}

.accordion { display: flex; flex-direction: column; gap: 6px; }
.acc-item {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.acc-item.open { border-color: var(--border-glow); }
.acc-header {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  cursor: pointer; user-select: none;
}
.acc-header:hover { background: var(--glass-bg2); }
.acc-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.acc-label {
  flex: 1;
  font-family: var(--font-head);
  font-size: 15px; font-weight: 700;
  color: var(--white); letter-spacing: 0.02em;
}
.acc-chevron {
  width: 20px; height: 20px;
  color: var(--text-muted);
  transition: transform 0.25s;
  flex-shrink: 0;
}
.acc-item.open .acc-chevron { transform: rotate(180deg); }
.acc-body { display: none; padding: 0 20px 20px; }
.acc-item.open .acc-body { display: block; }

#acc-services .acc-item { border-left: 3px solid transparent; transition: border-color 0.25s; }
#acc-services .acc-item.open { border-left-color: var(--hsw-red); }

#page-faq .acc-icon {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; min-width: 36px;
  border-radius: 8px; border: 2px solid #22C55E;
  background: rgba(34,197,94,0.10); color: #22C55E; flex-shrink: 0;
}
#page-faq .acc-icon svg { display: block; stroke: #22C55E; fill: none; }

.htabs-wrap { margin: 1rem 0; }
.htabs-nav {
  display: flex; gap: 4px;
  overflow-x: auto; scrollbar-width: none;
  margin-bottom: 0; border-bottom: 1px solid var(--border);
}
.htabs-nav::-webkit-scrollbar { display: none; }
.htab-btn {
  padding: 10px 18px;
  font-family: var(--font-head); font-size: 13.5px; font-weight: 600;
  letter-spacing: 0.04em; color: var(--text-muted);
  cursor: pointer; border: none; background: transparent;
  white-space: nowrap; border-bottom: 2.5px solid transparent;
  margin-bottom: -1px; transition: all 0.18s;
}
.htab-btn:hover { color: var(--white); }
.htab-btn.active { color: var(--hsw-red-light); border-bottom-color: var(--hsw-red); }
.htab-pane { display: none; padding: 20px 0; }
.htab-pane.active { display: block; }

.layer-stack { display: flex; flex-direction: column; gap: 8px; }
.layer {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 14px 18px; border-radius: 12px;
  border: 1px solid var(--border);
}
.layer-num   { font-family: var(--font-head); font-size: 22px; font-weight: 800; min-width: 28px; }
.layer-title { font-family: var(--font-head); font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.layer-desc  { font-size: var(--fs-small); color: var(--text-muted); }

.arch-diagram {
  background: var(--glass-bg); border: 1px solid var(--border);
  border-radius: 16px; padding: 1.75rem; text-align: center;
}
.arch-row {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap; margin-bottom: 12px;
}
.arch-box {
  background: var(--glass-bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 18px;
  min-width: 160px; flex: 1; max-width: 280px;
}
.arch-box-title  { font-family: var(--font-head); font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.arch-box-sub    { font-size: 12px; line-height: 1.4; }
.arch-connector  { display: flex; align-items: center; gap: 12px; margin: 12px auto; max-width: 600px; }
.arch-line       { flex: 1; height: 1px; background: var(--border); }
.arch-label      { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }
.arch-chips      { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 4px; }
.arch-chip       { padding: 6px 14px; background: var(--glass-bg2); border: 1px solid var(--border); border-radius: 20px; font-size: 12px; font-weight: 600; color: var(--text-muted); }

.spectrum { display: flex; border-radius: 10px; overflow: hidden; height: 42px; margin: 1rem 0; }
.spec-seg { display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; flex: 1; }

.concept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px; margin-top: 1.5rem;
}
.concept-card {
  background: var(--glass-bg); border: 1px solid var(--border);
  border-radius: 16px; padding: 22px;
  transition: all 0.25s; cursor: pointer; position: relative; overflow: hidden;
}
.concept-card:hover {
  border-color: var(--border-glow); background: var(--glass-bg2);
  transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.concept-card h3  { font-family: var(--font-head); font-size: 15px; margin-top: 10px; margin-bottom: 6px; letter-spacing: 0.02em; }
.concept-card p   { font-size: 13px; margin: 0; }
.concept-num      { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); opacity: 0.7; }

.surface { background: var(--glass-bg); border: 1px solid var(--border); border-radius: 10px; padding: 16px 18px; margin-bottom: 8px; }
.surface:last-child  { margin-bottom: 0; }
.surface-title { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 5px; letter-spacing: 0.02em; }
.surface-desc  { font-size: 12.5px; color: var(--text-muted); line-height: 1.6; }

.voice-wave { display: flex; align-items: center; gap: 3px; height: 32px; }
.voice-bar  { width: 4px; background: var(--cyan); border-radius: 2px; animation: voiceAnim 0.9s ease-in-out infinite; }
.voice-bar:nth-child(1) { animation-delay: 0s;   height: 14px; }
.voice-bar:nth-child(2) { animation-delay: 0.1s; height: 22px; }
.voice-bar:nth-child(3) { animation-delay: 0.2s; height: 30px; }
.voice-bar:nth-child(4) { animation-delay: 0.3s; height: 22px; }
.voice-bar:nth-child(5) { animation-delay: 0.2s; height: 30px; }
.voice-bar:nth-child(6) { animation-delay: 0.1s; height: 22px; }
.voice-bar:nth-child(7) { animation-delay: 0s;   height: 14px; }
@keyframes voiceAnim {
  0%, 100% { transform: scaleY(0.4); opacity: 0.5; }
  50%       { transform: scaleY(1.0); opacity: 1.0; }
}

.showcase-card {
  background: var(--glass-bg2); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden; transition: all 0.2s;
}
.showcase-card:hover { border-color: var(--border-glow); transform: translateY(-2px); }
.showcase-header {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 20px; border-bottom: 1px solid var(--border); margin-bottom: 1.25rem;
}
.showcase-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; flex-shrink: 0;
}
.showcase-title    { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.showcase-industry { font-size: 12px; color: var(--text-muted); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.showcase-body     { padding: 0 20px 16px; }
.showcase-flow     { display: flex; flex-direction: column; gap: 8px; margin-bottom: 1rem; }
.showcase-step     { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: rgba(255,255,255,0.80); line-height: 1.5; }
.showcase-step-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 6px; }
.showcase-result   {
  padding: 10px 14px;
  background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.20);
  border-radius: 8px; font-size: 13px; font-weight: 700; color: var(--green);
  font-family: var(--font-head); margin: 0 20px 16px;
}

.roi-card        { background: var(--glass-bg); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.roi-card-header { padding: 10px 16px; background: var(--glass-bg2); font-family: var(--font-head); font-size: 14px; font-weight: 700; border-bottom: 1px solid var(--border); }
.roi-card-body   { padding: 12px 16px; }
.roi-row         { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 13px; gap: 12px; }
.roi-row:last-child { border-bottom: none; }
.roi-label { color: var(--text-muted); flex: 1; }
.roi-val   { font-weight: 700; font-family: var(--font-head); white-space: nowrap; }
.roi-val.neg    { color: var(--coral); }
.roi-val.pos    { color: var(--green); }
.roi-val.purple { color: var(--purple); }

.code-block {
  background: var(--navy-950); border: 1px solid var(--border);
  border-radius: 12px; padding: 18px;
  font-family: var(--font-mono); font-size: var(--fs-mono);
  color: #94e2d5; line-height: 1.75; overflow-x: auto;
}
.code-block .cm { color: #45475a; }
.code-block .ck { color: #89b4fa; }
.code-block .cs { color: #f9e2af; }
.code-block .cn { color: #cba6f7; }

.domains { display: flex; flex-wrap: wrap; gap: 10px; }
.domain  { padding: 8px 16px; background: var(--glass-bg2); border: 1px solid var(--border); border-radius: 20px; font-size: 13px; font-weight: 600; color: var(--text-muted); transition: all 0.2s; cursor: pointer; }
.domain:hover { border-color: var(--hsw-red); color: var(--hsw-red-light); background: rgba(255,102,0,0.06); }

#site-footer { background: var(--navy-900); border-top: 1px solid rgba(255,102,0,0.2); padding-top: 4rem; margin-top: 3rem; }
.footer-top {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem 3rem;
  display: grid;
  grid-template-columns: 280px 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand img    { height: 96px !important; width: auto !important; max-width: 320px !important; margin-bottom: 1.25rem; object-fit: contain; mix-blend-mode: screen; }
.footer-brand p      { font-size: 13.5px; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.5rem; }
.footer-social       { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); text-decoration: none; font-size: 16px;
  transition: all 0.2s; background: var(--glass-bg);
}
.footer-social a:hover {
  border-color: var(--hsw-red); color: var(--hsw-red-light);
  background: var(--hsw-red-dim); transform: translateY(-2px);
}
.footer-col h4 {
  font-family: var(--font-head); font-size: 14px; font-weight: 700;
  color: var(--white); letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 1.25rem; padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,102,0,0.3);
}
.footer-col ul  { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: 13.5px; color: var(--text-muted);
  text-decoration: none; transition: all 0.15s;
  display: flex; align-items: center; gap: 6px;
}
.footer-col ul li a::before { color: var(--hsw-red); opacity: 0.7; font-size: 14px; }
.footer-col ul li a:hover   { color: var(--white); padding-left: 4px; }
.footer-divider { border: none; border-top: 1px solid var(--border); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding: 1.25rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.footer-copy         { font-size: 13px; color: var(--text-muted); }
.footer-copy span    { color: var(--hsw-red-light); }
.footer-links        { display: flex; gap: 20px; }
.footer-links a      { font-size: 13px; color: var(--text-muted); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--hsw-red-light); }
.footer-contact-list { list-style: none !important; padding: 0 !important; margin: 0 !important; display: flex; flex-direction: column; gap: 10px; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--text-muted); line-height: 1.4; }
.footer-contact-list li svg { flex-shrink: 0; margin-top: 1px; stroke: var(--hsw-red-light); }
.footer-contact-list li a   { color: var(--text-muted); text-decoration: none; transition: color .2s; }
.footer-contact-list li a:hover { color: var(--hsw-red-light); }
.fcert { padding: 5px 10px; background: var(--glass-bg2); border: 1px solid var(--border); border-radius: 20px; font-size: 11px; font-weight: 600; color: var(--text-muted); white-space: nowrap; }

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 8px; padding: 8px;
  cursor: pointer; color: rgba(255,255,255,0.85);
  transition: all 0.2s; flex-shrink: 0;
  position: relative; z-index: 20;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.mobile-menu-toggle:hover  { border-color: var(--hsw-red); color: #fff; }
.mobile-menu-toggle:active { background: rgba(255,102,0,0.15); border-color: var(--hsw-red); }

.nav-lang-mobile  { display: none; }
.nav-phone-mobile { display: none; }

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.page.active .hero-inner { animation: fadeIn 0.4s ease forwards; }

/* pulse-glow removed - box-shadow animation promotes GPU layer */
.pulse { box-shadow: 0 0 0 0 rgba(255,102,0,0.3); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px; margin-top: 1.5rem;
}
.portfolio-card {
  background: var(--glass-bg); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden; transition: all 0.25s;
}
.portfolio-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
.portfolio-thumb    { position: relative; width: 100%; aspect-ratio: 16/10; overflow: hidden; background: var(--navy-800); min-height: 160px; }
.portfolio-img      { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform 0.4s; }
.portfolio-card:hover .portfolio-img { transform: scale(1.04); }
.portfolio-img-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(135deg, var(--navy-800), var(--navy-700)); font-size: 13px; color: var(--text-muted); font-family: var(--font-head); }
.portfolio-overlay  { position: absolute; inset: 0; background: linear-gradient(to top, rgba(2,10,20,0.85) 0%, transparent 60%); display: flex; align-items: flex-end; justify-content: flex-end; padding: 12px; opacity: 0; transition: opacity 0.25s; }
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay span { font-family: var(--font-head); font-size: 12px; font-weight: 700; color: var(--hsw-gold); letter-spacing: 0.08em; text-transform: uppercase; }
.portfolio-info     { padding: 14px 16px; }
.portfolio-title    { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 4px; letter-spacing: 0.02em; }
.portfolio-meta     { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.portfolio-tags     { display: flex; gap: 6px; flex-wrap: wrap; }

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.partner-card {
  background: var(--glass-bg); border: 1px solid var(--border);
  border-radius: 16px; padding: 20px;
  text-decoration: none; display: flex; flex-direction: column; gap: 12px;
  transition: all 0.25s;
}
.partner-card:hover {
  border-color: var(--border-glow); transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.3); background: var(--glass-bg2);
}
.partner-favicon        { width: 32px; height: 32px; border-radius: 6px; margin-bottom: 8px; }
.partner-domain-preview img { width: 100%; border-radius: 8px; border: 1px solid var(--border); aspect-ratio: 4/3; object-fit: cover; object-position: top; }
.partner-name  { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.partner-desc  { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; margin-bottom: 6px; }
.partner-url   { font-family: var(--font-mono); font-size: 11px; color: var(--hsw-red-light); letter-spacing: 0.04em; }
.tech-partners-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.tech-partner-card  {
  background: var(--glass-bg); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px 14px; text-align: center;
  text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: all 0.2s;
}
.tech-partner-card:hover  { border-color: var(--border-glow); background: var(--glass-bg2); transform: translateY(-2px); }
.tech-partner-favicon     { width: 36px; height: 36px; border-radius: 8px; }
.tech-partner-name        { font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--white); letter-spacing: 0.02em; }
.tech-partner-desc        { font-size: 11px; color: var(--text-muted); line-height: 1.4; }

.team-grid  { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.team-card  {
  background: var(--glass-bg); border: 1px solid var(--border);
  border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 16px;
  transition: all 0.25s;
}
.team-card:hover { border-color: var(--border-glow); background: var(--glass-bg2); transform: translateY(-3px); box-shadow: 0 12px 36px rgba(0,0,0,0.3); }
.team-avatar  { width: 72px; height: 72px; border-radius: 18px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.team-name    { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 3px; letter-spacing: 0.02em; }
.team-role    { font-size: 13px; font-weight: 600; margin-bottom: 4px; font-family: var(--font-head); letter-spacing: 0.03em; }
.team-location { font-size: 12px; color: var(--text-muted); margin-bottom: 3px; }
.team-contact  { margin-bottom: 10px; }
.team-bio      { font-size: 13px; color: var(--text-muted); line-height: 1.65; margin: 0 !important; }

.welcome-slideshow {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden; background: var(--navy-950);
}
.wslide        { position: absolute; inset: 0; display: flex; align-items: flex-start; opacity: 0; transition: opacity 0.85s ease; z-index: 1; }
.wslide-active { opacity: 1; z-index: 2; position: relative; }
.wslide-bg     { position: absolute; inset: 0; }
.wslide-grid   { position: absolute; inset: 0; z-index: 1; }
.wslide-glow   { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.wslide-content {
  position: relative; z-index: 10;
  width: 100%; max-width: var(--container-max);
  margin: 0 auto; padding: 5rem 3rem 4rem;
  box-sizing: border-box;
}
.wslide-eyebrow {
  font-family: var(--font-mono); font-size: var(--fs-mono);
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan);
  margin-bottom: 1.4rem; opacity: 0; transform: translateY(10px);
  transition: opacity 0.6s 0.1s, transform 0.6s 0.1s;
}
.wslide-active .wslide-eyebrow { opacity: 1; transform: translateY(0); }
.wslide-title {
  font-family: 'Syne', var(--font-head), sans-serif;
  font-size: var(--fs-welcome);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.025em;
  color: var(--white); margin-bottom: 1.4rem; max-width: 780px;
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.65s 0.18s, transform 0.65s 0.18s;
}
.wslide-active .wslide-title { opacity: 1; transform: translateY(0); }
.wslide-hl-text { font-style: normal; font-weight: 800; }
.wslide-ghost   { display: block; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,0.16); font-weight: 800; }
.wslide-desc {
  font-size: var(--fs-lead); color: rgba(255,255,255,0.62);
  max-width: 580px; line-height: 1.78; margin-bottom: 2.2rem;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.65s 0.28s, transform 0.65s 0.28s;
}
.wslide-active .wslide-desc { opacity: 1; transform: translateY(0); }
.wslide-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.6s 0.38s, transform 0.6s 0.38s;
}
.wslide-active .wslide-actions { opacity: 1; transform: translateY(0); }
.wslide-dots {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 20;
}
.wslide-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.25); border: none; cursor: pointer; transition: all 0.25s; padding: 0; }
.wslide-dot-active { background: var(--hsw-red); width: 24px; border-radius: 4px; }
.wslide-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(2,10,20,0.5); border: 1px solid rgba(255,255,255,0.12);
  color: white; width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 20; transition: all 0.2s; backdrop-filter: none; -webkit-backdrop-filter: none;
}
.wslide-arrow:hover { background: rgba(255,102,0,0.35); border-color: rgba(255,102,0,0.6); }
.wslide-prev { left: 20px; }
.wslide-next { right: 20px; }

.wcarousel-wrap   { position: relative; }
.wcarousel        { overflow: hidden; }
.wcarousel-track  { display: flex; gap: 18px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
.wcarousel-track::-webkit-scrollbar { display: none; }
.wcarousel-item   { flex: 0 0 280px; min-width: 280px; }
.wcarousel-controls { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.wcarousel-btn    { width: 38px; height: 38px; border-radius: 10px; background: var(--glass-bg); border: 1px solid var(--border); color: var(--text-muted); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; flex-shrink: 0; }
.wcarousel-btn:hover { background: var(--hsw-red-dim); border-color: var(--hsw-red); color: white; }

.tcarousel-wrap    { position: relative; }
.tcarousel         { position: relative; min-height: 220px; }
.tcarousel-slide   { display: none; animation: tFadeIn 0.5s ease; }
.tcarousel-active  { display: block; }
@keyframes tFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.tcarousel-card    { background: var(--glass-bg); border: 1px solid var(--border); border-left: 3px solid var(--hsw-gold); border-radius: 16px; padding: 2rem 2.25rem; transition: border-color 0.2s; }
.tcarousel-card:hover { border-color: var(--hsw-gold); }
.tcarousel-stars   { color: var(--hsw-gold); font-size: 18px; letter-spacing: 2px; margin-bottom: 1rem; }
.tcarousel-quote   { font-size: 16px; line-height: 1.8; color: rgba(255,255,255,0.82); font-style: italic; margin: 0 0 1.5rem; quotes: none; }
.tcarousel-author  { display: flex; align-items: center; gap: 14px; }
.tcarousel-avatar  { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.tcarousel-name    { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 3px; }
.tcarousel-company { font-size: 12.5px; color: var(--text-muted); }
.tcarousel-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; }
.tcarousel-dots    { display: flex; gap: 8px; align-items: center; }
.tcarousel-dot     { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.20); cursor: pointer; transition: all 0.25s; display: inline-block; }
.tcarousel-dot-active { background: var(--hsw-gold); width: 22px; border-radius: 4px; }

#page-services .hero-tag { cursor: pointer; transition: all 0.2s; }
#page-services .hero-tag:hover { background: rgba(255,102,0,0.20); border-color: rgba(255,102,0,0.50); color: var(--white); transform: translateY(-1px); }
#page-services .sb-more-btn { margin-top: auto; align-self: flex-start; }

#page-terms h2, #page-privacy h2 {
  font-size: 1.1rem; margin-bottom: 0.5rem;
  color: var(--hsw-red-light);
  border-left: 3px solid var(--hsw-red); padding-left: 12px;
}

input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.25); }
input, textarea, select { color-scheme: dark; }

#mob-nav {
  display: none;
  position: fixed;
  top: calc(var(--header-h1) + var(--header-h2));
  left: 0;
  width: 100vw;
  background: #0a0e1a;
  border-top: 3px solid #FF6600;
  z-index: 610;
  max-height: calc(100dvh - var(--header-h1) - var(--header-h2));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex-direction: column;
  will-change: auto;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  contain: layout;
}
#mob-nav.open { display: flex; }
/* ── mob-nav items ── */
#mob-nav .mob-item { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.07); }
#mob-nav .mob-item:last-child { border-bottom: none; }
/* ── top-level row (button or <a>) ── */
#mob-nav .mob-row {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; min-height: 54px; padding: 0 20px; box-sizing: border-box;
  color: rgba(255,255,255,0.78);
  font-family: var(--font-head); font-size: 13px; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  text-decoration: none !important; cursor: pointer;
  background: transparent; border: none; border-left: 3px solid transparent;
  text-align: left; transition: background 0.15s, border-left-color 0.15s, color 0.15s;
}
/* ── inline <a> label inside button ── */
#mob-nav .mob-row-link {
  flex: 1; color: inherit; text-decoration: none !important;
  font-family: inherit; font-size: inherit; font-weight: inherit;
  letter-spacing: inherit; text-transform: inherit;
  background: transparent; border: none; text-align: left;
  padding: 0; cursor: pointer;
  display: block; line-height: 54px;
}
#mob-nav .mob-row:hover,
#mob-nav .mob-row:active { background: rgba(255,102,0,0.07); color: #fff; border-left-color: rgba(255,102,0,0.5); }
#mob-nav .mob-row-link:hover,
#mob-nav .mob-row-link:active { color: #fff; text-decoration: none !important; }
#mob-nav .mob-item.open > .mob-row {
  background: rgba(255,102,0,0.12); border-left-color: #FF6600; color: #FF8C3A;
}
/* ── chevron ── */
#mob-nav .mob-chevron { width: 16px; height: 16px; flex-shrink: 0; stroke: currentColor; fill: none; transition: transform 0.22s; }
#mob-nav .mob-item.open > .mob-row .mob-chevron { transform: rotate(180deg); }
/* ── sub-menu ── */
#mob-nav .mob-sub {
  display: none !important; width: 100%;
  background: rgba(0,0,0,0.35);
  border-top: 1px solid rgba(255,102,0,0.12);
  max-height: none; overflow: visible;
}
#mob-nav .mob-item.open > .mob-sub { display: block !important; }
#mob-nav .mob-sub a {
  display: block; width: 100%; box-sizing: border-box;
  padding: 13px 20px 13px 34px;
  color: rgba(255,255,255,0.62);
  font-family: var(--font-body); font-size: 13.5px; font-weight: 500;
  letter-spacing: 0.01em; text-transform: none;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all 0.15s;
}
#mob-nav .mob-sub a:last-child { border-bottom: none; }
#mob-nav .mob-sub a:hover,
#mob-nav .mob-sub a:active {
  color: #FF8C3A; background: rgba(255,102,0,0.09);
  padding-left: 40px; text-decoration: none !important;
}
/* ── standalone <a> used as mob-row (no chevron, no dropdown) ── */
/* mob-close-bar removed */


a.mob-row { text-decoration: none !important; }


/* ── Hamburger → X when menu open ── */
.mobile-menu-toggle { position: relative; z-index: 620; display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: none; cursor: pointer; color: rgba(255,255,255,0.85); transition: color 0.15s; border-radius: 8px; }
.mobile-menu-toggle:hover { color: #fff; background: rgba(255,102,0,0.1); }
.mobile-menu-toggle .icon-menu { display: block; }
.mobile-menu-toggle .icon-close { display: none; }
.mobile-menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.mobile-menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.mobile-menu-toggle[aria-expanded="true"] { color: #FF8C3A; background: rgba(255,102,0,0.12); }

/* ── Floating nav-toggle FAB (appears after scrolling past nav) ── */
#nav-fab {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 650;
  background: linear-gradient(135deg, #CC5200, #FF6600);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 18px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255,102,0,0.5);
  align-items: center;
  gap: 8px;
  transition: opacity 0.25s, transform 0.25s;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}
#nav-fab.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#nav-fab svg { width: 16px; height: 16px; flex-shrink: 0; }

/* panel-close-bar removed */

@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .main-nav { gap: 0; }
  .main-nav > .mnav-item > a,
  .main-nav > .mnav-item > span { padding: 0 10px; font-size: 15px; }
  #nav-scroll-row { overflow-x: auto; }
}

/* ── Header fit between 769px and 1440px ─────────────────────────
   The top bar (logo + main nav + call button + language selector) needs
   ~1410px. Below that it overflowed to the right and pushed the language
   selector partly / fully off-screen. Step things down so it always fits. */
@media (max-width: 1440px) {
  .btn-quote > span { display: none; }          /* phone icon only */
  .btn-quote { padding: 9px 11px; }
}
@media (max-width: 1240px) {
  .logo-wrap img { height: 100px; }
  .main-nav > .mnav-item > a,
  .main-nav > .mnav-item > span { padding: 0 10px; font-size: 15px; }
}
@media (min-width: 769px) and (max-width: 1100px) {
  #header-top { padding: 0 1rem; }
  .logo-wrap img { height: 76px; }
  .main-nav > .mnav-item > a,
  .main-nav > .mnav-item > span { padding: 0 8px; font-size: 14px; letter-spacing: 0.02em; }
  /* language selector moves to the secondary nav bar (same as mobile) */
  .header-btns .lang-selector { display: none !important; }
  .nav-lang-mobile { display: flex !important; align-items: center; flex-shrink: 0; position: relative; padding: 0 8px; }
  .nav-lang-mobile .lang-btn { padding: 5px 8px; font-size: 12px; }
}
@media (min-width: 769px) and (max-width: 900px) {
  #header-top { padding: 0 0.75rem; gap: 0.5rem; }
  .logo-wrap img { height: 64px; }
  .main-nav > .mnav-item > a,
  .main-nav > .mnav-item > span { padding: 0 6px; font-size: 13px; letter-spacing: 0.01em; }
  .header-btns .btn-quote { display: none !important; }
  .nav-phone-mobile { display: flex !important; align-items: center; justify-content: center; width: 36px; height: 36px; margin-right: 8px; background: linear-gradient(105deg, #CC5200 0%, #FF6600 55%, #FF8C3A 100%); border-radius: 8px; color: #fff; text-decoration: none; flex-shrink: 0; }
}

@media (max-width: 860px) {

  :root { --header-h1: 110px; --header-total: 158px; }


  #nav-scroll-row  { display: none; }
  #nav-toggle-btn  { display: flex; }
  #header-nav      { position: sticky; overflow: visible; }


  #mob-nav {
    position: fixed !important;
    top: calc(var(--header-h1) + var(--header-h2)) !important;
    width: 100vw !important;
    height: auto !important;
    max-height: calc(100dvh - var(--header-h1) - var(--header-h2)) !important;
    overflow-y: scroll !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-y: contain !important;
  }


  #nav-dropdown-panel {
    position: fixed !important;
    top: calc(var(--header-h1) + var(--header-h2)) !important;
    left: 0 !important; right: 0 !important;
    width: 100vw !important;
    max-height: calc(100dvh - var(--header-h1) - var(--header-h2)) !important;
    overflow-y: scroll !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-y: contain !important;
    z-index: 590 !important;
  }
  #nav-dropdown-panel .nav-btn { height: 50px !important; font-size: 13px !important; }


  .welcome-slideshow {
    height: calc(100vh - var(--header-total)) !important;
    height: calc(100dvh - var(--header-total)) !important;
    min-height: 420px !important;
  }
  .wslide-active     { position: absolute !important; }
  .wslide            { align-items: flex-start !important; }
  .wslide-content    { padding: 2.5rem 1.5rem 3rem !important; width: 100% !important; box-sizing: border-box !important; }
  .wslide-title      { font-size: clamp(1.55rem, 6.5vw, 2.5rem) !important; letter-spacing: -0.02em !important; }
  .wslide-desc       { font-size: 14px !important; max-width: 100% !important; }
  .wslide-eyebrow    { font-size: 9.5px !important; }


  .lang-emoji     { font-size: 18px !important; display: inline-block !important; }
  .lang-btn-code  { display: inline-block !important; }


  .nav-lang-mobile .lang-btn { display: flex; align-items: center; gap: 5px; padding: 5px 10px; background: transparent; border: 1px solid rgba(255,255,255,0.15); border-radius: 6px; cursor: pointer; color: rgba(255,255,255,0.88); }
  .nav-lang-mobile .lang-dropdown { position: absolute; right: 0; top: calc(100% + 6px); z-index: 800; min-width: 140px; background: rgba(5,15,28,0.98); border: 1px solid rgba(255,102,0,0.25); border-radius: 10px; display: none; flex-direction: column; box-shadow: 0 8px 30px rgba(0,0,0,0.5); }
  .nav-lang-mobile.open .lang-dropdown { display: flex; }


  /* body.nav-panel-open scroll lock removed - fixed menus overlay without locking */

  /* Universal backdrop-filter suppression when any menu open */
  /* Suppress backdrop-filter on specific elements when any menu is open.
     Only target elements that actually define backdrop-filter in this CSS.
     Avoid universal wildcard :not() - descendant :not(x *) is CSS4 only. */
  body.nav-panel-open .card,
  body.nav-panel-open .surface,
  body.nav-panel-open .slide-tag,
  body.nav-panel-open .slide-nav-btn,
  body.nav-panel-open .wslide-arrow,
  body.nav-panel-open .acc-item,
  body.nav-panel-open .lang-dropdown,
  body.nav-panel-open [class*="glass"],
  body.nav-panel-open .hero-bg,
  body.nav-panel-open .wslide-bg {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* nav-dropdown-backdrop overlay - solid colour only, never blurs */
  #nav-dropdown-backdrop {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(0,0,0,0.55) !important;
  }
  /* header stays sticky - no position:fixed needed */
}

@media (max-width: 768px) {


  #header-top { padding: 0 0.75rem 0 1rem; overflow: visible; }
  .logo-wrap img { height: 92px; max-width: 360px; }
  .header-btns { gap: 0; padding-right: 0; display: flex; align-items: center; }
  .header-btns .btn-quote   { display: none !important; }
  .header-btns .lang-selector { display: none !important; }
  .mobile-menu-toggle { display: flex; align-items: center; justify-content: center; position: relative; z-index: 620; }
  .main-nav { display: none !important; }


  #header-nav { padding: 0; overflow: visible; justify-content: space-between; position: sticky; }
  #nav-scroll-row { display: none; }
  #nav-toggle-btn { display: flex; flex: 1; margin-left: 0.75rem; }
  #nav-dropdown-panel .nav-btn { height: 46px; font-size: 13px; }


  .nav-lang-mobile  { display: flex !important; align-items: center; flex-shrink: 0; position: relative; padding: 0 6px; }
  .nav-lang-mobile .lang-btn   { padding: 5px 8px; font-size: 12px; color: rgba(255,255,255,0.88); background: transparent; border: 1px solid rgba(255,255,255,0.15); border-radius: 6px; display: flex; align-items: center; gap: 4px; cursor: pointer; }
  .nav-lang-mobile .lang-dropdown { right: 0; top: calc(100% + 6px); z-index: 800; }
  .nav-phone-mobile { display: flex !important; align-items: center; justify-content: center; width: 36px; height: 36px; margin-right: 8px; background: linear-gradient(105deg, #CC5200 0%, #FF6600 55%, #FF8C3A 100%); border-radius: 8px; color: white; text-decoration: none; flex-shrink: 0; box-shadow: 0 2px 8px rgba(255,102,0,0.35); }
  .nav-phone-mobile:hover { opacity: 0.88; }
  #mob-nav { top: calc(var(--header-h1) + var(--header-h2)); max-height: calc(100dvh - var(--header-h1) - var(--header-h2)); }


  .hero-slideshow { height: calc(100vh - 128px); min-height: 420px; }
  .slide { align-items: flex-start; }
  .slide-content { padding: 2.5rem 1.5rem 0; }
  .slide-title   { font-size: clamp(1.55rem, 6.5vw, 2.5rem); line-height: 1.4; }
  .slide-desc    { font-size: 15px; max-width: 100%; }
  .slide-tag     { width: calc(46% - 4px); text-align: center; justify-content: center; }
  .slide-nav-btn { width: 36px; height: 36px; background: rgba(2,10,20,0.65); }
  .slide-prev { left: 10px; }
  .slide-next { right: 10px; }


  .hero      { padding: 3rem 1.25rem 2.5rem; }
  .container { padding: 2rem 1.25rem; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-top    { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-links  { justify-content: center; flex-wrap: wrap; gap: 12px; }


  .wslide-content    { padding: 2.5rem 1.5rem 3rem; }
  .wslide-title      { font-size: clamp(1.55rem, 6.5vw, 2.5rem); }
  .wslide-desc       { font-size: 15px; max-width: 100%; }
  .wslide-arrow      { width: 36px; height: 36px; }
  .wslide-prev       { left: 10px; }
  .wslide-next       { right: 10px; }
  .wcarousel-item    { flex: 0 0 100%; min-width: 100%; }
  .tcarousel-card    { padding: 1.5rem; }
  .tcarousel-quote   { font-size: 14px; }
}

@media (max-width: 600px) {

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


  .stats { grid-template-columns: 1fr 1fr; }


  #page-webdev .stats .stat,
  #page-mobileapp .stats .stat,
  #page-software .stats .stat,
  #page-marketing .stats .stat,
  #page-about .stats .stat {
    border-right: none !important;
    border-bottom: 1px solid var(--border);
  }


  .portfolio-grid     { grid-template-columns: 1fr 1fr; gap: 12px; }
  .partners-grid      { grid-template-columns: 1fr; }
  .tech-partners-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid          { grid-template-columns: 1fr; }


  #page-contact .grid.g2,
  #page-quote .grid.g2 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .header-btns { gap: 6px; }
  #header-nav  { padding: 0 0.75rem; }


  .hero-slideshow    { min-height: 380px; }
  .welcome-slideshow { min-height: 420px; }
  .slide             { align-items: flex-start; }
  .slide-content     { padding: 2rem 1.25rem 0; }
  .slide-title       { font-size: clamp(1.35rem, 7.5vw, 2rem); letter-spacing: -0.02em; line-height: 1.4; }
  .slide-eyebrow     { font-size: 10px; }
  .slide-desc        { font-size: 14px; }
  .slide-tag         { font-size: 11.5px; padding: 5px 10px; width: calc(46% - 4px); text-align: center; justify-content: center; }


  .wslide-content    { padding: 2rem 1.25rem 2.5rem; }
  .wslide-title      { font-size: clamp(1.35rem, 7.5vw, 2rem); letter-spacing: -0.02em; }
  .wslide-eyebrow    { font-size: 9.5px; }
  .wslide-desc       { font-size: 14px; }
  .wcarousel-item    { flex: 0 0 100%; min-width: 100%; }


  .grid.g4 { grid-template-columns: 1fr; }


  .portfolio-grid { grid-template-columns: 1fr; }
}


/* ── Utility classes extracted from inline styles ── */
.tab-cell { border:none;border-right:1px solid var(--border);border-radius:0;padding:1.75rem 1rem; }
.label-sm { font-size:12px;font-weight:700;color:var(--text-muted);letter-spacing:0.08em;text-transform:uppercase;display:block;margin-bottom:6px; }
.form-input { width:100%;background:rgba(255,255,255,0.05);border:1px solid var(--border);border-radius:10px;padding:10px 14px;color:var(--white);font-family:var(--font-body);font-size:14px;outline:none;transition:border-color .2s; }
.label-xs { font-size:11px;font-weight:700;color:var(--text-muted);letter-spacing:0.08em;text-transform:uppercase; }
.link-muted-sm { color:var(--text-muted);text-decoration:none;font-size:12px; }
.glass-pad { background:var(--glass-bg);border:1px solid var(--border);border-radius:20px;padding:2rem; }
.success-box { display:none;background:rgba(34,197,94,0.1);border:1px solid var(--green);border-radius:12px;padding:1rem 1.25rem;margin-top:1.5rem; }
.success-title { color:var(--green);font-weight:700;font-family:var(--font-head);margin-bottom:4px; }
.icon-box-red { width:44px;height:44px;border-radius:12px;background:rgba(255,102,0,0.12);border:1px solid rgba(255,102,0,0.2); }
.meta-label { font-size:12px;color:var(--text-muted);text-transform:uppercase;letter-spacing:0.1em;font-weight:700; }
.chk-hsw { width:16px;height:16px;cursor:pointer;accent-color:var(--hsw-red); }
.link-white { color:var(--white);text-decoration:none;font-size:15px;font-weight:600; }
.action-row { margin-top:1.25rem;display:flex;gap:12px;flex-wrap:wrap;align-items:center; }


/* ══════════════════════════════════════════════════════════════
   AI HERO SECTION
══════════════════════════════════════════════════════════════ */
.ai-hero {
  position: relative;
  background: #06090f;
  padding: 80px 0 56px;
  overflow: hidden;
}
.ai-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ai-hero-grid {
  position: absolute;
  inset: 0;
}
.ai-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.ai-hero-glow-1 {
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 760px; height: 420px;
  background: radial-gradient(ellipse at center,
    rgba(255,102,0,0.09) 0%,
    rgba(200,168,75,0.05) 45%,
    transparent 70%);
}
.ai-hero-glow-2 {
  bottom: -40px; right: 10%;
  width: 340px; height: 220px;
  background: radial-gradient(ellipse at center,
    rgba(123,92,246,0.07) 0%,
    transparent 70%);
}

.ai-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

/* Badge */
.ai-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,102,0,0.08);
  border: 1px solid rgba(255,102,0,0.28);
  border-radius: 100px;
  padding: 5px 18px 5px 10px;
  margin-bottom: 28px;
  animation: aiHeroFadeUp 0.6s ease both;
}
.ai-hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hsw-red);
  box-shadow: 0 0 8px var(--hsw-red);
  animation: aiHeroPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes aiHeroPulse {
  0%, 100% { box-shadow: 0 0 8px var(--hsw-red); opacity: 1; }
  50%       { box-shadow: 0 0 3px var(--hsw-red); opacity: 0.6; }
}
.ai-hero-badge span:last-child {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hsw-red);
}

/* Main headline */
.ai-hero-h1 {
  font-family: var(--font-head);
  font-size: clamp(44px, 7.5vw, 88px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 12px;
  white-space: nowrap;
  animation: aiHeroFadeUp 0.7s ease 0.08s both;
}
@media (max-width: 600px) {
  .ai-hero-h1 { white-space: normal; font-size: clamp(36px, 10vw, 56px); }
}
.ai-hero-accent {
  display: inline;
  background: linear-gradient(105deg, var(--hsw-red), var(--hsw-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 28px rgba(255,102,0,0.25));
}

/* Services strip */
.ai-hero-services {
  font-family: var(--font-head);
  font-size: clamp(13px, 2vw, 18px);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin: 0 0 28px;
  animation: aiHeroFadeUp 0.7s ease 0.14s both;
}
.ai-hero-sep {
  color: var(--hsw-red);
  margin: 0 12px;
  opacity: 0.7;
}

/* Rule line */
.ai-hero-rule {
  width: 72px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--hsw-red), var(--hsw-gold), transparent);
  margin: 0 auto 28px;
  animation: aiHeroFadeUp 0.7s ease 0.18s both;
}

/* Subheadline */
.ai-hero-sub {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 660px;
  margin: 0 auto 44px;
  animation: aiHeroFadeUp 0.7s ease 0.22s both;
}

/* CTA row */
.ai-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 52px;
  animation: aiHeroFadeUp 0.7s ease 0.28s both;
}
.ai-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  padding: 13px 24px;
  transition: all 0.22s ease;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.ai-hero-btn-primary {
  background: linear-gradient(105deg, var(--hsw-red-dark), var(--hsw-red), #ff8c35);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255,102,0,0.3);
}
.ai-hero-btn-primary:hover {
  box-shadow: 0 6px 28px rgba(255,102,0,0.5);
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
}
.ai-hero-btn-outline {
  background: transparent;
  color: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.14);
}
.ai-hero-btn-outline:hover {
  border-color: var(--hsw-red);
  color: var(--hsw-red);
  background: rgba(255,102,0,0.06);
  transform: translateY(-2px);
  text-decoration: none;
}
.ai-hero-btn-ghost {
  background: transparent;
  color: var(--hsw-red);
  border: 1px solid rgba(255,102,0,0.45);
}
.ai-hero-btn-ghost:hover {
  background: var(--hsw-red);
  color: #fff;
  border-color: var(--hsw-red);
  box-shadow: 0 6px 22px rgba(255,102,0,0.32);
  transform: translateY(-2px);
  text-decoration: none;
}

/* Tagline bar */
.ai-hero-tagbar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 8px;
  border-top: 1px solid rgba(255,102,0,0.12);
  padding-top: 24px;
  animation: aiHeroFadeUp 0.7s ease 0.38s both;
}
.ai-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}
.ai-hero-tag:hover { color: rgba(255,102,0,0.75); }
.ai-hero-tag-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--hsw-red);
  opacity: 0.5;
  flex-shrink: 0;
}
.ai-hero-tag-sep {
  width: 24px;
  height: 1px;
  background: rgba(255,102,0,0.2);
}

/* Fade-up keyframe */
@keyframes aiHeroFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 640px) {
  .ai-hero { padding: 52px 0 40px; }
  .ai-hero-ctas { flex-direction: column; align-items: center; }
  .ai-hero-btn { width: 100%; max-width: 300px; justify-content: center; }
  .ai-hero-tag-sep { display: none; }
  .ai-hero-tagbar { gap: 10px 0; flex-direction: column; }
}
/* ══ END AI HERO SECTION ══════════════════════════════════════ */

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
/* Reduce layout thrashing on animations */
.loader-logo, .hero-section, #site-footer { contain: layout style; }
/* GPU-accelerated transitions */
.btn, .service-box, .card, .mnav-item > a, .mob-row { will-change: auto; }
/* Scroll snap and overscroll containment */
html { scroll-behavior: smooth; overscroll-behavior: none; }
/* Avoid invisible offscreen rendering */
.footer-col, .blog-card, .portfolio-card { content-visibility: auto; contain-intrinsic-size: 0 200px; }

/* ===== MOBILE PERFORMANCE OVERRIDES ===== */
@media (max-width: 768px) {
  body::before {
    display: none !important;
  }
  /* Reduce animation complexity on mobile */
  @media (prefers-reduced-motion: no-preference) {
    * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  }
  .hero-section::before, .hero-inner::before {
    display: none !important;
  }
  /* Reduce backdrop-filter (heavy on mobile GPU) */
  .mnav-dropdown, #mob-nav, #nav-dropdown-panel, .lang-dropdown {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  /* Disable will-change on mobile (causes extra memory) */
  * { will-change: auto !important; }
  /* Simplify box shadows on mobile */
  .card, .service-box, .surface { box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important; }
}

/* Respect prefers-reduced-motion for ALL users */
@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;
  }
}
