@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
  color-scheme: dark;
  --bg: #030303;
  --bg-2: #080808;
  --panel: rgba(13, 13, 13, 0.86);
  --panel-strong: rgba(18, 18, 18, 0.96);
  --line: rgba(255, 255, 255, 0.18);
  --line-strong: rgba(255, 190, 30, 0.34);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.84);
  --soft: rgba(255, 255, 255, 0.08);
  --mango: #ffc01f;
  --mango-2: #ffdd72;
  --mango-3: #d69200;
  --steel: #c3cad6;
  --aqua: #59f2ff;
  --danger: #ff6c4a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --glow: 0 0 28px rgba(255, 192, 31, 0.3);
  --radius: 8px;
  --max: 1200px;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f2ea;
  --bg-2: #ffffff;
  --panel: rgba(255, 255, 255, 0.94);
  --panel-strong: rgba(255, 255, 255, 0.98);
  --line: rgba(7, 8, 10, 0.18);
  --line-strong: rgba(210, 140, 0, 0.34);
  --text: #07080a;
  --muted: rgba(7, 8, 10, 0.82);
  --soft: rgba(10, 10, 10, 0.06);
  --steel: #303946;
  --shadow: 0 24px 60px rgba(27, 24, 17, 0.16);
  --glow: 0 0 30px rgba(214, 146, 0, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(255, 192, 31, 0.08), transparent 22%),
    linear-gradient(225deg, rgba(89, 242, 255, 0.04), transparent 24%),
    radial-gradient(circle at 50% -20%, rgba(255, 192, 31, 0.12), transparent 36%),
    var(--bg);
  color: var(--text);
  font-family: "Cairo", "Inter", system-ui, sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}

html[dir="ltr"] body {
  font-family: "Inter", "Cairo", system-ui, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 78%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0 32%, rgba(255, 192, 31, 0.05) 40%, transparent 50% 100%);
  animation: scan 9s linear infinite;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: rgba(255, 192, 31, 0.34);
  color: #ffffff;
}

.page-shell {
  min-height: 100vh;
}

.container {
  width: min(var(--max), calc(100% - 36px));
  margin-inline: auto;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(255, 192, 31, 0.14), transparent 34%),
    #000000;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-card {
  position: relative;
  display: grid;
  place-items: center;
  gap: 20px;
  width: min(340px, 72vw);
}

.loader-logo {
  width: 148px;
  filter: drop-shadow(0 0 30px rgba(255, 192, 31, 0.48));
  animation: pulseLogo 1.8s ease-in-out infinite;
}

.loader-line {
  position: relative;
  width: 100%;
  height: 2px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.loader-line::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 42%;
  background: linear-gradient(90deg, transparent, var(--mango), #ffffff, transparent);
  animation: loaderLine 1.25s ease-in-out infinite;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 3, 3, 0.72);
  backdrop-filter: blur(20px);
}

html[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.9);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 178px;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(255, 192, 31, 0.38));
}

.brand-copy {
  display: grid;
  gap: 0;
}

.brand-name {
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.1;
}

.brand-tag {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 5px;
  margin: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

html[data-theme="light"] .nav-links {
  background: rgba(7, 8, 10, 0.045);
}

.nav-links a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text);
  background: rgba(255, 192, 31, 0.16);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

html[data-theme="light"] .icon-btn {
  background: rgba(7, 8, 10, 0.045);
}

html[data-theme="light"] .eyebrow,
html[data-theme="light"] .section-kicker,
html[data-theme="light"] .service-index,
html[data-theme="light"] .product-chip,
html[data-theme="light"] .category-pill,
html[data-theme="light"] .metric strong,
html[data-theme="light"] .stat-line strong,
html[data-theme="light"] .contact-line strong,
html[data-theme="light"] .footer-grid h3 {
  color: #7a4f00;
}

.icon-btn:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: rgba(255, 192, 31, 0.13);
}

.menu-btn {
  display: none;
}

.hero {
  position: relative;
  min-height: min(720px, 78svh);
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-cover {
  min-height: auto;
  align-items: start;
  padding: clamp(18px, 2.4vw, 34px) 0 clamp(28px, 4vw, 52px);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 192, 31, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(255, 192, 31, 0.06), transparent 45%),
    var(--bg);
}

.hero-cover-wrap {
  width: min(1540px, calc(100% - 28px));
}

.hero-cover-wrap.container {
  max-width: none;
}

.hero-cover-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 36px;
  align-items: center;
}

.hero-cover-copy {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.hero-cover-copy h1 {
  font-size: 1.75rem;
  max-width: 760px;
  line-height: 2;
  color: #ffc01f;
}

.hero-cover-copy .hero-lead {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 600;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.hero-badge {
  display: grid;
  gap: 6px;
  padding: 15px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 192, 31, 0.12);
}

.hero-badge strong {
  font-size: 0.98rem;
  font-weight: 900;
}

.hero-badge span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.hero-cover-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 192, 31, 0.34);
  border-radius: var(--radius);
  background: #000000;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48), 0 0 36px rgba(255, 192, 31, 0.16);
}

.hero-cover-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hero-cover-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.hero-studio {
  position: relative;
  isolation: isolate;
  perspective: 1500px;
  padding: clamp(8px, 1.4vw, 18px);
}

.hero-studio::before {
  content: "";
  position: absolute;
  inset: 5% 3%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 192, 31, 0.22), transparent 64%);
  filter: blur(34px);
  opacity: 0.78;
  animation: studioPulse 4.8s ease-in-out infinite alternate;
}

.studio-screen {
  position: relative;
  display: grid;
  gap: 12px;
  min-height: clamp(360px, 44vw, 640px);
  padding: clamp(14px, 2.4vw, 28px);
  overflow: hidden;
  border: 1px solid rgba(255, 192, 31, 0.36);
  border-radius: clamp(14px, 1.8vw, 24px);
  background:
    linear-gradient(120deg, rgba(255, 192, 31, 0.12), transparent 22% 74%, rgba(255, 192, 31, 0.16)),
    radial-gradient(circle at 50% 20%, rgba(255, 192, 31, 0.16), transparent 34%),
    #060606;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.56), 0 0 48px rgba(255, 192, 31, 0.14);
  transform: rotateX(2deg);
  transform-style: preserve-3d;
  animation: none;
}

.studio-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255, 192, 31, 0.12), transparent),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 8px);
  mix-blend-mode: screen;
  opacity: 0.54;
}

.studio-screen::after {
  content: "";
  position: absolute;
  inset: 12px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: inherit;
  box-shadow: inset 0 0 42px rgba(255, 192, 31, 0.08);
}

.studio-topbar,
.studio-stage,
.studio-chip-row {
  position: relative;
  z-index: 1;
}

.studio-topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(18px);
}

.studio-brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: #ffffff;
  font-weight: 900;
}

.studio-brand img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(255, 192, 31, 0.44));
}

.studio-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
  min-height: clamp(280px, 34vw, 500px);
}

.studio-window {
  position: relative;
  min-height: clamp(440px, 46vw, 700px);
  overflow: hidden;
  border: 1px solid rgba(255, 192, 31, 0.24);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 192, 31, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
    #030303;
  transform: translateZ(34px);
  direction: ltr;
}

.studio-window::before,
.studio-window::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  width: clamp(20px, 4vw, 56px);
  pointer-events: none;
}

.studio-window::before {
  inset-inline-start: 0;
  background: linear-gradient(90deg, #030303, transparent);
}

.studio-window::after {
  inset-inline-end: 0;
  background: linear-gradient(270deg, #030303, transparent);
}

.studio-scan {
  position: absolute;
  inset-block: 0;
  inset-inline-start: -22%;
  z-index: 4;
  width: 18%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 192, 31, 0.22), rgba(255, 255, 255, 0.18), transparent);
  transform: skewX(-16deg);
  animation: studioScan 5.2s linear infinite;
}

.machine-grid-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 49.6%, rgba(255, 192, 31, 0.16) 49.8% 50.2%, transparent 50.4%),
    linear-gradient(0deg, transparent 49.6%, rgba(255, 192, 31, 0.1) 49.8% 50.2%, transparent 50.4%),
    repeating-linear-gradient(90deg, rgba(255, 192, 31, 0.055) 0 1px, transparent 1px 90px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 78px);
  mask-image: radial-gradient(circle at center, #000 8%, transparent 78%);
  opacity: 0.58;
  transform: perspective(900px) rotateX(58deg) translateY(28%);
  transform-origin: 50% 100%;
}

.showcase-track {
  position: absolute;
  inset: 0;
  z-index: 1;
  perspective: 1400px;
  transform-style: preserve-3d;
}

.showcase-card {
  position: absolute;
  inset: clamp(16px, 2vw, 28px) clamp(16px, 2.2vw, 34px) clamp(132px, 12vw, 176px);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 192, 31, 0.32);
  border-radius: clamp(16px, 1.8vw, 26px);
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 192, 31, 0.14), transparent 34%),
    #050505;
  box-shadow:
    0 34px 88px rgba(0, 0, 0, 0.5),
    0 0 42px rgba(255, 192, 31, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.055);
  opacity: 0;
  transform: translateX(-28%) rotateY(24deg) translateZ(-110px) scale(0.82);
  transform-origin: center;
  animation: machineSlide var(--slide-duration, 40s) cubic-bezier(0.55, 0.04, 0.2, 1) infinite;
  animation-delay: var(--delay, 0s);
  will-change: transform, opacity;
}

.showcase-card:nth-child(even) {
  transform-origin: center;
}

.showcase-card.is-feature {
  border-color: rgba(255, 213, 92, 0.44);
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: clamp(14px, 2vw, 28px);
  background: #050505;
  filter: saturate(1.08) contrast(1.05) brightness(0.92);
  transform: none;
  animation: none;
}

.showcase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), transparent 46%, rgba(0, 0, 0, 0.46)),
    linear-gradient(to top, rgba(0, 0, 0, 0.86), transparent 52%),
    linear-gradient(135deg, rgba(255, 192, 31, 0.15), transparent 34%);
}

.showcase-caption {
  position: relative;
  z-index: 2;
  inset: auto;
  display: grid;
  gap: 8px;
  max-width: none;
  margin: 0 clamp(14px, 2vw, 28px) clamp(14px, 2vw, 28px);
  padding: clamp(14px, 1.7vw, 22px);
  border: 1px solid rgba(255, 192, 31, 0.22);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
  color: #ffffff;
}

.showcase-caption small {
  color: var(--gold);
  font-size: clamp(0.72rem, 0.9vw, 0.88rem);
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.showcase-caption span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.88rem, 1.05vw, 1.05rem);
  font-weight: 800;
  line-height: 1.55;
}

.showcase-caption strong {
  color: #ffffff;
  font-size: clamp(1.55rem, 2.5vw, 3.1rem);
  line-height: 1.25;
}

.machine-rail {
  position: absolute;
  z-index: 3;
  inset-inline: clamp(16px, 2vw, 28px);
  bottom: clamp(14px, 1.8vw, 22px);
  height: clamp(78px, 8.5vw, 118px);
  overflow: hidden;
  border: 1px solid rgba(255, 192, 31, 0.24);
  border-radius: var(--radius-sm);
  background: rgba(4, 4, 4, 0.82);
  box-shadow: inset 0 0 30px rgba(255, 192, 31, 0.08);
}

.machine-rail::before,
.machine-rail::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 12%;
  pointer-events: none;
}

.machine-rail::before {
  inset-inline-start: 0;
  background: linear-gradient(90deg, #030303, transparent);
}

.machine-rail::after {
  inset-inline-end: 0;
  background: linear-gradient(270deg, #030303, transparent);
}

.machine-rail-track {
  display: flex;
  gap: 10px;
  width: max-content;
  height: 100%;
  padding: 10px;
  animation: machineRail 34s linear infinite;
  will-change: transform;
}

.machine-thumb {
  flex: 0 0 clamp(120px, 14vw, 210px);
  height: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 192, 31, 0.28);
  border-radius: 10px;
  background: #050505;
  transform: perspective(700px) rotateY(-10deg);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

.machine-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  background: #050505;
  filter: saturate(1.08) contrast(1.04);
}

.studio-base {
  width: min(76%, 900px);
  height: 18px;
  margin: -3px auto 0;
  border: 1px solid rgba(255, 192, 31, 0.22);
  border-radius: 0 0 24px 24px;
  background: linear-gradient(90deg, transparent, rgba(255, 192, 31, 0.28), transparent), #090909;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.44);
}

.hero-command {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: 26px;
  align-items: center;
  margin-top: 16px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(255, 192, 31, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 192, 31, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(8, 8, 8, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

html[data-theme="light"] .hero-command {
  background:
    linear-gradient(135deg, rgba(255, 192, 31, 0.12), rgba(255, 255, 255, 0.76)),
    rgba(255, 255, 255, 0.9);
}

.hero-command-copy {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.hero-command-brand {
  position: relative;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 192, 31, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 192, 31, 0.14), rgba(255, 255, 255, 0.04)),
    rgba(0, 0, 0, 0.34);
  box-shadow: 0 0 30px rgba(255, 192, 31, 0.12);
  overflow: hidden;
}

.hero-command-brand::after {
  content: "";
  position: absolute;
  inset-block: 10px;
  inset-inline-start: -40%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 192, 31, 0.5), transparent);
  transform: skewX(-18deg);
  animation: brandSweep 4.2s ease-in-out infinite;
}

.hero-command-brand img {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(255, 192, 31, 0.42));
  animation: logoFloat 4.6s ease-in-out infinite;
}

.hero-command-brand div {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2px;
}

.hero-command-brand strong {
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1;
  font-weight: 900;
}

html[data-theme="light"] .hero-command-brand strong {
  color: #07080a;
}

.hero-command-brand span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.hero .hero-command-copy h1 {
  display: grid;
  gap: 8px;
  max-width: 920px;
  margin: 0;
  color: var(--text);
  font-size: clamp(1.8rem, 3.05vw, 3.15rem);
  line-height: 1.16;
  font-weight: 900;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.hero .hero-command-copy h1 span {
  display: block;
}

.hero .hero-command-copy h1 span:nth-child(2) {
  color: var(--mango);
}

.hero .hero-command-copy .hero-lead {
  max-width: 860px;
  margin: 0;
  line-height: 1.9;
}

.hero-command-side {
  display: grid;
  gap: 14px;
}

.hero-command .hero-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.hero-command .hero-badges {
  margin-top: 0;
}

.hero-cover-panel {
  position: relative;
  z-index: 2;
  padding: 22px 24px;
  background: rgba(0, 0, 0, 0.72);
  border-top: 1px solid rgba(255, 192, 31, 0.2);
}

.hero-cover-panel strong {
  display: block;
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.hero-cover-panel span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.65;
}

.hero-cover-actions {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  padding: 10px;
  opacity: 0.64;
  transform: scale(1.06);
}

.hero-media::before,
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-media::before {
  background:
    linear-gradient(90deg, var(--bg) 0 8%, transparent 35% 62%, var(--bg) 96% 100%),
    linear-gradient(to top, var(--bg) 0 12%, transparent 42% 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.42));
}

html[data-theme="light"] .hero-media {
  opacity: 0.5;
}

html[data-theme="light"] .hero-media::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0 16%, rgba(255, 255, 255, 0.68) 48%, rgba(255, 255, 255, 0.98) 100%),
    linear-gradient(to top, rgba(255, 255, 255, 0.98) 0 18%, rgba(255, 255, 255, 0.55) 56%),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.54));
}

.hero-media::after {
  background: linear-gradient(105deg, transparent 0 38%, rgba(255, 192, 31, 0.16) 44%, transparent 52% 100%);
  animation: scan 7s linear infinite;
}

.hero-frame {
  min-height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: #111111;
  transform: skewX(-4deg);
}

html[dir="ltr"] .hero-frame {
  transform: skewX(4deg);
}

.hero-frame img {
  width: 100%;
  height: 100%;
  min-height: 740px;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.05);
  transform: scale(1.12);
  animation: cinematicPan 15s ease-in-out infinite alternate;
}

.hero-frame:nth-child(2n) img {
  animation-duration: 18s;
}

.hero-frame:nth-child(3n) img {
  animation-delay: -4s;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.72fr);
  gap: 42px;
  align-items: center;
  padding: 58px 0 52px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--mango-2);
  background: rgba(255, 192, 31, 0.1);
  font-size: 0.86rem;
  font-weight: 900;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mango);
  box-shadow: 0 0 16px var(--mango);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1,
.page-hero h1 {
  max-width: 980px;
  margin: 18px 0 18px;
  font-size: clamp(2.45rem, 6.1vw, 5.9rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
}

html[data-theme="light"] .hero h1,
html[data-theme="light"] .page-hero h1 {
  text-shadow: 0 10px 26px rgba(255, 255, 255, 0.78);
}

.gradient-text {
  color: transparent;
  background: linear-gradient(90deg, #ffffff, var(--mango), #ffffff);
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: none;
}

html[data-theme="light"] .gradient-text {
  background: linear-gradient(90deg, #07080a, #d69200, #07080a);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-lead,
.page-lead,
.section-lead {
  max-width: 750px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  font-weight: 700;
}

.hero-actions,
.cta-row,
.card-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  font-weight: 900;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

html[data-theme="light"] .btn,
html[data-theme="light"] .filter-btn,
html[data-theme="light"] .contact-line,
html[data-theme="light"] .stat-line {
  background: rgba(7, 8, 10, 0.045);
}

.btn:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--glow);
}

.btn-primary {
  color: #111111;
  border-color: rgba(255, 192, 31, 0.95);
  background: linear-gradient(135deg, var(--mango), var(--mango-2));
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.055);
}

html[data-theme="light"] .btn-ghost {
  background: rgba(7, 8, 10, 0.055);
}

.btn-small {
  min-height: 40px;
  padding: 9px 12px;
  font-size: 0.9rem;
}

.hero-panel {
  position: relative;
  align-self: stretch;
  display: grid;
  align-content: end;
  min-height: 430px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 192, 31, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(10, 10, 10, 0.62);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

html[data-theme="light"] .hero-panel {
  background:
    linear-gradient(180deg, rgba(255, 192, 31, 0.1), rgba(255, 255, 255, 0.84)),
    rgba(255, 255, 255, 0.88);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 192, 31, 0.22);
  border-radius: 6px;
  pointer-events: none;
}

.hero-panel-logo {
  position: absolute;
  top: 38px;
  inset-inline-end: 34px;
  width: 112px;
  filter: drop-shadow(0 0 24px rgba(255, 192, 31, 0.44));
}

.hero-radar {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin: 118px 0 24px;
}

.hero-radar span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.88rem;
  font-weight: 900;
}

html[data-theme="light"] .hero-radar span {
  background: rgba(7, 8, 10, 0.055);
}

.hero-radar span::after {
  content: "";
  width: 34%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--mango));
  box-shadow: 0 0 14px rgba(255, 192, 31, 0.44);
}

.metric-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metric {
  min-height: 116px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.36);
}

html[data-theme="light"] .metric {
  background: rgba(255, 255, 255, 0.56);
}

.metric strong {
  display: block;
  color: var(--mango);
  font-size: clamp(1.5rem, 2.4vw, 2.4rem);
  line-height: 1.1;
}

.metric span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.section {
  position: relative;
  padding: clamp(72px, 9vw, 122px) 0;
}

.section.compact {
  padding: clamp(48px, 6vw, 80px) 0;
}

main>.hero+.section.compact {
  padding-top: 22px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(260px, 0.44fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 32px;
}

.section-kicker {
  margin-bottom: 10px;
  color: var(--mango);
  font-size: 0.92rem;
  font-weight: 900;
}

.section-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
}

.section-copy {
  color: var(--muted);
  margin: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.product-card,
.machine-card,
.branch-card,
.value-card,
.contact-card,
.process-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.service-card:hover,
.product-card:hover,
.machine-card:hover,
.branch-card:hover,
.value-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: var(--glow), var(--shadow);
}

.service-card {
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: stretch;
  min-height: 0;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
}

.service-card img,
.product-card img,
.machine-card img,
.portfolio-item img,
.branch-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.machine-card img {
  object-fit: contain;
}

.service-media {
  position: relative;
  z-index: 0;
  min-height: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #050505;
}

.service-media::after,
.portfolio-item::after,
.product-media::after,
.machine-media::after,
.branch-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.12));
}

.service-media::after,
.product-media::after,
.machine-media::after {
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.16), transparent 48%),
    linear-gradient(135deg, rgba(255, 192, 31, 0.08), transparent 38%);
  pointer-events: none;
}

.service-card:hover img,
.product-card:hover img,
.machine-card:hover img,
.portfolio-item:hover img {
  transform: none;
  filter: saturate(1.08);
}

.service-content,
.product-content,
.machine-content {
  position: relative;
  z-index: 1;
  align-self: stretch;
  min-height: 0;
  padding: 18px;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(255, 192, 31, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(0, 0, 0, 0.16);
  text-shadow: none;
}

.service-index,
.product-chip,
.category-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--mango-2);
  background: rgba(255, 192, 31, 0.13);
  font-size: 0.78rem;
  font-weight: 900;
}

.service-card h3,
.product-card h3,
.machine-card h3,
.branch-card h3,
.value-card h3,
.process-card h3 {
  margin: 14px 0 8px;
  font-size: 1.28rem;
  line-height: 1.25;
  color: var(--text);
}

.service-card h3,
.product-card h3,
.machine-card h3 {
  color: var(--text);
}

.service-card p,
.product-card p,
.machine-card p,
.branch-card p,
.value-card p,
.process-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 700;
}

.service-card p,
.product-card p,
.machine-card p {
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: stretch;
  min-height: 0;
}

.product-media,
.machine-media {
  position: relative;
  z-index: 0;
  min-height: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #050505;
}

.branch-photo {
  position: relative;
  min-height: 220px;
  overflow: hidden;
}

.branch-content,
.value-content,
.process-content {
  position: relative;
  z-index: 1;
  padding: 18px;
}

.mock-label {
  position: absolute;
  z-index: 2;
  inset-inline: 18px;
  top: 16px;
  bottom: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  color: #ffffff;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
  font-size: 0.78rem;
  font-weight: 900;
}

.mock-label img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255, 192, 31, 0.45));
}

.machine-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.machine-card {
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: stretch;
  min-height: 0;
}

.machine-media::before {
  content: "";
  position: absolute;
  inset-inline: -20%;
  top: 42%;
  z-index: 2;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--mango), #ffffff, transparent);
  box-shadow: 0 0 24px rgba(255, 192, 31, 0.66);
  transform: rotate(-8deg);
  opacity: 0.24;
  animation: laser 2.8s ease-in-out infinite alternate;
  pointer-events: none;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 0.58fr);
  gap: 24px;
  align-items: stretch;
}

.story-panel,
.cta-panel {
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.story-panel p {
  color: var(--muted);
  font-size: 1.04rem;
}

.value-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.value-card,
.process-card {
  min-height: 220px;
}

.value-no {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  color: #111111;
  background: linear-gradient(135deg, var(--mango), var(--mango-2));
  font-weight: 900;
}

.page-hero {
  position: relative;
  padding: clamp(82px, 11vw, 136px) 0 clamp(48px, 7vw, 82px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, var(--bg), rgba(0, 0, 0, 0.42)),
    var(--page-bg, none);
  background-size: cover;
  background-position: center;
  opacity: 0.72;
}

html[data-theme="light"] .page-hero::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.55)),
    var(--page-bg, none);
  background-size: cover;
  background-position: center;
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.42fr);
  gap: 26px;
  align-items: end;
}

.page-stats {
  display: grid;
  gap: 10px;
}

.stat-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}

.stat-line strong {
  color: var(--mango);
  font-size: 1.42rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.filter-btn {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.055);
  padding: 8px 12px;
  font-weight: 900;
}

.filter-btn.is-active,
.filter-btn:hover {
  color: #111111;
  border-color: var(--mango);
  background: var(--mango);
}

.portfolio-grid {
  columns: 3 280px;
  column-gap: 16px;
}

.portfolio-item {
  position: relative;
  display: block;
  width: 100%;
  min-height: 260px;
  margin: 0 0 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  break-inside: avoid;
  box-shadow: var(--shadow);
}

.portfolio-item.tall {
  min-height: 420px;
}

.portfolio-item.wide {
  min-height: 330px;
}

.portfolio-item button {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  border: 0;
  background: transparent;
  color: #ffffff;
  text-align: start;
}

.portfolio-caption {
  position: absolute;
  inset-inline: 18px;
  bottom: 16px;
  z-index: 2;
  color: #ffffff;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.74);
}

.portfolio-caption h3 {
  margin: 8px 0 0;
}

.branches-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.branch-card {
  display: grid;
  grid-template-rows: 260px 1fr;
}

.branch-map {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 192, 31, 0.12), transparent),
    #050505;
}

.branch-map iframe {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
  display: block;
  filter: saturate(1.1) contrast(1.05);
}

.satellite-preview {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 192, 31, 0.18), transparent 34%),
    #090807;
}

.satellite-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.44), rgba(0, 0, 0, 0.08)),
    radial-gradient(circle at 50% 50%, transparent 0 22%, rgba(0, 0, 0, 0.36) 74%);
  pointer-events: none;
}

.satellite-tiles {
  position: absolute;
  left: var(--map-x);
  top: var(--map-y);
  display: grid;
  grid-template-columns: repeat(3, 256px);
  grid-template-rows: repeat(3, 256px);
  width: 768px;
  height: 768px;
}

.satellite-tiles img {
  width: 256px;
  height: 256px;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.08) brightness(0.82);
}

.satellite-marker {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #070707;
  background: linear-gradient(135deg, var(--mango), var(--mango-2));
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  box-shadow: 0 0 0 8px rgba(255, 192, 31, 0.16), 0 18px 44px rgba(0, 0, 0, 0.46);
  transform: translate(-50%, -50%);
}

.satellite-marker svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.8;
}

.map-glass {
  position: absolute;
  z-index: 3;
  inset-inline: 14px;
  bottom: 14px;
  display: grid;
  gap: 2px;
  width: fit-content;
  max-width: calc(100% - 28px);
  padding: 10px 12px;
  border: 1px solid rgba(255, 192, 31, 0.34);
  border-radius: var(--radius);
  color: #ffffff;
  background: rgba(0, 0, 0, 0.68);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
  pointer-events: none;
}

.map-glass span {
  color: var(--mango);
  font-size: 0.76rem;
  font-weight: 900;
}

.map-glass strong {
  font-size: 0.98rem;
  line-height: 1.3;
}

.branch-content address {
  color: var(--muted);
  font-style: normal;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(320px, 0.42fr);
  gap: 18px;
}

.contact-card {
  padding: clamp(22px, 4vw, 38px);
}

.contact-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
}

.contact-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.contact-line strong {
  color: var(--mango);
}

.contact-form {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  color: var(--muted);
  font-weight: 800;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

html[data-theme="light"] .field input,
html[data-theme="light"] .field textarea {
  background: rgba(255, 255, 255, 0.96);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--mango);
  box-shadow: 0 0 0 4px rgba(255, 192, 31, 0.12);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 42px 0 34px;
  background: rgba(0, 0, 0, 0.44);
}

html[data-theme="light"] .site-footer {
  background: rgba(255, 255, 255, 0.42);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(180px, 0.3fr) minmax(220px, 0.36fr);
  gap: 28px;
}

.footer-logo {
  width: 74px;
  margin-bottom: 14px;
}

.footer-grid h3 {
  color: var(--mango);
  margin-bottom: 10px;
}

.footer-grid ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted);
}

.floating-actions {
  position: fixed;
  z-index: 35;
  right: auto;
  left: 18px;
  top: auto;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  transform: none;
}

.float-btn {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #ffffff;
  background: rgba(0, 0, 0, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  font-weight: 900;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.float-btn:hover {
  transform: translateY(-3px);
  border-color: var(--mango);
  background: rgba(255, 192, 31, 0.92);
  color: #111111;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  place-items: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.86);
}

.lightbox.is-open {
  display: grid;
}

.lightbox-card {
  width: min(1020px, 96vw);
  max-height: 90vh;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #070707;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.62);
}

.lightbox-img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #000000;
}

.lightbox-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
}

.lightbox-title {
  margin: 0;
}

.close-btn {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  min-width: 42px;
  height: 42px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.fallback-image {
  display: grid;
  place-items: center;
  min-height: 100%;
  padding: 20px;
  color: var(--mango);
  background:
    linear-gradient(135deg, rgba(255, 192, 31, 0.18), transparent),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    #101010;
  font-weight: 900;
  text-align: center;
}

@keyframes scan {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(50%);
  }
}

@keyframes pulseLogo {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.86;
  }

  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

@keyframes loaderLine {
  0% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(260%);
  }
}

@keyframes cinematicPan {
  0% {
    transform: scale(1.12) translateY(-12px);
  }

  100% {
    transform: scale(1.18) translateY(12px);
  }
}

@keyframes laser {
  0% {
    opacity: 0.32;
    transform: rotate(-8deg) translateX(-28px);
  }

  100% {
    opacity: 0.9;
    transform: rotate(-8deg) translateX(28px);
  }
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@keyframes brandSweep {
  0%,
  45% {
    transform: translateX(0) skewX(-18deg);
    opacity: 0;
  }

  55% {
    opacity: 0.75;
  }

  100% {
    transform: translateX(420%) skewX(-18deg);
    opacity: 0;
  }
}

@keyframes heroReel {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes machineSlide {
  0% {
    opacity: 0;
    transform: translateX(-30%) rotateY(24deg) translateZ(-120px) scale(0.82);
  }

  6% {
    opacity: 0.72;
  }

  11%,
  22% {
    opacity: 1;
    transform: translateX(0) rotateY(0deg) translateZ(0) scale(1);
  }

  30% {
    opacity: 0;
    transform: translateX(30%) rotateY(-20deg) translateZ(-120px) scale(0.84);
  }

  100% {
    opacity: 0;
    transform: translateX(30%) rotateY(-20deg) translateZ(-120px) scale(0.84);
  }
}

@keyframes machineZoom {
  0%,
  30%,
  100% {
    transform: scale(1.03);
  }

  11%,
  22% {
    transform: scale(1.1);
  }
}

@keyframes machineRail {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes screenFloat {
  0% {
    transform: rotateX(4deg) rotateY(-4deg) translateY(0);
  }

  100% {
    transform: rotateX(2deg) rotateY(4deg) translateY(-8px);
  }
}

@keyframes studioScan {
  0% {
    transform: translateX(-80%) skewX(-16deg);
  }

  100% {
    transform: translateX(760%) skewX(-16deg);
  }
}

@keyframes studioPulse {
  0% {
    opacity: 0.42;
    transform: scale(0.96);
  }

  100% {
    opacity: 0.82;
    transform: scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1080px) {
  .nav-links {
    position: fixed;
    inset: 82px 18px auto;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 10px;
    background: var(--panel-strong);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
  }

  .menu-btn {
    display: inline-grid;
  }

  .hero-content,
  .hero-command,
  .section-head,
  .page-hero-inner,
  .split,
  .contact-layout,
  .footer-grid,
  .hero-cover-grid {
    grid-template-columns: 1fr;
  }

  .hero-command .hero-actions {
    justify-content: flex-start;
  }

  .studio-screen {
    min-height: auto;
    transform: rotateX(2deg) rotateY(0deg);
  }

  .studio-stage {
    grid-template-columns: 1fr;
  }

  .studio-window {
    min-height: clamp(420px, 58vw, 620px);
  }

  .showcase-card {
    inset: 18px 18px clamp(118px, 12vw, 150px);
  }

  .hero-panel {
    min-height: 360px;
  }

  .service-grid,
  .branches-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid,
  .machine-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .nav-wrap {
    min-height: 74px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand-tag {
    display: none;
  }

  .nav-links {
    inset: 74px 12px auto;
    grid-template-columns: 1fr;
  }

  .hero-badges {
    grid-template-columns: 1fr;
  }

  .icon-btn {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: auto;
  }

  .hero-cover {
    min-height: auto;
    padding: 12px 0 34px;
  }

  .hero-cover-wrap {
    width: min(100% - 16px, 1540px);
  }

  .hero-command {
    padding: 16px;
  }

  .hero-studio {
    padding: 0;
    perspective: 950px;
  }

  .studio-screen {
    grid-template-rows: auto minmax(0, 1fr);
    gap: 8px;
    min-height: 0;
    height: clamp(330px, 96vw, 460px);
    padding: 10px;
    border-radius: 14px;
    transform: rotateX(2deg) rotateY(0deg);
    animation: none;
  }

  .studio-stage {
    min-height: 0;
    height: 100%;
    overflow: hidden;
  }

  .studio-topbar {
    min-height: 42px;
    padding: 6px;
  }

  .studio-brand img {
    width: 34px;
    height: 34px;
  }

  .studio-window {
    min-height: 0;
    height: 100%;
    border-radius: 12px;
    transform: translateZ(14px);
  }

  .showcase-track {
    inset: 0;
    gap: 0;
    padding: 0;
    animation-duration: 34s;
  }

  .showcase-card,
  .showcase-card.is-feature {
    inset: 8px 8px 72px;
    border-radius: 12px;
  }

  .showcase-card:nth-child(even) {
    transform-origin: center;
  }

  .showcase-card img {
    padding: 8px;
  }

  .showcase-caption {
    inset: auto;
    max-width: none;
    margin: 0 8px 8px;
    padding: 8px 10px;
    gap: 3px;
  }

  .showcase-caption small {
    font-size: 0.62rem;
  }

  .showcase-caption strong {
    font-size: clamp(0.94rem, 4.3vw, 1.18rem);
    line-height: 1.18;
  }

  .showcase-caption span {
    font-size: 0.68rem;
    line-height: 1.35;
  }

  .machine-rail {
    inset-inline: 8px;
    bottom: 8px;
    height: 56px;
  }

  .machine-rail-track {
    gap: 6px;
    padding: 6px;
    animation-duration: 28s;
  }

  .machine-thumb {
    flex-basis: 94px;
    border-radius: 8px;
  }

  .machine-thumb img {
    padding: 4px;
  }

  .hero .hero-command-copy h1 {
    gap: 6px;
    font-size: clamp(1.45rem, 7.4vw, 2.35rem);
    line-height: 1.24;
  }

  .hero-command-brand {
    width: 100%;
    min-height: 68px;
  }

  .hero-command-brand img {
    width: 50px;
    height: 50px;
  }

  .hero-cover-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-media {
    grid-template-columns: repeat(3, 1fr);
    opacity: 0.48;
  }

  .hero-frame:nth-child(n + 4) {
    display: none;
  }

  .hero-content {
    padding: 54px 0 44px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.3rem, 14vw, 4.4rem);
  }

  .hero-actions,
  .cta-row,
  .card-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .metric-grid,
  .service-grid,
  .product-grid,
  .machine-grid,
  .value-grid,
  .process-grid,
  .branches-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .product-card {
    min-height: 0;
  }

  .service-card,
  .product-card,
  .machine-card {
    min-height: 0;
    grid-template-rows: auto 1fr;
  }

  .service-media,
  .product-media,
  .machine-media {
    aspect-ratio: 4 / 3;
  }

  .page-hero {
    padding-top: 58px;
  }

  .portfolio-grid {
    columns: 1;
  }

  .floating-actions {
    right: auto;
    left: 50%;
    top: auto;
    bottom: 14px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    transform: translateX(-50%);
  }

  .float-btn {
    width: 44px;
    height: 44px;
  }
}
