/* ==========================================================================
   Alimaz Technologies — Unified Enterprise Subpage Design System (v8.0.0)
   Pure Gallery White Default (light) + Midnight Obsidian Option (dark)
   Plus Jakarta Sans + Inter + JetBrains Mono • Royal Cobalt (#2E6CF6)
   ========================================================================== */

:root,
[data-theme="light"] {
  --bg: #ffffff;
  --bg-elev: #f6f8fc;
  --surface: #ffffff;
  --surface-2: #edf2fa;
  --footer-bg: #f6f8fc;
  --header-bg: rgba(255, 255, 255, 0.92);
  --header-bg-scrolled: rgba(255, 255, 255, 0.98);
  --drawer-bg: rgba(255, 255, 255, 0.996);

  --ink: #1f242d;
  --ink-soft: #4e5768;
  --muted: #768094;

  --accent: #2e6cf6;
  --accent-deep: #1e54d4;
  --accent-soft: rgba(46, 108, 246, 0.08);

  --teal: #10b981;
  --cyan: #06b6d4;
  --violet: #5b46f6;
  --wa-bg: rgba(16, 185, 129, 0.07);
  --wa-bg-hover: rgba(16, 185, 129, 0.13);
  --wa-border: rgba(16, 185, 129, 0.3);
  --wa-ink: #047857;

  --line: #e6ecf4;
  --line-strong: #cfd9e7;
  --line-accent: rgba(46, 108, 246, 0.28);

  --pinstripe: repeating-linear-gradient(90deg, rgba(46, 108, 246, 0.12) 0 1px, transparent 1px 10px);
  --pinstripe-teal: repeating-linear-gradient(90deg, rgba(16, 185, 129, 0.14) 0 1px, transparent 1px 10px);
  --hero-glow: radial-gradient(ellipse 68% 45% at 75% 8%, rgba(46, 108, 246, 0.045), transparent 65%);
  --featured-grad: linear-gradient(180deg, rgba(46, 108, 246, 0.055), #ffffff 42%);

  --f-display: 'Plus Jakarta Sans', 'Noto Sans JP', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --f-body: 'Inter', 'Noto Sans JP', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;

  --max-w: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 14px 36px rgba(15, 23, 42, 0.06);
  --shadow-frame: 0 20px 54px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 26px 70px rgba(15, 23, 42, 0.13);
}

[data-theme="dark"] {
  --bg: #07090f;
  --bg-elev: #0e131e;
  --surface: #121826;
  --surface-2: #192234;
  --footer-bg: #05070c;
  --header-bg: rgba(7, 9, 15, 0.9);
  --header-bg-scrolled: rgba(7, 9, 15, 0.97);
  --drawer-bg: rgba(7, 9, 15, 0.996);

  --ink: #f2f5fb;
  --ink-soft: #a8b3c7;
  --muted: #76839c;

  --accent: #4c82ff;
  --accent-deep: #346bf2;
  --accent-soft: rgba(76, 130, 255, 0.14);

  --wa-bg: rgba(16, 185, 129, 0.12);
  --wa-bg-hover: rgba(16, 185, 129, 0.2);
  --wa-border: rgba(52, 211, 153, 0.34);
  --wa-ink: #34d399;

  --line: rgba(242, 245, 251, 0.09);
  --line-strong: rgba(242, 245, 251, 0.18);
  --line-accent: rgba(96, 165, 250, 0.32);

  --pinstripe: repeating-linear-gradient(90deg, rgba(96, 165, 250, 0.14) 0 1px, transparent 1px 10px);
  --pinstripe-teal: repeating-linear-gradient(90deg, rgba(16, 185, 129, 0.16) 0 1px, transparent 1px 10px);
  --hero-glow: radial-gradient(ellipse 68% 45% at 75% 8%, rgba(76, 130, 255, 0.09), transparent 65%);
  --featured-grad: linear-gradient(180deg, rgba(76, 130, 255, 0.11), #121826 42%);

  --shadow-card: 0 16px 40px rgba(0, 0, 0, 0.35);
  --shadow-frame: 0 20px 54px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 26px 70px rgba(0, 0, 0, 0.6);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  transition: background-color 0.25s ease, color 0.25s ease;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 18px;
  z-index: 9999;
  font-weight: 700;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 16px; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  z-index: 900;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  transform-origin: left center;
  transform: scaleX(0);
  pointer-events: none;
}

/* ==========================================================================
   EXECUTIVE HEADER & MOBILE DRAWER (Exact Homepage Parity)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--header-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  background: var(--header-bg-scrolled);
  border-bottom-color: var(--line-strong);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 76px;
  transition: height 0.25s var(--ease);
}

.site-header.scrolled .nav {
  height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brand-svg {
  width: 34px;
  height: 34px;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.04;
}

.b-main {
  font-family: var(--f-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.b-sub {
  font-family: var(--f-mono);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 2px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links > a,
.nav-dd-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-links > a:hover,
.nav-links > a.is-current,
.nav-dd-btn:hover {
  color: var(--ink);
}

.nav-links > a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

.nav-links > a:hover::after,
.nav-links > a.is-current::after {
  transform: scaleX(1);
}

.nav-dd-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dd-wrap::after {
  content: '';
  position: absolute;
  left: -12px;
  right: -12px;
  top: 100%;
  height: 16px;
}

.nav-dd-btn svg {
  transition: transform 0.22s var(--ease);
  opacity: 0.7;
}

.nav-dd-wrap.is-open .nav-dd-btn svg {
  transform: rotate(180deg);
}

.nav-dd-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -12px;
  min-width: 246px;
  padding: 10px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 4px;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.22s var(--ease);
  z-index: 60;
}

@media (hover: hover) and (min-width: 980px) {
  .nav-dd-wrap:hover .nav-dd-menu {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}

.nav-dd-wrap.is-open .nav-dd-menu {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.nav-dd-menu a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 11px;
  border-radius: 8px;
  transition: background-color 0.15s ease;
}

.nav-dd-menu a:hover {
  background: var(--bg-elev);
}

.nav-dd-menu strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.nav-dd-menu span {
  font-size: 11.5px;
  color: var(--muted);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink-soft);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--ink);
}

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

.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle { color: var(--ink); }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: inline-block; }

.nav-cta-pill {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.2s var(--ease);
}

.nav-cta-pill:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
}

.hamburger {
  width: 40px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.hamburger span {
  width: 16px;
  height: 1.6px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.hamburger.active span:nth-child(1) { transform: translateY(3.8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { transform: translateY(-3.8px) rotate(-45deg); }

@media (min-width: 980px) {
  .nav-links { display: inline-flex; }
  .hamburger { display: none; }
  .nav-cta-pill { display: inline-flex; }
}

.mobile-menu {
  position: fixed;
  inset: 64px 0 0 0;
  height: calc(100dvh - 64px);
  z-index: 490;
  background: var(--drawer-bg);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
}

@media (min-width: 640px) {
  .mobile-menu {
    inset: 76px 0 0 0;
    height: calc(100dvh - 76px);
  }
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

body.is-menu-open #waChatWidget,
body.is-menu-open .to-top {
  opacity: 0 !important;
  visibility: hidden;
  pointer-events: none !important;
}

.m-menu-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 16px 18px 20px;
  display: grid;
  gap: 14px;
  align-content: start;
}

.m-acc-nav { display: grid; }
.m-acc-item { border-bottom: 1px solid var(--line); }

.m-acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 2px;
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
}

.m-acc-trigger > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu-num {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.m-acc-trigger svg {
  color: var(--muted);
  transition: transform 0.25s var(--ease);
}

.m-acc-item.is-open .m-acc-trigger svg {
  transform: rotate(180deg);
  color: var(--accent);
}

.m-acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s var(--ease);
}

.m-acc-item.is-open .m-acc-panel { grid-template-rows: 1fr; }

.m-acc-panel-inner {
  overflow: hidden;
  display: grid;
  gap: 6px;
}

.m-acc-item.is-open .m-acc-panel-inner { padding-bottom: 12px; }

.m-acc-panel-inner a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 9px;
  background: var(--bg-elev);
}

.m-acc-panel-inner a strong { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.m-acc-panel-inner a span { font-size: 11.5px; color: var(--muted); }

.m-direct-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.m-direct-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.m-utils {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
}

.m-util-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.m-util-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.m-theme-seg {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  gap: 2px;
}

.m-theme-opt {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 6px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.m-theme-opt.is-active {
  background: var(--ink);
  color: var(--bg);
}

.m-dock {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 12px 18px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.m-dock-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 10px;
  background: var(--wa-bg);
  border: 1px solid var(--wa-border);
  color: var(--wa-ink);
  font-size: 13px;
  font-weight: 600;
}

/* ==========================================================================
   BUTTONS & NETSOL SPLIT HERO STAGE
   ========================================================================== */
.btn-netsol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  padding: 6px 6px 6px 20px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  box-shadow: 0 10px 26px rgba(46, 108, 246, 0.24);
  transition: transform 0.25s var(--ease), background-color 0.2s ease, box-shadow 0.25s ease;
}

.btn-netsol:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(46, 108, 246, 0.34);
}

.btn-netsol-sq {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: #ffffff;
  color: var(--accent);
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}

.btn-netsol:hover .btn-netsol-sq {
  transform: translate(1px, -1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.25s var(--ease);
}

.btn-ghost:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.pg-hero {
  position: relative;
  padding: clamp(36px, 5vw, 72px) 0 clamp(48px, 5.5vw, 76px);
  border-bottom: 1px solid var(--line);
  background: var(--hero-glow), var(--bg);
  overflow: hidden;
}

.pg-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}

@media (min-width: 980px) {
  .pg-hero-grid {
    grid-template-columns: 1.06fr 0.94fr;
  }
}

.breadcrumb-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.breadcrumb-row a:hover { color: var(--accent); }

.ns-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-body);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  padding-left: 11px;
  border-left: 2px solid var(--line-strong);
  margin-bottom: 16px;
}

.pg-title {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 5vw, 3.85rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.032em;
  color: var(--ink);
  margin-bottom: 18px;
}

.pg-title .accent-word {
  color: var(--accent);
}

.pg-sub {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 54ch;
  margin-bottom: 26px;
}

.pg-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.ns-hero-markets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--muted);
}

.ns-hero-markets b {
  color: var(--ink);
  font-weight: 600;
}

/* Signature NETSOL Architectural Stage Pedestal */
.ns-hero-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
}

.ns-stage-card {
  position: relative;
  width: min(440px, 100%);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border-radius: 26px;
  transition: transform 0.35s var(--ease);
  will-change: transform;
}

.ns-stage-card.is-wide {
  width: min(500px, 100%);
  aspect-ratio: 4 / 3;
}

.ns-stage-bars-left {
  position: absolute;
  left: -4%;
  top: 4%;
  width: 34%;
  height: 46%;
  background: var(--pinstripe);
  pointer-events: none;
}

.ns-stage-bars-bottom {
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: 2%;
  height: 22px;
  background: var(--pinstripe-teal);
  border-radius: 6px;
  pointer-events: none;
}

.ns-stage-shape {
  position: absolute;
  width: 72%;
  height: 76%;
  border-radius: 22px 96px 22px 22px;
  background: linear-gradient(135deg, #d7e7ff 0%, #8eb6ff 100%);
  box-shadow: 0 24px 60px rgba(46, 108, 246, 0.14);
}

[data-stage-tone="teal"] .ns-stage-shape {
  background: linear-gradient(135deg, #25d366 0%, #10b981 100%);
  box-shadow: 0 24px 60px rgba(16, 185, 129, 0.16);
}

[data-stage-tone="sky"] .ns-stage-shape {
  background: linear-gradient(135deg, #c6f1fe 0%, #7dd3fc 100%);
  box-shadow: 0 24px 60px rgba(56, 189, 248, 0.16);
}

[data-theme="dark"] .ns-stage-shape {
  opacity: 0.24;
}

.ns-stage-visual {
  position: relative;
  z-index: 2;
  width: 84%;
  height: 84%;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: var(--shadow-frame);
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 16px;
}

.ns-stage-visual.is-photo {
  width: 90%;
  height: 90%;
  padding: 0;
}

.ns-stage-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: stageFloat 6s ease-in-out infinite;
}

.ns-stage-visual.is-photo img {
  object-fit: cover;
  animation: none;
}

@keyframes stageFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

.stage-mode-pills {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 5px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
}

.stage-mode-btn {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.stage-mode-btn.is-active {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(46, 108, 246, 0.25);
}

/* Interactive Live Stage Canvas inside 3D Page Hero */
.stage-canvas-shell {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.stage-canvas-shell canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  cursor: grab;
}

.stage-canvas-shell canvas:active {
  cursor: grabbing;
}

.stage-hud-chip {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e2e8f0;
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 600;
  color: #1f242d;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  white-space: nowrap;
}

.stage-hud-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
}

/* ==========================================================================
   SECTIONS, FROSTED BANDS, TABS, CARDS & WORK CAROUSELS
   ========================================================================== */
.pg-section {
  padding: clamp(54px, 6.5vw, 88px) 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.pg-section.is-alt {
  background: var(--bg-elev);
}

.sec-head {
  max-width: 720px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.sec-head.is-centered {
  margin-inline: auto;
  text-align: center;
}

.sec-head.split {
  max-width: none;
  display: grid;
  gap: 18px;
  align-items: end;
}

@media (min-width: 820px) {
  .sec-head.split {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
  }
}

.sec-kicker {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.sec-title {
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 3.6vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.028em;
  color: var(--ink);
  margin-bottom: 12px;
}

.sec-desc {
  font-size: clamp(14.5px, 1.25vw, 16.5px);
  color: var(--ink-soft);
  line-height: 1.68;
}

/* Frosted Pinstripe Band */
.pg-pinstripe-band {
  position: relative;
  padding: clamp(20px, 3vw, 34px);
  border-radius: var(--r-lg);
  background: var(--pinstripe);
}

.pg-glass-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(22px, 3.5vw, 40px);
  box-shadow: var(--shadow-card);
}

/* Grids & Elevation Cards */
.pg-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 640px) {
  .pg-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 980px) {
  .pg-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pg-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.pg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2.5vw, 28px);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 0.3s var(--ease), border-color 0.25s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.pg-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s var(--ease);
}

.pg-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-accent);
  box-shadow: var(--shadow-card);
}

.pg-card:hover::before {
  transform: scaleX(1);
}

.card-num {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.card-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.pg-card h3 {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 8px;
}

.pg-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  flex: 1;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.tag-chip {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-soft);
}

/* Stat Metric Strip */
.stat-card {
  padding: 22px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: left;
}

.stat-val {
  font-family: var(--f-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-lbl {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 4px;
}

.stat-note {
  font-size: 13px;
  color: var(--muted);
}

/* Interactive NETSOL 3-Tab Bento */
.tab-bar {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 5px;
  border-radius: 13px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  gap: 4px;
  width: min(620px, 100%);
  margin-bottom: 24px;
}

.tab-btn {
  padding: 10px 14px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.tab-btn.is-active {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(46, 108, 246, 0.22);
}

.tab-panel {
  display: none;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  align-items: center;
}

.tab-panel.is-active {
  display: grid;
  animation: fadeSlide 0.35s var(--ease) both;
}

@media (min-width: 820px) {
  .tab-panel.is-active {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
  }
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.tab-media {
  border-radius: var(--r-md);
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 18px;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.tab-media img {
  max-height: 240px;
  object-fit: contain;
}

.spec-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin-top: 16px;
}

.spec-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.spec-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
  flex-shrink: 0;
}

/* Work Exhibition Gallery (Grid Desktop -> Horizontal Snap Carousel Mobile) */
.work-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .work-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.work-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.32s var(--ease), border-color 0.25s ease, box-shadow 0.32s ease;
}

.work-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-accent);
  box-shadow: var(--shadow-card);
}

.work-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--line);
}

.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s var(--ease);
}

.work-card:hover .work-thumb img {
  transform: scale(1.03);
}

.work-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.work-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 8px;
}

.work-meta .domain {
  color: var(--muted);
}

.work-body h3 {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.work-body p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* Split Narrative + Visual */
.split-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

@media (min-width: 860px) {
  .split-band {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.diptych {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.diptych-frame {
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 16px;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.diptych-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Pricing Switcher + Cards */
.cur-bar {
  display: inline-grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 4px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--bg-elev);
  gap: 4px;
  margin-bottom: 24px;
}

.cur-btn {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 7px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cur-btn.is-active {
  background: var(--ink);
  color: var(--bg);
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 3vw, 30px);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
}

.price-card.is-featured {
  border-color: var(--line-accent);
  background: var(--featured-grad);
  box-shadow: var(--shadow-card);
}

.price-amount {
  font-family: var(--f-display);
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 10px 0 4px;
}

.price-list {
  list-style: none;
  display: grid;
  gap: 9px;
  margin: 18px 0 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  flex: 1;
}

.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  color: var(--ink-soft);
}

.price-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* Markets Hub Row */
.market-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.market-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.market-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

/* ==========================================================================
   PROSE / EDITORIAL DETAIL & LEGAL ARCHITECTURE
   ========================================================================== */
.prose-hero {
  padding: clamp(32px, 5vw, 60px) 0 clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: var(--hero-glow), var(--bg);
}

.prose-shell {
  max-width: 820px;
  margin: 0 auto;
}

.prose-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--muted);
  margin-bottom: 14px;
}

.prose-cat-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.short-ans-box {
  margin-top: 22px;
  padding: 18px 22px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-accent);
  border-left: 3.5px solid var(--accent);
  background: var(--bg-elev);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
}

.prose-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 64px) 0;
}

.highlight-box {
  padding: 18px 22px;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  border-left: 3.5px solid var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 500;
  margin-bottom: 32px;
}

.toc-box {
  padding: 20px 24px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--bg-elev);
  margin-bottom: 36px;
}

.toc-title {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.toc-box ol {
  margin-left: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 6px 24px;
  font-size: 14px;
}

.toc-box a {
  color: var(--ink-soft);
  font-weight: 500;
}

.toc-box a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.legal-section {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 90px;
}

.legal-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}

.prose-content h2,
.legal-section h2 {
  font-family: var(--f-display);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 14px;
}

.prose-content h2 {
  margin-top: 36px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.prose-content h2:first-child { margin-top: 0; }
.prose-content h3 { font-family: var(--f-display); font-size: 1.2rem; margin: 28px 0 10px; color: var(--ink); }

.prose-content p,
.legal-section p {
  margin-bottom: 14px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
}

.prose-content ul,
.prose-content ol,
.legal-section ul,
.legal-section ol {
  margin: 12px 0 18px 22px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.72;
}

.prose-content li,
.legal-section li {
  margin-bottom: 8px;
}

.prose-content a,
.legal-section a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(46, 108, 246, 0.35);
  text-underline-offset: 3px;
}

.prose-content blockquote {
  padding: 18px 22px;
  border-left: 3.5px solid var(--accent);
  background: var(--bg-elev);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin: 24px 0;
  color: var(--ink);
}

.prose-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
  font-size: 14.5px;
}

.prose-content th,
.prose-content td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.prose-content th {
  background: var(--bg-elev);
  color: var(--ink);
  font-weight: 700;
}

.payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
  margin: 16px 0 18px;
  font-size: 14.5px;
}

.pg-cell {
  background: var(--surface);
  padding: 12px 16px;
  color: var(--ink-soft);
}

.pg-cell.head {
  background: var(--bg-elev);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card {
  padding: 24px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-accent);
  background: var(--featured-grad);
}

.contact-card h3 {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

/* ==========================================================================
   CTA BAND & UNIFIED EXECUTIVE FOOTER
   ========================================================================== */
.pg-cta-band {
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-accent);
  background: var(--featured-grad);
  display: grid;
  gap: 20px;
  align-items: center;
}

@media (min-width: 820px) {
  .pg-cta-band {
    grid-template-columns: 1.25fr 0.75fr;
  }
}

.pg-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

@media (min-width: 820px) {
  .pg-cta-actions { justify-content: flex-end; }
}

.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--line);
  padding: 52px 0 32px;
  color: var(--ink-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 24px;
  }
}

.footer-tagline {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
  margin-top: 12px;
  max-width: 34ch;
}

.footer-col h3 {
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 9px;
}

.footer-col a {
  font-size: 13.5px;
  color: var(--ink-soft);
  transition: color 0.18s ease;
}

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

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--muted);
}

/* Floating Concierge & Scroll-To-Top */
#waChatWidget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 600;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.wa-float {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(14, 14, 17, 0.22);
  transition: transform 0.25s var(--ease);
}

.wa-float:hover { transform: scale(1.05); }
.wa-float-close { display: none; }
.wa-float.is-open .wa-float-icon { display: none; }
.wa-float.is-open .wa-float-close { display: block; }

.wa-chat-panel {
  position: absolute;
  right: 0;
  bottom: 62px;
  width: min(320px, calc(100vw - 36px));
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.25s var(--ease);
}

.wa-chat-panel.is-open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.wa-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--line);
}

.wa-chat-header strong { display: block; font-size: 13.5px; color: var(--ink); }
.wa-chat-header span { display: block; font-size: 11px; color: var(--muted); }
.wa-chat-body { padding: 14px 16px; display: grid; gap: 10px; }
.wa-chat-msg { font-size: 13px; color: var(--ink-soft); line-height: 1.55; }

.wa-quick-btn {
  display: block;
  padding: 10px 14px;
  border-radius: 9px;
  background: #16a34a;
  color: #ffffff;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}

.wa-quick-btn.is-secondary {
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  color: var(--ink);
}

.to-top {
  position: fixed;
  right: 23px;
  bottom: 80px;
  z-index: 590;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--accent);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s var(--ease);
}

.to-top.is-shown { opacity: 1; pointer-events: auto; }
.to-top:hover { border-color: var(--accent); transform: translateY(-2px); }

/* Scroll Reveals */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   HYPER-REALISTIC MOBILE INTERFACE ARCHITECTURE (<= 639px)
   ========================================================================== */
@media (max-width: 639px) {
  .container { padding-inline: 16px; }
  .nav { height: 64px; gap: 10px; }
  .brand { gap: 9px; }
  .brand-mark, .brand-svg { width: 30px; height: 30px; }
  .b-main { font-size: 16px; }
  .b-sub { font-size: 7.5px; letter-spacing: 0.2em; }

  .nav-actions { gap: 7px; }
  .theme-toggle-label { display: none; }
  .theme-toggle { width: 36px; min-height: 36px; height: 36px; padding: 0; }
  .hamburger { width: 38px; height: 36px; }

  .pg-hero { padding: 22px 0 36px; }
  .pg-title { font-size: clamp(2rem, 8.6vw, 2.55rem); margin-bottom: 12px; }
  .pg-sub { font-size: 14.5px; margin-bottom: 18px; }
  .pg-actions { gap: 10px; }
  .pg-actions .btn-netsol { min-height: 44px; padding: 5px 6px 5px 15px; gap: 10px; font-size: 13.5px; }
  .pg-actions .btn-netsol-sq { width: 30px; height: 30px; }
  .pg-actions .btn-ghost { min-height: 44px; padding: 0 15px; font-size: 13.5px; }

  .ns-hero-markets {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--bg-elev);
    gap: 6px 14px;
    font-size: 10.5px;
  }

  .ns-stage-card { width: min(336px, 100%); }
  .ns-stage-card.is-wide { width: 100%; }

  .pg-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat-card { padding: 16px 14px; }
  .tab-bar { width: 100%; }
  .tab-btn { padding: 9px 6px; font-size: 12px; }

  .work-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 14px;
    padding-bottom: 8px;
  }
  .work-track::-webkit-scrollbar { display: none; }
  .work-card { flex: 0 0 85%; scroll-snap-align: start; }

  .payment-grid { grid-template-columns: 1fr; }
  .pg-cell.head:nth-child(2) { display: none; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .footer-brand { grid-column: 1 / -1; }

  #waChatWidget { right: 14px; bottom: 14px; }
  .wa-float { width: 44px; height: 44px; }
  .to-top { right: 18px; bottom: 66px; width: 36px; height: 36px; }
}

@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;
  }
  .reveal { opacity: 1; transform: none; }
}
