:root {
  --navy: #0c2340;
  --ink: #13253d;
  --blue: #1b4fd8;
  --blue-2: #3b6cff;
  --cyan: #19c6e8;
  --paper: #f3f6fb;
  --white: #ffffff;
  --muted: #5d6d82;
  --line: #d7e0ec;
  --gold: #c9a227;
  --shadow: 0 24px 60px rgba(12, 35, 64, 0.1);
  --radius: 28px;
  --font-d: "Syne", sans-serif;
  --font-h: "Space Grotesk", sans-serif;
  --font-b: "Outfit", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body {
  font-family: var(--font-b);
  color: var(--ink);
  background: var(--paper);
  width: 100%;
  max-width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: auto;
}

body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor,
.cursor-ring {
  display: none;
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue);
  z-index: 200;
  pointer-events: none;
  mix-blend-mode: multiply;
  transform: translate(-50%, -50%);
  transition: width 0.25s, height 0.25s, background 0.25s;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--navy);
  border-radius: 50%;
  z-index: 199;
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0.45;
}

.cursor.hover {
  width: 64px;
  height: 64px;
  background: var(--cyan);
  opacity: 0.35;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  z-index: 120;
}

/* Preloader */
.loader {
  position: fixed;
  inset: 0;
  background: #f7f9fd;
  z-index: 300;
  display: grid;
  place-items: center;
  transition: opacity 0.7s ease, visibility 0.7s;
}

.loader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  text-align: center;
}

.loader img {
  width: 280px;
  margin: 0 auto 28px;
  animation: floaty 2.2s ease-in-out infinite;
}

.loader p {
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}

.bar {
  width: 220px;
  height: 2px;
  background: var(--line);
  margin: 18px auto 0;
  overflow: hidden;
  border-radius: 99px;
}

.bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--blue);
  animation: load 1.6s ease forwards;
}

@keyframes load {
  to { width: 100%; }
}

@keyframes floaty {
  50% { transform: translateY(-8px); }
}

/* Nav */
.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1280px, calc(100% - 24px));
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 10px 8px 16px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  box-shadow: 0 10px 40px rgba(12, 35, 64, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand img {
  height: 52px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 22px;
  list-style: none;
  font-size: 16px;
  font-weight: 500;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.lang-switch {
  direction: ltr;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(12, 35, 64, 0.06);
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 8px 11px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}

.lang-switch button[data-lang="ar"] {
  font-family: "Cairo", var(--font-b);
  letter-spacing: 0;
  font-size: 13px;
}

.lang-switch button.is-on {
  background: var(--navy);
  color: #fff;
}

html.i18n-pending body {
  visibility: hidden;
}

html[dir="rtl"] {
  --font-d: "Cairo", "Syne", sans-serif;
  --font-h: "Cairo", "Space Grotesk", sans-serif;
  --font-b: "Cairo", "Outfit", sans-serif;
}

html[dir="rtl"] .nav-links.open {
  right: auto;
  left: 10px;
}

html[dir="rtl"] .nav-links a::after {
  left: auto;
  right: 0;
}

html[dir="rtl"] .wa-fab {
  right: auto;
  left: max(22px, env(safe-area-inset-left));
}

html[dir="rtl"] .lum-boxed .lum-shot figcaption {
  left: auto;
  right: 24px;
}

.nav-phone {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
  white-space: nowrap;
  direction: ltr;
  unicode-bidi: isolate;
}

a[href^="tel:"],
a[href^="mailto:"] {
  direction: ltr;
  unicode-bidi: isolate;
}

.nav-phone:hover {
  color: var(--blue);
}

.nav-mobile-extra {
  display: none;
}

.nav-cta {
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.menu-btn {
  display: none;
  background: none;
  border: 0;
  width: 42px;
  min-width: 42px;
  height: 42px;
  font-size: 20px;
  flex-shrink: 0;
}

.nav-links.open {
  display: flex !important;
  position: absolute;
  top: 76px;
  right: 10px;
  flex-direction: column;
  gap: 16px;
  background: #fff;
  padding: 18px 22px;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(12, 35, 64, 0.12);
  z-index: 110;
}

.nav-links.open .nav-mobile-extra {
  display: list-item;
  padding-top: 10px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
}

.nav-links.open .nav-phone {
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
}

/* Hero */
.hero {
  height: 100dvh;
  max-height: 100dvh;
  width: 100%;
  max-width: 100%;
  padding: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  background: #07111f;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-shot {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  clip-path: inset(0 100% 0 0);
  z-index: 1;
  transition: clip-path 1.55s cubic-bezier(.77, 0, .18, 1);
}

.hero-shot.from-left { clip-path: inset(0 100% 0 0); }
.hero-shot.from-up { clip-path: inset(100% 0 0 0); }
.hero-shot.from-right { clip-path: inset(0 0 0 100%); }

.hero-shot.is-on,
.hero-shot.is-hold {
  clip-path: inset(0 0 0 0);
}

.hero-shot.is-on { z-index: 2; }
.hero-shot.is-hold { z-index: 1; }

.hero-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
}

.hero-shot[data-ken="a"].is-on img {
  animation: kenA 18s ease-in-out infinite alternate;
}

.hero-shot[data-ken="b"].is-on img {
  animation: kenB 18s ease-in-out infinite alternate;
}

.hero-shot[data-ken="c"].is-on img {
  animation: kenC 18s ease-in-out infinite alternate;
}

@keyframes kenA {
  from { transform: scale(1.08) translate(0, 0); }
  to { transform: scale(1.16) translate(-1.2%, -0.8%); }
}

@keyframes kenB {
  from { transform: scale(1.12) translate(0.8%, 0); }
  to { transform: scale(1.06) translate(-0.8%, 1%); }
}

@keyframes kenC {
  from { transform: scale(1.08) translate(0, 0.6%); }
  to { transform: scale(1.14) translate(1%, -0.6%); }
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(6, 14, 28, 0.82) 0%, rgba(6, 14, 28, 0.46) 42%, rgba(6, 14, 28, 0.12) 68%, rgba(6, 14, 28, 0.28) 100%),
    linear-gradient(180deg, rgba(6, 14, 28, 0.28) 0%, transparent 26%, rgba(6, 14, 28, 0.55) 100%);
}

.hero-scan {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 18vw;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(25, 198, 232, 0.08), transparent);
  mix-blend-mode: screen;
  opacity: 0;
}

.hero.is-live .hero-scan {
  animation: scanSweep 7.2s cubic-bezier(.22, .7, .3, 1) infinite;
}

@keyframes scanSweep {
  0% { transform: translateX(-120%); opacity: 0; }
  12% { opacity: 1; }
  55% { opacity: 0.4; }
  100% { transform: translateX(520%); opacity: 0; }
}

.hero-gridlines {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.45), transparent 55%);
}

.hero-copy {
  position: relative;
  z-index: 5;
  box-sizing: border-box;
  min-width: 0;
  width: auto;
  max-width: min(720px, calc(100% - 12vw));
  margin: 102px 6vw 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  max-height: calc(100dvh - 130px);
}

.hero h1 {
  color: #fff;
  font-size: clamp(32px, 4.8vw, 72px);
  max-width: 16ch;
  line-height: 0.96;
}

.hero h1 .line {
  display: block;
  overflow: hidden;
}

.hero h1 .line span {
  display: block;
  transform: translateY(120%);
  opacity: 0;
  filter: blur(16px);
}

.hero h1 .line.accent span {
  background: linear-gradient(120deg, #7ad7ff, var(--cyan) 45%, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero.is-live h1 .line:nth-child(1) span {
  animation: h1Rise 1.05s 0.12s cubic-bezier(.16, 1, .3, 1) forwards;
}

.hero.is-live h1 .line:nth-child(2) span {
  animation: h1Rise 1.05s 0.28s cubic-bezier(.16, 1, .3, 1) forwards;
}

.hero.is-live h1 .line:nth-child(3) span {
  animation: h1Rise 1.15s 0.44s cubic-bezier(.16, 1, .3, 1) forwards;
}

.hero.is-live .lead,
.hero.is-live .hero-actions,
.hero.is-live .stats {
  animation: copyIn 0.9s cubic-bezier(.16, 1, .3, 1) forwards;
}

.hero.is-live .lead { animation-delay: 0.7s; }
.hero.is-live .hero-actions { animation-delay: 0.84s; }
.hero.is-live .stats { animation-delay: 0.96s; }

@keyframes h1Rise {
  0% {
    transform: translateY(120%);
    opacity: 0;
    filter: blur(16px);
    letter-spacing: 0.08em;
  }
  70% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    transform: translateY(0);
    opacity: 1;
    filter: none;
    letter-spacing: -0.04em;
  }
}

@keyframes copyIn {
  from { opacity: 0; transform: translateY(18px); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: none; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 12px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--blue);
}

h1 {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--navy);
}

h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  margin-top: 14px;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(232, 240, 250, 0.78);
  font-weight: 300;
  opacity: 0;
  transform: translateY(18px);
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(18px);
}

.hero .btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
  backdrop-filter: blur(12px);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 15px 24px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform 0.35s cubic-bezier(.2, .8, .2, 1), box-shadow 0.35s;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 30px rgba(27, 79, 216, 0.28);
}

.btn-ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--navy);
}

.btn:hover {
  transform: translateY(-3px);
}

.stats {
  display: flex;
  gap: 24px;
  margin-top: 18px;
  opacity: 0;
  transform: translateY(18px);
}

.stats b {
  display: block;
  font-family: var(--font-h);
  font-size: 26px;
  color: #fff;
}

.stats span {
  font-size: 13px;
  color: rgba(210, 222, 236, 0.72);
}

/* Marquee */
.marquee-wrap {
  border-block: 1px solid var(--line);
  background: #fff;
  padding: 32px 0;
  overflow: hidden;
}

.marquee {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: slide 32s linear infinite;
  align-items: center;
}

.marquee img {
  height: 88px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  object-position: center;
  filter: grayscale(0.2);
}

.chip {
  font-family: var(--font-d);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 13px;
  color: var(--navy);
  white-space: nowrap;
}

@keyframes slide {
  to { transform: translateX(-50%); }
}

section {
  padding: 110px 6vw;
  position: relative;
}

.sec-kicker {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 12px;
}

h2 {
  font-family: var(--font-h);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--navy);
  max-width: 18ch;
}

.sub {
  margin-top: 18px;
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 300;
}

/* About */
.about {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
  min-height: 480px;
  padding-top: 36px;
}

.about-orb {
  position: absolute;
  width: 78%;
  height: 78%;
  right: -8%;
  top: -6%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(25, 198, 232, 0.45), rgba(27, 79, 216, 0.18) 55%, transparent 70%);
  z-index: 0;
}

.about-shot {
  position: relative;
  z-index: 2;
  border-radius: 32px;
  overflow: hidden;
  height: 540px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(12, 35, 64, 0.18);
}

.about-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-shot figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 24px 22px;
  color: #fff;
  font-size: 14px;
  line-height: 1.45;
  background: linear-gradient(180deg, transparent, rgba(12, 35, 64, 0.82));
}

.about-shot figcaption span {
  display: block;
  font-family: var(--font-h);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.about-logo-card {
  position: absolute;
  top: 28px;
  left: 18px;
  transform: none;
  z-index: 4;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-radius: 22px;
  padding: 14px 18px 12px;
  box-shadow: 0 18px 40px rgba(12, 35, 64, 0.16);
  width: min(260px, 58%);
  text-align: left;
}

.about-logo-card img {
  width: 100%;
  height: auto;
}

.about-logo-card small {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.about-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  margin-top: 28px;
}

.about-card h3 {
  font-family: var(--font-d);
  font-size: 22px;
  margin-bottom: 8px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  background: var(--paper);
}

.mission {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.mission article {
  background: linear-gradient(180deg, #fff, #f8fbff);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  transform: translateY(24px);
  opacity: 0;
  transition: 0.7s cubic-bezier(.2,.8,.2,1);
}

.mission article.in {
  transform: none;
  opacity: 1;
}

.mission span {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
}

/* Products */
.products {
  background: #fff;
}

.head-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 48px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filters button {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
}

.filters button.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 110px;
  gap: 14px;
}

.pcard {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: var(--paper);
  min-height: 0;
  transform-style: preserve-3d;
  transition: transform 0.4s ease, box-shadow 0.4s, border-radius 0.4s;
}

.pcard::after {
  content: none;
  display: none;
}

.pcard:hover {
  box-shadow: var(--shadow);
  z-index: 2;
}

.pcard.p-hero { grid-column: span 8; grid-row: span 4; border-radius: 36px 16px 36px 16px; }
.pcard.p-side { grid-column: span 4; grid-row: span 4; border-radius: 16px 36px 16px 36px; }
.pcard.p-tile { grid-column: span 4; grid-row: span 3; }
.pcard.p-wide { grid-column: span 8; grid-row: span 3; }
.pcard.p-mid { grid-column: span 4; grid-row: span 3; }
.pcard.p-banner { grid-column: span 12; grid-row: span 3; border-radius: 24px; }

.product-grid.tease {
  grid-auto-rows: 86px;
  gap: 12px;
}

.tease .p-hero {
  grid-column: 1 / span 5;
  grid-row: 1 / span 6;
  border-radius: 40px 14px 40px 14px;
}

.tease .p-hero img {
  object-fit: cover;
  object-position: 62% 18%;
  transform: scale(1.32);
  transform-origin: 58% 12%;
}

.tease .p-hero:hover img {
  transform: scale(1.42);
}

.tease .p-side {
  grid-column: 6 / span 7;
  grid-row: 1 / span 3;
  border-radius: 14px 40px 14px 40px;
}

.tease .p-wide {
  grid-column: 6 / span 4;
  grid-row: 4 / span 3;
  border-radius: 22px;
}

.tease .p-mid {
  grid-column: 10 / span 3;
  grid-row: 4 / span 3;
  border-radius: 22px 40px 22px 14px;
}

.pcard.catalog img {
  object-fit: contain;
  background: #fff;
  padding: 12px;
}

.pcard img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(.2,.8,.2,1);
}

.pcard:hover img {
  transform: scale(1.08);
}

.pcard figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 16px 18px;
}

.pcard h3 {
  font-family: var(--font-d);
  font-size: 22px;
}

.pcard p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

.pcard.dark figcaption {
  background: rgba(12, 35, 64, 0.86);
  color: #fff;
}

.pcard.dark p { color: #c9d6e8; }

.hidden-card { display: none !important; }

.range-cta {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}

.btn-range {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 28px 18px 32px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--navy), #163a6b 45%, var(--blue));
  color: #fff;
  font-family: var(--font-h);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  box-shadow: 0 18px 40px rgba(27, 79, 216, 0.28);
  position: relative;
  overflow: hidden;
}

.btn-range::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.18), transparent);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.btn-range:hover::before {
  transform: translateX(120%);
}

.btn-range i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  font-style: normal;
  font-size: 18px;
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
}

.btn-range:hover i {
  transform: translateX(4px);
}

.page-hero {
  padding: 140px 6vw 40px;
}

.page-hero h1 {
  font-size: clamp(40px, 6vw, 72px);
}

.cat-nav {
  position: sticky;
  top: 96px;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 6vw;
  background: rgba(243, 246, 251, 0.88);
  backdrop-filter: blur(16px);
}

.cat-nav a {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
}

.cat-nav a:hover,
.cat-nav a.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.cat-block {
  padding: 72px 6vw;
  border-top: 1px solid var(--line);
}

.cat-block:nth-of-type(even) {
  background: #fff;
}

.cat-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}

.cat-head .n {
  font-family: var(--font-h);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--blue);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cat-grid .pcard {
  min-height: 320px;
  grid-column: auto;
  grid-row: auto;
  border-radius: 24px;
}

/* Horizontal strip */
.hscroll {
  margin-top: 28px;
  overflow: hidden;
}

.htrack {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: slide 40s linear infinite;
}

.htrack .mini {
  width: 280px;
  height: 190px;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

.htrack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.scard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 28px;
  min-height: 240px;
  position: relative;
  overflow: hidden;
  transition: 0.4s;
}

.scard::before {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(25, 198, 232, 0.25), transparent 70%);
  top: -50px;
  right: -40px;
}

.scard:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow: var(--shadow);
}

.scard .n {
  font-family: var(--font-d);
  font-size: 42px;
  color: #dbe5f3;
}

.scard h3 {
  font-family: var(--font-d);
  font-size: 24px;
  margin: 12px 0 10px;
}

.scard p {
  color: var(--muted);
  line-height: 1.6;
  font-weight: 300;
}

.auth {
  display: inline-block;
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
}

/* Climate */
.climate {
  background: linear-gradient(180deg, #eef3fa, #f7f9fd);
}

.climate-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.climate-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.climate-list li {
  list-style: none;
  background: #fff;
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  font-weight: 500;
  border: 1px solid var(--line);
}

.climate-visual {
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 420px;
  position: relative;
}

.climate-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Smart home */
.knx {
  background: #0c2340;
  color: #fff;
}

.knx h2,
.knx .sec-kicker {
  color: #fff;
}

.knx .sec-kicker { color: var(--cyan); }
.knx .sub { color: #b7c6d9; }

.knx-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  margin-top: 40px;
}

.knx-main {
  border-radius: 32px;
  overflow: hidden;
  min-height: 520px;
  position: relative;
}

.knx-side figure {
  border-radius: 28px;
  overflow: hidden;
  min-height: 248px;
  background: #163056;
  position: relative;
}

.knx-main img,
.knx-side img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.knx-side {
  display: grid;
  gap: 22px;
}

.words {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.words span {
  border: 1px solid rgba(255,255,255,.18);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Clients */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 40px;
}

.client {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  height: 120px;
  display: grid;
  place-items: center;
  padding: 18px;
  transition: 0.35s;
}

.client img {
  max-height: 64px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.client:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

/* Contact */
.contact {
  padding-bottom: 40px;
}

.contact-box {
  background: var(--navy);
  color: #fff;
  border-radius: 40px;
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.contact-box::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  right: -120px;
  bottom: -140px;
  background: radial-gradient(circle, rgba(25,198,232,.35), transparent 65%);
}

.contact-box h2 { color: #fff; max-width: none; }
.contact-box .sub { color: #c5d2e4; }

.contact-meta a,
.contact-meta p {
  display: block;
  font-size: 19px;
  font-family: var(--font-d);
  margin-top: 10px;
}

.tiny {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-top: 22px;
}

form {
  display: grid;
  gap: 12px;
  position: relative;
  z-index: 2;
}

form input,
form textarea {
  border: 0;
  border-radius: 16px;
  padding: 16px 18px;
  font-family: inherit;
  font-size: 15px;
}

form textarea { min-height: 120px; resize: vertical; }

form button:disabled {
  opacity: 0.65;
  pointer-events: none;
}

.enquire-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cat-grid .pcard-link {
  display: block;
  min-height: 320px;
  color: inherit;
}

.cat-grid .pcard-link .pcard {
  height: 100%;
  min-height: 320px;
  cursor: pointer;
}

.cat-modern {
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

#dkc .cat-modern,
#motors .cat-modern,
#controls .cat-modern,
#others .cat-modern {
  grid-template-columns: repeat(2, 1fr);
}

.cat-modern .pcard {
  min-height: 360px;
  border-radius: 22px;
  isolation: isolate;
}

.cat-modern .pcard::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 16, 28, 0.08) 28%, rgba(8, 16, 28, 0.82) 100%);
  pointer-events: none;
  transition: background 0.35s;
}

.cat-modern .pcard:hover::before {
  background: linear-gradient(180deg, rgba(8, 16, 28, 0.16) 18%, rgba(8, 16, 28, 0.88) 100%);
}

.cat-modern .pcard figcaption {
  background: none;
  backdrop-filter: none;
  border-radius: 0;
  padding: 0;
  left: 22px;
  right: 22px;
  bottom: 22px;
  color: #fff;
}

.cat-modern .pcard h3 {
  font-size: 24px;
  letter-spacing: -0.03em;
}

.cat-modern .pcard p {
  color: rgba(232, 238, 246, 0.78);
  font-size: 14px;
}

.cat-modern .card-arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  width: auto;
  height: auto;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
}

.cat-modern .pcard:hover .card-arrow {
  transform: translate(3px, -3px);
}

.cat-modern .pcard:hover {
  box-shadow: 0 28px 56px rgba(12, 35, 64, 0.22);
}

.cat-modern .pcard-link {
  min-height: 360px;
}

.cat-modern .pcard-link .pcard {
  min-height: 360px;
}

.view-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  background: #fff;
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(12, 35, 64, 0.12);
}

.pcard-link:hover .pcard {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

/* Product detail */
.pdp {
  padding: 120px 6vw 40px;
}

.pdp-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}

.pdp-crumb a { color: var(--blue); font-weight: 600; }
.pdp-crumb span { opacity: 0.5; }

.pdp-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}

.pdp-gallery {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.pdp-stage {
  flex: 1;
  min-height: 0;
  background: #0b1220;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}

.pdp-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0b1220;
}

.pdp-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-shrink: 0;
}

.pdp-thumbs button {
  width: 96px;
  height: 72px;
  padding: 0;
  border: 2px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

.pdp-thumbs button.is-on,
.pdp-thumbs button:hover {
  border-color: var(--blue);
}

.pdp-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-buy {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  position: sticky;
  top: 100px;
}

.pdp-buy .brand-line {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
}

.pdp-buy .sku {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

.pdp-buy h1 {
  font-size: clamp(32px, 3.4vw, 48px);
  margin-top: 12px;
  max-width: 16ch;
}

.pdp-buy .lead,
.pdp-pair .lead {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.pdp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.pdp-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}

.pdp-meta div {
  background: var(--paper);
  border-radius: 16px;
  padding: 14px 16px;
}

.pdp-meta b {
  display: block;
  font-family: var(--font-h);
  font-size: 14px;
  color: var(--navy);
}

.pdp-meta span {
  font-size: 12px;
  color: var(--muted);
}

.pdp-section {
  margin-top: 56px;
}

.pdp-section h2 {
  max-width: 18ch;
  font-size: clamp(28px, 3vw, 42px);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.benefit-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
}

.benefit-grid h3 {
  font-family: var(--font-h);
  font-size: 18px;
  margin-bottom: 8px;
}

.benefit-grid p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 22px;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.spec-table th {
  width: 38%;
  color: var(--muted);
  font-weight: 500;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.pdp-pair {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  margin-top: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
}

.pdp-pair img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.pdp-pair div {
  padding: 28px 28px 28px 8px;
}

.pdp-pair h3 {
  font-family: var(--font-h);
  font-size: 26px;
  margin: 8px 0 10px;
}

.related {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.related .pcard {
  min-height: 280px;
}

footer {
  padding: 28px 6vw 50px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 100%;
  color: var(--muted);
  font-size: 13px;
}

.wa-fab {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 250;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.42);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s;
}

.wa-fab svg {
  width: 30px;
  height: 30px;
}

.wa-fab:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.5);
}

.wa-fab::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.45);
  animation: wa-pulse 2.2s ease-out infinite;
  pointer-events: none;
}

@keyframes wa-pulse {
  0% { transform: scale(0.92); opacity: 0.7; }
  100% { transform: scale(1.28); opacity: 0; }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: none;
}

.reveal.in {
  animation: up 0.9s cubic-bezier(.2,.8,.2,1) forwards;
}

@keyframes up {
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }
  .nav-links { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .nav-end {
    display: flex;
    margin-inline-start: auto;
    gap: 8px;
  }
  .nav-end .nav-cta,
  .nav-end .nav-phone {
    display: none;
  }
  .lang-switch {
    padding: 2px;
  }
  .lang-switch button {
    padding: 6px 8px;
    font-size: 11px;
  }
  .lang-switch button[data-lang="ar"] {
    font-size: 12px;
  }
  .hero-grid, .about, .climate-grid, .knx-grid, .contact-box, .services-grid, .mission {
    grid-template-columns: 1fr;
  }
  .hero {
    height: 100dvh;
    max-height: 100dvh;
    min-height: 0;
    width: 100%;
    padding: 0;
    display: flex;
    align-items: stretch;
    overflow: hidden;
  }
  .hero-copy {
    margin: 92px 6vw 24px;
    width: auto;
    max-width: min(720px, calc(100% - 12vw));
    max-height: calc(100dvh - 116px);
  }
  .hero h1 { font-size: clamp(30px, 8.4vw, 48px); }
  .product-grid { grid-auto-rows: 90px; }
  .product-grid.tease { grid-auto-rows: 100px; }
  .tease .p-hero,
  .tease .p-side,
  .tease .p-wide,
  .tease .p-mid {
    grid-column: 1 / -1;
    grid-row: auto / span 2;
    border-radius: 24px;
  }
  .tease .p-hero { grid-row: auto / span 3; }
  .pcard.p-hero, .pcard.p-side, .pcard.p-wide, .pcard.p-banner {
    grid-column: span 12;
    grid-row: span 3;
    border-radius: 24px;
  }
  .pcard.p-tile, .pcard.p-mid {
    grid-column: span 12;
    grid-row: span 2;
  }
  .pcard { min-height: 0; }
  .contact-box { padding: 36px 24px; }
  .htrack .mini { width: 220px; height: 150px; }
  .about-visual { min-height: 0; }
  .about-shot { height: 320px; margin: 0; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-modern,
  #dkc .cat-modern,
  #motors .cat-modern,
  #controls .cat-modern,
  #others .cat-modern {
    grid-template-columns: 1fr;
  }
  .cat-modern .pcard,
  .cat-modern .pcard-link {
    min-height: 280px;
  }
  .cat-modern .pcard h3 {
    font-size: clamp(18px, 5.6vw, 24px);
  }
  .cat-modern .pcard p {
    font-size: 13px;
  }
  .cat-modern .pcard figcaption {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
  .pdp-hero,
  .benefit-grid,
  .pdp-pair,
  .related,
  .pdp-meta {
    grid-template-columns: 1fr;
  }
  .pdp-buy { position: static; }
  .pdp-pair div { padding: 22px; }
  .pdp-gallery { height: auto !important; }
  .pdp-stage { height: 280px; flex: none; }
  .cat-nav { top: 76px; }
}

/* MAXIMUS luminaires showroom */
.lum-body {
  background: #070b12;
  color: #e7edf6;
}

.lum-body .nav,
.lum-body .menu-btn {
  color: var(--ink);
}

.lum-body h2 {
  color: #fff;
}

.lum-item:first-child .lum-copy {
  padding-top: 120px;
}

.lum-item:first-child .lum-shot figcaption {
  top: 110px;
}

.lum-item {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 78vh;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lum-item.is-flip {
  grid-template-columns: 0.85fr 1.15fr;
}

.lum-item.is-flip .lum-shot { order: 2; }

.lum-shot {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: #101826;
}

.lum-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
  transition: transform 1.1s cubic-bezier(.2,.8,.2,1);
}

.lum-item:hover .lum-shot img {
  transform: scale(1.06);
}

.sock-page:not(.lum-boxed) .lum-shot {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #070b12;
}

.sock-page:not(.lum-boxed) .lum-shot img {
  object-fit: contain;
  width: 78%;
  height: 78%;
  min-height: 0;
  max-height: 72vh;
}

.sock-page:not(.lum-boxed) .lum-item:hover .lum-shot img {
  transform: scale(1.04);
}

.sock-page main {
  padding-top: 112px;
}

.sock-page .lum-item:first-child .lum-copy {
  padding-top: 56px;
}

.sock-page .lum-item:first-child .lum-shot figcaption {
  top: 28px;
}

.lum-shot figcaption {
  position: absolute;
  top: 28px;
  left: 28px;
  font-family: var(--font-h);
  letter-spacing: 0.22em;
  font-size: 12px;
  color: #f0d19a;
}

.lum-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 8vw 56px 56px;
}

.lum-item.is-flip .lum-copy {
  padding: 56px 56px 56px 8vw;
}

.lum-copy .sku {
  font-size: 13px;
  color: #8ea0b8;
}

.lum-copy h2 {
  font-size: clamp(36px, 4.4vw, 64px);
  margin-top: 10px;
  max-width: 14ch;
  color: #fff;
}

.lum-copy p {
  margin-top: 16px;
  color: #c5d0e0;
  max-width: 42ch;
  font-size: 16px;
}

.rc-page .lum-copy h2 {
  max-width: 16ch;
}

.dkc-page .lum-copy h2 {
  max-width: 22ch;
}

.rc-page .lum-shot {
  padding: 28px;
}

.rc-page .lum-shot img {
  object-fit: contain;
  width: min(650px, 100%);
  height: auto;
  aspect-ratio: 1 / 1;
  max-width: 100%;
  max-height: min(650px, 72vh);
  min-height: 0;
}

.lum-dl {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-top: 28px;
  padding: 14px 22px;
  border-radius: 999px;
  background: #f0d19a;
  color: #070b12;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.25s, transform 0.25s;
}

.lum-dl i {
  font-size: 16px;
}

.lum-dl:hover {
  background: #fff;
  transform: translateY(-2px);
}

.site-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 240;
  max-width: min(440px, calc(100% - 32px));
  padding: 14px 18px;
  border-radius: 14px;
  background: #151e2e;
  color: #e7edf6;
  font-size: 14px;
  line-height: 1.45;
  border: 1px solid rgba(240, 209, 154, 0.3);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(14px);
  transition: opacity 0.28s, transform 0.28s;
}

.site-toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.lum-kv {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  margin: 28px 0 0;
}

.lum-kv li {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 10px;
  font-size: 12px;
  color: #8ea0b8;
}

.lum-kv b {
  display: block;
  color: #fff;
  font-family: var(--font-h);
  font-size: 18px;
  margin-bottom: 4px;
}

.lum-pdf {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #101826;
  color: #fff;
  padding: 28px 6vw 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lum-pdf span {
  flex: 1;
  font-size: 13px;
  color: #8ea0b8;
  line-height: 1.4;
}

.lum-pdf b {
  display: block;
  color: #fff;
  font-family: var(--font-h);
  font-size: 18px;
  margin-bottom: 2px;
}

.lum-pdf i {
  font-size: 22px;
  color: #f0d19a;
}

.lum-pdf + .lum-pdf {
  padding-top: 18px;
  padding-bottom: 22px;
}

.lum-pdf:hover {
  background: #151e2e;
}

.lum-foot {
  color: #8ea0b8;
}

.lum-foot a { color: #f0d19a; }

.lum-boxed main {
  padding: 120px 6vw 48px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.lum-boxed .lum-item,
.lum-boxed .lum-item.is-flip {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 0;
  align-items: stretch;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 0;
  border-radius: 28px;
  overflow: hidden;
  background: #070b12;
}

.lum-boxed .lum-item.is-flip .lum-shot {
  order: 0;
}

.lum-boxed .lum-item:first-child .lum-copy {
  padding-top: 40px;
}

.lum-boxed .lum-item:first-child .lum-shot figcaption {
  top: 22px;
}

.lum-boxed .lum-shot {
  position: relative;
  background: #fff;
  align-self: stretch;
  min-height: 520px;
  overflow: hidden;
  box-sizing: border-box;
}

.lum-boxed .lum-shot img,
.lum-boxed.sock-page .lum-shot img {
  position: absolute;
  top: 52px;
  left: 24px;
  width: calc(100% - 48px);
  height: calc(100% - 76px);
  min-height: 0;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

.lum-boxed .lum-item:hover .lum-shot img {
  transform: none;
}

.lum-boxed .lum-shot figcaption {
  color: #0c2340;
  left: 24px;
  top: 20px;
  z-index: 1;
}

.lum-boxed.lum-boxed-dark .lum-shot {
  background: #070b12;
}

.lum-boxed.lum-boxed-dark .lum-shot figcaption {
  color: #f0d19a;
}

.lum-boxed .lum-copy,
.lum-boxed .lum-item.is-flip .lum-copy {
  background: #070b12;
  padding: 40px 48px;
}

@media (max-width: 980px) {
  .lum-item,
  .lum-item.is-flip {
    grid-template-columns: 1fr;
  }
  .lum-item.is-flip .lum-shot { order: 0; }
  .lum-copy,
  .lum-item.is-flip .lum-copy {
    padding: 32px 6vw 48px;
  }
  .lum-kv { grid-template-columns: 1fr 1fr; }

  .lum-boxed main {
    padding: 96px 4vw 32px;
    gap: 18px;
  }
  .lum-boxed .lum-item,
  .lum-boxed .lum-item.is-flip {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }
  .lum-boxed .lum-shot {
    min-height: min(380px, 52vh);
    height: min(380px, 52vh);
  }
  .lum-boxed .lum-shot img,
  .lum-boxed.sock-page .lum-shot img {
    top: 44px;
    left: 16px;
    width: calc(100% - 32px);
    height: calc(100% - 60px);
  }
  .lum-boxed .lum-copy,
  .lum-boxed .lum-item.is-flip .lum-copy,
  .lum-boxed .lum-item:first-child .lum-copy {
    padding: 24px 22px 32px;
  }

  .rc-page main {
    padding-top: 88px;
  }
  .rc-page .lum-item,
  .rc-page .lum-item.is-flip {
    min-height: 0;
  }
  .rc-page .lum-shot {
    padding: 52px 24px 8px;
    min-height: 0;
  }
  .rc-page .lum-shot img {
    width: min(420px, 72vw);
    max-height: min(420px, 52vh);
  }
  .rc-page .lum-item:first-child .lum-shot figcaption {
    top: 16px;
    left: 16px;
  }
  .rc-page .lum-copy h2 {
    font-size: clamp(26px, 7vw, 36px);
    max-width: 18ch;
  }
  .dkc-page .lum-copy h2 {
    max-width: 22ch;
    line-height: 1.15;
  }
  .rc-page .lum-dl {
    margin-top: 20px;
    padding: 12px 18px;
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .lum-boxed .lum-shot {
    min-height: min(280px, 42vh);
    height: min(280px, 42vh);
  }
  .lum-boxed .lum-shot img,
  .lum-boxed.sock-page .lum-shot img {
    top: 40px;
    left: 12px;
    width: calc(100% - 24px);
    height: calc(100% - 52px);
  }
  .rc-page main {
    padding-top: 80px;
  }
  .rc-page .lum-shot {
    padding: 44px 16px 4px;
  }
  .rc-page .lum-shot img {
    width: min(260px, 68vw);
    max-height: min(260px, 42vh);
  }
  .rc-page .lum-copy,
  .rc-page .lum-item.is-flip .lum-copy {
    padding: 16px 6vw 32px;
  }
  .rc-page .lum-dl {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-shot img,
  .hero-scan {
    animation: none !important;
  }
  .hero.is-live h1 .line span,
  .hero.is-live .lead,
  .hero.is-live .hero-actions,
  .hero.is-live .stats {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    letter-spacing: inherit !important;
  }
}

/* Products catalogue — square tiles, description under the image */
.prods-page .page-hero {
  padding: 140px 6vw 36px;
}

.prods-page .cat-block {
  padding: 56px 6vw 64px;
  scroll-margin-top: 160px;
}

.prods-page .cat-head {
  margin-bottom: 22px;
}

.prods-page .cat-head h2 {
  max-width: none;
}

.prods-page .cat-modern,
.prods-page #dkc .cat-modern,
.prods-page #motors .cat-modern,
.prods-page #controls .cat-modern,
.prods-page #others .cat-modern {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  /* cards gap here */
  gap: 78px;
  align-items: stretch;
}

.prods-page .cat-grid .pcard-link,
.prods-page .cat-grid .pcard-link .pcard,
.prods-page .cat-modern .pcard,
.prods-page .cat-modern .pcard-link {
  min-height: 0;
  height: auto;
}

.prods-page .cat-modern .pcard {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  isolation: isolate;
  transform-style: flat;
  box-shadow: 0 10px 28px rgba(12, 35, 64, 0.06);
}

.prods-page .cat-modern .pcard::before,
.prods-page .cat-modern .pcard::after {
  content: none;
  display: none;
}

.prods-page .cat-modern .pcard img {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  background: #eef2f7;
  padding: 18px;
  transform: none;
}

.prods-page .cat-modern .pcard:hover img {
  transform: scale(1.04);
}

.prods-page .cat-modern .pcard figcaption {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: 2;
  min-height: 110px;
  margin: 0;
  padding: 16px 16px 18px;
  background: #fff;
  color: var(--ink);
  border-radius: 0;
  backdrop-filter: none;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.prods-page .cat-modern .pcard h3 {
  font-size: 18px;
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1.2;
}

.prods-page .cat-modern .pcard p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.prods-page .cat-modern .card-arrow {
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-size: 13px;
  filter: none;
  box-shadow: 0 8px 18px rgba(12, 35, 64, 0.12);
}

.prods-page .cat-modern .pcard:hover .card-arrow {
  transform: none;
  background: var(--navy);
  color: #fff;
}

.prods-page .cat-modern .pcard:hover,
.prods-page .pcard-link:hover .pcard {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(12, 35, 64, 0.12);
  border-color: #c5d2e4;
}

html[dir="rtl"] .prods-page .cat-modern .card-arrow {
  right: auto;
  left: 12px;
}

@media (max-width: 1100px) {
  .prods-page .cat-modern,
  .prods-page #dkc .cat-modern,
  .prods-page #motors .cat-modern,
  .prods-page #controls .cat-modern,
  .prods-page #others .cat-modern {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .prods-page .cat-modern,
  .prods-page #dkc .cat-modern,
  .prods-page #motors .cat-modern,
  .prods-page #controls .cat-modern,
  .prods-page #others .cat-modern {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .prods-page .cat-modern .pcard figcaption {
    min-height: 0;
    left: auto;
    right: auto;
    bottom: auto;
    padding: 14px;
  }

  .prods-page .cat-modern .pcard h3 {
    font-size: 17px;
  }

  .prods-page .cat-modern .pcard img {
    padding: 12px;
  }
}
