

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap");
:root {
  /* Brand core — sampled directly from the Abaza Instruments logo */
  --navy: #002491;
  --navy-deep: #001854;
  --navy-bright: #1450d6;
  --slate-brand: #546957; /* the wordmark's grey-green — used sparingly for eyebrows/tags */

  /* Neutrals */
  --ink: #151b2b;
  --grey-700: #3d4552;
  --grey-500: #6b7480;
  --grey-300: #b7bfc7;
  --silver: #ccd2d8;
  --silver-light: #eef0f3;
  --off-white: #f7f8fa;
  --white: #ffffff;

  /* Semantic */
  --success: #1c8a5e;
  --danger: #c23b3b;

  /* Type */
  --font-display: "Manrope", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  /* Layout */
  --edge: clamp(20px, 4vw, 64px);
  --max: 1560px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 22px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fast: 0.22s;
  --med: 0.5s;
}

[dir="rtl"] {
  direction: rtl;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  margin: 0;
  color: var(--navy-deep);
  letter-spacing: -0.01em;
}

:focus-visible {
  outline: 3px solid var(--navy-bright);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--edge);
}

.section {
  padding-block: clamp(56px, 8vw, 128px);
}
.section--tight {
  padding-block: clamp(40px, 5vw, 72px);
}
.section--navy {
  background: var(--navy-deep);
  color: var(--silver-light);
}
.section--navy h1,
.section--navy h2,
.section--navy h3 {
  color: var(--white);
}
.section--off {
  background: var(--off-white);
}
.section--silver {
  background: linear-gradient(180deg, var(--off-white), var(--silver-light));
}

/* ---------- Eyebrow / Signature precision line ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-brand);
  font-weight: 500;
  margin-bottom: 14px;
}
.eyebrow::before {
  width: 28px;
  height: 2px;
  flex: none;
  background: linear-gradient(90deg, var(--navy), var(--navy-bright));
}

.edge-line {
  height: 2px;
  width: 56px;
  border: 0;
  background: linear-gradient(
    90deg,
    var(--navy) 0%,
    var(--navy-bright) 55%,
    var(--silver) 100%
  );
  margin: 18px 0;
  transform-origin: left center;
}
[dir="rtl"] .edge-line {
  transform-origin: right center;
}

.reveal-underline {
  position: relative;
}
.reveal-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--navy),
    var(--navy-bright),
    var(--silver)
  );
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--med) var(--ease);
}
.reveal-underline:hover::after,
.reveal-underline.is-active::after {
  transform: scaleX(1);
}

/* ---------- Typography scale ---------- */
.h-display {
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.h-xl {
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 800;
  line-height: 1.1;
}
.h-lg {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.2;
}
.h-md {
  font-size: clamp(19px, 1.6vw, 22px);
  font-weight: 700;
}

/* ---------- Hero title watermark + typewriter ---------- */
.hero__title-wrap {
  position: relative;
}
.hero__watermark {
  position: absolute;
  top: 50%;
  left: 58%;
  transform: translate(-50%, -50%);
  width: clamp(280px, 32vw, 460px);
  height: auto;
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 12px 30px rgba(10, 30, 90, 0.18));
  animation: heroWatermarkIn 1.4s ease-out both;
}
@keyframes heroWatermarkIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }
  to {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
}
.hero-typewriter {
  position: relative;
  z-index: 1;
}
.hero-typewriter.is-typing::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 0.82em;
  margin-left: 6px;
  vertical-align: -0.05em;
  background: currentColor;
  animation: heroCaretBlink 0.85s steps(1) infinite;
}
@keyframes heroCaretBlink {
  50% {
    opacity: 0;
  }
}
@media (max-width: 900px) {
  .hero__watermark {
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
    width: clamp(220px, 55vw, 320px);
  }
}

/* ---------- Homepage Hero H1 Heading Scale & Balance ---------- */
.hero .hero__title-wrap h1,
.hero .h-display.hero-typewriter {
  font-size: clamp(48px, 4.2vw, 58px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  max-width: 680px;
  word-break: normal;
  overflow-wrap: break-word;
}

@media (max-width: 1024px) {
  .hero .hero__title-wrap h1,
  .hero .h-display.hero-typewriter {
    font-size: clamp(36px, 4.6vw, 44px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .hero .hero__title-wrap h1,
  .hero .h-display.hero-typewriter {
    font-size: clamp(28px, 7vw, 34px);
    line-height: 1.18;
    letter-spacing: -0.015em;
  }
}


/* Product Description */

#product-description{
    font-size:18px;
    line-height:1.9;
    color:#555;
    margin-top:25px;
    margin-bottom:35px;
    max-width:700px;
}
.body-copy {
  color: var(--grey-700);
  max-width: 62ch;
}
.story2-body p {
  margin-bottom: 14px;
}
.story2-body p:last-child {
  margin-bottom: 0;
}
.story2-body p:first-child {
  color: var(--navy-deep, #0b1f3a);
}
.mono-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--grey-500);
  text-transform: uppercase;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition:
    transform var(--fast) var(--ease),
    box-shadow var(--fast) var(--ease),
    background var(--fast) var(--ease),
    color var(--fast) var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--navy), var(--navy-bright));
  color: var(--white);
  box-shadow: 0 10px 24px -10px rgba(0, 36, 145, 0.55);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -10px rgba(0, 36, 145, 0.6);
}
.btn--ghost {
  background: transparent;
  border-color: rgba(0, 36, 145, 0.25);
  color: var(--navy);
}
.btn--ghost:hover {
  border-color: var(--navy);
  background: rgba(0, 36, 145, 0.05);
}
.btn--on-navy {
  background: var(--white);
  color: var(--navy-deep);
}
.btn--on-navy:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -10px rgba(0, 0, 0, 0.4);
}
.btn--outline-on-navy {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}
.btn--outline-on-navy:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.btn--wa {
  background: #1f9c56;
  color: #fff;
}
.btn--wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(31, 156, 86, 0.55);
}
.btn--sm {
  padding: 10px 20px;
  font-size: 13.5px;
}
.btn--block {
  width: 100%;
}

/* ---------- Navbar ---------- */
/* Hidden above the fold — only slides in once the visitor scrolls down
   (see .is-scrolled toggle in js/main.js). Because it's position:fixed
   it never reserves layout space, so the page starts flush at the very
   top (zero margin/padding) until it appears. */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 200;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(0, 36, 145, 0.08);
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow var(--fast) var(--ease);
  isolation: isolate;
}
#site-header.is-scrolled {
  transform: translateY(0);
  box-shadow: 0 8px 30px -18px rgba(0, 20, 80, 0.35);
}
.nav {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  gap: 24px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: none;

  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  transition: all 0.3s ease;
}
.nav__brand img {
  height: 85px;
  width: auto;
  transition: 0.3s ease;
  filter: drop-shadow(0 6px 15px rgba(0, 36, 145, 0.2));
}

.nav__brand:hover img {
  transform: scale(1.08);
}

.nav__brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--navy-deep);
  line-height: 1.1;
}
.nav__brand-text span {
  display: block;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--slate-brand);
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.nav__links a {
  position: relative;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--grey-700);
  transition: color var(--fast) var(--ease);
}
.nav__links a:hover,
.nav__links a.is-active {
  color: var(--navy);
}
.nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 2px;
  background: linear-gradient(90deg, var(--navy), var(--navy-bright));
  border-radius: 2px;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}
.lang-switch {
  position: relative;
}
.lang-switch__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--silver-light);
  border: 1px solid var(--silver);
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--navy-deep);
}
.lang-switch__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #fff;
  border: 1px solid var(--silver-light);
  border-radius: 14px;
  box-shadow: 0 20px 45px -18px rgba(10, 30, 70, 0.35);
  padding: 8px;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all var(--fast) var(--ease);
}
[dir="rtl"] .lang-switch__menu {
  right: auto;
  left: 0;
}
.lang-switch.is-open .lang-switch__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-switch__menu button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: 0;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--grey-700);
  text-align: start;
}
.lang-switch__menu button:hover {
  background: var(--silver-light);
  color: var(--navy);
}
.lang-switch__menu button.is-active {
  color: var(--navy);
  font-weight: 700;
}

.burger {
  display: none;
  flex: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  position: relative;
}
.burger span {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--navy-deep);
  border-radius: 2px;
  transition: all var(--fast) var(--ease);
}
.burger span:nth-child(1) {
  top: 15px;
}
.burger span:nth-child(2) {
  top: 22px;
}
.burger span:nth-child(3) {
  top: 29px;
}
.burger.is-open span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}
.burger.is-open span:nth-child(2) {
  opacity: 0;
}
.burger.is-open span:nth-child(3) {
  top: 22px;
  transform: rotate(-45deg);
}

.mobile-panel {
  position: fixed;
  inset: 84px 0 0 0;
  background: #fff;
  z-index: 190;
  padding: 28px var(--edge);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--fast) var(--ease);
  overflow-y: auto;
}
.mobile-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mobile-panel a {
  display: block;
  padding: 16px 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy-deep);
  border-bottom: 1px solid var(--silver-light);
}
.mobile-panel .btn {
  margin-top: 24px;
}

@media (max-width: 980px) {
  .nav__links {
    display: none;
  }
  .burger {
    display: block;
  }
  .nav__brand-text {
    font-size: 15px;
  }
}

/* ---------- Hero ---------- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  min-height: 100svh;
}
.hero__copy {
  padding-block: 48px;
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.hero__stats {
  display: flex;
  gap: 36px;
  margin-top: 52px;
  flex-wrap: wrap;
}
.hero__stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--navy-deep);
}
.hero__stat span {
  font-size: 12.5px;
  color: var(--grey-500);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: clamp(36px, 5vw, 90px);
  min-height: 100svh;
}
.hero__visual {
  position: relative;
}
.hero__floaters {
  position: absolute;
  inset: -40px;
  pointer-events: none;
  z-index: 1;
}
.floater {
  position: absolute;
  color: var(--blue-brand, #1450d6);
  opacity: 0.28;
  animation-name: floaterDrift;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.floater--1 {
  width: 34px;
  height: 34px;
  top: 6%;
  left: 4%;
  animation-duration: 9s;
  animation-delay: 0s;
}
.floater--2 {
  width: 26px;
  height: 26px;
  top: 14%;
  right: 6%;
  opacity: 0.22;
  animation-duration: 11s;
  animation-delay: 1.2s;
}
.floater--3 {
  width: 20px;
  height: 50px;
  bottom: 10%;
  left: 2%;
  opacity: 0.24;
  animation-duration: 10s;
  animation-delay: 0.6s;
}
.floater--4 {
  width: 24px;
  height: 24px;
  bottom: 16%;
  right: 4%;
  opacity: 0.2;
  animation-duration: 8.5s;
  animation-delay: 2s;
}
.floater--5 {
  width: 10px;
  height: 10px;
  top: 42%;
  left: -2%;
  opacity: 0.35;
  animation-duration: 7s;
  animation-delay: 0.3s;
}
.floater--6 {
  width: 8px;
  height: 8px;
  top: 58%;
  right: -1%;
  opacity: 0.3;
  animation-duration: 7.5s;
  animation-delay: 1.6s;
}
@keyframes floaterDrift {
  0%,
  100% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }
  50% {
    transform: translateY(-16px) translateX(6px) rotate(8deg);
  }
}
@media (max-width: 980px) {
  .hero__floaters {
    display: none;
  }
}

.hero__stage {
  width: min(100%, 580px);
  aspect-ratio: 1/1.15;
  position: relative;
  perspective: 1400px;
  cursor: grab;
  touch-action: pan-y;
  isolation: isolate;
  contain: layout ;
}
.hero__stage.is-dragging {
  cursor: grabbing;
}
.hero__stage img,
.hero__stage video {
  width: 100%;
  height: 100%;
  object-fit: contain;

  filter: drop-shadow(0 45px 70px rgba(0, 20, 70, 0.35));

  transform: scale(1.22) rotateY(6deg) rotateX(4deg);
  will-change: transform, opacity, filter;
}
.hero__shine {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  border-radius: 18px;
}
.hero__shine::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -60%;
  width: 40%;
  height: 140%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0) 70%,
    transparent 100%
  );
  transform: rotate(8deg);
  animation: shineSweep 5s ease-in-out infinite;
}
@keyframes shineSweep {
  0% {
    left: -60%;
  }
  35%,
  100% {
    left: 130%;
  }
}
.hero__hint {
  position: absolute;
  left: 50%;
  bottom: 6%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(11, 31, 58, 0.72);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.4s ease;
}
.hero__hint svg {
  width: 14px;
  height: 14px;
}
.hero__stage.has-interacted .hero__hint {
  opacity: 0;
}
.hero__ring {
  position: absolute;

  inset: -8%;

  border: 1.5px dashed rgba(20, 80, 214, 0.18);

  border-radius: 50%;

  /* box-shadow: 0 0 180px rgba(20, 80, 214, 0.18); */
  box-shadow: none;
  animation: ringSpin 40s linear infinite, ringPulse 5s ease-in-out infinite;
}
@keyframes ringSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes ringPulse {
  0%,
  100% {
    box-shadow: 0 0 180px rgba(20, 80, 214, 0.18);
  }
  50% {
    box-shadow: 0 0 220px rgba(20, 80, 214, 0.3);
  }
}
.hero__shadow {
  position: absolute;
  left: 50%;
  bottom: 4%;
  width: 62%;
  height: 26px;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 20, 70, 0.32) 0%,
    rgba(0, 20, 70, 0.14) 55%,
    transparent 80%
  );
  border-radius: 50%;
  transform: translateX(-50%) scaleX(var(--shadow-scale, 1));
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  animation: shadowBreathe 8s ease-in-out infinite;
  z-index: 0;
}
.hero__stage.is-dragging ~ .hero__shadow,
.hero__stage.is-dragging + .hero__shadow {
  transition: none;
}
@keyframes shadowBreathe {
  0%,
  100% {
    opacity: 0.85;
  }
  50% {
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero__visual {
    position: relative;
    margin-top: 120px;
  }
  .hero__copy {
    padding-block: 36px 12px;
  }
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;

  width: 1400px;
  height: 1400px;

  right: -420px;
  top: 50%;

  transform: translateY(-50%);

  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(20, 80, 214, 0.18) 0%,
    rgba(20, 80, 214, 0.1) 40%,
    rgba(20, 80, 214, 0.05) 60%,
    transparent 80%
  );

  z-index: 0;
}

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

/* ---------- Grids / Cards ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 1100px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .grid--4,
  .grid--3,
  .grid--2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--silver-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition:
    transform var(--fast) var(--ease),
    box-shadow var(--fast) var(--ease),
    border-color var(--fast) var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 50px -30px rgba(10, 30, 80, 0.28);
  border-color: transparent;
}
.card__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-bright));
  color: #fff;
  margin-bottom: 20px;
  flex: none;
}
.card__icon svg {
  width: 26px;
  height: 26px;
}



.product-card {
  background: #fff;
  border: 1px solid var(--silver-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    transform var(--fast) var(--ease),
    box-shadow var(--fast) var(--ease);
  display: flex;
  flex-direction: row;
  align-items: stretch;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 50px -30px rgba(10, 30, 80, 0.3);
}
.product-card__img {
  flex: 0 0 45%;
  width: 45%;
  background: #f5f7fb;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}


.product-card__body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.product-card__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-brand);
}
.product-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
}

@media (max-width: 700px) {
  .product-card {
    flex-direction: column;
  }
  .product-card__img {
    width: 100%;
    height: 240px;
  }
}
/* ---------- Sections shared ---------- */
.section-head {
  max-width: 760px;
  margin-bottom: 52px;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--silver-light);
  background: var(--silver-light);
}

.stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.stat-strip__item {
  flex: 1 1 200px;
  padding: 34px 20px;
  text-align: center;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.14);
}
.stat-strip__item:first-child {
  border-inline-start: 0;
}
.stat-strip__item b {
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
}
.stat-strip__item span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}

/* Process timeline (real sequence — factory flow) */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--navy),
    var(--navy-bright),
    var(--silver)
  );
}
.timeline__step {
  position: relative;
  text-align: center;
  padding-top: 70px;
}
.timeline__num {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--navy);
  color: var(--navy);
  font-family: var(--font-mono);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 900px) {
  .timeline {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .timeline::before {
    display: none;
  }
  .timeline__step {
    padding-top: 0;
    padding-inline-start: 70px;
    text-align: start;
  }
  .timeline__num {
    left: 0;
    transform: none;
  }
}

/* Certifications */
.cert-card {
  background: #fff;
  border: 1px solid var(--silver-light);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
}
.cert-card img {
  height: 65%;
  object-fit: contain;
}
.cert-card__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Forms */
.form-card {
  background: #fff;
  border: 1px solid var(--silver-light);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 44px);
  box-shadow: 0 30px 60px -40px rgba(10, 30, 80, 0.25);
}
.field {
  margin-bottom: 20px;
}
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 8px;
}
.field small {
  display: block;
  color: var(--grey-500);
  font-size: 12.5px;
  margin-top: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--silver);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  background: #fff;
  color: var(--ink);
  transition:
    border-color var(--fast) var(--ease),
    box-shadow var(--fast) var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--navy-bright);
  box-shadow: 0 0 0 4px rgba(20, 80, 214, 0.12);
  outline: none;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--danger);
}
.field__error {
  color: var(--danger);
  font-size: 12.5px;
  margin-top: 6px;
  display: none;
}
.field.has-error .field__error {
  display: block;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 640px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}
.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
}
.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  display: none;
}
.form-status.is-visible {
  display: block;
}
.form-status.ok {
  background: #e7f6ee;
  color: var(--success);
}
.form-status.err {
  background: #fbeaea;
  color: var(--danger);
}

/* Footer */
#site-footer {
  background: var(--navy-deep);
  color: #c9d2e0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-block: 72px 48px;
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.footer-brand img {
  height: 44px;
  background: #fff;
  border-radius: 10px;
  padding: 6px;
}
.footer-brand b {
  font-family: var(--font-display);
  color: #fff;
  font-size: 17px;
}
.footer-col h4 {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  font-weight: 500;
  margin-bottom: 18px;
}
.footer-col a,
.footer-col p {
  display: block;
  color: #a9b4c6;
  font-size: 14.5px;
  margin-bottom: 12px;
  transition: color var(--fast);
}
.footer-col a:hover {
  color: #fff;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-social a:hover {
  background: var(--navy-bright);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #8a96ab;
}
.footer-admin-link {
  color: #8a96ab;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.7;
}
.footer-admin-link:hover {
  opacity: 1;
  color: #fff;
}

/* WhatsApp float */
.wa-float {
  position: fixed;
  bottom: 26px;
  inset-inline-end: 26px;
  z-index: 150;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #1f9c56;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 30px -10px rgba(20, 120, 60, 0.55);
  transition: transform var(--fast) var(--ease);
}
.wa-float:hover {
  transform: scale(1.08);
}
.wa-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

/* Breadcrumb / page header */
.page-header {
  padding-block: 52px 40px;
  background: linear-gradient(180deg, var(--off-white), #fff);
}
.crumbs {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--grey-500);
  margin-bottom: 16px;
}
.crumbs a:hover {
  color: var(--navy);
}

/* Gallery */
.gallery-main {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--silver-light);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-thumbs {
  display: flex;
  gap: 12px;
}
.gallery-thumbs button {
  width: 76px;
  height: 76px;
  border-radius: 10px;
  border: 2px solid var(--silver-light);
  background: var(--off-white);
  padding: 8px;
  overflow: hidden;
}
.gallery-thumbs button.is-active {
  border-color: var(--navy-bright);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.spec-table tr {
  border-bottom: 1px solid var(--silver-light);
}
.spec-table td {
  padding: 14px 4px;
}
.spec-table td:first-child {
  color: var(--grey-500);
  font-family: var(--font-mono);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: 42%;
}
.spec-table td:last-child {
  font-weight: 600;
  color: var(--navy-deep);
}

.tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--silver-light);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.tabs button {
  background: none;
  border: 0;
  padding: 12px 18px;
  font-weight: 600;
  color: var(--grey-500);
  border-bottom: 2px solid transparent;
}
.tabs button.is-active {
  color: var(--navy);
  border-color: var(--navy-bright);
}
.tab-panel {
  display: none;
}
.tab-panel.is-active {
  display: block;
}

/* filters (products/catalog) */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.filter-chip {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--silver);
  background: #fff;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--grey-700);
}
.filter-chip.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* Category text-list (products page) — matches the printed catalog index style */
.category-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
  border-top: 1px solid var(--silver);
}
.category-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 6px;
  border-bottom: 1px solid var(--silver);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background var(--fast) var(--ease);
}
.category-list__item:hover {
  background: var(--off-white);
}
.category-list__item.is-active {
  background: var(--off-white);
}
.category-list__item.is-active .category-list__name {
  color: var(--navy-bright);
}
.category-list__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(16px, 2vw, 20px);
  color: var(--navy-deep);
}
.category-list__empty {
  padding: 40px 6px;
  text-align: center;
  color: var(--grey-500);
  font-size: 15px;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* misc */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--silver-light);
  color: var(--navy-deep);
  font-size: 12.5px;
  font-weight: 700;
}
.divider {
  height: 1px;
  background: var(--silver-light);
  border: 0;
  margin-block: 0;
}
.center {
  text-align: center;
}
.mt-0 {
  margin-top: 0;
}
.mb-0 {
  margin-bottom: 0;
}

/* ==========================
   ADMIN LOGIN
========================== */

.admin-login {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f4f7fb;
  padding: 20px;
}

.login-box {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.login-box h1 {
  text-align: center;
  margin-bottom: 8px;
  color: #0b2e59;
}

.login-box p {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input {
  padding: 12px 14px;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  font-size: 16px;
}

.form-group input:focus {
  outline: none;
  border-color: #0b2e59;
}

.login-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 8px;
  background: #0b2e59;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.login-btn:hover {
  background: #15457f;
}

/* ===========================
   ADMIN DASHBOARD
=========================== */

.admin-container {
  width: 90%;
  max-width: 1200px;
  margin: 50px auto;
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.admin-title {
  text-align: center;
  color: #0b2c61;
  font-size: 42px;
  margin-bottom: 10px;
}

.admin-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 35px;
}

.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.add-btn {
  background: #0057ff;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  text-decoration: none;
  transition: 0.3s;
}

.add-btn:hover {
  background: #003fc2;
}

.product-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 20px;
  transition: 0.3s;
}

.product-item:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.product-info h3 {
  color: #0b2c61;
  margin-bottom: 10px;
}

.product-info p {
  color: #666;
}

.actions {
  display: flex;
  gap: 10px;
}

.edit-btn {
  background: #0d6efd;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
}

.delete-btn {
  background: #dc3545;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
}

/* ==========================
ADMIN PANEL
========================== */

.admin-layout {
  display: flex;
  min-height: 100vh;
  background: #f4f7fb;
}

.sidebar {
  width: 250px;
  background: #0b2c61;
  color: white;
  padding: 30px;
}

.sidebar h2 {
  text-align: center;
  margin-bottom: 40px;
}

.sidebar a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 14px;
  margin-bottom: 10px;
  border-radius: 10px;
  transition: 0.3s;
}

.sidebar a:hover,
.sidebar .active {
  background: #1d4ed8;
}

.main-content {
  flex: 1;
  padding: 40px;
}

.main-content h1 {
  color: #0b2c61;
}

.main-content p {
  color: #666;
  margin-bottom: 30px;
}

.add-btn {
  display: inline-block;
  padding: 12px 24px;
  background: #2563eb;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  margin-bottom: 30px;
  font-weight: bold;
}

.product-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.product-info h3 {
  color: #0b2c61;
  margin-bottom: 8px;
}

.product-info p {
  color: #666;
}

.actions {
  display: flex;
  gap: 12px;
}

.edit-btn {
  background: #2563eb;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
}

.delete-btn {
  background: #dc2626;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
}

.edit-btn:hover {
  background: #1d4ed8;
}

.delete-btn:hover {
  background: #b91c1c;
}

.product-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* .product-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #ddd;
} */



/* ===========================
   PRODUCT DETAILS
=========================== */

.product-gallery{

    width:100%;

}

.gallery-main{

    height:650px;

    background:#f8f9fc;

    border-radius:18px;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:40px;

    border:1px solid #ececec;

}

#product-image{

    max-width:100%;

    max-height:560px;

    object-fit:contain;

    transition:.35s;

}

#product-image:hover{

    transform:scale(1.03);

}

.gallery-thumbs{

    display:flex;

    gap:15px;

    margin-top:20px;

    flex-wrap:wrap;

}

.gallery-thumbs button{

    width:90px;

    height:90px;

    border-radius:12px;

    border:2px solid transparent;

    background:#fff;

    cursor:pointer;

    overflow:hidden;

    transition:.3s;

}

.gallery-thumbs button img{

    width:100%;

    height:100%;

    object-fit:cover;

}

.gallery-thumbs button:hover{

    border-color:#1d4ed8;

}

.gallery-thumbs .is-active{

    border-color:#1d4ed8;

}

.product-info {
  flex: 1;
}

.product-image {
  width: 100px;

  height: 100px;

  object-fit: cover;

  border-radius: 10px;

  border: 1px solid #ddd;

  margin-right: 20px;
} 

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #0b2c63;
}

#image {
  width: 100%;
  padding: 12px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 15px;
  transition: 0.3s;
}

#image:hover {
  border-color: #1f5eff;
}

#image::file-selector-button {
  background: #1f5eff;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  margin-right: 15px;
  transition: 0.3s;
}

#image::file-selector-button:hover {
  background: #0f4ae0;
}
#preview {
  width: 150px;
  height: 150px;
  object-fit: cover;
  margin-top: 15px;
  border-radius: 10px;
  border: 1px solid #ddd;
  display: none;
}

/* ================================
   Catalog Page Styling
================================= */

.catalog-card {
  background: #ffffff;
  border: 1px solid #e2e6ee;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.catalog-card__label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: #0b1f3a;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.catalog-card__info {
  margin-bottom: 18px;
}

.catalog-card__info p {
  margin: 0;
  color: #4a5568;
  font-size: 15px;
}

.catalog-card__info a {
  color: #1a4fd6;
  font-weight: 600;
  text-decoration: none;
}

.catalog-card__info a:hover {
  text-decoration: underline;
}

.catalog-delete-btn {
  width: 100%;
  padding: 12px 20px;
  background: #c0392b;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.catalog-delete-btn:hover {
  background: #a93226;
}

.catalog-upload-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.catalog-upload-form input[type="file"] {
  padding: 10px;
  border: 1px dashed #c3cbdb;
  border-radius: 8px;
  background: #f8f9fc;
  font-size: 14px;
  cursor: pointer;
}

/* File Upload Button Styling */

.file-upload-label {
  display: inline-block;
  padding: 12px 24px;
  background: #0b1f3a;
  color: #ffffff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
  width: fit-content;
}

.file-upload-label:hover {
  background: #1a4fd6;
}

.file-name-display {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: #4a5568;
}

/* ================================
   Mobile Navbar
================================= */

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy-deep, #0b1f3a);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-panel {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px var(--edge, 20px) 24px;
  background: #ffffff;
  border-top: 1px solid #e2e6ee;
}

.mobile-panel a {
  padding: 12px 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--grey-700, #333);
  border-bottom: 1px solid #f0f2f6;
}

.mobile-panel.is-open {
  display: flex;
}

@media (max-width: 900px) {
  .nav {
    height: 68px;
    gap: 12px;
  }

  .nav__brand-text {
    font-size: 14px;
  }

  .nav__links {
    display: none;
  }

  .nav__actions .btn--sm {
    display: none;
  }

  .lang-switch {
    display: none;
  }

  .burger {
    display: flex;
  }
}












/* ---- Product Card: image left (larger) + details right ---- */
.product-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: #fff;
  border: 1px solid #dfe4ea;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(14, 42, 82, 0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
  box-shadow: 0 8px 24px rgba(14, 42, 82, 0.12);
  transform: translateY(-2px);
}

.product-card__img {
  flex: 0 0 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-right: 1px solid #eef1f5;
  background: #fff;
}

.product-card__img img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
}

.product-card__body {
  flex: 1;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.product-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #c9942f;
}

.product-card__body h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
  color: #0e2a52;
}

.product-card__body p {
  margin: 0;
  font-size: 14px;
  color: #5b6472;
  line-height: 1.5;
}

.product-card__foot {
  margin-top: 10px;
}

/* Stack on smaller screens */
@media (max-width: 700px) {
  .product-card {
    flex-direction: column;
  }
  .product-card__img {
    border-right: none;
    border-bottom: 1px solid #eef1f5;
  }
  .product-card__img img {
    max-height: 220px;
  }
}


#product-grid {
  display: block;
  padding-inline: 0;
  margin-left: 0;
}

#product-grid .product-card {
  margin-bottom: 24px;
}


/* ==========================
   PRODUCT BUTTONS
========================== */

.hero__ctas{
    display:flex;
    gap:18px;
    margin-top:35px;
    flex-wrap:wrap;
}

.hero__ctas .btn{
    min-width:220px;
    height:54px;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:10px;
    font-weight:600;
    transition:0.3s ease;
}

.hero__ctas .btn:hover{
    transform:translateY(-3px);
    box-shadow:0 12px 25px rgba(0,0,0,.15);
}


/* ==========================
   PRODUCT SPECIFICATIONS
========================== */

.spec-table{
    width:100%;
    border-collapse:collapse;
    margin-top:25px;
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,.05);
}

.spec-table td{
    padding:16px 20px;
    border-bottom:1px solid #ececec;
}

.spec-table tr:last-child td{
    border-bottom:none;
}

.spec-table td:first-child{
    width:220px;
    font-weight:600;
    color:#666;
    background:#f8f9fc;
}

.spec-table td:last-child{
    color:#1d3557;
    font-weight:500;
}



/* ==========================
   FEATURES & APPLICATIONS
========================== */

#featuresList,
#applicationsList{
    list-style:none;
    padding:0;
    margin:20px 0;
}

#featuresList li,
#applicationsList li{
    position:relative;
    padding:12px 0 12px 35px;
    border-bottom:1px solid #ececec;
    font-size:16px;
    line-height:1.7;
    color:#444;
}

#featuresList li:last-child,
#applicationsList li:last-child{
    border-bottom:none;
}

#featuresList li::before,
#applicationsList li::before{
    content:"✔";
    position:absolute;
    left:0;
    top:12px;
    width:22px;
    height:22px;
    border-radius:50%;
    background:#0f5fa8;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:12px;
    font-weight:bold;
}




/* ==========================
   PRODUCT LAYOUT
========================== */

.product-layout{
    display:grid;
    grid-template-columns:1.1fr 1fr;
    gap:60px;
    align-items:start;
}

/* Left Side */

.product-gallery{
    position:sticky;
    top:100px;
}

.gallery-main{
    background:#f8f9fc;
    border:1px solid #e8e8e8;
    border-radius:18px;
    padding:40px;
    min-height:600px;

    display:flex;
    justify-content:center;
    align-items:center;
}

/* Main Product Image */

#product-image{
    width:100%;
    max-width:520px;
    max-height:520px;
    object-fit:contain;
    transition:.35s;
}

#product-image:hover{
    transform:scale(1.03);
}






/* ==========================
   RESPONSIVE PRODUCT DETAILS
========================== */

@media (max-width: 992px){

    .product-layout{
        grid-template-columns:1fr;
        gap:40px;
    }

    .product-gallery{
        position:static;
    }

    .gallery-main{
        min-height:420px;
        padding:25px;
    }

    #product-image{
        max-width:320px;
        max-height:320px;
    }

    .hero__ctas{
        justify-content:center;
    }

    .hero__ctas .btn{
        width:100%;
        min-width:unset;
    }

}









@media (max-width:768px){

    .gallery-main{
        min-height:320px;
        padding:20px;
        border-radius:12px;
    }

    #product-image{
        width:100%;
        max-width:240px;
        max-height:240px;
    }

    .gallery-thumbs{
        justify-content:center;
    }

    .gallery-thumbs button{
        width:70px;
        height:70px;
    }

    #product-name{
        font-size:34px;
    }

    #product-description{
        font-size:16px;
        line-height:1.8;
    }

    .spec-table td{
        padding:12px;
        font-size:14px;
    }

}




@media (max-width:480px){

    .gallery-main{
        min-height:260px;
    }

    #product-image{
        max-width:190px;
        max-height:190px;
    }

    .gallery-thumbs button{
        width:60px;
        height:60px;
    }

    #product-name{
        font-size:28px;
    }

    .hero__ctas .btn{
        height:50px;
        font-size:15px;
    }

}


/* ==========================================
   PRODUCT DETAILS PAGE
========================================== */

.product-layout{
    display:grid;
    grid-template-columns:1.1fr 1fr;
    gap:60px;
    align-items:start;
}

.product-gallery{
    position:sticky;
    top:100px;
}

.gallery-main{
    background:#fff;
    border:1px solid #e8e8e8;
    border-radius:18px;
    padding:40px;
    min-height:620px;

    display:flex;
    justify-content:center;
    align-items:center;
}

#product-image{
    width:100%;
    max-width:480px;
    max-height:520px;
    object-fit:contain;
}

.gallery-thumbs{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:18px;
}

.gallery-thumbs button{
    width:80px;
    height:80px;
    border:none;
    border-radius:10px;
    overflow:hidden;
    cursor:pointer;
    background:#fff;
    border:2px solid #eee;
    transition:.3s;
}

.gallery-thumbs button img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.gallery-thumbs button.is-active{
    border-color:#0f5fa8;
}

.product-content{
    width:100%;
}

#product-name{
    margin-top:18px;
    line-height:1.2;
}

#product-description{
    margin:25px 0;
}

.hero__ctas{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
}

.hero__ctas .btn{
    flex:1;
    min-width:220px;
}

.spec-table{
    width:100%;
    border-collapse:collapse;
}

.spec-table td{
    padding:16px;
    border-bottom:1px solid #eee;
}

.spec-table td:first-child{
    width:220px;
    font-weight:600;
    color:#666;
}

.tabs{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

/* ==========================================
   TABLET
========================================== */

@media(max-width:991px){

.product-layout{

grid-template-columns:1fr;

gap:50px;

}

.product-gallery{

position:static;

}

.gallery-main{

min-height:420px;

padding:30px;

}

#product-image{

max-width:320px;

max-height:320px;

}

.hero__ctas{

flex-direction:column;

}

.hero__ctas .btn{

width:100%;

min-width:100%;

}

}

/* ==========================================
   MOBILE
========================================== */

@media(max-width:768px){

.page-header{

padding:30px 0;

}

.product-layout{

gap:35px;

}

.gallery-main{

padding:20px;

min-height:300px;

}

#product-image{

max-width:230px;

max-height:230px;

}

.gallery-thumbs{

justify-content:center;

}

.gallery-thumbs button{

width:65px;

height:65px;

}

.badge{

font-size:12px;

}

#product-name{

font-size:32px;

}

#product-description{

font-size:16px;

line-height:1.8;

}

.tabs{

justify-content:center;

}

.tabs button{

font-size:14px;

padding:10px 14px;

}

.spec-table td{

padding:12px;

font-size:14px;

}

.spec-table td:first-child{

width:130px;

}

}

/* ==========================================
   SMALL MOBILE
========================================== */

@media(max-width:480px){

.wrap{

width:92%;

}

.gallery-main{

min-height:240px;

padding:15px;

}

#product-image{

max-width:180px;

max-height:180px;

}

#product-name{

font-size:26px;

}

.hero__ctas{

gap:12px;

}

.hero__ctas .btn{

height:48px;

font-size:15px;

}

.gallery-thumbs button{

width:55px;

height:55px;

}

.tabs{

flex-direction:column;

}

.tabs button{

width:100%;

}

.spec-table td{

display:block;

width:100% !important;

}

.spec-table tr{

display:block;

margin-bottom:12px;

border:1px solid #eee;

border-radius:8px;

overflow:hidden;

}

}



/* ============================================================
   ADDITIONAL RESPONSIVE FIXES (appended only)
   Nothing above this line was changed — these rules only add
   missing mobile/tablet coverage for sections that had none
   (Admin Panel, Admin Login, Admin Dashboard, Catalog cards,
   nav logo, and a generic table safety net).
   ============================================================ */

/* ---- Admin Panel / Sidebar layout (had no responsive rules) ---- */
@media (max-width: 900px) {
  .admin-layout {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    padding: 20px;
  }
  .sidebar h2 {
    margin-bottom: 20px;
  }
  .main-content {
    padding: 24px;
  }
}

/* ---- Admin Dashboard / Catalog cards ---- */
@media (max-width: 768px) {
  .admin-container {
    width: 94%;
    padding: 24px;
    margin: 24px auto;
  }
  .admin-title {
    font-size: 30px;
  }
  .admin-top {
    flex-wrap: wrap;
    gap: 14px;
  }
  .product-item {
    flex-wrap: wrap;
    gap: 14px;
  }
  .product-item .actions {
    width: 100%;
  }
  .catalog-card {
    padding: 18px;
  }
}

/* ---- Admin Login + smaller product/action stacking ---- */
@media (max-width: 600px) {
  .login-box {
    padding: 26px;
  }
  .login-box h1 {
    font-size: 24px;
  }
  .admin-title {
    font-size: 24px;
  }
  .admin-subtitle {
    font-size: 14px;
  }
  .add-btn {
    width: 100%;
    text-align: center;
  }
  .product-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .actions {
    width: 100%;
  }
  .edit-btn,
  .delete-btn {
    flex: 1;
  }
}

/* ---- Small mobile: nav logo + admin padding ---- */
@media (max-width: 480px) {
  .nav__brand img {
    height: 56px;
  }
  .admin-container {
    padding: 18px;
  }
  .admin-title {
    font-size: 22px;
  }
}

/* ---- Generic safety net: any table not explicitly handled
   becomes horizontally scrollable instead of breaking layout ---- */
@media (max-width: 480px) {
  table {
    max-width: 100%;
    display: block;
    overflow-x: auto;
  }
}




/* ============================================================
   NAVBAR FIX: consolidated mobile-menu behaviour
   (appended only — nothing above this line was changed)

   Reason: the file had TWO separate hamburger-menu / mobile-panel
   definitions (one switching at 980px, another at 900px) that
   conflicted with each other (mismatched burger sizes, mixed
   transform/top values, mismatched panel offset). This block
   unifies them into one consistent, working responsive navbar
   at a single 980px breakpoint.
   ============================================================ */

@media (max-width: 980px) {
  .nav {
    height: 68px;
  }
  .nav__links {
    display: none;
  }
  .nav__actions .btn--sm {
    display: none;
  }
  .lang-switch {
    display: none;
  }
  .burger {
    display: flex;
  }
}

.burger {
  position: static;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}
.burger span {
  position: static;
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy-deep, #0b1f3a);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.is-open span:nth-child(2) {
  opacity: 0;
}
.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-panel {
  position: fixed;
  inset: 68px 0 auto 0;
  max-height: calc(100vh - 68px);
  overflow-y: auto;
  background: #fff;
  z-index: 190;
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px var(--edge, 20px) 24px;
  border-top: 1px solid #e2e6ee;
  box-shadow: 0 20px 40px -20px rgba(0, 20, 80, 0.25);
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: none;
}
.mobile-panel.is-open {
  display: flex;
}

/* ---- Fix: logo was taller (85px) than the mobile nav bar (68px),
   causing it to overflow the header on tablet/mobile. Scale it down
   to fit, with a further reduction on very small phones. ---- */
@media (max-width: 980px) {
  .nav__brand img {
    height: 48px;
  }
  .nav__brand-text {
    font-size: 13px;
  }
  .nav__brand-text span {
    font-size: 9px;
  }
}
@media (max-width: 480px) {
  .nav__brand img {
    height: 40px;
  }
}

/* ---- Fix: an earlier ".gallery-main { height: 650px }" rule (fixed,
   not min-height) was pinning the product-image box to 650px tall on
   every screen size, since a fixed height always wins over min-height.
   All the later mobile/tablet min-height rules were being ignored
   because of this, so the gallery box never actually shrank on
   mobile — leaving a huge empty box around a small image. Switching
   it to height:auto lets the already-defined min-height rules (and
   their mobile breakpoints) work as intended. ---- */
.gallery-main {
  height: auto;
}

/* ============================================================
   MOBILE LANGUAGE SWITCHER
   The desktop .lang-switch dropdown is hidden below 980px, so
   mobile users previously had no way to change language at all.
   This adds a simple row of language buttons inside the mobile
   menu panel instead.
   ============================================================ */
.mobile-lang-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--silver-light, #e2e6ee);
}
.mobile-lang-switch button {
  flex: 1 1 auto;
  min-width: 56px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--navy-deep, #0b1f3a);
  background: #f4f6f9;
  border: 1px solid var(--silver-light, #e2e6ee);
  border-radius: 8px;
  cursor: pointer;
}
.mobile-lang-switch button.is-active {
  background: var(--navy-deep, #0b1f3a);
  color: #fff;
  border-color: var(--navy-deep, #0b1f3a);
}
@media (min-width: 981px) {
  .mobile-lang-switch {
    display: none;
  }
}









/* Remove hero circular background/glow */
.hero__stage {
  background: transparent !important;
  box-shadow: none !important;
}

.hero__stage::before,
.hero__stage::after {
  content: none !important;
  display: none !important;
}

.hero__visual::before,
.hero__visual::after {
  content: none !important;
  display: none !important;
}

.hero__ring {
  box-shadow: none !important;
}