/* Satnam Metal Solution — Premium Aerospace & Defense v2 */

:root {
  color-scheme: dark;
  --bg: #030508;
  --bg-elevated: #080c14;
  --bg-panel: #0c121c;
  --surface: rgba(255, 255, 255, 0.028);
  --border: rgba(140, 180, 230, 0.12);
  --border-strong: rgba(74, 168, 255, 0.4);
  --text: #edf3fa;
  --text-muted: #9eb0c6;
  --text-dim: #6a7d95;
  --blue: #3da4ff;
  --blue-bright: #7ec4ff;
  --blue-deep: #0f6fc7;
  --steel: #95a9c0;
  --white: #ffffff;
  --danger: #ff6b6b;
  --success: #3dd68c;
  --font-display: "Rajdhani", sans-serif;
  --font-body: "Sora", sans-serif;
  --nav-h: 108px;
  --container: 1200px;
  --radius: 0;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

::selection {
  background: rgba(61, 164, 255, 0.35);
  color: #fff;
}

.container {
  width: min(100% - 2.75rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(5rem, 9vw, 8rem) 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 1.15rem;
}

.section-label::before {
  content: "";
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), transparent);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.15rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  max-width: 16ch;
  margin-bottom: 1.15rem;
}

.section-lead {
  color: var(--text-muted);
  max-width: 54ch;
  font-size: 1.05rem;
  font-weight: 300;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 52px;
  padding: 0.9rem 1.7rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), background 0.35s ease,
    border-color 0.35s ease, color 0.35s ease, box-shadow 0.4s var(--ease);
}

.btn-primary {
  background: linear-gradient(120deg, #5eb4ff 0%, var(--blue) 45%, var(--blue-deep) 100%);
  color: #031018;
  box-shadow: 0 12px 36px rgba(61, 164, 255, 0.28);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgba(61, 164, 255, 0.4);
}

.btn-primary:hover::after {
  transform: translateX(120%);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(126, 196, 255, 0.45);
  color: var(--text);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: var(--blue-bright);
  color: var(--blue-bright);
  transform: translateY(-3px);
  background: rgba(61, 164, 255, 0.06);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
    height 0.35s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  height: 84px;
  background: rgba(3, 5, 8, 0.92);
  border-bottom-color: var(--border);
}

/* Blur on a pseudo-element so it does NOT create a containing block
   for position:fixed mobile menu (backdrop-filter on the header itself
   would clip the menu to header height after scroll). */
.site-header.scrolled::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  background: rgba(3, 5, 8, 0.55);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  width: min(100% - 2rem, 1320px);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 1001;
}

.logo img {
  height: 72px;
  width: auto;
  object-fit: contain;
  filter: none;
}

.logo-on-light {
  display: none;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-text strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue-bright);
  text-transform: uppercase;
}

.logo-text span {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin-left: auto;
}

.nav-links a:not(.btn) {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.5rem 0.55rem;
  position: relative;
  transition: color 0.25s ease;
}

.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.2rem;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active {
  color: var(--white);
}

.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after {
  transform: scaleX(1);
}

.nav-cta {
  margin-left: 0.65rem;
  min-height: 42px;
  padding: 0.55rem 1.15rem;
  font-size: 0.88rem;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  position: relative;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--text);
  transition: 0.3s var(--ease);
}

.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 29px; }

.nav-toggle.is-open span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) {
  top: 22px;
  transform: rotate(-45deg);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1001;
}

.theme-toggle {
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.theme-toggle:hover {
  border-color: var(--blue);
  color: var(--blue-bright);
  background: rgba(61, 164, 255, 0.08);
}

.theme-toggle svg {
  width: 21px;
  height: 21px;
  grid-area: 1 / 1;
}

.theme-toggle .icon-sun {
  display: none;
}

.theme-toggle .icon-moon {
  display: block;
}

html[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

html[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

/* ========== CINEMATIC HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  padding: calc(var(--nav-h) + 3rem) 0 0;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.08);
  animation: heroZoom 22s var(--ease) forwards;
  filter: saturate(0.75) contrast(1.08);
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 5, 8, 0.92) 0%, rgba(3, 5, 8, 0.72) 42%, rgba(3, 5, 8, 0.35) 70%, rgba(3, 5, 8, 0.55) 100%),
    linear-gradient(180deg, rgba(3, 5, 8, 0.45) 0%, transparent 28%, rgba(3, 5, 8, 0.55) 70%, rgba(3, 5, 8, 0.98) 100%);
  z-index: 1;
}

.hero-scan {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.04) 3px,
    rgba(0, 0, 0, 0.04) 4px
  );
  mix-blend-mode: overlay;
  opacity: 0.35;
}

.hero-frame {
  position: absolute;
  inset: 12% 8% 18% auto;
  width: min(38vw, 460px);
  border: 1px solid rgba(126, 196, 255, 0.22);
  z-index: 2;
  pointer-events: none;
  animation: framePulse 5.5s ease-in-out infinite;
}

.hero-frame::before,
.hero-frame::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border: 1px solid var(--blue-bright);
}

.hero-frame::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
}

.hero-frame::after {
  right: -1px;
  bottom: -1px;
  border-left: 0;
  border-top: 0;
}

@keyframes framePulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 720px;
  padding-bottom: 3.5rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 1.35rem;
  text-shadow: 0 0 40px rgba(61, 164, 255, 0.35);
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.15s forwards;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 1.35rem;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.3s forwards;
}

.hero h1 span {
  display: block;
  color: var(--blue-bright);
  background: linear-gradient(90deg, #9ad0ff, var(--blue-bright) 40%, #3da4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  color: rgba(210, 222, 236, 0.88);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  font-weight: 300;
  max-width: 44ch;
  margin-bottom: 2.15rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.45s forwards;
}

.hero .btn-group {
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.6s forwards;
}

.hero-rail {
  margin-top: 3.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(140, 180, 230, 0.18);
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.75s forwards;
}

.hero-rail div {
  padding: 1.35rem 1.1rem 0.25rem 0;
  border-right: 1px solid rgba(140, 180, 230, 0.12);
}

.hero-rail div:last-child {
  border-right: 0;
  padding-right: 0;
}

.hero-rail strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
}

.hero-rail span {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Marquee trust */
.marquee-wrap {
  border-block: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(61, 164, 255, 0.06), transparent 25%, transparent 75%, rgba(61, 164, 255, 0.06));
  overflow: hidden;
  padding: 1.1rem 0;
}

.marquee {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 32s linear infinite;
}

.marquee span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
  padding: 0 2.2rem;
  white-space: nowrap;
}

.marquee span em {
  font-style: normal;
  color: var(--blue-bright);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* About cinematic split */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.media-panel {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0a1018;
}

.media-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 480px;
  filter: saturate(0.8) contrast(1.05);
  transition: transform 1.2s var(--ease);
}

.media-panel:hover img {
  transform: scale(1.05);
}

.media-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(3, 5, 8, 0.92) 100%);
}

.media-panel .panel-copy {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 2;
}

.media-panel .panel-copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.media-panel .panel-copy span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.media-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #031018;
  background: var(--blue-bright);
  padding: 0.45rem 0.75rem;
}

.checklist {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.95rem;
}

.checklist li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  color: var(--text-muted);
  font-weight: 300;
}

.checklist li::before {
  content: "";
  width: 12px;
  height: 12px;
  margin-top: 0.45rem;
  flex-shrink: 0;
  background: var(--blue);
  box-shadow: 0 0 16px rgba(61, 164, 255, 0.7);
}

/* Process steps */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3rem;
  border: 1px solid var(--border);
}

.process-step {
  padding: 2rem 1.4rem;
  border-right: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(61, 164, 255, 0.04), transparent 60%);
  min-height: 220px;
  transition: background 0.35s ease;
}

.process-step:last-child {
  border-right: 0;
}

.process-step:hover {
  background: rgba(61, 164, 255, 0.07);
}

.process-step .num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--blue-bright);
  line-height: 1;
  margin-bottom: 1rem;
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 300;
}

/* Capability mosaic */
.cap-mosaic {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.75rem;
  min-height: 520px;
}

.cap-tile {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.6rem;
  isolation: isolate;
}

.cap-tile:first-child {
  grid-row: 1 / 3;
  min-height: 100%;
}

.cap-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: saturate(0.7) brightness(0.55);
  transition: transform 1s var(--ease), filter 0.5s ease;
}

.cap-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 20%, rgba(3, 5, 8, 0.92) 100%);
}

.cap-tile:hover img {
  transform: scale(1.08);
  filter: saturate(0.85) brightness(0.62);
}

.cap-tile .num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--blue-bright);
  margin-bottom: 0.55rem;
}

.cap-tile h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.cap-tile p {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 300;
  max-width: 34ch;
}

/* Industries */
.industry-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.75rem;
}

.industry {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem 1.5rem;
  isolation: isolate;
}

.industry img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: saturate(0.65) brightness(0.45);
  transition: transform 1s var(--ease);
}

.industry::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 10%, rgba(3, 5, 8, 0.94) 100%);
}

.industry:hover img {
  transform: scale(1.07);
}

.industry h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.industry p {
  margin-top: 0.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 300;
}

/* Cert strip */
.cert-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 2.5rem;
}

.cert-strip article {
  background: var(--bg-elevated);
  padding: 1.75rem 1.25rem;
  text-align: center;
}

.cert-strip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue-bright);
  margin-bottom: 0.35rem;
}

.cert-strip span {
  color: var(--text-dim);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* CTA band */
.cta-band {
  position: relative;
  padding: clamp(4rem, 8vw, 6rem) 0;
  overflow: hidden;
  border-block: 1px solid var(--border);
  text-align: center;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cta-image, url("../images/content/14-export-packing-warehouse.jpg")) center/cover;
  filter: brightness(0.45) saturate(0.7);
  z-index: 0;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 8, 0.68);
  z-index: 0;
  pointer-events: none;
}

/* Hero orbit ring */
.hero-orbit {
  position: absolute;
  width: min(42vw, 420px);
  aspect-ratio: 1;
  right: 8%;
  top: 18%;
  border: 1px solid rgba(126, 196, 255, 0.28);
  border-radius: 50%;
  z-index: 2;
  animation: orbitSpin 28s linear infinite;
  pointer-events: none;
}

.hero-orbit::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 18px rgba(126, 196, 255, 0.9);
  top: 50%;
  left: -5px;
  transform: translateY(-50%);
}

@keyframes orbitSpin {
  to { transform: rotate(360deg); }
}

/* Feature band */
.feature-band {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--border);
}

.feature-band-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.18) contrast(1.1);
  transform: scale(1.05);
  animation: bgDrift 30s ease-in-out infinite alternate;
  z-index: 0;
}

.feature-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 5, 8, 0.78) 0%, rgba(3, 5, 8, 0.5) 55%, rgba(3, 5, 8, 0.38) 100%);
  z-index: 0;
  pointer-events: none;
}

@keyframes bgDrift {
  to { transform: scale(1.12) translate3d(-1.5%, 1%, 0); }
}

.feature-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.feature-visuals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.feature-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 260px;
  isolation: isolate;
}

.feature-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.72);
  transition: transform 1.1s var(--ease), filter 0.4s ease;
}

.feature-card:hover img {
  transform: scale(1.08);
  filter: saturate(0.95) brightness(0.82);
}

.feature-card figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(3, 5, 8, 0.88) 100%);
  z-index: 1;
}

.feature-card .spin-slow-target {
  animation: turbinePulse 12s ease-in-out infinite;
}

@keyframes turbinePulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.04) rotate(1.5deg); }
}

.cred-media {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.15rem;
  margin-top: 2.5rem;
  align-items: stretch;
}

.cred-panel {
  min-height: 100%;
}

.cred-panel img {
  min-height: 320px;
}

.cred-media .cert-strip {
  margin-top: 0;
  grid-template-columns: 1fr 1fr;
  height: 100%;
}

.page-hero.has-media::before {
  background:
    linear-gradient(90deg, rgba(3, 5, 8, 0.92), rgba(3, 5, 8, 0.7)),
    var(--page-hero-image) center/cover;
}

@media (max-width: 980px) {
  .feature-grid,
  .cred-media,
  .feature-visuals {
    grid-template-columns: 1fr;
  }

  .hero-orbit {
    opacity: 0.35;
    right: -8%;
  }
}


.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.95rem;
  color: var(--text);
}

.cta-band p {
  color: var(--text-muted);
  max-width: 48ch;
  margin: 0 auto 1.85rem;
  font-weight: 300;
}

.feature-band .section-title {
  color: #edf3fa;
}

.feature-band .section-lead {
  color: #c5d0dc;
}

/* Page hero (inner) */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 4.5rem) 0 4rem;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 90% at 90% -10%, rgba(61, 164, 255, 0.2), transparent 55%),
    linear-gradient(180deg, #0a121c, var(--bg));
  z-index: 0;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.2vw, 3.8rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 0.95rem;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 56ch;
  font-size: 1.08rem;
  font-weight: 300;
}

/* Content blocks reused */
.content-block + .content-block {
  margin-top: 2rem;
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  margin-top: 2.75rem;
}

.vm-card {
  padding: 2.15rem 1.85rem;
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(61, 164, 255, 0.08), transparent 55%);
}

.vm-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 1rem;
}

.vm-card p {
  color: var(--text-muted);
  font-weight: 300;
}

.detail-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.detail-list li {
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-weight: 300;
}

.detail-list li strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
  margin-top: 2.75rem;
}

.cap-item {
  position: relative;
  padding: 1.9rem 1.6rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.35s ease, transform 0.4s var(--ease);
}

.cap-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, var(--blue), transparent);
}

.cap-item:hover {
  border-color: var(--border-strong);
  transform: translateY(-5px);
}

.cap-item .num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--blue);
  margin-bottom: 0.9rem;
}

.cap-item h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.cap-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 300;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: 2.25rem;
}

.cert-card {
  padding: 2rem 1.4rem;
  border: 1px solid var(--border);
  background: var(--bg-panel);
  text-align: center;
  transition: border-color 0.3s ease, transform 0.35s var(--ease);
}

.cert-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

.cert-card .badge {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--blue-bright);
  letter-spacing: 0.05em;
  margin-bottom: 0.55rem;
}

.cert-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 300;
}

/* ========== CERTIFICATE SHOWCASE ========== */
.cert-showcase-section {
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.cert-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.75rem);
  margin-top: 2.5rem;
}

.cert-frame {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  background:
    linear-gradient(165deg, rgba(61, 164, 255, 0.07), transparent 42%),
    var(--bg-panel);
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.45s var(--ease), transform 0.45s var(--ease);
}

.cert-frame:hover {
  border-color: rgba(61, 164, 255, 0.4);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(61, 164, 255, 0.1);
  transform: translateY(-6px);
}

.cert-frame-head {
  padding: 1.5rem 1.6rem 1.15rem;
  border-bottom: 1px solid var(--border);
}

.cert-frame-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 0.55rem;
}

.cert-frame-head h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.cert-frame-head p {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.45;
}

.cert-frame-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border: 0;
  background: linear-gradient(180deg, #0a0e14 0%, #05070b 100%);
  cursor: zoom-in;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(420px, 58vh, 720px);
}

.cert-frame-media img {
  width: 100%;
  max-width: 560px;
  height: auto;
  max-height: clamp(400px, 54vh, 680px);
  object-fit: contain;
  object-position: center top;
  display: block;
  margin: 0 auto;
  border: 1px solid rgba(140, 180, 230, 0.18);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.55),
    0 0 0 8px rgba(255, 255, 255, 0.02);
  background: #fff;
  filter: none !important;
  pointer-events: none;
  transition: transform 0.9s var(--ease), box-shadow 0.45s ease;
}

.cert-frame-media:hover img {
  transform: scale(1.025);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.65),
    0 0 0 8px rgba(61, 164, 255, 0.06);
  filter: none !important;
}

.cert-frame-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(3, 5, 8, 0.45) 100%);
  pointer-events: none;
  z-index: 1;
}

.cert-frame-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}

.cert-frame-meta > div {
  padding: 1.1rem 1rem;
  border-right: 1px solid var(--border);
  text-align: center;
}

.cert-frame-meta > div:last-child {
  border-right: 0;
}

.cert-frame-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.35rem;
}

.cert-frame-meta span {
  display: block;
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.35;
}

@media (max-width: 980px) {
  .cert-showcase-grid {
    grid-template-columns: 1fr;
  }

  .cert-frame-media {
    min-height: clamp(360px, 55vh, 560px);
  }

  .cert-frame-media img {
    max-height: clamp(340px, 50vh, 520px);
  }
}

@media (max-width: 640px) {
  .cert-frame-meta {
    grid-template-columns: 1fr;
  }

  .cert-frame-meta > div {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .cert-frame-meta > div:last-child {
    border-bottom: 0;
  }
}

/* Home certificate preview */
.home-cert-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.home-cert-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
  border: 1px solid var(--border);
  background: var(--bg-panel);
  overflow: hidden;
  color: inherit;
  transition: border-color 0.35s ease, transform 0.4s var(--ease), box-shadow 0.4s ease;
}

.home-cert-card:hover {
  border-color: rgba(61, 164, 255, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
}

.home-cert-img {
  background: linear-gradient(180deg, #0c1118, #06080c);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.home-cert-img img {
  width: 100%;
  max-height: 240px;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(140, 180, 230, 0.15);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.home-cert-copy {
  padding: 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  border-left: 1px solid var(--border);
}

.home-cert-copy strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-cert-copy > span:last-child {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 300;
}

@media (max-width: 980px) {
  .home-cert-preview {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .home-cert-card {
    grid-template-columns: 1fr;
  }

  .home-cert-copy {
    border-left: 0;
    border-top: 1px solid var(--border);
  }
}

/* Gallery — responsive section grids */
.gallery-block {
  padding: clamp(3.25rem, 6vw, 5.25rem) 0;
}

.gallery-block-alt {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.gallery-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.95rem;
  margin: 0 0 1.75rem;
}

.gallery-heading::before {
  content: "";
  width: 36px;
  height: 2px;
  flex-shrink: 0;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  margin: 0;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  isolation: isolate;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  transition: border-color 0.35s ease, box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 255, 255, 0.08) 48%,
    rgba(61, 164, 255, 0.16) 52%,
    transparent 62%
  );
  transform: translateX(-120%) skewX(-12deg);
  transition: transform 0.9s var(--ease);
  z-index: 2;
  pointer-events: none;
}

.gallery-item:hover::before {
  transform: translateX(120%) skewX(-12deg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  transition: transform 0.8s var(--ease);
}

.gallery-item:hover {
  border-color: rgba(61, 164, 255, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(-3px);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

/* Gallery lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.25rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: rgba(2, 3, 7, 0.94);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.gallery-lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gallery-lightbox figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin: 0;
}

.gallery-lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 76vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--border-strong);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
  background: #fff;
  transform: scale(0.94);
  opacity: 0;
  transition: transform 0.55s var(--ease), opacity 0.45s ease;
}

.gallery-lightbox.open img {
  transform: scale(1);
  opacity: 1;
}

.gallery-lightbox figcaption {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-bright);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease 0.12s, transform 0.45s var(--ease) 0.12s;
}

.gallery-lightbox.open figcaption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: rgba(8, 12, 18, 0.85);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.gallery-lightbox-close:hover {
  border-color: var(--blue);
  color: var(--blue-bright);
  background: rgba(61, 164, 255, 0.08);
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 1.15rem;
}

.info-block {
  padding: 1.4rem 1.3rem;
  border: 1px solid var(--border);
  background: var(--surface);
}

.info-block h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 0.45rem;
}

.info-block p,
.info-block a {
  color: var(--text-muted);
  font-weight: 300;
}

.info-block a:hover {
  color: var(--white);
}

.contact-form {
  padding: 2rem;
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(15, 22, 34, 0.95), rgba(8, 12, 20, 0.98));
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  outline: none;
  color: var(--text);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-field select {
  background-color: #0f1622;
  color: #edf3fa;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #7ec4ff 50%),
    linear-gradient(135deg, #7ec4ff 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.4rem;
}

.form-field select option {
  background-color: #0f1622;
  color: #edf3fa;
}

.form-field select option:checked,
.form-field select option:hover {
  background-color: #1478d4;
  color: #ffffff;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(61, 164, 255, 0.15);
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-status {
  margin-top: 0.85rem;
  font-size: 0.92rem;
  min-height: 1.2em;
}

.form-status.success { color: var(--success); }
.form-status.error { color: var(--danger); }

.map-embed {
  margin-top: 2.75rem;
  border: 1px solid var(--border);
  overflow: hidden;
  min-height: 340px;
  background: var(--bg-panel);
}

.map-embed iframe {
  width: 100%;
  height: 380px;
  border: 0;
  filter: grayscale(0.4) contrast(1.08) brightness(0.85);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 4rem 0 1.85rem;
  background: #020307;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.75rem;
}

.footer-brand p {
  margin-top: 1.1rem;
  color: var(--text-muted);
  max-width: 34ch;
  font-size: 0.95rem;
  font-weight: 300;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.1rem;
}

.footer-col a,
.footer-col p {
  display: block;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
  font-weight: 300;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.84rem;
}

/* WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 1.35rem;
  bottom: 1.35rem;
  z-index: 1100;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s var(--ease);
}

.whatsapp-float:hover {
  transform: scale(1.07);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.mt-2 { margin-top: 2rem; }

.text-link {
  color: var(--blue-bright);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.text-link:hover { color: var(--white); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1100px) {
  .nav-links a:not(.btn) {
    font-size: 0.8rem;
    padding: 0.45rem 0.4rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .nav-toggle { display: inline-block; }

  .header-tools {
    margin-left: auto;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    max-height: 100dvh;
    z-index: 1000;
    background: rgba(2, 3, 7, 0.98);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 0.35rem;
    padding: max(5.5rem, calc(env(safe-area-inset-top) + 4.5rem)) 1.5rem max(2rem, env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .nav-links a:not(.btn) {
    font-size: 1.35rem;
    padding: 0.7rem 1rem;
  }

  .nav-cta { margin-left: 0; margin-top: 0.85rem; }
  .logo-text { display: none; }

  body.menu-open {
    overflow: hidden;
    touch-action: none;
  }

  .cap-grid,
  .industry-row,
  .vm-grid,
  .cert-grid,
  .split,
  .contact-layout,
  .footer-grid,
  .form-grid,
  .process,
  .cert-strip,
  .cap-mosaic,
  .hero-rail {
    grid-template-columns: 1fr;
  }

  .cap-mosaic {
    grid-template-rows: none;
  }

  .cap-tile:first-child {
    grid-row: auto;
  }

  .process-step {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-frame {
    display: none;
  }

  .hero-rail div {
    border-right: 0;
    border-bottom: 1px solid rgba(140, 180, 230, 0.12);
    padding: 1rem 0;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .gallery-heading {
    letter-spacing: 0.06em;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .contact-form { padding: 1.35rem; }
  .logo img { height: 68px; }
  .media-panel,
  .media-panel img { min-height: 340px; }
  .showcase-grid { grid-template-columns: 1fr 1fr; }
  .customer-logo img { max-height: 44px; max-width: 120px; }
}

/* ========== CUSTOMER LOGOS MARQUEE ========== */
.customers-band {
  padding: clamp(3.5rem, 7vw, 5rem) 0;
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
  overflow: hidden;
}

.customers-band .section-head {
  margin-bottom: 2.5rem;
}

.customers-marquee-wrap {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.customers-marquee {
  display: flex;
  width: max-content;
  animation: customersScroll 38s linear infinite;
}

.customers-marquee:hover {
  animation-play-state: paused;
}

.customer-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  min-width: 180px;
  height: 90px;
}

.customer-logo img {
  max-height: 64px;
  max-width: 150px;
  width: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: transform 0.35s var(--ease), filter 0.35s ease;
}

.customer-logo img:hover {
  transform: scale(1.08);
  filter: brightness(1.05);
}

@keyframes customersScroll {
  to { transform: translateX(-50%); }
}

/* ========== CAPABILITY DETAIL SECTIONS ========== */
.cap-block {
  padding: clamp(4rem, 8vw, 6rem) 0;
  border-bottom: 1px solid var(--border);
}

.cap-block:nth-child(even) {
  background: var(--bg-elevated);
}

.cap-block-header {
  margin-bottom: 2.25rem;
}

.cap-block-header .section-title {
  max-width: none;
}

.cap-feature-img {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 2rem;
  aspect-ratio: 21 / 9;
  max-height: 420px;
}

.cap-feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.05);
  transition: transform 1.2s var(--ease);
}

.cap-feature-img:hover img {
  transform: scale(1.04);
}

.cap-feature-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(3, 5, 8, 0.75) 100%);
  pointer-events: none;
}

.equip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.equip-grid li {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 300;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.equip-grid li::before {
  content: "▸";
  color: var(--blue-bright);
  flex-shrink: 0;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.showcase-item {
  position: relative;
  aspect-ratio: 292 / 302;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  filter: none;
  transition: transform 0.9s var(--ease), filter 0.4s ease;
}

.showcase-item:hover img {
  transform: scale(1.03);
  filter: none;
}

.showcase-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color 0.3s ease;
  pointer-events: none;
}

.showcase-item:hover::after {
  border-color: var(--border-strong);
}

.cap-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.cap-nav a {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.cap-nav a:hover {
  border-color: var(--blue);
  color: var(--blue-bright);
  background: rgba(61, 164, 255, 0.06);
}

@media (max-width: 980px) {
  .equip-grid { grid-template-columns: 1fr; }
  .cap-feature-img { aspect-ratio: 16 / 9; max-height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========== LIGHT THEME ========== */
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f7fb;
  --bg-elevated: #ffffff;
  --bg-panel: #ffffff;
  --surface: rgba(15, 45, 80, 0.035);
  --border: rgba(20, 50, 90, 0.12);
  --border-strong: rgba(15, 111, 199, 0.42);
  --text: #121a26;
  --text-muted: #4d5d70;
  --text-dim: #6a7b8f;
  --blue: #1578d4;
  --blue-bright: #0b5fad;
  --blue-deep: #0a4d8c;
  --steel: #5a6e84;
  --white: #121a26;
  --shadow: 0 24px 60px rgba(20, 40, 80, 0.1);
}

html[data-theme="light"] .logo-on-dark {
  display: none;
}

html[data-theme="light"] .logo-on-light {
  display: block;
}

html[data-theme="light"] .site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--border);
}

html[data-theme="light"] .site-header.scrolled::before {
  background: rgba(255, 255, 255, 0.55);
}

html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .nav-toggle {
  background: rgba(15, 45, 80, 0.03);
}

html[data-theme="light"] .site-header:not(.scrolled) {
  --text: #edf3fa;
  --text-muted: rgba(237, 243, 250, 0.82);
  --text-dim: rgba(158, 176, 198, 0.9);
  --blue-bright: #7ec4ff;
  --blue: #3da4ff;
  --white: #ffffff;
  --border: rgba(140, 180, 230, 0.28);
}

html[data-theme="light"] .site-header:not(.scrolled) .logo-on-dark {
  display: block;
}

html[data-theme="light"] .site-header:not(.scrolled) .logo-on-light {
  display: none;
}

html[data-theme="light"] .site-header:not(.scrolled) .theme-toggle,
html[data-theme="light"] .site-header:not(.scrolled) .nav-toggle {
  background: rgba(255, 255, 255, 0.08);
  color: #edf3fa;
}

html[data-theme="light"] .hero,
html[data-theme="light"] .page-hero.has-media,
html[data-theme="light"] .feature-band,
html[data-theme="light"] .cap-tile,
html[data-theme="light"] .industry,
html[data-theme="light"] .feature-card,
html[data-theme="light"] .media-panel {
  --text: #edf3fa;
  --text-muted: #c5d0dc;
  --text-dim: #9eb0c6;
  --blue: #3da4ff;
  --blue-bright: #7ec4ff;
  --white: #ffffff;
  color: #edf3fa;
}

html[data-theme="light"] .hero .btn-ghost,
html[data-theme="light"] .page-hero.has-media .btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(126, 196, 255, 0.5);
  color: #edf3fa;
}

html[data-theme="light"] .hero .btn-ghost:hover,
html[data-theme="light"] .page-hero.has-media .btn-ghost:hover {
  color: #ffffff;
  border-color: #7ec4ff;
  background: rgba(61, 164, 255, 0.16);
}

html[data-theme="light"] .btn-ghost {
  background: #ffffff;
  border-color: rgba(15, 111, 199, 0.38);
  color: #121a26;
}

html[data-theme="light"] .btn-ghost:hover {
  color: #0b5fad;
  background: rgba(15, 111, 199, 0.08);
  border-color: #0b5fad;
}

html[data-theme="light"] .cta-band {
  color: #121a26;
  background: #eef3f9;
}

html[data-theme="light"] .cta-band::before {
  filter: brightness(1.08) saturate(0.35);
}

html[data-theme="light"] .cta-band::after {
  background: rgba(244, 247, 251, 0.9);
}

html[data-theme="light"] .cta-band h2 {
  color: #121a26;
}

html[data-theme="light"] .cta-band p {
  color: #4d5d70;
}

html[data-theme="light"] .cta-band .btn-ghost {
  background: #ffffff;
  border-color: rgba(15, 111, 199, 0.4);
  color: #121a26;
}

html[data-theme="light"] .cta-band .btn-ghost:hover {
  color: #0b5fad;
  background: rgba(15, 111, 199, 0.08);
  border-color: #0b5fad;
}

html[data-theme="light"] .text-link:hover,
html[data-theme="light"] .info-block a:hover,
html[data-theme="light"] .footer-col a:hover {
  color: #0a4d8c;
}

html[data-theme="light"] .media-panel {
  background: #dce6f2;
}

html[data-theme="light"] .process,
html[data-theme="light"] .process-step,
html[data-theme="light"] .cap-item,
html[data-theme="light"] .vm-card,
html[data-theme="light"] .info-block,
html[data-theme="light"] .cert-card,
html[data-theme="light"] .cert-frame,
html[data-theme="light"] .contact-form,
html[data-theme="light"] .detail-list li,
html[data-theme="light"] .home-cert-card,
html[data-theme="light"] .equip-grid li {
  box-shadow: 0 10px 28px rgba(20, 40, 80, 0.05);
}

html[data-theme="light"] .process-step {
  background: linear-gradient(180deg, rgba(21, 120, 212, 0.06), transparent 60%);
}

html[data-theme="light"] .process-step:hover {
  background: rgba(21, 120, 212, 0.07);
}

html[data-theme="light"] .cap-item {
  background: linear-gradient(160deg, rgba(15, 111, 199, 0.05), rgba(255, 255, 255, 0.9));
}

html[data-theme="light"] .vm-card {
  background: linear-gradient(165deg, rgba(21, 120, 212, 0.07), #fff 55%);
}

html[data-theme="light"] .contact-form {
  background: #fff;
  box-shadow: var(--shadow);
}

html[data-theme="light"] .form-field input,
html[data-theme="light"] .form-field textarea {
  background: #f7f9fc;
  color: var(--text);
}

html[data-theme="light"] .form-field select {
  background-color: #f7f9fc;
  color: #121a26;
  color-scheme: light;
  background-image: linear-gradient(45deg, transparent 50%, #0b5fad 50%),
    linear-gradient(135deg, #0b5fad 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

html[data-theme="light"] .form-field select option {
  background-color: #ffffff;
  color: #121a26;
}

html[data-theme="light"] .form-field select option:checked,
html[data-theme="light"] .form-field select option:hover {
  background-color: #e8eef6;
  color: #121a26;
}

html[data-theme="light"] .site-footer {
  background: #eef3f9;
}

html[data-theme="light"] .cert-frame-media,
html[data-theme="light"] .home-cert-img {
  background: linear-gradient(180deg, #eef3f9, #e4ebf4);
}

html[data-theme="light"] .gallery-lightbox-close {
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
}

html[data-theme="light"] .gallery-heading {
  color: #121a26;
}

html[data-theme="light"] .gallery-item {
  background: #fff;
  box-shadow: 0 8px 22px rgba(20, 40, 80, 0.06);
}

html[data-theme="light"] .gallery-item:hover {
  box-shadow: 0 16px 36px rgba(20, 40, 80, 0.12);
}

html[data-theme="light"] .map-embed iframe {
  filter: grayscale(0.15) contrast(1.02) brightness(1);
}

html[data-theme="light"] .customers-band {
  background: #fff;
}

html[data-theme="light"] .marquee-wrap {
  background: linear-gradient(90deg, rgba(21, 120, 212, 0.06), transparent 25%, transparent 75%, rgba(21, 120, 212, 0.06));
}

html[data-theme="light"] .page-hero:not(.has-media)::before {
  background:
    radial-gradient(ellipse 70% 90% at 90% -10%, rgba(21, 120, 212, 0.12), transparent 55%),
    linear-gradient(180deg, #e8eef6, var(--bg));
}

@media (max-width: 980px) {
  html[data-theme="light"] .nav-links {
    background: rgba(255, 255, 255, 0.98);
  }

  html[data-theme="light"] .site-header:not(.scrolled) .nav-links a:not(.btn),
  html[data-theme="light"] .nav-links a:not(.btn) {
    color: #4d5d70;
  }

  html[data-theme="light"] .site-header:not(.scrolled) .nav-links a:not(.btn):hover,
  html[data-theme="light"] .site-header:not(.scrolled) .nav-links a:not(.btn).active,
  html[data-theme="light"] .nav-links a:not(.btn):hover,
  html[data-theme="light"] .nav-links a:not(.btn).active {
    color: #121a26;
  }

  html[data-theme="light"] body.menu-open .site-header .logo-on-dark {
    display: none;
  }

  html[data-theme="light"] body.menu-open .site-header .logo-on-light {
    display: block;
  }

  html[data-theme="light"] body.menu-open .theme-toggle,
  html[data-theme="light"] body.menu-open .nav-toggle {
    color: #121a26;
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(20, 50, 90, 0.16);
  }
}
