/* ============================================================
   P4 SYSTEMS LIMITED — Ultra-Modern Corporate Design System
   Brand Colors from Official Logo:
   - Primary: Deep Navy Blue (#002461 / #050D1E / #0A1F44)
   - Secondary / Accent: Vibrant Emerald Green (#00BF3C / #018C2C)
   - Tech Bridge: High-Tech Cyan / Teal (#01A486)
   ============================================================ */

:root {
  /* Brand Palettes */
  --navy-950: #040914;
  --navy-900: #002461;
  --navy-850: #071739;
  --navy-800: #0A1F44;
  --navy-700: #0E2A5C;
  --navy-600: #143A7B;
  --navy-500: #1B4C8C;
  --blue-400: #2B6CB0;
  --blue-300: #63B3ED;

  /* Radiant Emerald & Teals */
  --green-700: #016E22;
  --green-600: #018C2C;
  --green-500: #00BF3C;
  --green-400: #10B981;
  --green-300: #34D399;
  --teal-500: #01A486;
  --teal-400: #14B8A6;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #002461 0%, #0A1F44 45%, #018C2C 100%);
  --grad-navy: linear-gradient(135deg, #040914 0%, #002461 60%, #071739 100%);
  --grad-green: linear-gradient(135deg, #018C2C 0%, #00BF3C 100%);
  --grad-cyan-green: linear-gradient(135deg, #01A486 0%, #00BF3C 100%);
  --grad-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  --grad-card-dark: linear-gradient(180deg, rgba(14, 42, 92, 0.5) 0%, rgba(7, 23, 57, 0.8) 100%);

  /* Neutrals */
  --ink: #071224;
  --ink-light: #16243C;
  --slate: #475569;
  --slate-light: #64748B;
  --mist: #94A3B8;
  --paper: #FFFFFF;
  --canvas: #F8FAFC;
  --canvas-alt: #F1F5F9;
  --line: #E2E8F0;
  --line-strong: #CBD5E1;
  --dark-line: rgba(255, 255, 255, 0.12);
  --dark-line-subtle: rgba(255, 255, 255, 0.06);

  /* Typography */
  --font-display: 'Plus Jakarta Sans', 'Sora', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows & Elevations */
  --shadow-xs: 0 1px 2px rgba(0, 36, 97, 0.05);
  --shadow-sm: 0 4px 6px -1px rgba(0, 36, 97, 0.08), 0 2px 4px -2px rgba(0, 36, 97, 0.05);
  --shadow-md: 0 12px 24px -4px rgba(0, 36, 97, 0.12), 0 4px 8px -2px rgba(0, 36, 97, 0.06);
  --shadow-lg: 0 24px 48px -12px rgba(0, 36, 97, 0.22);
  --shadow-glow-green: 0 12px 36px -8px rgba(0, 191, 60, 0.38);
  --shadow-glow-navy: 0 16px 40px -10px rgba(0, 36, 97, 0.45);

  /* Geometry & Layout */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --nav-h: 82px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset & Baseline (STRICT ZERO HORIZONTAL SCROLL) ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.68;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}
a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
button, input, select, textarea { font: inherit; color: inherit; border: none; background: none; }
button { cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--green-500); color: #FFFFFF; }
:focus-visible { outline: 2.5px solid var(--green-500); outline-offset: 3px; border-radius: 4px; }

/* ── Typography & Headings ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  word-break: break-word;
}
h1 { font-size: clamp(2.1rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.65rem); font-weight: 800; }
h3 { font-size: clamp(1.22rem, 2.2vw, 1.6rem); font-weight: 700; }
h4 { font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
p { color: var(--slate); font-size: 1.02rem; word-break: break-word; }
strong { color: var(--ink); font-weight: 600; }

.container {
  width: 100%;
  max-width: 1220px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 48px);
  box-sizing: border-box;
}
.container-wide {
  width: 100%;
  max-width: 1380px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 48px);
  box-sizing: border-box;
}
section {
  position: relative;
  max-width: 100vw;
  overflow-x: clip;
}
.section { padding: clamp(56px, 7vw, 110px) 0; }
.section-sm { padding: clamp(36px, 5vw, 64px) 0; }

/* ── Gradient Highlights & Text ── */
.grad-text {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--green-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.grad-text-green {
  background: var(--grad-green);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.grad-text-cyan {
  background: var(--grad-cyan-green);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.28s var(--ease);
  position: relative;
  overflow: hidden;
  text-align: center;
  max-width: 100%;
}
.btn svg { width: 17px; height: 17px; flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--navy-900);
  color: #FFFFFF;
  box-shadow: var(--shadow-sm);
  border-color: rgba(255, 255, 255, 0.1);
}
.btn-primary:hover {
  background: var(--navy-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-navy);
  color: #FFFFFF;
}

.btn-green {
  background: var(--grad-green);
  color: #FFFFFF;
  box-shadow: var(--shadow-glow-green);
  border: none;
}
.btn-green:hover {
  transform: translateY(-2.5px);
  box-shadow: 0 16px 42px -6px rgba(0, 191, 60, 0.48);
  color: #FFFFFF;
}

.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.24);
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn-outline {
  border-color: var(--line-strong);
  color: var(--ink);
  background: #FFFFFF;
}
.btn-outline:hover {
  border-color: var(--navy-900);
  color: var(--navy-900);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-sm { padding: 9px 18px; font-size: 0.86rem; border-radius: var(--radius-sm); }
.btn-lg { padding: 15px 32px; font-size: 1.02rem; border-radius: var(--radius-md); }
.btn-icon { padding: 11px; border-radius: var(--radius-md); }

/* ── Badges & Chips ── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  max-width: 100%;
}
.chip-light {
  background: rgba(0, 191, 60, 0.12);
  color: var(--green-300);
  border: 1px solid rgba(0, 191, 60, 0.28);
}
.chip-dark {
  background: rgba(0, 36, 97, 0.06);
  color: var(--navy-900);
  border: 1px solid rgba(0, 36, 97, 0.14);
}
.chip-green {
  background: rgba(0, 191, 60, 0.1);
  color: var(--green-600);
  border: 1px solid rgba(0, 191, 60, 0.24);
}

/* ── Top Bar & Announcement Ribbon ── */
.topbar {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  width: 100%;
  overflow: hidden;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar-left span, .topbar-right a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.72);
}
.topbar-left svg, .topbar-right svg { width: 14px; height: 14px; color: var(--green-400); flex: none; }
.topbar-right a:hover { color: #FFFFFF; }
.topbar-rc {
  color: var(--green-300);
  font-weight: 600;
  font-size: 0.78rem;
  background: rgba(0, 191, 60, 0.14);
  padding: 2px 10px;
  border-radius: 20px;
  border: 1px solid rgba(0, 191, 60, 0.25);
  white-space: nowrap;
}

/* ── Floating Glass Navbar ── */
.nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: all 0.3s var(--ease);
  width: 100%;
  max-width: 100vw;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px -8px rgba(0, 36, 97, 0.12);
  border-bottom-color: rgba(0, 36, 97, 0.08);
  height: 72px;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.nav-logo img {
  height: 46px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
  transition: transform 0.25s var(--ease);
}
.nav-logo:hover img { transform: scale(1.02); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}
.nav-link svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.nav-link:hover, .nav-link.active {
  color: var(--navy-900);
  background: rgba(0, 36, 97, 0.05);
}
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* Mega Menu Dropdown */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(14px);
  width: min(840px, 94vw);
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 36, 97, 0.08);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.28s var(--ease);
  z-index: 1010;
}
.nav-item:hover .mega-menu, .nav-item:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(4px);
}
.mega-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.mega-head h4 { font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate-light); }
.mega-head a { font-size: 0.88rem; font-weight: 600; color: var(--green-600); display: flex; align-items: center; gap: 6px; }
.mega-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.mega-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  transition: all 0.2s var(--ease);
  border: 1px solid transparent;
}
.mega-card:hover {
  background: var(--canvas);
  border-color: var(--line);
  transform: translateY(-1.5px);
}
.mega-ic {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(0, 36, 97, 0.06);
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: all 0.25s var(--ease);
}
.mega-card:hover .mega-ic {
  background: var(--grad-green);
  color: #FFFFFF;
}
.mega-ic svg { width: 20px; height: 20px; }
.mega-card b {
  display: block;
  font-family: var(--font-display);
  font-size: 0.94rem;
  color: var(--ink);
  margin-bottom: 3px;
  line-height: 1.3;
}
.mega-card p {
  font-size: 0.82rem;
  color: var(--slate);
  line-height: 1.4;
  margin: 0;
}

/* Nav Right Actions */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.nav-search-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--line);
  transition: all 0.2s var(--ease);
}
.nav-search-btn:hover {
  background: #FFFFFF;
  border-color: var(--navy-900);
  color: var(--navy-900);
}
.nav-search-btn svg { width: 18px; height: 18px; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 42px;
  height: 42px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 10px;
  cursor: pointer;
  flex: none;
}
.burger span {
  width: 100%;
  height: 2.2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.25s;
}

/* ── Mobile Drawer (ZERO OVERFLOW WHEN CLOSED) ── */
.drawer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 9, 20, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}
.drawer.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.drawer-content {
  width: min(380px, 86vw);
  max-width: 100%;
  height: 100%;
  background: #FFFFFF;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  overflow-y: auto;
}
.drawer.open .drawer-content { transform: translateX(0); }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  flex: none;
}
.drawer-close {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--canvas);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--ink);
}
.drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 18px 20px;
  gap: 8px;
  flex: 1;
}
.drawer-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  color: var(--ink);
  transition: background 0.2s;
}
.drawer-nav a:hover, .drawer-nav a.active {
  background: var(--canvas);
  color: var(--navy-900);
}
.drawer-nav a em {
  font-style: normal;
  font-size: 0.75rem;
  color: var(--green-600);
  background: rgba(0, 191, 60, 0.1);
  padding: 2px 8px;
  border-radius: 12px;
}
.drawer-foot {
  padding: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: none;
}

/* ── Hero Section (Home) ── */
.hero {
  position: relative;
  background: var(--navy-950);
  color: #FFFFFF;
  padding: clamp(64px, 8vw, 120px) 0 clamp(72px, 9vw, 130px);
  overflow: hidden;
  contain: paint;
  max-width: 100vw;
}
.hero-glow-1 {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  max-height: 600px;
  background: radial-gradient(circle, rgba(0, 191, 60, 0.16) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 55vw;
  height: 55vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(circle, rgba(0, 36, 97, 0.6) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.8) 0%, transparent 80%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-300);
  background: rgba(0, 191, 60, 0.12);
  border: 1px solid rgba(0, 191, 60, 0.26);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  max-width: 100%;
}
.hero-kicker .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-400);
  box-shadow: 0 0 10px var(--green-400);
  animation: pulse-glow 2s infinite;
  flex: none;
}
@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}
.hero h1 {
  color: #FFFFFF;
  margin-bottom: 22px;
  line-height: 1.12;
}
.hero-sub {
  color: rgba(226, 232, 240, 0.88);
  font-size: clamp(1.02rem, 1.35vw, 1.22rem);
  line-height: 1.65;
  margin-bottom: 34px;
  max-width: 600px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--dark-line);
  width: 100%;
}
.hero-stat b {
  display: flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  color: #FFFFFF;
  font-weight: 800;
  line-height: 1;
}
.hero-stat b i { font-style: normal; color: var(--green-400); }
.hero-stat span {
  display: block;
  font-size: 0.84rem;
  color: rgba(226, 232, 240, 0.7);
  margin-top: 6px;
}

/* 3D Tech Showcase Card in Hero */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 100%;
}
.hero-tech-card {
  background: var(--grad-card-dark);
  border: 1px solid var(--dark-line);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(0, 36, 97, 0.4);
  position: relative;
  width: 100%;
}
.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--dark-line);
}
.hero-card-header span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}
.hero-card-tags {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-unit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--dark-line-subtle);
  border-radius: var(--radius-md);
  transition: all 0.25s var(--ease);
  gap: 10px;
}
.hero-unit-row:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(0, 191, 60, 0.35);
  transform: translateX(4px);
}
.hero-unit-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}
.hero-unit-ic {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(0, 191, 60, 0.15);
  color: var(--green-300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.hero-unit-ic svg { width: 17px; height: 17px; }
.hero-unit-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: #FFFFFF;
  white-space: normal;
  line-height: 1.35;
}
.hero-unit-code {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  flex: none;
}

.hero-float-badge {
  position: absolute;
  bottom: -24px;
  left: 0;
  background: #FFFFFF;
  color: var(--ink);
  padding: 14px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 320px;
  z-index: 3;
  border: 1px solid var(--line);
}
.hero-float-badge .ic {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--grad-green);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.hero-float-badge .ic svg { width: 22px; height: 22px; }
.hero-float-badge b { display: block; font-size: 0.94rem; font-family: var(--font-display); }
.hero-float-badge span { font-size: 0.78rem; color: var(--slate); line-height: 1.35; }

/* ── Sector Marquee Band (STRICTLY CONTAINED) ── */
.band-marquee {
  background: var(--navy-900);
  padding: 22px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  max-width: 100vw;
  contain: paint;
}
.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee-scroll 45s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}
.marquee-pill svg { width: 14px; height: 14px; color: var(--green-400); flex: none; }

/* ── Section Headers ── */
.sec-head {
  max-width: 760px;
  margin-bottom: 44px;
}
.sec-head.center {
  margin-inline: auto;
  text-align: center;
}
.sec-head .chip { margin-bottom: 14px; }
.sec-head h2 { margin-bottom: 16px; }
.sec-head p { font-size: 1.08rem; }

/* ── Grid Layouts ── */
.card-grid {
  display: grid;
  gap: 26px;
  width: 100%;
}
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

/* ── Division Cards (Premium Modern) ── */
.dcard {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  position: relative;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
}
.dcard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-green);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.dcard:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 36, 97, 0.15);
  box-shadow: var(--shadow-md);
}
.dcard:hover::before { opacity: 1; }

.dcard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.dcard-ic {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(0, 36, 97, 0.05);
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
  flex: none;
}
.dcard:hover .dcard-ic {
  background: var(--navy-900);
  color: var(--green-400);
  transform: scale(1.05);
}
.dcard-ic svg { width: 26px; height: 26px; }
.dcard-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--line-strong);
}
.dcard h3 {
  font-size: 1.22rem;
  margin-bottom: 12px;
  line-height: 1.3;
}
.dcard p {
  font-size: 0.94rem;
  margin-bottom: 20px;
  flex: 1;
}
.dcard-services-preview {
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.dcard-tag {
  font-size: 0.74rem;
  background: var(--canvas);
  color: var(--slate);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
}
.dcard-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy-900);
  margin-top: auto;
  transition: all 0.2s;
}
.dcard-link svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.dcard:hover .dcard-link { color: var(--green-600); }
.dcard:hover .dcard-link svg { transform: translateX(5px); }

/* ── Interactive RFQ / Consultation Banner ── */
.cta-band {
  background: var(--navy-900);
  background-image: radial-gradient(circle at 90% 10%, rgba(0, 191, 60, 0.22) 0%, transparent 60%),
                    radial-gradient(circle at 10% 90%, rgba(1, 164, 134, 0.18) 0%, transparent 60%);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: clamp(34px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow-glow-navy);
  position: relative;
  overflow: hidden;
  width: 100%;
}
.cta-band h2 { color: #FFFFFF; margin: 16px 0; }
.cta-band p { color: rgba(226, 232, 240, 0.88); font-size: 1.04rem; }
.cta-side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }

/* ── Interactive RFQ Modal ── */
.rfq-modal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 9, 20, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow-y: auto;
  transition: all 0.3s var(--ease);
}
.rfq-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.rfq-box {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  width: min(720px, 94vw);
  max-width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s var(--ease);
  margin: auto;
}
.rfq-modal.open .rfq-box { transform: scale(1); }
.rfq-head {
  background: var(--navy-950);
  color: #FFFFFF;
  padding: 22px 26px;
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rfq-head h3 { color: #FFFFFF; margin-bottom: 4px; font-size: 1.3rem; }
.rfq-head p { color: rgba(255, 255, 255, 0.7); font-size: 0.86rem; margin: 0; }
.rfq-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  flex: none;
}
.rfq-close:hover { background: rgba(255, 255, 255, 0.25); }
.rfq-body { padding: 26px; }

/* ── Search Modal ── */
.search-modal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 9, 20, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2600;
  display: flex;
  justify-content: center;
  padding: clamp(50px, 10vh, 100px) 16px 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow-y: auto;
  transition: all 0.25s var(--ease);
}
.search-modal.open { opacity: 1; visibility: visible; pointer-events: auto; }
.search-box {
  width: min(640px, 94vw);
  max-width: 100%;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  height: fit-content;
  max-height: 75vh;
  display: flex;
  flex-direction: column;
}
.search-input-wrap {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}
.search-input-wrap svg { width: 22px; height: 22px; color: var(--navy-900); flex: none; }
.search-input-wrap input {
  flex: 1;
  font-size: 1.1rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  min-width: 0;
}
.search-results {
  padding: 14px 18px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.search-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  transition: background 0.2s;
}
.search-item:hover { background: var(--canvas); }
.search-item b { font-size: 0.94rem; color: var(--ink); }
.search-item span { font-size: 0.78rem; color: var(--green-600); background: rgba(0, 191, 60, 0.08); padding: 3px 8px; border-radius: 6px; flex: none; }

/* ── Contact Layout & Cards ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: flex-start;
  width: 100%;
}
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: all 0.25s var(--ease);
}
.info-card:hover {
  border-color: var(--navy-900);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}
.info-card .iic {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(0, 36, 97, 0.06);
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: all 0.25s;
}
.info-card:hover .iic {
  background: var(--navy-900);
  color: var(--green-400);
}
.info-card .iic svg { width: 22px; height: 22px; }
.info-card b {
  display: block;
  font-family: var(--font-display);
  font-size: 0.96rem;
  margin-bottom: 2px;
  color: var(--ink);
}
.info-card p, .info-card a {
  font-size: 0.92rem;
  color: var(--slate);
  margin: 0;
  line-height: 1.5;
  word-break: break-word;
}
.info-card a:hover { color: var(--green-600); text-decoration: underline; }

.form-shell {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-md);
  width: 100%;
}
.form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--slate);
  margin-top: 16px;
  text-align: center;
  flex-wrap: wrap;
}
.form-note svg { width: 15px; height: 15px; color: var(--green-600); flex: none; }

/* ── Forms & Input Fields ── */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  width: 100%;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.field.full { grid-column: span 2; }
.field label {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}
.field label span { color: #DC2626; }
.field input, .field select, .field textarea {
  width: 100%;
  max-width: 100%;
  padding: 12px 15px;
  background: var(--canvas);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--ink);
  transition: all 0.2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  background: #FFFFFF;
  border-color: var(--navy-900);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 36, 97, 0.1);
}
.field textarea { min-height: 120px; resize: vertical; }

/* ── Split & Information Layouts ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  width: 100%;
}
.band-dark {
  background: var(--navy-950);
  color: #FFFFFF;
  max-width: 100vw;
  overflow-x: clip;
}
.band-dark h1, .band-dark h2, .band-dark h3, .band-dark strong { color: #FFFFFF; }
.band-dark p { color: rgba(226, 232, 240, 0.8); }

.check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 22px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
}
.check-list .ck {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 191, 60, 0.15);
  color: var(--green-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  margin-top: 3px;
}
.check-list .ck svg { width: 13px; height: 13px; }

/* ── Service Catalogs & Items ── */
.svc-list {
  display: grid;
  gap: 14px;
  width: 100%;
}
.svc-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-weight: 500;
  transition: all 0.2s;
  width: 100%;
}
.svc-item:hover {
  transform: translateX(4px);
  border-color: var(--green-500);
}
.svc-item .sk {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 191, 60, 0.14);
  color: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.svc-item .sk svg { width: 14px; height: 14px; }

/* ── Page Heroes ── */
.page-hero {
  background: var(--navy-950);
  color: #FFFFFF;
  padding: clamp(56px, 7vw, 96px) 0 clamp(44px, 5vw, 76px);
  position: relative;
  overflow: hidden;
  contain: paint;
  max-width: 100vw;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(0, 191, 60, 0.14) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}
.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.crumbs a { color: rgba(255, 255, 255, 0.75); }
.crumbs a:hover { color: var(--green-300); }
.crumbs svg { width: 12px; height: 12px; flex: none; }
.crumbs span { color: var(--green-300); font-weight: 600; }
.page-hero h1 { color: #FFFFFF; margin-bottom: 16px; }
.page-hero p { color: rgba(226, 232, 240, 0.85); font-size: 1.12rem; max-width: 720px; }

/* ── Insights & Blog Cards ── */
.icard {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease);
  width: 100%;
}
.icard:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 36, 97, 0.14);
}
.icard-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--navy-900);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.icard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.icard:hover .icard-media img { transform: scale(1.05); }
.icard-media .imark {
  width: 70px;
  height: auto;
  opacity: 0.75;
}
.icard-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(4, 9, 20, 0.75);
  backdrop-filter: blur(8px);
  color: var(--green-300);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.icard-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.icard-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--slate-light);
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.icard-meta svg { width: 14px; height: 14px; flex: none; }
.icard h3 {
  font-size: 1.16rem;
  margin-bottom: 12px;
  line-height: 1.35;
}
.icard h3 a:hover { color: var(--navy-900); }
.icard p {
  font-size: 0.92rem;
  margin-bottom: 20px;
  flex: 1;
}
.icard .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy-900);
}
.icard:hover .more { color: var(--green-600); }

/* ── Article View (prose) ── */
.article {
  max-width: 820px;
  margin-inline: auto;
  width: 100%;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.article-meta .av {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex: none;
}
.prose {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--ink-light);
  word-break: break-word;
  overflow-wrap: break-word;
}
.prose h2 { font-size: 1.75rem; margin: 36px 0 16px; }
.prose h3 { font-size: 1.35rem; margin: 26px 0 12px; }
.prose p { margin-bottom: 20px; font-size: 1.05rem; }
.prose ul, .prose ol { margin: 18px 0 24px 24px; list-style: disc; }
.prose li { margin-bottom: 8px; }
.prose blockquote {
  border-left: 4px solid var(--green-500);
  padding: 16px 22px;
  background: var(--canvas);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  margin: 26px 0;
}
.prose pre, .prose code {
  max-width: 100%;
  overflow-x: auto;
  word-break: break-word;
}
.share-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 36px;
  flex-wrap: wrap;
}
.share-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--canvas);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: all 0.2s;
  flex: none;
}
.share-row a:hover {
  background: var(--navy-900);
  color: #FFFFFF;
  transform: translateY(-2px);
}
.share-row a svg { width: 17px; height: 17px; }

/* ── Footer ── */
.footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.75);
  padding: clamp(56px, 7vw, 96px) 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.1fr 1.3fr;
  gap: clamp(28px, 4vw, 54px);
  margin-bottom: 56px;
  width: 100%;
}
.fbrand p {
  color: rgba(226, 232, 240, 0.75);
  font-size: 0.92rem;
  margin: 18px 0 24px;
  line-height: 1.6;
}
.fsocial {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.fsocial a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.2s;
  flex: none;
}
.fsocial a:hover {
  background: var(--grad-green);
  color: #FFFFFF;
  transform: translateY(-2px);
}
.fsocial a svg { width: 17px; height: 17px; }
.footer h5 {
  color: #FFFFFF;
  font-size: 1.05rem;
  margin-bottom: 20px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col a {
  color: rgba(226, 232, 240, 0.72);
  font-size: 0.92rem;
  transition: color 0.2s;
  word-break: break-word;
}
.footer-col a:hover { color: var(--green-400); }

.nl-form {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  max-width: 100%;
}
.nl-form input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  color: #FFFFFF;
  font-size: 0.9rem;
}
.nl-form input:focus {
  outline: none;
  border-color: var(--green-400);
}
.nl-form button {
  padding: 12px 18px;
  background: var(--grad-green);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.nl-msg { font-size: 0.82rem; }
.nl-msg.err { color: #F87171; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.55);
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
}
.footer-bottom a { color: rgba(255, 255, 255, 0.65); }
.footer-bottom a:hover { color: var(--green-400); }

/* ── Floating Buttons: WhatsApp & Back to Top ── */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.28s var(--ease);
}
.wa-float:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 16px 32px rgba(37, 211, 102, 0.5);
}
.wa-float svg { width: 30px; height: 30px; }

.totop {
  position: fixed;
  bottom: 90px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.28s var(--ease);
}
.totop.show { opacity: 1; visibility: visible; }
.totop:hover { transform: translateY(-3px); background: var(--navy-700); }
.totop svg { width: 18px; height: 18px; }

/* ── Scroll Reveal Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }

/* ── Alerts & Notifications ── */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  font-size: 0.94rem;
  width: 100%;
}
.alert svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.alert-ok { background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; }
.alert-ok svg { color: #059669; }
.alert-err { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }
.alert-err svg { color: #DC2626; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE ADAPTATIONS (MOBILE / TABLET / LAPTOP)
   ════════════════════════════════════════════════════════════ */

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 600px; margin-inline: auto; }
  .hero-float-badge { position: static; margin-top: 20px; max-width: 100%; left: 0; bottom: 0; }
  .cta-band { grid-template-columns: 1fr; gap: 28px; }
  .cta-side { align-items: flex-start; width: 100%; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .topbar { display: none; }
  .nav-menu { display: none; }
  /* Show hamburger, hide desktop RFQ button to make room */
  .burger { display: flex !important; }
  .nav-rfq-btn { display: none !important; }
  .nav-search-btn { display: none !important; }
  .g3, .split { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .g2 { grid-template-columns: 1fr; gap: 20px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .hero-stat b { font-size: 1.8rem; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { width: 92%; }
  .container-wide { width: 92%; }
  
  .hero { padding: 48px 0 56px; }
  .hero h1 { font-size: 2.15rem; line-height: 1.15; }
  .hero-sub { font-size: 0.98rem; margin-bottom: 28px; }
  .hero-actions { flex-direction: column; gap: 12px; width: 100%; }
  .hero-actions .btn { width: 100%; }
  
  .hero-stats { grid-template-columns: 1fr; gap: 16px; padding-top: 24px; }
  .hero-tech-card { padding: 20px 16px; }
  .hero-unit-row { padding: 10px 12px; }
  .hero-unit-title { font-size: 0.82rem; }
  .hero-unit-code { font-size: 0.68rem; padding: 2px 6px; }
  
  .cta-band { padding: 28px 18px; border-radius: var(--radius-lg); }
  .cta-side .btn { width: 100%; }
  
  .footer-cols { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  
  .form-grid { grid-template-columns: 1fr; gap: 14px; }
  .field.full { grid-column: span 1; }
  .form-shell { padding: 22px 18px; border-radius: var(--radius-lg); }
  
  .rfq-head { padding: 18px 20px; }
  .rfq-body { padding: 20px 16px; }
  
  .btn-lg { padding: 13px 24px; font-size: 0.96rem; }
  
  .wa-float { bottom: 18px; right: 18px; width: 50px; height: 50px; }
  .wa-float svg { width: 26px; height: 26px; }
  .totop { bottom: 76px; right: 22px; width: 40px; height: 40px; }
}

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