/* ==========================================================================
   CV. MEGA PRATAMA — Company Profile
   Design system: "Industrial Precision"
   Brand: Navy #2E3192 · Red #E31E24 · Steel silver
   ========================================================================== */

:root {
  /* Brand */
  --navy: #2e3192;
  --navy-600: #252879;
  --navy-400: #4b4fc4;
  --navy-300: #7b7fe6;
  --red: #e31e24;
  --red-600: #c3161c;
  --red-400: #ff4a4f;
  --steel-1: #f4f6fb;
  --steel-2: #c9cfdc;
  --steel-3: #8a93a8;

  /* Theme (dark default) */
  --bg: #05071a;
  --bg-2: #0a0e2a;
  --bg-3: #10153a;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #eef0fa;
  --text-2: #b4b9d3;
  --text-3: #7d84a6;
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  --glow-red: 0 10px 40px -10px rgba(227, 30, 36, 0.65);
  --glow-navy: 0 10px 50px -10px rgba(75, 79, 196, 0.7);

  /* Gradients */
  --grad-brand: linear-gradient(135deg, var(--red) 0%, #ff5a3c 100%);
  --grad-navy: linear-gradient(135deg, #3a3eb8 0%, #1d2070 100%);
  --grad-steel: linear-gradient(180deg, #ffffff 0%, #c9cfdc 55%, #8a93a8 100%);
  --grad-text: linear-gradient(100deg, #ffffff 0%, #c9cfdc 40%, #ff6a6e 100%);

  /* Type */
  --f-display: "Barlow Condensed", "Oswald", Impact, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1240px;
  --radius-s: 10px;
  --radius: 18px;
  --radius-l: 28px;
  --nav-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="light"] {
  /* High-Contrast Crisp Industrial Light Theme */
  --bg: #f4f6fc;
  --bg-2: #ffffff;
  --bg-3: #eaedf6;
  --surface: #ffffff;
  --surface-2: #edf1fa;
  --border: rgba(20, 24, 70, 0.11);
  --border-strong: rgba(20, 24, 70, 0.22);
  --text: #080b25;
  --text-2: #343b5c;
  --text-3: #5c6589;
  --shadow: 0 20px 45px -15px rgba(20, 24, 70, 0.08);
  --grad-text: linear-gradient(100deg, #1d2070 0%, #2e3192 45%, #c3161c 100%);
  --grad-steel: linear-gradient(180deg, #1d2070 0%, #4b4fc4 55%, #8a93a8 100%);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 10px);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
}

ul {
  list-style: none;
}

::selection {
  background: var(--red);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--navy), var(--red));
  border-radius: 10px;
  border: 2px solid var(--bg);
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.red {
  color: var(--red);
}

/* ---------- Buttons ---------- */
.btn {
  --pad: 15px 28px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: var(--pad);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s, color 0.35s, border-color 0.35s;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 0.35s var(--ease);
}

.btn:hover svg.arrow {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--glow-red);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.35) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 50px -10px rgba(227, 30, 36, 0.8);
}

.btn-primary:hover::after {
  transform: translateX(120%);
}

.btn-ghost {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  border-color: var(--text);
  transform: translateY(-3px);
}

.btn-navy {
  background: var(--grad-navy);
  color: #fff;
  box-shadow: var(--glow-navy);
}

.btn-navy:hover {
  transform: translateY(-3px);
}

.btn-sm {
  --pad: 10px 18px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ---------- Section scaffolding ---------- */
.section {
  position: relative;
  padding: clamp(80px, 11vw, 140px) 0;
}

.section-alt {
  background: var(--bg-2);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 70px);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 15px;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
}

.section-head.center .eyebrow::after {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
}

.title {
  font-size: clamp(2.05rem, 3.8vw, 3.2rem);
  line-height: 1.14;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}

.lead {
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  line-height: 1.65;
  color: var(--text-2);
}

/* Decorative grid background */
.bg-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  opacity: 0.55;
}

/* ==========================================================================
   Preloader
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #05071a;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}

.preloader.done {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  display: grid;
  place-items: center;
  gap: 26px;
}

.preloader-logo {
  position: relative;
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
}

.preloader-logo img {
  width: 92px;
  filter: drop-shadow(0 0 30px rgba(227, 30, 36, 0.5));
  animation: pulse 1.6s ease-in-out infinite;
}

.preloader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--red);
  border-right-color: var(--navy-400);
  animation: spin 1.1s linear infinite;
}

.preloader-ring.r2 {
  inset: 14px;
  border-top-color: var(--navy-400);
  border-right-color: transparent;
  border-left-color: var(--red);
  animation-duration: 1.6s;
  animation-direction: reverse;
}

.preloader-text {
  font-family: var(--f-display);
  font-size: 1.1rem;
  letter-spacing: 0.4em;
  color: #c9cfdc;
  text-transform: uppercase;
}

.preloader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.preloader-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad-brand);
  transition: width 0.3s;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  50% {
    transform: scale(0.92);
    opacity: 0.8;
  }
}

/* ==========================================================================
   Scroll progress + Navbar (Clean, Spacious, Uncluttered)
   ========================================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 1001;
  background: var(--grad-brand);
  box-shadow: 0 0 12px var(--red);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: transform 0.45s var(--ease), background 0.4s, height 0.4s var(--ease), box-shadow 0.4s;
}

.navbar.scrolled {
  --nav-h: 70px;
  background: color-mix(in srgb, var(--bg) 95%, transparent);
  box-shadow: 0 12px 36px -15px rgba(0, 0, 0, 0.65);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: #ffffff;
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 6px 20px -6px rgba(227, 30, 36, 0.45);
  transition: transform 0.4s var(--ease);
}

.brand:hover .brand-mark {
  transform: scale(1.05) rotate(-4deg);
}

.brand-mark img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text strong {
  font-family: var(--f-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.brand-text small {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  color: var(--text-3);
  text-transform: uppercase;
  margin-top: 3px;
  font-weight: 500;
}

/* Desktop Navigation (Organized & Concise) */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 auto;
}

.nav-links a {
  position: relative;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.25s, background 0.25s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--surface);
}

.nav-links a.active {
  color: #ffffff;
  background: rgba(227, 30, 36, 0.14);
  font-weight: 600;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
}

/* Actions Right */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-2);
  transition: border-color 0.3s, transform 0.3s var(--ease), background 0.3s, color 0.3s;
}

.icon-btn:hover {
  border-color: var(--border-strong);
  color: var(--text);
  transform: translateY(-2px);
  background: var(--surface-2);
}

.icon-btn svg {
  width: 17px;
  height: 17px;
}

.lang-btn {
  width: auto;
  padding: 3px 5px;
  height: 38px;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  gap: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--ease);
  user-select: none;
  background: var(--surface);
  border: 1px solid var(--border);
}

.lang-btn span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.lang-btn .on {
  color: #ffffff !important;
  background: var(--red);
  padding: 5px 8px;
  border-radius: 999px;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(227, 30, 36, 0.35);
  transition: all 0.2s var(--ease);
}

.lang-btn .off {
  color: var(--text-2) !important;
  padding: 5px 7px;
  font-weight: 600 !important;
  opacity: 0.75;
  transition: all 0.2s var(--ease);
}

.lang-btn .sep {
  display: none !important;
}

.theme-btn .moon {
  display: none;
}

.theme-btn .moon {
  display: none;
}

[data-theme="light"] .theme-btn .sun {
  display: none;
}

[data-theme="light"] .theme-btn .moon {
  display: block;
}

.nav-cta {
  --pad: 9px 18px;
  font-size: 0.85rem;
}

/* Subpage Hero Banner */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 60px) 0 60px;
  background: linear-gradient(170deg, #090d2e 0%, #05071a 70%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(227, 30, 36, 0.18), transparent 60%),
    radial-gradient(ellipse 70% 80% at 10% 80%, rgba(46, 49, 146, 0.4), transparent 60%);
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-3);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.breadcrumbs a {
  color: var(--text-2);
  transition: color 0.25s;
}

.breadcrumbs a:hover {
  color: var(--red);
}

.breadcrumbs span {
  color: var(--border-strong);
}

.breadcrumbs .current {
  color: var(--red);
  font-weight: 600;
}

.page-hero h1 {
  font-size: clamp(2.05rem, 3.8vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 14px;
}

.page-hero p.lead {
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  color: var(--text-2);
  max-width: 740px;
}

/* Mobile burger */
.burger {
  display: none;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.3s;
}

.burger span+span {
  margin-top: 4px;
}

.burger.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Navigation Drawer (Executive Sidebar) */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(5, 7, 26, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-h) + 8px) 20px 30px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}

.drawer.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-brand img {
  width: 32px;
  height: 24px;
  object-fit: contain;
}

.drawer-brand strong {
  font-family: var(--f-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: #ffffff;
  line-height: 1;
}

.drawer-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.25s;
}

.drawer-close:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.drawer a.d-link {
  font-family: var(--f-display);
  font-size: 1.15rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-2);
  border-radius: 8px;
  border-bottom: 1px solid var(--border);
  transition: all 0.25s var(--ease);
}

.drawer a.d-link span.num {
  font-size: 0.72rem;
  color: var(--red);
  font-family: var(--f-body);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.drawer a.d-link:hover,
.drawer a.d-link.active {
  color: #ffffff;
  background: rgba(227, 30, 36, 0.15);
  border-bottom-color: var(--red);
  padding-left: 16px;
}

.drawer-quick-contact {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-quick-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
}

.drawer-quick-links {
  display: flex;
  gap: 8px;
}

.drawer-quick-btn {
  flex: 1;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  transition: all 0.25s;
}

.drawer-quick-btn.wa {
  background: rgba(37, 211, 102, 0.15);
  border-color: rgba(37, 211, 102, 0.35);
  color: #25d366;
}

.drawer-quick-btn.call {
  background: rgba(46, 49, 146, 0.25);
  border-color: rgba(46, 49, 146, 0.45);
  color: #8c90ff;
}

.drawer-quick-btn svg {
  width: 14px;
  height: 14px;
}

.drawer-foot {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.drawer-control-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.drawer-control-btn:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
}

.drawer-control-btn svg {
  width: 16px;
  height: 16px;
}

.drawer-theme-btn .moon {
  display: none;
}

[data-theme="light"] .drawer-theme-btn .sun {
  display: none;
}

[data-theme="light"] .drawer-theme-btn .moon {
  display: block;
}

.drawer-lang-btn .on {
  color: #fff !important;
  background: var(--red);
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.drawer-lang-btn .off {
  color: var(--text-3);
  padding: 2px 5px;
  font-size: 0.72rem;
  font-weight: 600;
}

.drawer-foot .btn {
  width: 100%;
  justify-content: center;
  --pad: 10px 16px;
  font-size: 0.84rem;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 88vh;
  min-height: 88svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 14px) 0 24px;
  overflow: hidden;
  isolation: isolate;
  background: #080b18;
  color: #eef0fa;
}

.hero-bg {
  position: absolute;
  inset: -4%;
  z-index: -3;
  background: url("../img/brand/hero-cnc.jpg") center/cover no-repeat;
  transform: scale(1.05);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(95deg, rgba(8, 11, 24, 0.98) 0%, rgba(8, 11, 24, 0.92) 52%, rgba(8, 11, 24, 0.72) 100%),
    radial-gradient(ellipse 65% 70% at 85% 25%, rgba(227, 30, 36, 0.18), transparent 60%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, #000 40%, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 95%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

/* Official Accreditation Bar */
.hero-accreditation {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px 5px 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 14px;
}

.acc-badge {
  background: var(--red);
  color: #fff;
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.acc-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ccd3ec;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.45rem, 4.1vw, 3.8rem);
  line-height: 1.05;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
  font-weight: 700;
}

.hero h1 .line {
  display: block;
  overflow: hidden;
}

.hero h1 .line>span {
  display: inline-block;
  color: #ffffff;
}

.hero h1 .hero-red {
  color: var(--red);
}

.hero h1 .hero-solid {
  color: #ffffff;
}

.hero-sub {
  font-size: clamp(0.98rem, 1.20vw, 1.15rem);
  color: #c0c7e2;
  max-width: 610px;
  margin-bottom: 14px;
  line-height: 1.55;
}

/* Concrete Technical Specs Bar */
.hero-specs-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 16px;
  max-width: 640px;
  flex-wrap: wrap;
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.spec-k {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8f98b6;
  font-weight: 600;
}

.spec-v {
  font-size: 0.86rem;
  color: #ffffff;
  font-weight: 600;
  font-family: var(--f-display);
  letter-spacing: 0.02em;
}

.spec-sep {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.14);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-cta .btn {
  --pad: 12px 26px;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: 8px;
}

.hero-cta .btn svg {
  width: 18px;
  height: 18px;
}

.hero-cta .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.hero-cta .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 14px;
  max-width: 640px;
}

.stat {
  padding-right: 16px;
}

.stat+.stat {
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-num {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 2.4vw, 2.45rem);
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.stat-num sup {
  color: var(--red);
  font-size: 0.55em;
  vertical-align: top;
  margin-left: 3px;
}

.stat-label {
  font-size: 0.76rem;
  color: #9aa3c2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
  font-weight: 500;
}

/* Right Column: Structured Technical Workshop Spec Panel */
.hero-tech-card {
  background: linear-gradient(170deg, #10162a 0%, #090d1c 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tech-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.tech-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-weight: 700;
}

.tech-dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  flex: none;
}

.tech-loc {
  color: #9aa3c2;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.tech-card-body {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 12px 16px;
}

.tech-unit {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: inherit;
  transition: all 0.25s var(--ease);
}

.tech-unit:hover {
  background: rgba(227, 30, 36, 0.12);
  border-color: rgba(227, 30, 36, 0.4);
  transform: translateX(3px);
}

.tech-unit-num {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  flex: none;
  padding-top: 1px;
}

.tech-unit-content {
  flex: 1;
}

.tech-unit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 3px;
  flex-wrap: wrap;
}

.tech-unit-head h4 {
  font-size: 0.88rem;
  color: #ffffff;
  letter-spacing: 0.03em;
  margin: 0;
  font-weight: 700;
}

.tech-tag {
  font-size: 0.65rem;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: #d0d6ed;
  font-weight: 600;
  text-transform: uppercase;
}

.tech-unit-content p {
  font-size: 0.76rem;
  color: #b2bbd6;
  line-height: 1.42;
  margin: 0;
}

.tech-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.22);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.74rem;
}

.tech-rfq-info {
  color: #8c95ba;
  font-size: 0.72rem;
}

.tech-card-link {
  color: #ff8a8d;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.tech-card-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.scroll-cue {
  display: none;
}

/* ==========================================================================
   Marquee Trust Section (Polished, Industrial & Balanced)
   ========================================================================== */
.marquee-strip {
  position: relative;
  padding: 50px 0 56px;
  background: var(--bg-2);
  border-block: 1px solid var(--border);
  overflow: hidden;
}

.marquee-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.marquee-head-content {
  max-width: 680px;
}

.marquee-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px 4px 6px;
  border-radius: 999px;
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(227, 30, 36, 0.08);
  border: 1px solid rgba(227, 30, 36, 0.2);
  margin-bottom: 10px;
}

.marquee-badge svg {
  width: 14px;
  height: 14px;
  color: var(--red);
}

.marquee-title {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.22;
  letter-spacing: 0.01em;
  color: var(--text);
  margin-bottom: 8px;
}

.marquee-sub {
  font-size: 0.88rem;
  line-height: 1.58;
  color: var(--text-2);
  margin: 0;
}

.marquee-head-action {
  flex-shrink: 0;
}

.marquee-link-btn {
  --pad: 9px 18px;
  font-size: 0.82rem;
  border-radius: 999px;
}

/* Continuous Marquee Track */
.marquee-track-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  padding: 8px 0;
}

.marquee {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: marquee 52s linear infinite;
  align-items: center;
}

.marquee-strip:hover .marquee {
  animation-play-state: paused;
}

.marquee-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 7px 18px 7px 8px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.marquee-card:hover {
  transform: translateY(-3px);
  border-color: var(--red);
  background: var(--surface-2);
  box-shadow: 0 10px 24px -8px rgba(227, 30, 36, 0.22);
}

.card-logo-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  box-sizing: border-box;
}

.card-logo-box img {
  max-width: 30px;
  max-height: 30px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.card-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.card-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.card-sector {
  font-size: 0.68rem;
  color: var(--text-3);
  letter-spacing: 0.02em;
  white-space: nowrap;
  margin-top: 2px;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

[data-theme="light"] .marquee-card {
  background: #ffffff;
  border-color: rgba(20, 24, 70, 0.1);
  box-shadow: 0 3px 12px rgba(20, 24, 70, 0.04);
}

[data-theme="light"] .marquee-card:hover {
  background: #ffffff;
  border-color: var(--red);
  box-shadow: 0 8px 22px -6px rgba(227, 30, 36, 0.18);
}

/* ==========================================================================
   About
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

/* Company Milestone & Heritage Showcase Card (No Founder Photo) */
.about-side-card {
  position: relative;
  background: linear-gradient(145deg, #181c4a 0%, #101338 60%, #0a0d28 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-l);
  padding: 32px 28px;
  color: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-side-card::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: url("../img/brand/gear.png") right -30px bottom -30px / 320px no-repeat;
  opacity: 0.08;
  pointer-events: none;
}

.about-side-card>* {
  position: relative;
  z-index: 1;
}

.side-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(227, 30, 36, 0.16);
  border: 1px solid rgba(227, 30, 36, 0.35);
  color: #ff8589;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  width: fit-content;
}

.side-card-badge .badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
}

.side-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.side-card-logo {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.side-card-titles h3 {
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  margin: 0;
  color: #fff;
  line-height: 1.2;
}

.side-card-titles p {
  font-size: 0.82rem;
  color: #a5b4fc;
  margin: 2px 0 0;
}

.side-card-highlight {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.highlight-big {
  font-family: var(--f-display);
  font-size: 3.4rem;
  line-height: 1;
  font-weight: 800;
  color: #fff;
}

.highlight-big sup {
  color: var(--red);
  font-size: 0.55em;
}

.highlight-info strong {
  display: block;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  color: #fff;
}

.highlight-info span {
  display: block;
  font-size: 0.74rem;
  color: #94a3b8;
  margin-top: 3px;
  line-height: 1.35;
}

.side-card-leader {
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--grad-navy);
  border: 1px solid rgba(46, 49, 146, 0.4);
}

.side-card-leader .leader-role {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #93c5fd;
  font-weight: 700;
  margin-bottom: 2px;
}

.side-card-leader .leader-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.side-card-leader .leader-desc {
  font-size: 0.78rem;
  color: #cbd5e1;
}

.side-card-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.metric-chip {
  text-align: center;
  padding: 10px 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-chip strong {
  display: block;
  font-size: 0.94rem;
  color: #fff;
  font-family: var(--f-display);
  letter-spacing: 0.04em;
}

.metric-chip span {
  display: block;
  font-size: 0.64rem;
  color: #94a3b8;
  margin-top: 2px;
  line-height: 1.2;
}

.founder-wrap {
  position: relative;
  padding: 0 30px 30px 0;
}

.founder-frame {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: radial-gradient(circle at 50% 30%, #3a3eb8 0%, #1a1d5e 60%, #0b0d33 100%);
  box-shadow: var(--shadow);
}

.founder-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/brand/gear.png") right -40% bottom -30% / 90% no-repeat;
  opacity: 0.18;
  mix-blend-mode: screen;
}

.founder-frame img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 1.2s var(--ease);
}

.founder-wrap:hover .founder-frame img {
  transform: scale(1.04);
}

.founder-deco {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 70%;
  height: 70%;
  border: 2px solid var(--red);
  border-radius: var(--radius-l);
  z-index: -1;
}

.founder-card {
  position: absolute;
  left: -24px;
  bottom: 60px;
  z-index: 2;
  padding: 18px 22px;
  border-radius: var(--radius);
  min-width: 230px;
  background: var(--grad-navy);
  color: #fff;
  box-shadow: var(--glow-navy);
}

.founder-card small {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.75;
}

.founder-card h3 {
  font-size: 1.7rem;
  margin: 2px 0;
}

.founder-card p {
  font-size: 0.85rem;
  opacity: 0.85;
}

.year-badge {
  position: absolute;
  right: 0;
  top: 24px;
  z-index: 2;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #1b2046 0%, #0d1028 100%);
  color: #fff;
  border: 3px solid var(--red);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.year-badge strong {
  font-family: var(--f-display);
  font-size: 2.1rem;
  line-height: 1;
  color: #fff;
}

.year-badge strong sup {
  color: var(--red);
  font-size: 0.55em;
  margin-left: 2px;
}

.year-badge span {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e2e8f8;
}

.year-badge small {
  display: block;
  font-size: 0.54rem;
  letter-spacing: 0.12em;
  color: #9aa3c2;
  margin-top: 2px;
}

.about-text .lead {
  margin-bottom: 18px;
}

.about-text p {
  color: var(--text-2);
  margin-bottom: 16px;
}

.about-quote {
  position: relative;
  padding: 20px 24px 20px 28px;
  margin: 26px 0 34px;
  border-left: 3px solid var(--red);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text);
}

/* B2B Verified Legal Credentials Strip */
.about-legal-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 16px;
  border-radius: 8px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  margin: 24px 0;
}

.legal-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.legal-item span.lbl {
  font-size: 0.70rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
}

.legal-item strong.val {
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 600;
}

.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.value {
  position: relative;
  text-align: center;
  padding: 24px 12px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.45s var(--ease), border-color 0.4s, background 0.4s;
  overflow: hidden;
}

.value::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transition: transform 0.5s var(--ease);
}

.value:hover {
  transform: translateY(-8px);
  border-color: var(--border-strong);
  background: var(--surface-2);
}

.value:hover::before {
  transform: scaleX(1);
}

.value-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-navy);
  color: #fff;
  box-shadow: var(--glow-navy);
  transition: transform 0.6s var(--ease);
}

.value:hover .value-icon {
  transform: rotateY(180deg);
}

.value-icon svg {
  width: 28px;
  height: 28px;
}

.value h4 {
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Vision & Mission
   ========================================================================== */
.vision {
  overflow: hidden;
}

.vision-card {
  position: relative;
  padding: clamp(36px, 5vw, 64px);
  border-radius: var(--radius-l);
  background: linear-gradient(135deg, #2e3192 0%, #1d2070 55%, #12144a 100%);
  color: #fff;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
}

.vision-card::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  right: -150px;
  top: -200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 30, 36, 0.45), transparent 65%);
}

.vision-card::after {
  content: "\201C";
  position: absolute;
  right: 40px;
  bottom: -110px;
  font-family: Georgia, serif;
  font-size: 22rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.06);
}

.vision-card .eyebrow {
  color: #ff8a8d;
}

.vision-card h3 {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  letter-spacing: 0.3em;
  color: #c9cfdc;
  margin-bottom: 14px;
}

.vision-quote {
  position: relative;
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  line-height: 1.12;
  font-weight: 600;
  text-transform: none;
  max-width: 980px;
}

.vision-quote em {
  font-style: normal;
  color: #ff6a6e;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.mission {
  grid-column: span 2;
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.4s;
  overflow: hidden;
}

.mission:nth-child(4),
.mission:nth-child(5) {
  grid-column: span 3;
}

.mission::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--red), transparent 40%, transparent 60%, var(--navy-400));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
}

.mission:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.mission:hover::after {
  opacity: 1;
}

.mission-num {
  font-family: var(--f-display);
  font-size: 4rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--border-strong);
  position: absolute;
  right: 22px;
  top: 16px;
  transition: -webkit-text-stroke-color 0.4s;
}

.mission:hover .mission-num {
  -webkit-text-stroke-color: var(--red);
}

.mission-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(227, 30, 36, 0.12);
  color: var(--red);
  margin-bottom: 20px;
}

.mission-icon svg {
  width: 26px;
  height: 26px;
}

.mission h4 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.mission p {
  color: var(--text-2);
  font-size: 0.95rem;
}

/* ==========================================================================
   Business Divisions (Authentic Industrial Workshop Cards)
   ========================================================================== */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.biz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.biz-card {
  position: relative;
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(17, 24, 52, 0.95) 0%, rgba(10, 14, 34, 0.98) 100%);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.biz-card:hover {
  transform: translateY(-6px);
  border-color: rgba(227, 30, 36, 0.6);
  box-shadow: 0 18px 36px -8px rgba(227, 30, 36, 0.22);
}

.biz-card-head {
  padding: 24px 22px 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.biz-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(227, 30, 36, 0.1);
  border: 1px solid rgba(227, 30, 36, 0.26);
  color: var(--red);
  box-shadow: 0 4px 16px rgba(227, 30, 36, 0.12);
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
}

.biz-icon-box svg {
  width: 28px;
  height: 28px;
  transition: transform 0.3s var(--ease);
}

.biz-card:hover .biz-icon-box {
  background: var(--red);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(227, 30, 36, 0.35);
}

.biz-card:hover .biz-icon-box svg {
  transform: scale(1.08);
}

.biz-card-head-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.biz-card-badge {
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.biz-watermark {
  font-family: var(--f-display);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.06);
  letter-spacing: -0.04em;
  user-select: none;
}

.biz-card-body {
  padding: 20px 22px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.biz-card h3 {
  font-family: var(--f-display);
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: var(--text);
  letter-spacing: 0.02em;
  font-weight: 700;
}

.biz-card>.biz-card-body>p {
  color: var(--text-2);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 16px;
}

.biz-specs-list {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  margin-top: auto;
}

.biz-spec-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text);
  line-height: 1.4;
}

.biz-spec-row svg {
  width: 15px;
  height: 15px;
  color: var(--red);
  flex: none;
  margin-top: 3px;
}

.biz-card-foot {
  padding: 12px 22px;
  border-top: 1px solid var(--border);
  background: rgba(8, 11, 26, 0.6);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.biz-card-foot a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s var(--ease), color 0.25s;
}

.biz-card-foot a:hover {
  gap: 9px;
  color: var(--red-400);
}

/* Home Section Action Wrappers & Large Headings */
.section-cta-wrap {
  text-align: center;
  margin-top: 40px;
}

.panel-title-lg {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  margin-bottom: 12px;
}

.panel-lead {
  color: var(--text-2);
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.cta-band-wrap {
  margin-top: 50px;
}

/* ==========================================================================
   5 Core Machining Services (Executive Precision Engineering — Text Only)
   ========================================================================== */
.services-wrap {
  margin-top: clamp(60px, 8vw, 100px);
}

.services {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.service-card {
  grid-column: span 2;
  position: relative;
  background: linear-gradient(165deg, rgba(17, 24, 52, 0.95) 0%, rgba(10, 14, 34, 0.98) 100%);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.service-card:nth-child(4),
.service-card:nth-child(5) {
  grid-column: span 3;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(227, 30, 36, 0.6);
  box-shadow: 0 20px 40px -10px rgba(227, 30, 36, 0.25);
}

.service-card-header {
  padding: 22px 22px 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.service-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-card-num {
  font-family: var(--f-display);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1;
  color: var(--red);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.service-card-cat {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  display: block;
  margin-bottom: 3px;
}

.service-card-fleet {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 7px;
  border-radius: 4px;
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.service-spec-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: #ff5252;
  background: rgba(227, 30, 36, 0.12);
  border: 1px solid rgba(227, 30, 36, 0.25);
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.service-card-body {
  padding: 20px 22px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-title {
  font-family: var(--f-display);
  font-size: 1.35rem;
  line-height: 1.22;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 10px;
}

.service-card-desc {
  font-size: 0.86rem;
  line-height: 1.58;
  color: var(--text-2);
  margin-bottom: 18px;
}

.service-specs {
  background: rgba(8, 12, 28, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 16px;
}

.service-spec-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  padding-bottom: 6px;
}

.service-spec-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.service-spec-item .spec-label {
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 5px;
}

.service-spec-item .spec-label::before {
  content: "▪";
  color: var(--red);
  font-size: 0.75rem;
  line-height: 1;
}

.service-spec-item .spec-value {
  font-size: 0.83rem;
  color: var(--text-2);
  line-height: 1.42;
}

.service-spec-item strong.spec-value {
  font-weight: 700;
  color: var(--text);
}

.service-card-foot {
  padding: 12px 22px;
  background: rgba(8, 11, 26, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-foot-note {
  font-size: 0.74rem;
  color: var(--text-3);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-card-link {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s var(--ease), color 0.25s;
}

.service-card-link:hover {
  gap: 9px;
  color: var(--red-400);
}

.service-card-link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s var(--ease);
}

.service-card-link:hover svg {
  transform: translateX(3px);
}

/* Process */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
  counter-reset: step;
}

.process::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--border-strong) 0 10px, transparent 10px 20px);
}

.process .bar {
  position: absolute;
  top: 38px;
  left: 10%;
  height: 2px;
  width: 0;
  background: var(--grad-brand);
  box-shadow: 0 0 10px var(--red);
  transition: width 2s var(--ease);
}

.process.in .bar {
  width: 80%;
}

.step {
  position: relative;
  text-align: center;
  padding: 0 6px;
}

.step-dot {
  position: relative;
  z-index: 1;
  width: 78px;
  height: 78px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg-2);
  border: 2px solid var(--border-strong);
  color: var(--text);
  transition: border-color 0.4s, background 0.4s, transform 0.5s var(--ease);
}

.section-alt .step-dot {
  background: var(--bg);
}

.step:hover .step-dot {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
  transform: scale(1.08);
}

.step-dot svg {
  width: 30px;
  height: 30px;
}

.step-dot::after {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -6px;
  right: -6px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.step h4 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.step p {
  color: var(--text-2);
  font-size: 0.88rem;
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 36px;
}

.filter-chips,
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip,
.chip {
  padding: 10px 18px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-2);
  cursor: pointer;
  outline: none;
  transition: all 0.35s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.filter-chip .count,
.chip .count {
  font-size: 0.72rem;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-3);
  font-weight: 700;
}

.filter-chip:hover,
.chip:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.filter-chip.active,
.chip.active {
  background: var(--grad-brand);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--glow-red);
}

.filter-chip.active .count,
.chip.active .count {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.view-toggle {
  display: flex;
  gap: 6px;
}

.view-toggle .icon-btn.active {
  background: var(--navy);
  color: #fff;
  border-color: transparent;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery.dense {
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.g-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: default !important;
  background: var(--bg-3);
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.g-item.wide {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery.dense .g-item.wide {
  grid-column: span 1;
  grid-row: span 1;
  aspect-ratio: 4 / 3;
}

.g-item.hidden {
  display: none;
}

.g-item.fade-in {
  animation: gfade 0.6s var(--ease) both;
}

@keyframes gfade {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.g-item:hover {
  transform: translateY(-4px);
  border-color: rgba(227, 30, 36, 0.45);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.g-item:hover img {
  transform: scale(1.04);
}

.g-cap {
  position: absolute;
  inset: auto 0 0;
  padding: 14px 16px;
  color: #fff;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 7, 26, 0.75) 25%, rgba(5, 7, 26, 0.96) 100%);
  pointer-events: none;
}

.g-cap small {
  display: inline-block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  padding: 2px 7px;
  border-radius: 4px;
  margin-bottom: 5px;
}

.g-cap h5 {
  font-family: var(--f-display);
  font-size: 1.12rem;
  text-transform: uppercase;
  line-height: 1.2;
  color: #ffffff;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.g-cap .g-desc {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 4px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.g-zoom {
  display: none !important;
}

.gallery-more {
  text-align: center;
  margin-top: 40px;
}

/* Custom Part Quick Notice */
.custom-notice {
  margin-top: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: 12px;
  padding: 24px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.custom-notice-text {
  max-width: 700px;
}

.custom-notice-text h4 {
  font-family: var(--f-display);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--text);
}

.custom-notice-text p {
  color: var(--text-2);
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.55;
}

/* ==========================================================================
   5 Custom Assembly Projects (.works-grid & .work-card)
   ========================================================================== */
.works-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.work-card {
  grid-column: span 2;
  position: relative;
  background: linear-gradient(165deg, rgba(17, 24, 52, 0.95) 0%, rgba(10, 14, 34, 0.98) 100%);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.14);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.work-card:nth-child(4),
.work-card:nth-child(5) {
  grid-column: span 3;
}

.work-card:hover {
  transform: translateY(-6px);
  border-color: rgba(227, 30, 36, 0.6);
  box-shadow: 0 20px 42px -10px rgba(227, 30, 36, 0.25);
}

.work-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #090c1f;
}

.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.work-card:hover .work-media img {
  transform: scale(1.06);
}

.work-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 11, 26, 0.3) 0%, transparent 45%, rgba(8, 11, 26, 0.7) 100%);
  pointer-events: none;
}

.work-badge {
  position: absolute;
  top: 12px;
  left: 14px;
  z-index: 2;
  padding: 4px 11px;
  border-radius: 6px;
  background: rgba(8, 11, 26, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.work-status {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(8, 11, 26, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.68rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

.work-body {
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.work-cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}

.work-title {
  font-family: var(--f-display);
  font-size: 1.35rem;
  line-height: 1.22;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 10px;
}

.work-desc {
  font-size: 0.86rem;
  line-height: 1.58;
  color: var(--text-2);
  margin-bottom: 16px;
}

.work-specs {
  background: rgba(8, 12, 28, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 16px;
}

.work-spec-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  padding-bottom: 6px;
}

.work-spec-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.work-spec-item .spec-label {
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 5px;
}

.work-spec-item .spec-label::before {
  content: "▪";
  color: var(--red);
  font-size: 0.75rem;
  line-height: 1;
}

.work-spec-item .spec-value {
  font-size: 0.83rem;
  color: var(--text-2);
  line-height: 1.42;
}

.work-spec-item strong.spec-value {
  font-weight: 700;
  color: var(--text);
}

.work-foot {
  padding: 12px 22px;
  background: rgba(8, 11, 26, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.work-foot-note {
  font-size: 0.74rem;
  color: var(--text-3);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.work-card-link {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s var(--ease), color 0.25s;
}

.work-card-link:hover {
  gap: 9px;
  color: var(--red-400);
}

.work-card-link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s var(--ease);
}

.work-card-link:hover svg {
  transform: translateX(3px);
}

/* Materials & Metrology grid-3 and feature-card */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  position: relative;
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(17, 24, 52, 0.95) 0%, rgba(10, 14, 34, 0.98) 100%);
  border: 1px solid var(--border);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(227, 30, 36, 0.5);
}

.feature-card .f-num {
  font-family: var(--f-display);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--red);
  margin-bottom: 12px;
}

.feature-card h3 {
  font-family: var(--f-display);
  font-size: 1.35rem;
  color: var(--text);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   Facilities
   ========================================================================== */
.fac-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 28px;
  align-items: start;
}

.panel {
  border-radius: var(--radius-l);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: clamp(22px, 3vw, 34px);
}

.tabs {
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 24px;
  position: relative;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  position: relative;
  z-index: 1;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
  transition: color 0.3s;
}

.tab.active {
  color: #fff;
}

.tab-ind {
  position: absolute;
  z-index: 0;
  top: 6px;
  bottom: 6px;
  border-radius: 999px;
  background: var(--grad-navy);
  box-shadow: var(--glow-navy);
  transition: left 0.45s var(--ease), width 0.45s var(--ease);
}

.m-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
}

.m-table th {
  text-align: left;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 700;
  padding: 0 16px 6px;
}

.m-table td {
  padding: 15px 16px;
  background: var(--surface);
  border-block: 1px solid var(--border);
  font-size: 0.95rem;
}

.m-table td:first-child {
  border-left: 1px solid var(--border);
  border-radius: 12px 0 0 12px;
  font-weight: 600;
}

.m-table td:last-child {
  border-right: 1px solid var(--border);
  border-radius: 0 12px 12px 0;
}

.m-table tr {
  animation: gfade 0.5s var(--ease) both;
}

.m-table tr:hover td {
  background: var(--surface-2);
  border-color: rgba(227, 30, 36, 0.35);
}

.m-table .unit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(227, 30, 36, 0.12);
  color: var(--red);
  font-weight: 700;
  font-size: 0.82rem;
}

.m-table .size {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.88rem;
  color: var(--text-2);
}

.m-sum {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(46, 49, 146, 0.25), rgba(227, 30, 36, 0.12));
  border: 1px solid var(--border);
  font-weight: 600;
}

.m-sum strong {
  font-family: var(--f-display);
  font-size: 1.8rem;
  color: var(--red);
}

.qc-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.fac-side {
  display: grid;
  gap: 20px;
}

.total-card {
  text-align: center;
  padding: 34px 24px;
  border-radius: var(--radius-l);
  background: var(--grad-navy);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--glow-navy);
}

.total-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: url("../img/brand/gear.png") center/contain no-repeat;
  opacity: 0.08;
}

.total-card>* {
  position: relative;
}

.total-card .big {
  font-family: var(--f-display);
  font-size: 5.4rem;
  line-height: 1;
  font-weight: 700;
}

.total-card p {
  opacity: 0.85;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Workshop Facility Matrix & Photo Strip */
.fac-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.fac-matrix-item {
  padding: 13px 15px;
  border-radius: var(--radius-s);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
}

.fac-matrix-item strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text);
  margin-bottom: 3px;
}

.fac-matrix-item span {
  font-size: 0.82rem;
  color: var(--text-2);
  line-height: 1.4;
  display: block;
}

.fac-specs-card {
  padding: 22px 20px;
  border-radius: var(--radius-l);
  background: var(--surface);
  border: 1px solid var(--border);
}

.fac-specs-card h5 {
  font-size: 0.84rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
  font-weight: 700;
}

.fac-specs-list {
  display: grid;
  gap: 10px;
}

.fac-specs-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 0.84rem;
  gap: 12px;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 8px;
}

.fac-specs-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.fac-specs-row .lbl {
  color: var(--text-3);
  flex: none;
}

.fac-specs-row .val {
  color: var(--text);
  font-weight: 600;
  text-align: right;
}

.fac-preview-strip {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.fac-photo-card {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-3);
  margin: 0;
}

.fac-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.fac-photo-card:hover img {
  transform: scale(1.06);
}

.fac-photo-card figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 10px 12px;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 7, 26, 0.92) 100%);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Quality Assurance & B2B Trust Grid */
.qa-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.qa-card {
  padding: 24px 20px;
  border-radius: var(--radius-l);
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--navy-300);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}

.qa-card:hover {
  transform: translateY(-4px);
  border-top-color: var(--red);
  box-shadow: var(--shadow);
}

.qa-num {
  font-family: var(--f-display);
  font-size: 1.5rem;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 8px;
}

.qa-card h4 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 8px;
  font-weight: 700;
}

.qa-card p {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.5;
  margin: 0;
}

.chart h4 {
  font-size: 1.2rem;
  margin-bottom: 18px;
  letter-spacing: 0.05em;
}

.bar-row {
  margin-bottom: 14px;
  cursor: pointer;
}

.bar-row .lbl {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-2);
}

.bar-row:hover .lbl,
.bar-row.active .lbl {
  color: var(--text);
}

.bar-track {
  height: 10px;
  border-radius: 10px;
  background: var(--surface-2);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--grad-brand);
  transition: width 1.4s var(--ease);
}

.bar-row:nth-child(even) .bar-fill {
  background: linear-gradient(90deg, var(--navy-400), var(--navy-300));
}

.bar-row.active .bar-fill {
  box-shadow: 0 0 14px var(--red);
}

.machine-slider-wrap {
  margin-top: 60px;
}

.slider-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 24px;
}

.slider-head h3 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.slider-nav {
  display: flex;
  gap: 10px;
}

.slider-nav .icon-btn {
  width: 50px;
  height: 50px;
}

.slider-nav .icon-btn:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.slider {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--red) transparent;
  cursor: grab;
}

.slider.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.slider::-webkit-scrollbar {
  height: 6px;
}

.slider::-webkit-scrollbar-thumb {
  background: var(--red);
  border-radius: 6px;
  border: 0;
}

.slide {
  flex: 0 0 clamp(240px, 26vw, 320px);
  scroll-snap-align: start;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border);
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
  pointer-events: none;
}

.slide:hover img {
  transform: scale(1.08);
}

.slide figcaption {
  position: absolute;
  inset: auto 12px 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(5, 7, 26, 0.72);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slide figcaption span {
  font-family: var(--f-display);
  color: var(--red-400);
  font-size: 1rem;
}

/* ==========================================================================
   Clients
   ========================================================================== */
.client-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.search {
  position: relative;
  flex: 1;
  max-width: 380px;
}

.search input {
  width: 100%;
  padding: 14px 18px 14px 48px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.search input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(227, 30, 36, 0.15);
}

.search svg {
  position: absolute;
  left: 18px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: var(--text-3);
}

.client-count {
  font-size: 0.9rem;
  color: var(--text-2);
}

.client-count b {
  color: var(--red);
  font-family: var(--f-display);
  font-size: 1.4rem;
}

.clients {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.client {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 14px 16px;
  border-radius: var(--radius);
  background: #fff;
  color: #1a1d4a;
  text-align: center;
  border: 1px solid rgba(20, 24, 70, 0.08);
  min-height: 168px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s;
}

.client:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px -20px rgba(46, 49, 146, 0.55);
  z-index: 1;
}

.client::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--red);
  opacity: 0;
  transition: opacity 0.35s;
}

.client:hover::after {
  opacity: 1;
}

.client .logo {
  height: 86px;
  width: 100%;
  display: grid;
  place-items: center;
}

.client .logo img {
  max-height: 86px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.5s var(--ease);
}

.client:hover .logo img {
  transform: scale(1.06);
}

.client span {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
  color: #2e3192;
}

.client.hide {
  display: none;
}

.no-result {
  display: none;
  text-align: center;
  padding: 40px;
  color: var(--text-3);
}

.no-result.show {
  display: block;
}

/* ==========================================================================
   Sector Grid & Sector Cards (.sector-grid & .sector-card)
   Used in clients.html for "Sektor Industri yang Kami Layani"
   ========================================================================== */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.sector-card {
  --accent: var(--card-accent, var(--red));
  --accent-rgb: var(--card-accent-rgb, 227, 30, 36);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 28px 24px 22px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.sector-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  opacity: 0.9;
  transition: height 0.3s ease;
}

.sector-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--accent-rgb), 0.45);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(var(--accent-rgb), 0.25);
}

.sector-card:hover::before {
  height: 4px;
}

.sector-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.sector-icon-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sector-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent);
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.sector-card:hover .sector-icon-wrap {
  transform: scale(1.08) rotate(3deg);
}

.sector-icon-wrap svg {
  width: 24px;
  height: 24px;
}

.sector-num {
  font-family: var(--f-display, ui-monospace, monospace);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: 0.08em;
}

.sector-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  color: var(--accent);
  white-space: nowrap;
}

.sector-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
  line-height: 1.3;
}

.sector-desc {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0 0 16px;
  flex-grow: 1;
}

.sector-sub-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin-bottom: 8px;
}

.sector-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.s-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 4px 9px;
  border-radius: 6px;
  transition: border-color 0.25s, color 0.25s, background-color 0.25s;
}

.sector-card:hover .s-tag {
  border-color: rgba(var(--accent-rgb), 0.25);
}

.sector-clients-box {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: auto;
}

.sector-clients-head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.70rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin-bottom: 10px;
}

.sector-clients-head svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

.sector-clients-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 7px;
}

.sector-clients-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.80rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

.sector-clients-list li svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: var(--accent);
}

/* ==========================================================================
   Legal
   ========================================================================== */
.legal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.legal {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--border);
  transition: transform 0.45s var(--ease), border-color 0.4s;
}

.legal:hover {
  transform: translateY(-8px);
  border-color: rgba(227, 30, 36, 0.45);
}

.legal::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  right: -60px;
  top: -60px;
  background: radial-gradient(circle, rgba(46, 49, 146, 0.5), transparent 70%);
}

.legal-icon {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-navy);
  color: #fff;
  margin-bottom: 22px;
  box-shadow: var(--glow-navy);
}

.legal-icon svg {
  width: 28px;
  height: 28px;
}

.legal h4 {
  font-size: 2rem;
  color: var(--red);
  margin-bottom: 4px;
}

.legal small {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-3);
  margin-bottom: 14px;
}

.legal .val {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 1.02rem;
  font-weight: 600;
  word-break: break-word;
  margin-bottom: 16px;
}

.legal .val.text {
  font-family: var(--f-body);
  font-size: 0.98rem;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: all 0.3s;
}

.copy-btn:hover {
  border-color: var(--red);
  color: var(--red);
}

.copy-btn svg {
  width: 14px;
  height: 14px;
}

.copy-btn.ok {
  background: #16a34a;
  color: #fff;
  border-color: transparent;
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-l);
  padding: clamp(40px, 6vw, 70px);
  background: var(--grad-brand);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  box-shadow: var(--glow-red);
  isolation: isolate;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../img/brand/gear.png") right -60px center / 420px no-repeat;
  opacity: 0.18;
  mix-blend-mode: luminosity;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(90deg, #000, transparent);
  -webkit-mask-image: linear-gradient(90deg, #000, transparent);
}

.cta-band h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  margin-bottom: 10px;
}

.cta-band p {
  opacity: 0.92;
  max-width: 560px;
}

.cta-band .btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-white {
  background: #fff;
  color: var(--red);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.4);
}

.btn-outline-white {
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.cp-list {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.cp {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), border-color 0.3s, background 0.3s;
}

.cp:hover {
  transform: translateX(6px);
  border-color: var(--border-strong);
  background: var(--surface-2);
}

.cp-avatar {
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  background: var(--grad-navy);
  position: relative;
}

.cp:nth-child(2) .cp-avatar {
  background: var(--grad-brand);
}

.cp-avatar::after {
  content: "";
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid var(--bg-2);
}

.cp-info {
  flex: 1;
  min-width: 0;
}

.cp-info h4 {
  font-size: 1.25rem;
}

.cp-info small {
  display: block;
  color: var(--text-3);
  font-size: 0.78rem;
  margin-bottom: 2px;
}

.cp-info a {
  display: block;
  font-size: 0.86rem;
  color: var(--text-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.3s;
}

.cp-info a:hover {
  color: var(--red);
}

.cp-actions {
  display: flex;
  gap: 8px;
}

.cp-actions a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}

.cp-actions a svg {
  width: 18px;
  height: 18px;
}

.cp-actions a.wa:hover {
  background: #25d366;
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
}

.cp-actions a.call:hover {
  background: var(--navy);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
}

.info-list {
  display: grid;
  gap: 4px;
}

.info {
  display: flex;
  gap: 16px;
  padding: 16px 4px;
  border-bottom: 1px dashed var(--border);
}

.info:last-child {
  border-bottom: 0;
}

.info-icon {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(227, 30, 36, 0.12);
  color: var(--red);
}

.info-icon svg {
  width: 20px;
  height: 20px;
}

.info small {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-3);
  margin-bottom: 2px;
}

.info p,
.info a {
  font-size: 0.95rem;
  color: var(--text);
}

.info a:hover {
  color: var(--red);
}

.form-card h3 {
  font-size: 2rem;
  margin-bottom: 6px;
}

.form-card>p {
  color: var(--text-2);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  position: relative;
}

.field.full {
  grid-column: 1 / -1;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 22px 16px 10px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  resize: vertical;
}

.field select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e31e24' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}

.field select option {
  background: var(--bg-2);
  color: var(--text);
}

.field textarea {
  min-height: 130px;
}

.field label {
  position: absolute;
  left: 17px;
  top: 16px;
  font-size: 0.92rem;
  color: var(--text-3);
  pointer-events: none;
  transition: all 0.25s var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(227, 30, 36, 0.13);
  background: var(--surface-2);
}

.field input:focus+label,
.field input:not(:placeholder-shown)+label,
.field textarea:focus+label,
.field textarea:not(:placeholder-shown)+label,
.field select+label {
  top: 6px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
}

.field.error input,
.field.error textarea,
.field.error select {
  border-color: #ef4444;
}

.field .err {
  display: none;
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 4px;
  padding-left: 4px;
}

.field.error .err {
  display: block;
}

.send-via {
  display: flex;
  gap: 10px;
  margin: 18px 0;
  flex-wrap: wrap;
}

.radio-pill {
  position: relative;
}

.radio-pill input {
  position: absolute;
  opacity: 0;
}

.radio-pill span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.radio-pill span svg {
  width: 16px;
  height: 16px;
}

.radio-pill .pill-wa svg {
  color: #22c55e;
}

.radio-pill input:checked+span {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff !important;
}

.radio-pill input:checked+span svg {
  color: #fff !important;
}

.radio-pill input:focus-visible+span {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.bank-banner {
  margin-top: 36px;
  padding: 32px;
  border-radius: var(--radius-l);
  background: linear-gradient(135deg, rgba(46, 49, 146, 0.22), rgba(5, 7, 26, 0.6));
  border: 1px solid var(--border);
}

.map-wrap {
  margin-top: 28px;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  height: 380px;
  background: var(--bg-3);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.3) contrast(1.05);
}

[data-theme="dark"] .map-wrap iframe,
:root:not([data-theme="light"]) .map-wrap iframe {
  filter: invert(0.92) hue-rotate(180deg) saturate(0.6) brightness(0.95);
}

.map-overlay {
  position: absolute;
  left: 18px;
  bottom: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  flex-wrap: wrap;
}

.map-overlay strong {
  font-family: var(--f-display);
  font-size: 1.2rem;
  text-transform: uppercase;
  display: block;
}

.map-overlay small {
  color: var(--text-2);
  font-size: 0.82rem;
}

.bank-card {
  position: relative;
  margin-top: 24px;
  padding: 26px;
  border-radius: 22px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #0b2a6b 0%, #1d2070 45%, #2e3192 100%);
  box-shadow: var(--shadow);
  aspect-ratio: 1.75 / 1;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bank-card::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  right: -100px;
  top: -120px;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.4), transparent 70%);
}

.bank-card::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  left: -80px;
  bottom: -150px;
  background: radial-gradient(circle, rgba(227, 30, 36, 0.35), transparent 70%);
}

.bank-card>* {
  position: relative;
  z-index: 1;
}

.bank-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bank-top strong {
  font-family: var(--f-display);
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.chip-gold {
  width: 46px;
  height: 34px;
  border-radius: 7px;
  background: linear-gradient(135deg, #f5d27a, #c99a2e);
  position: relative;
}

.chip-gold::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 4px;
}

.bank-acc {
  display: grid;
  gap: 4px;
}

.bank-acc button {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: ui-monospace, Consolas, monospace;
  font-size: clamp(1rem, 2.4vw, 1.3rem);
  letter-spacing: 0.12em;
  color: #fff;
  text-align: left;
}

.bank-acc button svg {
  width: 16px;
  height: 16px;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.bank-acc button:hover svg {
  opacity: 1;
}

.bank-foot {
  display: flex;
  justify-content: space-between;
  align-items: end;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.9;
}

.bank-foot b {
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  position: relative;
  padding: 80px 0 30px;
  background: #03040f;
  color: #b4b9d3;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy) 0 50%, var(--red) 50% 100%);
}

.footer-big {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(4rem, 15vw, 13rem);
  line-height: 0.8;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
  white-space: nowrap;
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer .brand-text strong {
  color: #fff;
}

.footer-about {
  margin-top: 20px;
  font-size: 0.92rem;
  max-width: 340px;
}

.footer h5 {
  font-family: var(--f-display);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}

.footer-links {
  display: grid;
  gap: 10px;
  font-size: 0.92rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s, transform 0.3s var(--ease);
}

.footer-links a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  opacity: 0;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-links a:hover::before {
  opacity: 1;
}

.footer-bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

.footer .icon-btn {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

/* ==========================================================================
   Floating UI
   ========================================================================== */
.fab-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
}

.fab-wa>button {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.7);
  transition: transform 0.4s var(--ease);
  position: relative;
}

.fab-wa>button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  z-index: -1;
}

@keyframes ping {

  75%,
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.fab-wa>button:hover {
  transform: scale(1.08) rotate(-8deg);
}

.fab-wa>button svg {
  width: 30px;
  height: 30px;
}

.wa-pop {
  position: absolute;
  right: 0;
  bottom: 78px;
  width: 300px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transform-origin: bottom right;
  transform: scale(0.8) translateY(20px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease);
}

.fab-wa.open .wa-pop {
  transform: none;
  opacity: 1;
  visibility: visible;
}

.wa-pop-head {
  padding: 18px 20px;
  background: #075e54;
  color: #fff;
}

.wa-pop-head strong {
  display: block;
  font-size: 1rem;
}

.wa-pop-head small {
  opacity: 0.85;
  font-size: 0.8rem;
}

.wa-pop a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.wa-pop a:last-child {
  border-bottom: 0;
}

.wa-pop a:hover {
  background: var(--surface-2);
}

.wa-pop a .cp-avatar {
  width: 42px;
  height: 42px;
  font-size: 1.1rem;
}

.wa-pop a .cp-avatar::after {
  width: 10px;
  height: 10px;
}

.wa-pop a b {
  display: block;
  font-size: 0.92rem;
}

.wa-pop a small {
  color: var(--text-3);
  font-size: 0.78rem;
}

.to-top {
  position: fixed;
  right: 30px;
  bottom: 100px;
  z-index: 899;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--text);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s var(--ease);
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.to-top svg {
  width: 20px;
  height: 20px;
  position: relative;
  z-index: 1;
}

.to-top .ring {
  position: absolute;
  inset: -1px;
  transform: rotate(-90deg);
}

.to-top .ring circle {
  fill: none;
  stroke: var(--red);
  stroke-width: 2;
  stroke-dasharray: 138;
  stroke-dashoffset: 138;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: #111433;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  font-size: 0.9rem;
  font-weight: 500;
  transform: translate(-50%, 150%);
  transition: transform 0.5s var(--ease);
}

.toast.show {
  transform: translate(-50%, 0);
}

.toast svg {
  width: 20px;
  height: 20px;
  color: #22c55e;
}

/* Lightbox & Modal (Hidden by default to prevent leaking into page flow) */
.lightbox,
.lb-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none !important;
  background: rgba(3, 4, 15, 0.95);
  backdrop-filter: blur(12px);
  color: #fff;
}

.lightbox.open,
.lb-modal.open {
  display: grid !important;
  grid-template-rows: auto 1fr auto;
}

.lb-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
}

.lb-counter {
  font-family: var(--f-display);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
}

.lb-tools {
  display: flex;
  gap: 8px;
}

.lb-tools .icon-btn {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
}

.lb-stage {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0 80px;
  touch-action: pan-y;
}

.lb-stage img {
  max-width: 100%;
  max-height: 72vh;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s var(--ease), opacity 0.3s;
  cursor: zoom-in;
}

.lb-stage img.zoomed {
  transform: scale(1.8);
  cursor: zoom-out;
}

.lb-stage img.swap {
  opacity: 0;
  transform: scale(0.96);
}

.lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  transition: background 0.3s;
  z-index: 2;
}

.lb-arrow:hover {
  background: var(--red);
}

.lb-arrow svg {
  width: 22px;
  height: 22px;
}

.lb-prev {
  left: 18px;
}

.lb-next {
  right: 18px;
}

.lb-bottom {
  text-align: center;
  padding: 16px 20px 10px;
}

.lb-bottom small {
  color: var(--red-400);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lb-bottom h5 {
  font-family: var(--f-display);
  font-size: 1.6rem;
  text-transform: uppercase;
}

.lb-thumbs {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 10px 20px 22px;
  overflow-x: auto;
  scrollbar-width: none;
}

.lb-thumbs img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  opacity: 0.4;
  cursor: pointer;
  flex: none;
  border: 2px solid transparent;
  transition: all 0.3s;
}

.lb-thumbs img.active {
  opacity: 1;
  border-color: var(--red);
}

/* ==========================================================================
   Reveal animations
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}

[data-reveal="up"] {
  transform: translateY(50px);
}

[data-reveal="left"] {
  transform: translateX(-60px);
}

[data-reveal="right"] {
  transform: translateX(60px);
}

[data-reveal="zoom"] {
  transform: scale(0.9);
}

[data-reveal].in {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Comprehensive Light Theme Precision Polish & Contrast System
   Fixes all font contrast, clashes, and card styling in [data-theme="light"]
   ========================================================================== */

/* Homepage Dark Hero Protection (Never clash in light mode) */
.hero {
  background: #05071a !important;
  color: #ffffff !important;
}

.hero h1 {
  color: #ffffff !important;
}

.hero .hero-sub {
  color: #c0c6dc !important;
}

.hero .hero-accreditation {
  border-color: rgba(255, 255, 255, 0.2) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.hero .acc-text {
  color: #ccd3ec !important;
}

.hero .hero-specs-bar {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}

.hero .spec-k {
  color: #9aa3c2 !important;
}

.hero .spec-v {
  color: #ffffff !important;
}

.hero .hero-stats {
  border-top-color: rgba(255, 255, 255, 0.15) !important;
}

.hero .stat+.stat {
  border-left-color: rgba(255, 255, 255, 0.15) !important;
}

.hero .stat .num,
.hero .stat-num {
  color: #ffffff !important;
}

.hero .stat p,
.hero .stat-label {
  color: #a4adcb !important;
}

.hero .hero-tech-card {
  background: linear-gradient(170deg, #10162a 0%, #090d1c 100%) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
}

.hero .tech-card-header {
  border-bottom-color: rgba(255, 255, 255, 0.12) !important;
}

.hero .tech-card-title {
  color: #ffffff !important;
}

.hero .tech-loc {
  color: #9aa3c2 !important;
}

.hero .tech-unit,
.hero .tech-unit:hover {
  color: #ffffff !important;
}

.hero .tech-unit-head h4 {
  color: #ffffff !important;
}

.hero .tech-unit-content p {
  color: #b8c0dc !important;
}

.hero .tech-tag {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #d8def5 !important;
}

.hero .tech-card-footer {
  border-top-color: rgba(255, 255, 255, 0.1) !important;
}

.hero .tech-rfq-info {
  color: #8c95ba !important;
}

.hero .tech-card-link {
  color: #ff8a8d !important;
}

/* Subpage Hero Banner in Light Mode */
[data-theme="light"] .page-hero {
  background: linear-gradient(175deg, #ffffff 0%, #edf1fa 60%, #e2e7f5 100%) !important;
  border-bottom: 1px solid rgba(20, 24, 70, 0.1) !important;
  color: #080b25 !important;
}

[data-theme="light"] .page-hero::before {
  background:
    radial-gradient(ellipse 60% 80% at 85% 20%, rgba(227, 30, 36, 0.06), transparent 60%),
    radial-gradient(ellipse 70% 80% at 10% 80%, rgba(46, 49, 146, 0.07), transparent 60%) !important;
}

[data-theme="light"] .page-hero::after {
  background-image:
    linear-gradient(rgba(20, 24, 70, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 24, 70, 0.05) 1px, transparent 1px) !important;
  opacity: 0.85 !important;
}

[data-theme="light"] .page-hero h1 {
  color: #080b25 !important;
}

[data-theme="light"] .page-hero p.lead,
[data-theme="light"] .page-hero-content p {
  color: #343b5c !important;
}

[data-theme="light"] .page-hero .breadcrumbs a {
  color: #555e82 !important;
}

[data-theme="light"] .page-hero .breadcrumbs a:hover {
  color: var(--red) !important;
}

[data-theme="light"] .page-hero .breadcrumbs span {
  color: rgba(20, 24, 70, 0.25) !important;
}

[data-theme="light"] .page-hero .breadcrumbs .current {
  color: var(--red) !important;
  font-weight: 700 !important;
}

[data-theme="light"] .page-hero .hero-stats {
  border-top: 1px solid rgba(20, 24, 70, 0.12) !important;
}

[data-theme="light"] .page-hero .stat+.stat {
  border-left: 1px solid rgba(20, 24, 70, 0.12) !important;
}

[data-theme="light"] .page-hero .stat .num {
  color: #080b25 !important;
}

[data-theme="light"] .page-hero .stat p {
  color: #555e82 !important;
  font-weight: 500 !important;
}

/* Navbar in Light Mode */
[data-theme="light"] .navbar {
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom: 1px solid rgba(20, 24, 70, 0.09) !important;
  box-shadow: 0 4px 20px -2px rgba(20, 24, 70, 0.06) !important;
}

[data-theme="light"] .brand-text strong {
  color: #080b25 !important;
}

[data-theme="light"] .brand-text small {
  color: #555e82 !important;
  font-weight: 600 !important;
}

[data-theme="light"] .nav-links a {
  color: #343b5c !important;
  font-weight: 600 !important;
  padding: 8px 14px;
}

[data-theme="light"] .nav-links a:hover {
  color: var(--red) !important;
  background: rgba(227, 30, 36, 0.06) !important;
}

[data-theme="light"] .nav-links a.active {
  color: var(--red) !important;
  background: rgba(227, 30, 36, 0.08) !important;
  font-weight: 700 !important;
}

[data-theme="light"] .nav-links a.active::after {
  background: var(--red) !important;
  box-shadow: none !important;
}

[data-theme="light"] .icon-btn {
  background: #edf1fa !important;
  border-color: rgba(20, 24, 70, 0.12) !important;
  color: #080b25 !important;
}

[data-theme="light"] .icon-btn:hover {
  background: #e1e7f5 !important;
  border-color: rgba(20, 24, 70, 0.2) !important;
  color: var(--red) !important;
}

[data-theme="light"] .lang-btn {
  background: #f0f3fa !important;
  border-color: rgba(20, 24, 70, 0.14) !important;
}

[data-theme="light"] .lang-btn .on {
  color: #ffffff !important;
  background: var(--red) !important;
  box-shadow: 0 2px 8px rgba(227, 30, 36, 0.3) !important;
}

[data-theme="light"] .lang-btn .off {
  color: #555e82 !important;
}

/* Headings & Section Typography in Light Mode */
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4 {
  color: #080b25;
}

[data-theme="light"] .lead,
[data-theme="light"] .section-head p {
  color: #343b5c;
}

[data-theme="light"] .section-alt {
  background: #edf1fa !important;
}

/* Panels & Business Cards in Light Mode */
[data-theme="light"] .panel:not(.panel-cta-booking) {
  background: #ffffff !important;
  border: 1px solid rgba(20, 24, 70, 0.1) !important;
  box-shadow: 0 4px 20px rgba(20, 24, 70, 0.04) !important;
  color: #080b25;
}

/* Panel CTA Booking (Facilities page) */
.panel-cta-booking,
[data-theme="light"] .panel-cta-booking {
  background: var(--grad-brand) !important;
  color: #ffffff !important;
  border: 1px solid transparent !important;
  box-shadow: var(--glow-red) !important;
}

.panel-cta-booking h4,
[data-theme="light"] .panel-cta-booking h4 {
  color: #ffffff !important;
  margin-bottom: 8px;
}

.panel-cta-booking p,
[data-theme="light"] .panel-cta-booking p {
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

.panel-cta-booking .btn-white,
[data-theme="light"] .panel-cta-booking .btn-white {
  background: #ffffff !important;
  color: var(--red) !important;
}

[data-theme="light"] .biz-card {
  background: #ffffff !important;
  border: 1px solid rgba(20, 24, 70, 0.1) !important;
  border-top: 3px solid var(--red) !important;
  box-shadow: 0 6px 24px rgba(20, 24, 70, 0.04) !important;
}

[data-theme="light"] .biz-card:hover {
  border-color: var(--red) !important;
  box-shadow: 0 20px 45px -15px rgba(227, 30, 36, 0.2) !important;
}

[data-theme="light"] .biz-card-head {
  border-bottom: 1px solid rgba(20, 24, 70, 0.08) !important;
}

[data-theme="light"] .biz-icon-box {
  background: rgba(227, 30, 36, 0.08) !important;
  border-color: rgba(227, 30, 36, 0.22) !important;
  color: var(--red) !important;
}

[data-theme="light"] .biz-card:hover .biz-icon-box {
  background: var(--red) !important;
  color: #ffffff !important;
}

[data-theme="light"] .biz-card-badge {
  background: #f1f4fb !important;
  border-color: rgba(20, 24, 70, 0.1) !important;
  color: #343b5c !important;
}

[data-theme="light"] .biz-watermark {
  color: rgba(20, 24, 70, 0.07) !important;
}

[data-theme="light"] .biz-card h3 {
  color: #080b25 !important;
}

[data-theme="light"] .biz-card>.biz-card-body>p {
  color: #343b5c !important;
}

[data-theme="light"] .biz-spec-row {
  color: #1a1e40 !important;
}

[data-theme="light"] .biz-card-foot {
  background: #f7f9fd !important;
  border-top: 1px solid rgba(20, 24, 70, 0.08) !important;
}

[data-theme="light"] .biz-num {
  background: linear-gradient(180deg, rgba(46, 49, 146, 0.3) 0%, rgba(46, 49, 146, 0.05) 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  opacity: 0.9 !important;
}

[data-theme="light"] .biz-list li {
  background: #f7f9fd !important;
  border: 1px solid rgba(20, 24, 70, 0.08) !important;
  color: #1e244d !important;
}

[data-theme="light"] .biz-list li:hover {
  background: rgba(227, 30, 36, 0.06) !important;
  border-color: rgba(227, 30, 36, 0.3) !important;
  color: #080b25 !important;
}

/* Service Cards in Light Mode */
[data-theme="light"] .service-card {
  background: #ffffff !important;
  border: 1px solid rgba(20, 24, 70, 0.1) !important;
  border-top: 3px solid var(--red) !important;
  box-shadow: 0 4px 20px rgba(20, 24, 70, 0.04) !important;
}

[data-theme="light"] .service-card:hover {
  border-color: var(--red) !important;
  box-shadow: 0 16px 36px rgba(227, 30, 36, 0.14) !important;
}

[data-theme="light"] .service-card-header {
  border-bottom: 1px solid rgba(20, 24, 70, 0.08) !important;
}

[data-theme="light"] .service-card-cat {
  color: #555e82 !important;
}

[data-theme="light"] .service-card-fleet {
  background: #f1f4fb !important;
  border-color: rgba(20, 24, 70, 0.1) !important;
  color: #1a1e40 !important;
}

[data-theme="light"] .service-spec-badge {
  background: rgba(227, 30, 36, 0.08) !important;
  border-color: rgba(227, 30, 36, 0.25) !important;
  color: var(--red) !important;
}

[data-theme="light"] .service-card-title {
  color: #080b25 !important;
}

[data-theme="light"] .service-card-desc {
  color: #343b5c !important;
}

[data-theme="light"] .service-specs {
  background: #f7f9fd !important;
  border: 1px solid rgba(20, 24, 70, 0.08) !important;
}

[data-theme="light"] .service-spec-item {
  border-bottom: 1px dashed rgba(20, 24, 70, 0.1) !important;
}

[data-theme="light"] .service-spec-item .spec-label {
  color: #555e82 !important;
}

[data-theme="light"] .service-spec-item .spec-value {
  color: #343b5c !important;
}

[data-theme="light"] .service-spec-item strong.spec-value {
  color: #080b25 !important;
}

[data-theme="light"] .service-card-foot {
  background: #f0f4fb !important;
  border-top-color: rgba(20, 24, 70, 0.08) !important;
}

[data-theme="light"] .service-foot-note {
  color: #555e82 !important;
}

/* Machinery Table, Tabs & Capacity in Light Mode */
[data-theme="light"] .tabs {
  background: #eef2fa !important;
  border: 1px solid rgba(20, 24, 70, 0.1) !important;
}

[data-theme="light"] .tab {
  color: #464b6e !important;
}

[data-theme="light"] .tab.active {
  color: #ffffff !important;
}

[data-theme="light"] .tab-ind {
  background: var(--navy) !important;
  box-shadow: 0 4px 14px rgba(46, 49, 146, 0.35) !important;
}

[data-theme="light"] .m-table th {
  color: #555e82 !important;
  font-weight: 700 !important;
  border-bottom: 2px solid rgba(20, 24, 70, 0.1) !important;
}

[data-theme="light"] .m-table td {
  background: #ffffff !important;
  border-block: 1px solid rgba(20, 24, 70, 0.08) !important;
  color: #080b25 !important;
}

[data-theme="light"] .m-table td strong {
  color: #080b25 !important;
}

[data-theme="light"] .m-table td small {
  color: #555e82 !important;
}

[data-theme="light"] .m-table td.size {
  color: #232849 !important;
}

[data-theme="light"] .m-table tr:hover td {
  background: #f2f6ff !important;
  border-color: rgba(227, 30, 36, 0.25) !important;
}

[data-theme="light"] .m-sum {
  background: linear-gradient(135deg, rgba(46, 49, 146, 0.07), rgba(227, 30, 36, 0.05)) !important;
  border: 1px solid rgba(20, 24, 70, 0.12) !important;
  color: #080b25 !important;
}

[data-theme="light"] .total-card {
  background: linear-gradient(135deg, #1d2070 0%, #2e3192 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 15px 35px -10px rgba(46, 49, 146, 0.4) !important;
}

[data-theme="light"] .total-card .big,
[data-theme="light"] .total-card p,
[data-theme="light"] .total-card small {
  color: #ffffff !important;
}

[data-theme="light"] .chart h4 {
  color: #080b25 !important;
}

[data-theme="light"] .bar-row .lbl {
  color: #343b5c !important;
}

[data-theme="light"] .bar-row:hover .lbl,
[data-theme="light"] .bar-row.active .lbl {
  color: #080b25 !important;
}

[data-theme="light"] .bar-track {
  background: #e2e7f4 !important;
}

/* Legalities & Bank Details in Light Mode */
[data-theme="light"] .legal {
  background: #ffffff !important;
  border: 1px solid rgba(20, 24, 70, 0.1) !important;
  box-shadow: 0 6px 20px rgba(20, 24, 70, 0.04) !important;
}

[data-theme="light"] .legal:hover {
  border-color: rgba(227, 30, 36, 0.35) !important;
  box-shadow: 0 16px 36px -10px rgba(20, 24, 70, 0.1) !important;
}

[data-theme="light"] .legal h4 {
  color: var(--red) !important;
}

[data-theme="light"] .legal small {
  color: #555e82 !important;
  font-weight: 600 !important;
}

[data-theme="light"] .legal .val {
  color: #080b25 !important;
  font-weight: 700 !important;
}

[data-theme="light"] .copy-btn {
  background: #f0f3fa !important;
  border: 1px solid rgba(20, 24, 70, 0.13) !important;
  color: #1a1e40 !important;
}

[data-theme="light"] .copy-btn:hover {
  background: var(--red) !important;
  border-color: var(--red) !important;
  color: #ffffff !important;
}

[data-theme="light"] .bank-banner {
  background: #ffffff !important;
  border: 1px solid rgba(20, 24, 70, 0.11) !important;
  box-shadow: 0 10px 30px rgba(20, 24, 70, 0.05) !important;
}

/* Contact PIC Cards & RFQ Form in Light Mode */
[data-theme="light"] .cp {
  background: #ffffff !important;
  border: 1px solid rgba(20, 24, 70, 0.1) !important;
  box-shadow: 0 4px 16px rgba(20, 24, 70, 0.04) !important;
}

[data-theme="light"] .cp:hover {
  background: #f7f9fd !important;
  border-color: rgba(227, 30, 36, 0.3) !important;
}

[data-theme="light"] .cp-info h4 {
  color: #080b25 !important;
}

[data-theme="light"] .cp-info small {
  color: #555e82 !important;
}

[data-theme="light"] .cp-info a {
  color: var(--navy) !important;
  font-weight: 600 !important;
}

[data-theme="light"] .cp-actions a {
  background: #f0f3fa !important;
  border: 1px solid rgba(20, 24, 70, 0.12) !important;
  color: #080b25 !important;
}

[data-theme="light"] .info small {
  color: #555e82 !important;
}

[data-theme="light"] .info p,
[data-theme="light"] .info a {
  color: #080b25 !important;
}

[data-theme="light"] .form-card {
  background: #ffffff !important;
  border: 1px solid rgba(20, 24, 70, 0.11) !important;
  box-shadow: 0 15px 40px rgba(20, 24, 70, 0.06) !important;
}

[data-theme="light"] .form-card h3 {
  color: #080b25 !important;
}

[data-theme="light"] .form-card>p {
  color: #343b5c !important;
}

[data-theme="light"] .field input,
[data-theme="light"] .field select,
[data-theme="light"] .field textarea {
  background: #f7f9fd !important;
  border: 1.5px solid rgba(20, 24, 70, 0.14) !important;
  color: #080b25 !important;
}

[data-theme="light"] .field input:focus,
[data-theme="light"] .field select:focus,
[data-theme="light"] .field textarea:focus {
  background: #ffffff !important;
  border-color: var(--red) !important;
  box-shadow: 0 0 0 4px rgba(227, 30, 36, 0.12) !important;
}

[data-theme="light"] .field label {
  color: #555e82 !important;
}

[data-theme="light"] .radio-pill span {
  background: #f0f3fa !important;
  border: 1px solid rgba(20, 24, 70, 0.14) !important;
  color: #1a1e40 !important;
}

[data-theme="light"] .radio-pill input:checked+span {
  background: var(--navy) !important;
  border-color: var(--navy) !important;
  color: #ffffff !important;
}

[data-theme="light"] .radio-pill input:checked+span svg {
  color: #ffffff !important;
}

/* Client Directory in Light Mode */
[data-theme="light"] .client {
  background: #ffffff !important;
  border: 1px solid rgba(20, 24, 70, 0.09) !important;
  box-shadow: 0 4px 16px rgba(20, 24, 70, 0.04) !important;
}

[data-theme="light"] .client span {
  color: #080b25 !important;
}

[data-theme="light"] .client small {
  color: #555e82 !important;
}

[data-theme="light"] .search input {
  background: #ffffff !important;
  border: 1.5px solid rgba(20, 24, 70, 0.14) !important;
  color: #080b25 !important;
  box-shadow: 0 4px 14px rgba(20, 24, 70, 0.04) !important;
}

[data-theme="light"] .client-count {
  color: #555e82 !important;
}

/* Products Gallery Chips & Toggle in Light Mode */
[data-theme="light"] .filter-chip,
[data-theme="light"] .chip {
  background: #f0f3fa !important;
  border: 1px solid rgba(20, 24, 70, 0.12) !important;
  color: #343b5c !important;
}

[data-theme="light"] .filter-chip .count,
[data-theme="light"] .chip .count {
  background: rgba(20, 24, 70, 0.08) !important;
  color: #1a1e40 !important;
}

[data-theme="light"] .filter-chip:hover,
[data-theme="light"] .chip:hover {
  color: #080b25 !important;
  border-color: rgba(20, 24, 70, 0.25) !important;
}

[data-theme="light"] .filter-chip.active,
[data-theme="light"] .chip.active {
  background: var(--grad-brand) !important;
  color: #ffffff !important;
  box-shadow: var(--glow-red) !important;
  border-color: transparent !important;
}

[data-theme="light"] .filter-chip.active .count,
[data-theme="light"] .chip.active .count {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

[data-theme="light"] .view-toggle .icon-btn {
  background: #f0f3fa !important;
  border-color: rgba(20, 24, 70, 0.14) !important;
  color: #343b5c !important;
}

[data-theme="light"] .view-toggle .icon-btn.active {
  background: var(--navy) !important;
  color: #ffffff !important;
  border-color: var(--navy) !important;
}

/* 5 Custom Assembly Projects in Light Mode */
[data-theme="light"] .work-card {
  background: #ffffff !important;
  border: 1px solid rgba(20, 24, 70, 0.11) !important;
  border-top: 3px solid var(--red) !important;
  box-shadow: 0 6px 20px rgba(20, 24, 70, 0.05) !important;
}

[data-theme="light"] .work-card:hover {
  border-color: rgba(227, 30, 36, 0.6) !important;
  border-top-color: var(--red) !important;
  box-shadow: 0 16px 36px -8px rgba(227, 30, 36, 0.22) !important;
}

[data-theme="light"] .work-title {
  color: #080b25 !important;
}

[data-theme="light"] .work-desc {
  color: #343b5c !important;
}

[data-theme="light"] .work-specs {
  background: #f7f9fd !important;
  border: 1px solid rgba(20, 24, 70, 0.09) !important;
}

[data-theme="light"] .work-spec-item {
  border-bottom: 1px dashed rgba(20, 24, 70, 0.1) !important;
}

[data-theme="light"] .work-spec-item .spec-label {
  color: #555e82 !important;
}

[data-theme="light"] .work-spec-item strong.spec-value {
  color: #080b25 !important;
}

[data-theme="light"] .work-spec-item .spec-value {
  color: #343b5c !important;
}

[data-theme="light"] .work-foot {
  background: #f0f4fb !important;
  border-top: 1px solid rgba(20, 24, 70, 0.08) !important;
}

[data-theme="light"] .work-foot-note {
  color: #555e82 !important;
}

[data-theme="light"] .work-card-link {
  color: var(--red) !important;
}

[data-theme="light"] .work-card-link:hover {
  color: var(--red-hover) !important;
}

/* Materials & Metrology Feature Cards in Light Mode */
[data-theme="light"] .feature-card {
  background: #ffffff !important;
  border: 1px solid rgba(20, 24, 70, 0.11) !important;
  box-shadow: 0 6px 20px rgba(20, 24, 70, 0.05) !important;
}

[data-theme="light"] .feature-card:hover {
  border-color: var(--red) !important;
  box-shadow: 0 16px 36px -8px rgba(46, 49, 146, 0.18) !important;
}

[data-theme="light"] .feature-card h3 {
  color: #080b25 !important;
}

[data-theme="light"] .feature-card p {
  color: #343b5c !important;
}

[data-theme="light"] .custom-notice {
  background: #ffffff !important;
  border: 1px solid rgba(20, 24, 70, 0.11) !important;
  border-left: 4px solid var(--red) !important;
  box-shadow: 0 6px 20px rgba(20, 24, 70, 0.05) !important;
}

[data-theme="light"] .custom-notice-text h4 {
  color: #080b25 !important;
}

[data-theme="light"] .custom-notice-text p {
  color: #343b5c !important;
}

/* Facility & QA Cards in Light Mode */
[data-theme="light"] .fac-matrix-item {
  background: #f0f3fa !important;
  border-color: rgba(20, 24, 70, 0.12) !important;
}

[data-theme="light"] .fac-matrix-item strong {
  color: #080b25 !important;
}

[data-theme="light"] .fac-matrix-item span {
  color: #4b5578 !important;
}

[data-theme="light"] .fac-specs-card {
  background: #ffffff !important;
  border-color: rgba(20, 24, 70, 0.12) !important;
  box-shadow: 0 4px 16px rgba(20, 24, 70, 0.04) !important;
}

[data-theme="light"] .fac-specs-row {
  border-bottom-color: rgba(20, 24, 70, 0.1) !important;
}

[data-theme="light"] .fac-specs-row .lbl {
  color: #555e82 !important;
}

[data-theme="light"] .fac-specs-row .val {
  color: #080b25 !important;
}

[data-theme="light"] .qa-card {
  background: #ffffff !important;
  border-color: rgba(20, 24, 70, 0.12) !important;
  box-shadow: 0 4px 16px rgba(20, 24, 70, 0.04) !important;
}

[data-theme="light"] .qa-card h4 {
  color: #080b25 !important;
}

[data-theme="light"] .qa-card p {
  color: #4b5578 !important;
}

/* Mission & Process in Light Mode */
[data-theme="light"] .mission {
  background: #ffffff !important;
  border: 1px solid rgba(20, 24, 70, 0.1) !important;
  box-shadow: 0 4px 16px rgba(20, 24, 70, 0.04) !important;
}

[data-theme="light"] .mission h4 {
  color: #080b25 !important;
}

[data-theme="light"] .mission p {
  color: #343b5c !important;
}

[data-theme="light"] .mission-num {
  -webkit-text-stroke: 1.5px rgba(20, 24, 70, 0.16) !important;
}

[data-theme="light"] .value {
  background: #ffffff !important;
  border: 1px solid rgba(20, 24, 70, 0.1) !important;
  box-shadow: 0 4px 16px rgba(20, 24, 70, 0.04) !important;
}

[data-theme="light"] .value h4 {
  color: #080b25 !important;
}

[data-theme="light"] .value p {
  color: #343b5c !important;
}

[data-theme="light"] .about-quote {
  background: #f0f4fb !important;
  border-left-color: var(--red) !important;
  color: #1a1e40 !important;
}

[data-theme="light"] .about-side-card {
  background: linear-gradient(145deg, #ffffff 0%, #f4f7fe 100%) !important;
  border-color: rgba(20, 24, 70, 0.12) !important;
  box-shadow: 0 15px 35px -10px rgba(20, 24, 70, 0.1) !important;
  color: #080b25 !important;
}

[data-theme="light"] .side-card-titles h3 {
  color: #080b25 !important;
}

[data-theme="light"] .side-card-titles p {
  color: #3e4875 !important;
}

[data-theme="light"] .side-card-logo {
  background: #ffffff !important;
  border-color: rgba(20, 24, 70, 0.1) !important;
}

[data-theme="light"] .side-card-highlight {
  background: #edf2fc !important;
  border-color: rgba(46, 49, 146, 0.12) !important;
}

[data-theme="light"] .highlight-big {
  color: #141846 !important;
}

[data-theme="light"] .highlight-info strong {
  color: #080b25 !important;
}

[data-theme="light"] .highlight-info span {
  color: #55608a !important;
}

[data-theme="light"] .side-card-leader {
  background: linear-gradient(135deg, #1d2070 0%, #2e3192 100%) !important;
  color: #fff !important;
}

[data-theme="light"] .metric-chip {
  background: #ffffff !important;
  border-color: rgba(20, 24, 70, 0.1) !important;
}

[data-theme="light"] .metric-chip strong {
  color: #080b25 !important;
}

[data-theme="light"] .metric-chip span {
  color: #55608a !important;
}

[data-theme="light"] .step-dot {
  background: #ffffff !important;
  border-color: rgba(20, 24, 70, 0.16) !important;
  color: #080b25 !important;
}

[data-theme="light"] .step h4 {
  color: #080b25 !important;
}

[data-theme="light"] .step p {
  color: #343b5c !important;
}

[data-theme="light"] .marquee-strip {
  background: #f0f3fa !important;
  border-block-color: rgba(20, 24, 70, 0.08) !important;
}

[data-theme="light"] .marquee-item {
  background: #ffffff !important;
  border-color: rgba(20, 24, 70, 0.1) !important;
  box-shadow: 0 4px 14px rgba(20, 24, 70, 0.04) !important;
}

[data-theme="light"] .marquee-strip::before {
  background: linear-gradient(90deg, #f0f3fa, transparent) !important;
}

[data-theme="light"] .marquee-strip::after {
  background: linear-gradient(-90deg, #f0f3fa, transparent) !important;
}

/* Mobile Drawer in Light Mode */
[data-theme="light"] .drawer {
  background: #ffffff !important;
  box-shadow: -10px 0 40px rgba(20, 24, 70, 0.12) !important;
}

[data-theme="light"] .drawer-brand strong {
  color: #080b25 !important;
}

[data-theme="light"] .drawer-close {
  background: #f0f3fa !important;
  border-color: rgba(20, 24, 70, 0.14) !important;
  color: #080b25 !important;
}

[data-theme="light"] .drawer a.d-link {
  color: #1a1e40 !important;
  border-bottom-color: rgba(20, 24, 70, 0.08) !important;
}

[data-theme="light"] .drawer a.d-link:hover,
[data-theme="light"] .drawer a.d-link.active {
  background: #fff3f3 !important;
  color: var(--red) !important;
  border-bottom-color: var(--red) !important;
}

[data-theme="light"] .drawer-quick-contact {
  background: #f7f9fd !important;
  border-color: rgba(20, 24, 70, 0.1) !important;
  border-left-color: var(--red) !important;
}

[data-theme="light"] .drawer-quick-btn {
  background: #ffffff !important;
  border-color: rgba(20, 24, 70, 0.12) !important;
  color: #080b25 !important;
}

[data-theme="light"] .drawer-quick-btn.wa {
  background: #eafaf1 !important;
  border-color: #25d366 !important;
  color: #128c7e !important;
}

[data-theme="light"] .drawer-quick-btn.call {
  background: #eef1ff !important;
  border-color: #2e3192 !important;
  color: #2e3192 !important;
}

[data-theme="light"] .drawer-control-btn {
  background: #f0f3fa !important;
  border-color: rgba(20, 24, 70, 0.12) !important;
  color: #080b25 !important;
}

[data-theme="light"] .drawer-control-btn:hover {
  background: #e6ebf7 !important;
}

[data-theme="light"] .drawer-lang-btn .off {
  color: #555e82 !important;
}

/* Light Theme styles for .sector-card */
[data-theme="light"] .sector-card {
  background: #ffffff !important;
  border-color: rgba(20, 24, 70, 0.1) !important;
  box-shadow: 0 4px 18px rgba(20, 24, 70, 0.04) !important;
}

[data-theme="light"] .sector-card:hover {
  border-color: rgba(var(--accent-rgb), 0.5) !important;
  box-shadow: 0 16px 36px -10px rgba(20, 24, 70, 0.12), 0 0 0 1px rgba(var(--accent-rgb), 0.2) !important;
}

[data-theme="light"] .sector-num {
  color: #64748b !important;
}

[data-theme="light"] .sector-badge {
  background: rgba(var(--accent-rgb), 0.08) !important;
  border-color: rgba(var(--accent-rgb), 0.25) !important;
  color: var(--accent) !important;
}

[data-theme="light"] .sector-title {
  color: #080b25 !important;
}

[data-theme="light"] .sector-desc {
  color: #343b5c !important;
}

[data-theme="light"] .sector-sub-label {
  color: #64748b !important;
}

[data-theme="light"] .s-tag {
  background: #f4f6fc !important;
  border-color: rgba(20, 24, 70, 0.1) !important;
  color: #1a1e40 !important;
}

[data-theme="light"] .sector-card:hover .s-tag {
  border-color: rgba(var(--accent-rgb), 0.28) !important;
}

[data-theme="light"] .sector-clients-box {
  border-top-color: rgba(20, 24, 70, 0.09) !important;
}

[data-theme="light"] .sector-clients-head {
  color: #64748b !important;
}

[data-theme="light"] .sector-clients-list li {
  color: #080b25 !important;
}

/* Footer Solid Industrial Contrast (Both Dark & Light) */
.footer {
  background: #080a1c !important;
  color: #b0b7d3 !important;
}

.footer .brand-text strong,
.footer h5,
.footer-col-title {
  color: #ffffff !important;
}

.footer .brand-text small {
  color: #7d85a6 !important;
}

.footer-links a {
  color: #a4adcd !important;
}

.footer-links a:hover {
  color: #ffffff !important;
}

.footer-bottom {
  color: #8c95ba !important;
  border-top-color: rgba(255, 255, 255, 0.1) !important;
}

.footer-bottom strong {
  color: #ffffff !important;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav-links a {
    padding: 10px 10px;
    font-size: 0.85rem;
  }

  .services {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    grid-column: span 1 !important;
  }

  .service-card:nth-child(5) {
    grid-column: 1 / -1 !important;
  }

  .clients {
    grid-template-columns: repeat(5, 1fr);
  }

  .legal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1024px) {

  .nav-links,
  .nav-actions .nav-cta {
    display: none;
  }

  .burger {
    display: grid;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .pillars {
    grid-template-columns: repeat(3, 1fr);
  }

  .pillar:nth-child(2) {
    margin-left: 0;
  }

  .pillar {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .about-grid,
  .fac-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .founder-wrap {
    max-width: 520px;
    margin-inline: auto;
  }

  .biz-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin-inline: auto;
  }

  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery.dense {
    grid-template-columns: repeat(4, 1fr);
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  .work-card {
    grid-column: span 1 !important;
  }

  .work-card:nth-child(4),
  .work-card:nth-child(5) {
    grid-column: span 1 !important;
  }

  .work-card:nth-child(5) {
    grid-column: 1 / -1 !important;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .grid-3 .feature-card:last-child {
    grid-column: 1 / -1 !important;
  }

  .fac-side {
    grid-template-columns: 1fr 1fr;
  }

  .sector-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  .mission-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mission,
  .mission:nth-child(4),
  .mission:nth-child(5) {
    grid-column: span 1;
  }

  .mission:nth-child(5) {
    grid-column: 1 / -1;
  }

  .process {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 40px;
  }

  .process::before,
  .process .bar {
    display: none;
  }

  .cta-band {
    grid-template-columns: 1fr;
  }

  .qa-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fac-preview-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  /* Prevent off-screen horizontal expansion from reveal transforms */
  [data-reveal="left"],
  [data-reveal="right"] {
    transform: translateY(24px) !important;
  }
}

@media (max-width: 720px) {
  :root {
    --nav-h: 64px !important;
  }

  /* Root containment - 100% prevent horizontal drag/scroll */
  html,
  body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
  }

  .container {
    width: min(100% - 24px, var(--container)) !important;
    max-width: 100% !important;
    padding-inline: 0 !important;
    box-sizing: border-box !important;
  }

  .section {
    padding: 50px 0 !important;
    overflow-x: hidden !important;
  }

  /* Global Mobile Button Containment */
  .btn {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Compact, Tidy, Aligned Mobile Header */
  .navbar {
    height: var(--nav-h) !important;
  }

  .nav-inner {
    height: 100% !important;
    gap: 8px !important;
  }

  .brand {
    gap: 8px !important;
    max-width: calc(100% - 135px) !important;
    min-width: 0 !important;
  }

  .brand-mark {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    padding: 4px !important;
    flex-shrink: 0 !important;
  }

  .brand-text {
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .brand-text strong {
    font-size: 1.05rem !important;
    letter-spacing: 0.02em !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
  }

  .brand-text small {
    display: none !important;
  }

  .brand {
    gap: 8px !important;
    max-width: calc(100% - 50px) !important;
    min-width: 0 !important;
  }

  .navbar .lang-btn,
  .navbar .theme-btn {
    display: none !important;
  }

  .burger {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 0 !important;
  }

  .burger span {
    display: block !important;
    width: 18px !important;
    height: 2px !important;
    background: currentColor !important;
    border-radius: 2px !important;
    margin: 0 !important;
    transition: transform 0.3s var(--ease), opacity 0.25s !important;
  }

  .burger.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg) !important;
  }

  .burger.open span:nth-child(2) {
    opacity: 0 !important;
    transform: scaleX(0) !important;
  }

  .burger.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg) !important;
  }

  /* Drawer mobile scrollable (Executive Side Panel) */
  .drawer {
    padding: 16px 16px 44px !important;
    justify-content: flex-start !important;
    gap: 0 !important;
  }

  .drawer-header {
    padding-bottom: 10px !important;
    margin-bottom: 8px !important;
  }

  .drawer-brand img {
    width: 28px !important;
    height: 22px !important;
  }

  .drawer-brand strong {
    font-size: 1.05rem !important;
  }

  .drawer-close {
    width: 32px !important;
    height: 32px !important;
    font-size: 1.2rem !important;
  }

  .drawer-nav {
    gap: 2px !important;
  }

  .drawer a.d-link {
    font-size: 1.02rem !important;
    padding: 7px 10px !important;
    border-radius: 6px !important;
  }

  .drawer a.d-link span.num {
    font-size: 0.68rem !important;
  }

  .drawer-quick-contact {
    margin-top: 10px !important;
    padding: 10px 12px !important;
    gap: 6px !important;
  }

  .drawer-quick-label {
    font-size: 0.62rem !important;
  }

  .drawer-quick-btn {
    padding: 7px 8px !important;
    font-size: 0.74rem !important;
  }

  .drawer-foot {
    margin-top: 10px !important;
    padding-top: 10px !important;
    padding-bottom: 30px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  .drawer-foot .btn {
    width: 100% !important;
    justify-content: center !important;
    --pad: 10px 14px !important;
    font-size: 0.82rem !important;
  }

  /* Hero Section Mobile Proportions */
  .hero {
    padding-top: calc(var(--nav-h) + 16px) !important;
    padding-bottom: 32px !important;
    overflow-x: hidden !important;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .hero-accreditation {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 5px 10px 5px 6px !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 6px !important;
    max-width: 100% !important;
    margin-bottom: 12px !important;
    box-sizing: border-box !important;
  }

  .acc-badge {
    flex-shrink: 0 !important;
    font-size: 0.65rem !important;
    padding: 2px 7px !important;
    border-radius: 4px !important;
  }

  .acc-text {
    font-size: 0.68rem !important;
    letter-spacing: 0.03em !important;
    line-height: 1.35 !important;
  }

  .hero h1 {
    font-size: clamp(1.65rem, 7.4vw, 2.35rem) !important;
    line-height: 1.1 !important;
    margin-bottom: 12px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
  }

  .hero h1 .line {
    overflow: visible !important;
    display: block !important;
  }

  .hero h1 .line>span {
    display: inline !important;
    white-space: normal !important;
  }

  .hero-sub {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    margin-bottom: 16px !important;
    max-width: 100% !important;
  }

  /* Hero Specs Bar (Mobile Non-Clipping) */
  .hero-specs-bar {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    padding: 12px 14px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 16px !important;
    border-radius: 10px !important;
  }

  .spec-sep {
    display: none !important;
  }

  .spec-item {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: baseline !important;
    gap: 10px !important;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.12) !important;
    padding-bottom: 6px !important;
  }

  .spec-item:last-child {
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .spec-k {
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    color: #9aa3c2 !important;
    flex-shrink: 0 !important;
  }

  .spec-v {
    font-size: 0.80rem !important;
    font-weight: 600 !important;
    text-align: right !important;
    white-space: normal !important;
    line-height: 1.3 !important;
    color: #ffffff !important;
  }

  .hero-cta {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
    margin-bottom: 18px !important;
  }

  .hero-cta .btn {
    width: 100% !important;
    min-height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 18px !important;
    border-radius: 10px !important;
    font-size: 0.88rem !important;
    white-space: normal !important;
    text-align: center !important;
    box-sizing: border-box !important;
    line-height: 1.3 !important;
  }

  /* Hero Stats & Subpage Header Stats Bars */
  .hero-stats {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding-top: 14px !important;
    margin-top: 16px !important;
    max-width: 100% !important;
  }

  .stat {
    min-height: 78px !important;
    padding: 12px 10px !important;
    border: 1px solid var(--border) !important;
    background: var(--surface) !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 3px !important;
  }

  .hero .stat {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
  }

  .stat+.stat {
    border-left: 1px solid var(--border) !important;
    padding-left: 10px !important;
  }

  .hero .stat+.stat {
    border-left: 1px solid rgba(255, 255, 255, 0.14) !important;
  }

  .stat .num,
  .stat-num {
    font-family: var(--f-display) !important;
    font-size: 1.5rem !important;
    line-height: 1 !important;
    color: var(--text) !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 3px !important;
  }

  .hero .stat .num,
  .hero .stat-num,
  .hero .stat-val {
    color: #ffffff !important;
  }

  .hero .stat p,
  .hero .stat-label {
    color: #a4adcb !important;
  }

  [data-theme="light"] .page-hero .stat .num,
  [data-theme="light"] .page-hero .stat-val {
    color: #080b25 !important;
  }

  [data-theme="light"] .page-hero .stat p,
  [data-theme="light"] .page-hero .stat-label {
    color: #475569 !important;
  }

  .stat .num small,
  .stat-num sup {
    font-size: 0.65rem !important;
    color: var(--red) !important;
    font-weight: 700 !important;
  }

  .stat p,
  .stat-label {
    font-size: 0.68rem !important;
    line-height: 1.3 !important;
    color: var(--text-2) !important;
    margin: 0 !important;
  }

  /* Hero Tech Spec Card on Mobile */
  .hero-tech-card {
    padding: 16px 14px !important;
    border-radius: 16px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .tech-card-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    padding-bottom: 10px !important;
    margin-bottom: 10px !important;
  }

  .tech-card-title {
    font-size: 0.82rem !important;
  }

  .tech-loc {
    font-size: 0.68rem !important;
  }

  .tech-unit {
    padding: 10px 10px !important;
    gap: 10px !important;
  }

  .tech-unit-num {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.85rem !important;
  }

  .tech-unit-head {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 4px 8px !important;
    margin-bottom: 4px !important;
  }

  .tech-unit-head h4 {
    font-size: 0.84rem !important;
    line-height: 1.2 !important;
    margin: 0 !important;
  }

  .tech-tag {
    font-size: 0.62rem !important;
    padding: 2px 5px !important;
  }

  .tech-unit p {
    font-size: 0.78rem !important;
    line-height: 1.4 !important;
    margin-top: 3px !important;
  }

  .tech-card-footer {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    padding-top: 10px !important;
    margin-top: 10px !important;
  }

  .tech-rfq-info {
    font-size: 0.72rem !important;
  }

  .tech-card-link {
    font-size: 0.8rem !important;
  }

  /* Marquee Strip */
  .marquee-strip {
    padding: 28px 0 32px !important;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .marquee-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
  }

  .marquee-title {
    font-size: 1.22rem !important;
    line-height: 1.22 !important;
  }

  .marquee-sub {
    font-size: 0.80rem !important;
    line-height: 1.5 !important;
  }

  .marquee-head-action {
    width: 100% !important;
  }

  .marquee-link-btn {
    width: 100% !important;
    justify-content: center !important;
    --pad: 10px 16px !important;
  }

  .marquee-track-wrap {
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .marquee-card {
    padding: 6px 14px 6px 6px !important;
    gap: 10px !important;
    min-height: 48px !important;
    box-sizing: border-box !important;
    border-radius: 999px !important;
  }

  .card-logo-box {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 4px !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
  }

  [data-theme="light"] .card-logo-box {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
  }

  .card-logo-box img {
    width: 100% !important;
    height: 100% !important;
    max-width: 26px !important;
    max-height: 26px !important;
    object-fit: contain !important;
    display: block !important;
  }

  .card-name {
    font-size: 0.80rem !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
  }

  .card-sector {
    font-size: 0.65rem !important;
    line-height: 1.25 !important;
    margin-top: 1px !important;
  }

  /* About & Identity Showcase Section */
  .about-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
    width: 100% !important;
  }

  .about-grid>* {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .about-side-card {
    padding: 22px 18px !important;
    border-radius: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    gap: 16px !important;
    margin-bottom: 8px !important;
  }

  .side-card-header {
    gap: 12px !important;
  }

  .side-card-logo {
    width: 48px !important;
    height: 48px !important;
    border-radius: 12px !important;
  }

  .side-card-logo img {
    width: 36px !important;
    height: auto !important;
  }

  .side-card-titles h3 {
    font-size: 1.15rem !important;
  }

  .side-card-titles p {
    font-size: 0.74rem !important;
  }

  .side-card-highlight {
    padding: 12px 14px !important;
    gap: 14px !important;
    border-radius: 12px !important;
  }

  .highlight-big {
    font-size: 2.6rem !important;
  }

  .highlight-info strong {
    font-size: 0.78rem !important;
  }

  .highlight-info span {
    font-size: 0.68rem !important;
  }

  .side-card-leader {
    padding: 12px 14px !important;
    border-radius: 12px !important;
  }

  .side-card-leader .leader-role {
    font-size: 0.62rem !important;
  }

  .side-card-leader .leader-name {
    font-size: 1.05rem !important;
  }

  .side-card-leader .leader-desc {
    font-size: 0.72rem !important;
  }

  .side-card-metrics {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
  }

  .metric-chip {
    padding: 8px 4px !important;
  }

  .metric-chip strong {
    font-size: 0.82rem !important;
  }

  .metric-chip span {
    font-size: 0.58rem !important;
  }

  /* Legacy .founder-wrap fallback if needed */
  .founder-wrap {
    max-width: 100% !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .about-text {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .about-text .eyebrow {
    font-size: 0.70rem !important;
  }

  .about-text h2.title {
    font-size: 1.55rem !important;
    line-height: 1.18 !important;
    margin-bottom: 10px !important;
  }

  .about-text .lead {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    margin-bottom: 12px !important;
  }

  .about-text p {
    font-size: 0.84rem !important;
    line-height: 1.55 !important;
    margin-bottom: 14px !important;
  }

  .about-quote {
    margin: 16px 0 20px !important;
    padding: 14px 16px !important;
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    border-radius: 0 10px 10px 0 !important;
  }

  .about-legal-box {
    grid-template-columns: 1fr !important;
    padding: 12px 14px !important;
    gap: 8px !important;
    margin: 18px 0 !important;
  }

  .legal-item {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 7px 0 !important;
    border-bottom: 1px dashed var(--border) !important;
  }

  .legal-item:last-child {
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .legal-item span.lbl {
    font-size: 0.68rem !important;
    letter-spacing: 0.04em !important;
    color: var(--text-3) !important;
    flex-shrink: 0 !important;
  }

  .legal-item strong.val {
    font-size: 0.76rem !important;
    font-weight: 600 !important;
    text-align: right !important;
    color: var(--text) !important;
    line-height: 1.3 !important;
  }

  .about-cta-btns {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
    margin-top: 18px !important;
  }

  .about-cta-btns .btn {
    width: 100% !important;
    min-height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 18px !important;
    border-radius: 10px !important;
    font-size: 0.88rem !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.35 !important;
    box-sizing: border-box !important;
  }

  /* 4 Core Pillars (.values) on Mobile */
  .values {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    margin-top: 20px !important;
  }

  .value {
    padding: 16px 10px 14px !important;
    border-radius: 12px !important;
  }

  .value-icon {
    width: 44px !important;
    height: 44px !important;
    margin: 0 auto 8px !important;
  }

  .value-icon svg {
    width: 22px !important;
    height: 22px !important;
  }

  .value h4 {
    font-size: 0.82rem !important;
    letter-spacing: 0.03em !important;
    line-height: 1.25 !important;
    word-break: normal !important;
  }

  .value p {
    font-size: 0.68rem !important;
    margin-top: 3px !important;
    line-height: 1.3 !important;
  }

  /* 3 Business Pillars */
  .section-head {
    margin-bottom: 24px !important;
  }

  .section-head .eyebrow {
    font-size: 0.70rem !important;
  }

  .section-head h2.title {
    font-size: 1.55rem !important;
    line-height: 1.15 !important;
  }

  .section-head p.lead {
    font-size: 0.86rem !important;
  }

  .biz-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .biz-card {
    border-radius: 14px !important;
  }

  .biz-card-head {
    padding: 18px 16px 12px !important;
  }

  .biz-icon-box {
    width: 48px !important;
    height: 48px !important;
    border-radius: 10px !important;
  }

  .biz-icon-box svg {
    width: 24px !important;
    height: 24px !important;
  }

  .biz-card-badge {
    font-size: 0.65rem !important;
    padding: 3px 7px !important;
  }

  .biz-watermark {
    font-size: 1.8rem !important;
  }

  .biz-card-body {
    padding: 14px 16px 14px !important;
  }

  .biz-card h3 {
    font-size: 1.12rem !important;
    margin-bottom: 6px !important;
  }

  .biz-card>.biz-card-body>p {
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
    margin-bottom: 12px !important;
  }

  .biz-specs-list {
    gap: 6px !important;
    margin-bottom: 12px !important;
  }

  .biz-spec-row {
    font-size: 0.78rem !important;
    gap: 6px !important;
  }

  .biz-card-foot {
    padding: 12px 16px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .biz-card-foot span {
    font-size: 0.74rem !important;
    color: var(--text-muted) !important;
  }

  .biz-card-foot a {
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: var(--red) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
  }

  /* Section Action Wrap (Homepage CTAs) */
  .section-cta-wrap {
    margin-top: 24px !important;
    width: 100% !important;
    text-align: center !important;
  }

  .section-cta-wrap .btn {
    width: 100% !important;
    min-height: 48px !important;
    max-width: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: normal !important;
    text-align: center !important;
    font-size: 0.88rem !important;
    padding: 12px 18px !important;
    border-radius: 10px !important;
    line-height: 1.35 !important;
    box-sizing: border-box !important;
  }

  /* Product Gallery */
  .gallery {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .g-item {
    aspect-ratio: 1 / 1 !important;
    border-radius: 10px !important;
  }

  .g-cap {
    padding: 6px 8px !important;
  }

  .g-cap small {
    font-size: 0.54rem !important;
    padding: 1px 4px !important;
    margin-bottom: 2px !important;
  }

  .g-cap h5 {
    font-size: 0.82rem !important;
    line-height: 1.1 !important;
  }

  .g-cap .g-desc {
    display: none !important;
  }

  .g-zoom {
    display: none !important;
  }

  /* Facilities Mobile Layout & Side Panel */
  .fac-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .fac-grid>* {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .panel {
    padding: 16px 14px !important;
    border-radius: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .panel h2.title {
    font-size: 1.4rem !important;
    line-height: 1.15 !important;
  }

  .panel-title-lg {
    font-size: 1.38rem !important;
    line-height: 1.18 !important;
    margin-bottom: 8px !important;
  }

  .panel-lead {
    font-size: 0.84rem !important;
    line-height: 1.5 !important;
    margin-bottom: 16px !important;
  }

  .tabs {
    display: flex !important;
    gap: 6px !important;
    padding: 5px !important;
    border-radius: 10px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    flex-wrap: nowrap !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 16px !important;
    scrollbar-width: none !important;
  }

  .tabs::-webkit-scrollbar {
    display: none !important;
  }

  .tab {
    flex: 0 0 auto !important;
    padding: 8px 12px !important;
    font-size: 0.76rem !important;
    white-space: nowrap !important;
    border-radius: 7px !important;
  }

  .tab-ind {
    border-radius: 7px !important;
  }

  .m-sum {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 12px 14px !important;
    border-radius: 12px !important;
    margin-top: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .m-sum span {
    font-size: 0.76rem !important;
    line-height: 1.3 !important;
    color: var(--text-2) !important;
  }

  .m-sum strong {
    font-size: 1.2rem !important;
    color: var(--red) !important;
    white-space: nowrap !important;
  }

  .fac-matrix {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    margin-bottom: 16px !important;
  }

  .fac-matrix-item {
    padding: 11px 13px !important;
    background: var(--surface) !important;
    border: 1px solid var(--border) !important;
    border-left: 3px solid var(--red) !important;
    border-radius: 10px !important;
  }

  .fac-matrix-item strong {
    font-size: 0.86rem !important;
  }

  .fac-matrix-item span {
    font-size: 0.76rem !important;
    line-height: 1.35 !important;
  }

  .fac-cta-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    margin-top: 14px !important;
    width: 100% !important;
  }

  .fac-cta-row .btn {
    width: 100% !important;
    min-height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 18px !important;
    border-radius: 10px !important;
    font-size: 0.88rem !important;
    white-space: normal !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  .fac-cta-row span:not(.btn span) {
    text-align: center !important;
    font-size: 0.78rem !important;
    display: block !important;
    color: var(--text-3) !important;
  }

  /* Facilities Sidebar (.fac-side) */
  .fac-side {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .fac-side>* {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .fac-side .panel {
    padding: 18px 16px !important;
    border-radius: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .total-card {
    padding: 24px 18px !important;
    border-radius: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .total-card .big {
    font-size: 3.6rem !important;
    line-height: 1 !important;
    margin-bottom: 6px !important;
    display: block !important;
    width: 100% !important;
    text-align: center !important;
  }

  .total-card p {
    font-size: 0.82rem !important;
    letter-spacing: 0.08em !important;
    text-align: center !important;
    margin: 0 !important;
    line-height: 1.35 !important;
  }

  .total-card small {
    font-size: 0.74rem !important;
    text-align: center !important;
    margin-top: 6px !important;
  }

  .chart h4 {
    font-size: 1.05rem !important;
    margin-bottom: 14px !important;
    letter-spacing: 0.04em !important;
  }

  .bar-row {
    margin-bottom: 12px !important;
    width: 100% !important;
  }

  .bar-row .lbl {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 0.78rem !important;
    margin-bottom: 5px !important;
    gap: 8px !important;
  }

  .bar-row .lbl span:first-child {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .bar-row .lbl span:last-child {
    flex-shrink: 0 !important;
    font-size: 0.74rem !important;
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace !important;
  }

  .bar-track {
    height: 8px !important;
    width: 100% !important;
  }

  .fac-side .panel:last-child {
    padding: 20px 16px !important;
    border-radius: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .fac-side .panel:last-child h4 {
    font-size: 1.15rem !important;
    line-height: 1.25 !important;
    margin-bottom: 8px !important;
  }

  .fac-side .panel:last-child p {
    font-size: 0.84rem !important;
    line-height: 1.45 !important;
    margin-bottom: 14px !important;
  }

  .fac-side .panel:last-child .btn {
    width: 100% !important;
    justify-content: center !important;
    --pad: 10px 14px !important;
    font-size: 0.84rem !important;
    box-sizing: border-box !important;
  }

  .fac-specs-card {
    padding: 16px 14px !important;
    border-radius: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .fac-specs-card h5 {
    font-size: 0.76rem !important;
    margin-bottom: 10px !important;
    letter-spacing: 0.08em !important;
    color: var(--red) !important;
  }

  .fac-specs-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  .fac-specs-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
    padding: 6px 0 !important;
    border-bottom: 1px dashed var(--border) !important;
  }

  .fac-specs-row:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }

  .fac-specs-row .lbl {
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: var(--text-3) !important;
  }

  .fac-specs-row .val {
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: var(--text) !important;
    line-height: 1.35 !important;
    word-break: break-word !important;
  }

  .fac-preview-strip {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    margin-top: 18px !important;
  }

  .fac-photo-card {
    aspect-ratio: 4 / 3 !important;
    border-radius: 10px !important;
  }

  .fac-photo-card figcaption {
    font-size: 0.68rem !important;
    padding: 6px 8px !important;
  }

  /* QA Section */
  .qa-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 20px !important;
  }

  .qa-card {
    padding: 14px 14px !important;
    border-radius: 12px !important;
  }

  .qa-num {
    font-size: 1.2rem !important;
    margin-bottom: 4px !important;
  }

  .qa-card h4 {
    font-size: 0.98rem !important;
    margin-bottom: 4px !important;
  }

  .qa-card p {
    font-size: 0.80rem !important;
    line-height: 1.45 !important;
  }

  /* CTA Band */
  .cta-band-wrap {
    margin-top: 28px !important;
  }

  .cta-band {
    padding: 26px 18px !important;
    border-radius: 16px !important;
    gap: 16px !important;
    margin-top: 0 !important;
    text-align: center !important;
  }

  .cta-band h2 {
    font-size: 1.4rem !important;
    line-height: 1.2 !important;
    margin-bottom: 10px !important;
  }

  .cta-band p {
    font-size: 0.84rem !important;
    line-height: 1.55 !important;
    margin-bottom: 18px !important;
    margin-inline: auto !important;
  }

  .cta-band .btns {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
  }

  .cta-band .btns .btn {
    width: 100% !important;
    min-height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 18px !important;
    border-radius: 10px !important;
    font-size: 0.88rem !important;
    white-space: normal !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  /* Footer & Bottom Section */
  .footer {
    padding: 40px 0 20px !important;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    position: relative !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    margin-bottom: 30px !important;
  }

  .footer-links .btn {
    width: 100% !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 16px !important;
    border-radius: 8px !important;
    font-size: 0.84rem !important;
    box-sizing: border-box !important;
  }

  .footer-big {
    display: none !important;
  }

  .footer-bottom {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 8px !important;
    padding-top: 22px !important;
    padding-bottom: 95px !important;
    /* Dedicated clearance for floating WhatsApp & Back-To-Top buttons */
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .footer-bottom>div {
    width: 100% !important;
    text-align: center !important;
    font-size: 0.76rem !important;
    line-height: 1.5 !important;
    color: #8c95ba !important;
  }

  .footer-bottom strong {
    color: #ffffff !important;
  }

  /* Floating Buttons */
  .fab-wa {
    right: 16px !important;
    bottom: 16px !important;
    z-index: 950 !important;
  }

  .fab-wa>button {
    width: 50px !important;
    height: 50px !important;
  }

  .fab-wa>button svg {
    width: 24px !important;
    height: 24px !important;
  }

  .wa-pop {
    width: calc(100vw - 32px) !important;
    max-width: 300px !important;
    right: 0 !important;
    bottom: 64px !important;
    border-radius: 16px !important;
  }

  .to-top {
    right: 18px !important;
    bottom: 74px !important;
    width: 40px !important;
    height: 40px !important;
    z-index: 940 !important;
  }

  .to-top svg {
    width: 16px !important;
    height: 16px !important;
  }

  /* Subpage Adjustments */
  .page-hero {
    padding: calc(var(--nav-h) + 20px) 0 28px !important;
  }

  .page-hero h1 {
    font-size: clamp(1.6rem, 6.5vw, 2.2rem) !important;
    line-height: 1.15 !important;
    margin-bottom: 10px !important;
  }

  .page-hero p.lead,
  .page-hero-content p {
    font-size: 0.86rem !important;
    line-height: 1.55 !important;
  }

  .breadcrumbs {
    font-size: 0.72rem !important;
    margin-bottom: 10px !important;
    flex-wrap: wrap !important;
  }

  /* Contact PIC & Workshop Info Sidebar */
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .cp-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
  }

  .cp {
    display: grid !important;
    grid-template-columns: 46px 1fr !important;
    grid-template-rows: auto auto !important;
    gap: 8px 12px !important;
    align-items: center !important;
    padding: 14px !important;
    border-radius: 12px !important;
  }

  .cp:hover {
    transform: none !important;
  }

  .cp-avatar {
    width: 46px !important;
    height: 46px !important;
    font-size: 1.15rem !important;
    grid-column: 1 / 2 !important;
    grid-row: 1 / 2 !important;
  }

  .cp-avatar::after {
    width: 10px !important;
    height: 10px !important;
  }

  .cp-info {
    grid-column: 2 / 3 !important;
    grid-row: 1 / 2 !important;
    min-width: 0 !important;
  }

  .cp-info h4 {
    font-size: 1.05rem !important;
    margin-bottom: 2px !important;
    line-height: 1.2 !important;
  }

  .cp-info small {
    font-size: 0.74rem !important;
    line-height: 1.35 !important;
    margin-bottom: 3px !important;
    display: block !important;
  }

  .cp-info a {
    font-size: 0.82rem !important;
    font-weight: 600 !important;
  }

  .cp-actions {
    grid-column: 1 / 3 !important;
    grid-row: 2 / 3 !important;
    display: flex !important;
    gap: 8px !important;
    width: 100% !important;
    padding-top: 8px !important;
    border-top: 1px dashed var(--border) !important;
  }

  .cp-actions a {
    flex: 1 !important;
    height: 38px !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
  }

  .cp-actions a svg {
    width: 16px !important;
    height: 16px !important;
  }

  .cp-actions a.wa {
    background: rgba(37, 211, 102, 0.12) !important;
    color: #25d366 !important;
    border-color: rgba(37, 211, 102, 0.3) !important;
  }

  .cp-actions a.call {
    background: rgba(46, 49, 146, 0.12) !important;
    color: var(--text) !important;
    border-color: var(--border) !important;
  }

  .info {
    gap: 12px !important;
    padding: 12px 4px !important;
  }

  .info-icon {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
  }

  .info-icon svg {
    width: 18px !important;
    height: 18px !important;
  }

  .info p,
  .info a {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
  }

  /* ==========================================================================
     Interactive RFQ Form Mobile Optimization
     ========================================================================== */
  .form-card {
    padding: 22px 18px !important;
    border-radius: 16px !important;
  }

  .form-card h3 {
    font-size: 1.35rem !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
  }

  .form-card>p {
    font-size: 0.86rem !important;
    line-height: 1.45 !important;
    margin-bottom: 20px !important;
  }

  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .field input,
  .field select,
  .field textarea {
    font-size: 0.95rem !important;
    padding: 20px 14px 8px !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
  }

  .field label {
    left: 14px !important;
    top: 15px !important;
    font-size: 0.84rem !important;
    max-width: calc(100% - 32px) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .field input:focus+label,
  .field input:not(:placeholder-shown)+label,
  .field textarea:focus+label,
  .field textarea:not(:placeholder-shown)+label,
  .field select+label {
    top: 5px !important;
    font-size: 0.65rem !important;
  }

  .field textarea {
    min-height: 110px !important;
  }

  .send-via {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin: 12px 0 !important;
    width: 100% !important;
  }

  .radio-pill {
    width: 100% !important;
    display: block !important;
  }

  .radio-pill span {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px 14px !important;
    font-size: 0.82rem !important;
    border-radius: 12px !important;
    line-height: 1.3 !important;
  }

  .radio-pill span svg {
    flex-shrink: 0 !important;
    width: 16px !important;
    height: 16px !important;
  }

  #quoteForm button[type="submit"] {
    padding: 14px 18px !important;
    font-size: 0.92rem !important;
    border-radius: 12px !important;
    margin-top: 14px !important;
    width: 100% !important;
  }

  /* Machine Table Mobile Transformation (Cards) */
  .m-table {
    display: block !important;
    width: 100% !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
  }

  .m-table thead {
    display: none !important;
  }

  .m-table tbody {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .m-table tr {
    display: block !important;
    background: var(--surface) !important;
    border: 1px solid var(--border) !important;
    border-radius: 12px !important;
    padding: 12px 14px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    animation: none !important;
  }

  .m-table td {
    display: block !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    border-radius: 0 !important;
  }

  .m-table td:first-child strong {
    font-size: 0.95rem !important;
    color: var(--text) !important;
    display: block !important;
    line-height: 1.25 !important;
  }

  .m-table td:first-child small {
    font-size: 0.76rem !important;
    color: var(--text-2) !important;
    line-height: 1.4 !important;
    margin-top: 3px !important;
    display: block !important;
  }

  .m-table td:nth-child(2) {
    display: inline-flex !important;
    margin-top: 8px !important;
  }

  .m-table td:nth-child(2) .unit {
    font-size: 0.72rem !important;
    padding: 2px 8px !important;
    border-radius: 6px !important;
  }

  .m-table td.size {
    display: block !important;
    font-size: 0.74rem !important;
    color: var(--text-3) !important;
    margin-top: 6px !important;
    padding-top: 6px !important;
    border-top: 1px dashed var(--border) !important;
    line-height: 1.35 !important;
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace !important;
  }

  [data-theme="light"] .m-table tr {
    background: #ffffff !important;
    border-color: rgba(20, 24, 70, 0.1) !important;
    box-shadow: 0 2px 8px rgba(20, 24, 70, 0.04) !important;
  }

  [data-theme="light"] .m-table td:first-child strong {
    color: #080b25 !important;
  }

  [data-theme="light"] .m-table td:first-child small {
    color: #555e82 !important;
  }

  [data-theme="light"] .m-table td.size {
    color: #404668 !important;
    border-top-color: rgba(20, 24, 70, 0.08) !important;
  }

  /* QC Tools Grid on Mobile */
  .qc-tools-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .qc-tools-grid .panel {
    padding: 18px 16px !important;
    border-radius: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .qc-tools-grid h4 {
    font-size: 1.15rem !important;
    margin-bottom: 6px !important;
  }

  .qc-tools-grid p {
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
    margin-bottom: 12px !important;
  }

  /* Machine Slider on Mobile */
  .machine-slider-wrap {
    margin-top: 36px !important;
    overflow: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .slider-head {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
  }

  .slider-head h3 {
    font-size: 1.25rem !important;
    line-height: 1.2 !important;
  }

  .slider-head p {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
  }

  .slider-nav {
    display: flex !important;
    gap: 8px !important;
  }

  .slider-nav .icon-btn {
    width: 40px !important;
    height: 40px !important;
  }

  .slider {
    gap: 12px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .slide {
    flex: 0 0 76vw !important;
    max-width: 280px !important;
    border-radius: 12px !important;
  }

  .clients {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .legal-grid,
  .mission-grid {
    grid-template-columns: 1fr !important;
  }

  .mission:nth-child(5) {
    grid-column: auto !important;
  }

  .process {
    grid-template-columns: 1fr 1fr !important;
  }

  .services {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    grid-column: span 1 !important;
    border-radius: 14px !important;
  }

  .service-card-header {
    padding: 16px 16px 12px !important;
    flex-wrap: wrap;
    gap: 8px !important;
  }

  .service-card-num {
    font-size: 1.5rem !important;
  }

  .service-card-cat {
    font-size: 0.64rem !important;
  }

  .service-card-fleet {
    font-size: 0.68rem !important;
    padding: 1px 6px !important;
  }

  .service-spec-badge {
    font-size: 0.64rem !important;
    padding: 2px 7px !important;
  }

  .service-card-body {
    padding: 14px 16px 12px !important;
  }

  .service-card-title {
    font-size: 1.15rem !important;
    margin-bottom: 6px !important;
  }

  .service-card-desc {
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
    margin-bottom: 12px !important;
  }

  .service-specs {
    padding: 10px 12px !important;
    gap: 6px !important;
    margin-bottom: 12px !important;
  }

  .service-spec-item {
    padding-bottom: 5px !important;
  }

  .service-spec-item .spec-label {
    font-size: 0.62rem !important;
  }

  .service-spec-item .spec-value {
    font-size: 0.78rem !important;
  }

  .service-card-foot {
    padding: 10px 16px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }

  .service-card-link {
    font-size: 0.82rem !important;
  }

  .lb-stage {
    padding: 0 10px !important;
  }

  .lb-arrow {
    width: 44px !important;
    height: 44px !important;
  }

  /* Works & Feature Grid Mobile Adjustments */
  .works-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .work-card,
  .work-card:nth-child(4),
  .work-card:nth-child(5) {
    grid-column: span 1 !important;
    border-radius: 14px !important;
  }

  .work-media {
    aspect-ratio: 16 / 10 !important;
  }

  .work-badge {
    top: 10px !important;
    left: 10px !important;
    font-size: 0.65rem !important;
    padding: 3px 8px !important;
  }

  .work-status {
    top: 10px !important;
    right: 10px !important;
    font-size: 0.62rem !important;
    padding: 3px 8px !important;
  }

  .work-body {
    padding: 16px 14px 14px !important;
  }

  .work-cat {
    font-size: 0.64rem !important;
    margin-bottom: 4px !important;
  }

  .work-title {
    font-size: 1.15rem !important;
    line-height: 1.2 !important;
    margin-bottom: 8px !important;
  }

  .work-desc {
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
    margin-bottom: 12px !important;
  }

  .work-specs {
    padding: 10px 12px !important;
    gap: 6px !important;
    margin-bottom: 12px !important;
  }

  .work-spec-item {
    padding-bottom: 5px !important;
  }

  .work-spec-item .spec-label {
    font-size: 0.62rem !important;
  }

  .work-spec-item .spec-value {
    font-size: 0.78rem !important;
  }

  .work-foot {
    padding: 10px 14px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }

  .work-foot-note {
    font-size: 0.68rem !important;
  }

  .work-card-link {
    font-size: 0.82rem !important;
  }

  .grid-3 {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .feature-card {
    padding: 20px 16px !important;
    border-radius: 12px !important;
  }

  .feature-card .f-num {
    font-size: 1.7rem !important;
    margin-bottom: 8px !important;
  }

  .feature-card h3 {
    font-size: 1.08rem !important;
    margin-bottom: 6px !important;
  }

  .feature-card p {
    font-size: 0.82rem !important;
    line-height: 1.52 !important;
  }

  /* Sector Grid & Sector Cards on Mobile */
  .sector-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
  }

  .sector-card {
    padding: 22px 18px 18px !important;
    border-radius: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .sector-card-top {
    gap: 10px !important;
    margin-bottom: 14px !important;
  }

  .sector-icon-group {
    gap: 10px !important;
  }

  .sector-icon-wrap {
    width: 44px !important;
    height: 44px !important;
    border-radius: 10px !important;
  }

  .sector-icon-wrap svg {
    width: 22px !important;
    height: 22px !important;
  }

  .sector-num {
    font-size: 0.74rem !important;
  }

  .sector-badge {
    font-size: 0.62rem !important;
    padding: 3px 8px !important;
    max-width: 58% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .sector-title {
    font-size: 1.15rem !important;
    margin-bottom: 8px !important;
    line-height: 1.3 !important;
  }

  .sector-desc {
    font-size: 0.84rem !important;
    line-height: 1.5 !important;
    margin-bottom: 14px !important;
  }

  .sector-sub-label {
    font-size: 0.65rem !important;
    margin-bottom: 6px !important;
  }

  .sector-tags {
    gap: 5px !important;
    margin-bottom: 16px !important;
  }

  .s-tag {
    font-size: 0.68rem !important;
    padding: 3px 7px !important;
  }

  .sector-clients-box {
    padding-top: 13px !important;
  }

  .sector-clients-head {
    font-size: 0.67rem !important;
    margin-bottom: 8px !important;
  }

  .sector-clients-list {
    gap: 6px !important;
  }

  .sector-clients-list li {
    font-size: 0.78rem !important;
    gap: 7px !important;
  }

  .sector-clients-list li svg {
    width: 12px !important;
    height: 12px !important;
  }

  /* Gallery Toolbar on Mobile: Horizontal Swipe for Categories & Neat View-Toggle */
  .gallery-toolbar {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    margin-bottom: 20px !important;
    width: 100% !important;
  }

  .filter-chips,
  .filters {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 8px !important;
    padding: 4px 2px 10px 2px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .filter-chips::-webkit-scrollbar,
  .filters::-webkit-scrollbar {
    display: none !important;
  }

  .filter-chip,
  .chip {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    padding: 8px 14px !important;
    font-size: 0.78rem !important;
    border-radius: 999px !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .filter-chip .count,
  .chip .count {
    font-size: 0.66rem !important;
    padding: 1px 6px !important;
    border-radius: 999px !important;
  }

  .view-toggle {
    display: flex !important;
    align-self: flex-end !important;
    gap: 6px !important;
  }

  .view-toggle .icon-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
  }

  /* Bottom CTA & Notice Adjustments on Mobile */
  .custom-notice {
    margin-top: 24px !important;
    padding: 18px 16px !important;
    border-radius: 14px !important;
    gap: 14px !important;
  }

  .custom-notice .btn {
    width: 100% !important;
    justify-content: center !important;
    --pad: 10px 16px !important;
    font-size: 0.84rem !important;
  }

}

@media (max-width: 480px) {
  .brand {
    max-width: calc(100% - 46px) !important;
    gap: 6px !important;
  }

  .brand-mark {
    width: 32px !important;
    height: 32px !important;
    border-radius: 7px !important;
  }

  .brand-text strong {
    font-size: 0.94rem !important;
  }

  .hero-accreditation {
    gap: 6px !important;
    padding: 4px 8px !important;
  }

  .acc-badge {
    font-size: 0.62rem !important;
    padding: 2px 6px !important;
  }

  .acc-text {
    font-size: 0.63rem !important;
    line-height: 1.3 !important;
  }

  .sector-card {
    padding: 18px 14px 16px !important;
  }

  .sector-title {
    font-size: 1.10rem !important;
  }

  .sector-desc {
    font-size: 0.82rem !important;
  }

  .sector-badge {
    font-size: 0.60rem !important;
    padding: 2px 7px !important;
  }

  .hero h1 {
    font-size: 1.65rem !important;
    line-height: 1.15 !important;
  }

  .hero-sub {
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
  }

  .panel-title-lg {
    font-size: 1.25rem !important;
  }
}

@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;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {

  .navbar,
  .fab-wa,
  .to-top,
  .preloader,
  .scroll-progress,
  .lightbox,
  .map-wrap,
  .scroll-cue,
  #sparks {
    display: none !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .section {
    padding: 40px 0;
  }
}


/* ==========================================================================
   Social Media Components (Instagram & Facebook)
   ========================================================================== */
.footer-socials {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  transition: all 0.3s var(--ease);
}

.footer-social-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(227, 30, 36, 0.35);
}

.footer-bottom-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-bottom-socials a {
  color: #b4b9d3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s, transform 0.2s;
  font-size: 0.85rem;
}

.footer-bottom-socials a:hover {
  color: #fff;
  transform: translateY(-1px);
}

.contact-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s var(--ease);
}

.contact-social-btn.ig {
  background: rgba(225, 48, 108, 0.1);
  color: #e1306c;
  border: 1px solid rgba(225, 48, 108, 0.25);
}

.contact-social-btn.ig:hover {
  background: #e1306c;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px -4px rgba(225, 48, 108, 0.4);
}

.contact-social-btn.fb {
  background: rgba(24, 119, 242, 0.1);
  color: #1877f2;
  border: 1px solid rgba(24, 119, 242, 0.25);
}

.contact-social-btn.fb:hover {
  background: #1877f2;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px -4px rgba(24, 119, 242, 0.4);
}


/* ==========================================================================
   Premium Contact Social Media Hub
   ========================================================================== */
.contact-social-card {
  margin-top: 24px;
  border-radius: var(--radius-l);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--border-strong);
  padding: clamp(22px, 2.5vw, 28px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.contact-social-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #e1306c 0%, #f77737 35%, #1877f2 100%);
}

.social-card-head {
  margin-bottom: 20px;
}

.social-head-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-2);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.social-head-badge .pulsing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 10px #25d366;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}

.social-card-head h4 {
  font-size: 1.4rem;
  font-family: var(--f-display);
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 6px;
}

.social-card-head p {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.5;
  margin: 0;
}

.social-card-grid {
  display: grid;
  gap: 14px;
}

.social-tile {
  position: relative;
  display: block;
  border-radius: 16px;
  padding: 16px 18px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-tile:hover {
  transform: translateY(-3px) scale(1.01);
}

.social-tile.ig-tile:hover {
  border-color: rgba(225, 48, 108, 0.6);
  box-shadow: 0 16px 32px -10px rgba(225, 48, 108, 0.35);
}

.social-tile.fb-tile:hover {
  border-color: rgba(24, 119, 242, 0.6);
  box-shadow: 0 16px 32px -10px rgba(24, 119, 242, 0.35);
}

.social-tile .tile-body {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
}

.tile-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s var(--ease);
}

.social-tile:hover .tile-icon-wrap {
  transform: scale(1.1) rotate(-4deg);
}

.tile-icon-wrap.ig-grad {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.tile-icon-wrap.fb-grad {
  background: linear-gradient(135deg, #1877f2 0%, #0d5bbd 100%);
}

.tile-icon-wrap svg {
  width: 25px;
  height: 25px;
}

.tile-content {
  flex: 1;
  min-width: 0;
}

.tile-platform {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ig-tile .tile-platform {
  color: #e1306c;
}

.fb-tile .tile-platform {
  color: #1877f2;
}

.verify-badge {
  width: 14px;
  height: 14px;
  color: #3b82f6;
}

.tile-handle {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 1px 0 2px;
}

.tile-desc {
  font-size: 0.78rem;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tile-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  transition: all 0.3s var(--ease);
}

.ig-tile .tile-action {
  background: rgba(225, 48, 108, 0.12);
  color: #ff6b9d;
  border: 1px solid rgba(225, 48, 108, 0.3);
}

.social-tile.ig-tile:hover .tile-action {
  background: #e1306c;
  color: #fff;
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(225, 48, 108, 0.4);
}

.fb-tile .tile-action {
  background: rgba(24, 119, 242, 0.12);
  color: #589eff;
  border: 1px solid rgba(24, 119, 242, 0.3);
}

.social-tile.fb-tile:hover .tile-action {
  background: #1877f2;
  color: #fff;
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

.tile-action svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s;
}

.social-tile:hover .tile-action svg {
  transform: translateX(3px);
}

/* Light Theme Adjustments */
[data-theme="light"] .contact-social-card {
  background: #ffffff;
  border-color: rgba(46, 49, 146, 0.15);
  box-shadow: 0 15px 35px -10px rgba(46, 49, 146, 0.1);
}

[data-theme="light"] .social-card-head h4 {
  color: var(--navy);
}

[data-theme="light"] .social-head-badge {
  background: rgba(46, 49, 146, 0.06);
  border-color: rgba(46, 49, 146, 0.15);
  color: var(--navy);
}

[data-theme="light"] .social-tile {
  background: #f8faff;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .tile-handle {
  color: #111827;
}

[data-theme="light"] .tile-desc {
  color: #6b7280;
}

@media (max-width: 520px) {
  .social-tile .tile-body {
    flex-wrap: wrap;
  }

  .tile-action {
    width: 100%;
    justify-content: center;
    margin-top: 6px;
  }
}


/* ==========================================================================
   Clean Social Pills (Logo + Name Only)
   ========================================================================== */
.clean-social-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s var(--ease);
}

.clean-social-pill:hover {
  transform: translateY(-2px);
  color: #fff;
}

.clean-social-pill.ig:hover {
  border-color: #e1306c;
  box-shadow: 0 6px 18px rgba(225, 48, 108, 0.35);
}

.clean-social-pill.fb:hover {
  border-color: #1877f2;
  box-shadow: 0 6px 18px rgba(24, 119, 242, 0.35);
}

.social-icon-box {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.social-icon-box.ig {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-icon-box.fb {
  background: #1877f2;
}

.social-icon-box svg {
  width: 15px;
  height: 15px;
}

[data-theme="light"] .clean-social-pill {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
  color: #111827;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .clean-social-pill:hover {
  color: #000;
}


.social-icon-box.tt {
  background: #000000;
  box-shadow: 1px 1px 0px rgba(254, 44, 85, 0.8), -1px -1px 0px rgba(37, 244, 238, 0.8);
}

.clean-social-pill.tt:hover {
  border-color: #fe2c55;
  box-shadow: 0 6px 18px rgba(254, 44, 85, 0.35);
}

.footer-social-btn.tt:hover {
  background: #000000;
  border-color: #fe2c55;
  box-shadow: 0 6px 16px rgba(254, 44, 85, 0.4);
}