/* Kamyab Maram — Delta landing (alive Delta blue, B2B-safe) */
:root {
  --km-blue: #0090e0;
  --km-blue-dark: #0070b8;
  --km-blue-hover: #00a8f0;
  --km-blue-deep: #005a9e;
  --km-blue-soft: rgba(0, 144, 224, 0.14);
  --km-navy: #2c3548;
  --km-navy-mid: #0f131f;
  --km-navy-light: #556278;
  --km-reps-bg: #f2f6fa;
  --km-reps-bg-end: #ffffff;
  --km-rep-card-bg: #ffffff;
  --km-rep-card-bg-alt: #f2f6fa;
  --km-rep-card-border: #e8eef4;
  --km-rep-text: #2c3548;
  --km-rep-label: #556278;
  --km-rep-phone: #0090e0;
  --km-ink: #2c3548;
  --km-muted: #556278;
  --km-line: #dce4ee;
  --km-bg: #f2f6fa;
  --km-white: #ffffff;
  --km-accent: #f59e0b;
  --km-accent-dark: #d97706;
  --km-accent-soft: rgba(245, 158, 11, 0.14);
  --km-phone: #15803d;
  --km-phone-dark: #166534;
  --km-phone-soft: rgba(21, 128, 61, 0.14);
  --km-phone-border: #16a34a;
  --km-radius: 12px;
  --km-shadow: 0 10px 32px rgba(0, 90, 158, 0.14);
  --km-font: "Vazirmatn", "IRANSans", Tahoma, sans-serif;
  --km-max: 1180px;
  --km-bar-h: 62px;
  --km-nav-h: 44px;
  /* aliases so old class hooks still work */
  --km-teal: var(--km-blue);
  --km-teal-dark: var(--km-blue-dark);
}

@property --km-hero-a {
  syntax: "<color>";
  inherits: true;
  initial-value: #00b4f5;
}
@property --km-hero-b {
  syntax: "<color>";
  inherits: true;
  initial-value: #0090e0;
}
@property --km-hero-c {
  syntax: "<color>";
  inherits: true;
  initial-value: #006bb3;
}
@property --km-hero-glow {
  syntax: "<color>";
  inherits: true;
  initial-value: rgba(0, 200, 255, 0.32);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body.km-landing {
  margin: 0;
  font-family: var(--km-font);
  color: var(--km-ink);
  background: var(--km-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

body.km-landing a {
  color: inherit;
  text-decoration: none;
}

body.km-landing img {
  max-width: 100%;
  height: auto;
  display: block;
}

body.km-landing .km-brand img.delta-logo,
body.km-landing .km-hero-logo,
body.km-landing .km-footer-brand img {
  max-width: none;
}

.km-wrap {
  width: min(var(--km-max), calc(100% - 1.5rem));
  margin-inline: auto;
}

/* Top bar */
.km-topbar {
  background: #eef2f6;
  border-bottom: 1px solid var(--km-line);
  font-size: 0.8rem;
  color: var(--km-muted);
}

.km-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 36px;
  flex-wrap: wrap;
  padding-block: 0.35rem;
}

.km-top-contact,
.km-top-links {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.km-top-links a:hover {
  color: var(--km-blue);
}

/* Header / drawer chrome: owned by shared km-header-chrome (km-site-skin-v1/assets/header.css). */
.km-btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.82rem;
}

/* Representatives — light section like live deltaww.ir */
.km-reps {
  background: linear-gradient(180deg, var(--km-reps-bg) 0%, var(--km-reps-bg-end) 100%);
  color: var(--km-ink);
  padding: 2.75rem 0 2.25rem;
  overflow: visible;
}

.km-section-head--light h2,
.km-section-head--light p {
  color: var(--km-navy);
}

.km-section-head--light p {
  color: var(--km-muted);
}

.km-reps-marquee {
  margin-top: 1.5rem;
  direction: ltr;
  padding-inline: clamp(0.75rem, 3vw, 1.5rem);
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
}

.km-reps-track {
  display: flex;
  gap: 1.15rem;
  width: max-content;
  padding-block: 0.5rem;
  padding-inline-start: 0.25rem;
  animation: km-rep-scroll 45s linear infinite;
}

.km-reps-marquee:hover .km-reps-track {
  animation-play-state: paused;
}

/* Filter by city — static, centered cards */
.km-reps-marquee.is-filtered {
  direction: rtl;
  mask-image: none;
  -webkit-mask-image: none;
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.km-reps-marquee.is-filtered .km-reps-track {
  animation: none !important;
  transform: none !important;
  width: 100%;
  max-width: var(--km-max);
  margin-inline: auto;
  justify-content: center;
  flex-wrap: wrap;
  padding-inline: 1rem;
  min-height: 12rem;
}

.km-reps-marquee.is-filtered .km-rep-card[data-rep-copy="1"] {
  display: none !important;
}

.km-reps-marquee.is-filtered .km-rep-card:not(.is-hidden) {
  scroll-snap-align: center;
}

@keyframes km-rep-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.km-rep-card {
  flex: 0 0 auto;
  width: min(300px, calc(100vw - 2.5rem));
  min-width: min(280px, calc(100vw - 2.5rem));
  max-width: 320px;
  padding: 1.15rem 1.25rem 1.2rem;
  border-radius: 10px;
  border: 1px solid var(--km-rep-card-border);
  background: var(--km-rep-card-bg);
  direction: rtl;
  text-align: right;
  box-shadow: 0 4px 16px rgba(53, 65, 91, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.km-rep-head {
  margin-bottom: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--km-blue-soft);
}

.km-rep-title {
  min-width: 0;
  flex: 1;
}

.km-rep-name {
  margin: 0;
  color: var(--km-blue);
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.4;
}

.km-rep-city {
  display: block;
  margin-top: 0.15rem;
  color: var(--km-rep-text);
  font-weight: 700;
  font-size: 0.88rem;
}

.km-rep-repair-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-inline-start: 0.3rem;
  vertical-align: middle;
  line-height: 0;
}

.km-rep-repair-icon svg {
  width: 0.95em;
  height: 0.95em;
  max-width: 14px;
  max-height: 14px;
  display: block;
  flex-shrink: 0;
}

.km-reps-filter .km-rep-repair-icon svg {
  max-width: 12px;
  max-height: 12px;
}

.km-rep-block {
  padding-top: 0.65rem;
  margin-top: 0.65rem;
  border-top: 1px solid #d1d1d1;
}

.km-rep-label {
  display: block;
  color: var(--km-rep-label);
  font-weight: 600;
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
}

.km-rep-lines {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.km-rep-phone {
  direction: ltr;
  unicode-bidi: plaintext;
  display: block;
  color: var(--km-rep-phone);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  line-height: 1.5;
  text-align: left;
}

.km-rep-phone:hover {
  color: var(--km-blue-dark);
  text-decoration: underline;
}

.km-rep-block--address .km-rep-address {
  margin: 0;
  color: var(--km-rep-text);
  font-weight: 500;
  font-size: 0.86rem;
  line-height: 1.65;
}

.km-section-head--reps {
  margin-bottom: 1.25rem;
  padding-bottom: 0;
}

.km-section-head--reps h2 {
  margin: 0;
}

.km-section-head--reps h2::after {
  display: none;
}

.km-btn-outline-light {
  background: transparent;
  border: 1px solid var(--km-blue);
  box-shadow: none;
  color: var(--km-blue) !important;
}

.km-btn-outline-light:hover {
  background: var(--km-blue-soft);
  color: var(--km-blue-dark) !important;
  transform: translateY(-1px);
}

/* Mobile drawer — full live menu parity */
.km-drawer {
  display: none;
}

.km-drawer.is-open {
  display: block;
}

.km-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(21, 37, 53, 0.5);
  z-index: 80;
}

.km-drawer-panel {
  position: fixed;
  top: 0;
  inset-inline-end: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: #fff;
  z-index: 81;
  display: flex;
  flex-direction: column;
  padding: 1rem 1rem 1.25rem;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform 0.25s ease;
}

[dir="rtl"] .km-drawer-panel {
  transform: translateX(-100%);
}

.km-drawer.is-open .km-drawer-panel {
  transform: translateX(0);
}

.km-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--km-line);
}

.km-drawer-close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--km-line);
  border-radius: 8px;
  background: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.km-drawer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  overflow-y: auto;
}

.km-drawer-menu > li {
  border-bottom: 1px solid var(--km-line);
}

.km-drawer-menu > li > a,
.km-drawer-toggle {
  display: block;
  width: 100%;
  text-align: start;
  padding: 0.75rem 0.25rem;
  font: inherit;
  font-weight: 600;
  color: var(--km-ink);
  background: none;
  border: none;
  cursor: pointer;
}

.km-drawer-toggle::after {
  content: "▾";
  float: inline-end;
  opacity: 0.5;
}

.km-drawer-menu li.is-expanded .km-drawer-toggle::after {
  transform: rotate(180deg);
  display: inline-block;
}

.km-drawer-sub {
  list-style: none;
  margin: 0;
  padding: 0 0 0.5rem 0.75rem;
  display: none;
}

.km-drawer-menu li.is-expanded .km-drawer-sub {
  display: block;
}

.km-drawer-sub a {
  display: block;
  padding: 0.45rem 0;
  font-size: 0.88rem;
  color: var(--km-muted);
}

.km-drawer-sub a:hover {
  color: var(--km-blue);
}

.km-drawer-cta {
  width: 100%;
  margin-top: 0.75rem;
}

body.km-drawer-open {
  overflow: hidden;
}

.km-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #00a8f0 0%, #0090e0 42%, #0070b8 100%);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  box-shadow: 0 8px 22px rgba(0, 112, 184, 0.38);
  white-space: nowrap;
}

.km-btn:hover {
  background: linear-gradient(135deg, #1bb4ff 0%, #00a0ea 45%, #0082d0 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 144, 224, 0.45);
  filter: saturate(1.06);
}

.km-btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(0, 112, 184, 0.32);
}

.km-btn-accent {
  background: linear-gradient(135deg, var(--km-accent) 0%, #fbbf24 100%);
  color: #1a1206 !important;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.38);
}

.km-btn-accent:hover {
  background: linear-gradient(135deg, var(--km-accent-dark) 0%, var(--km-accent) 100%);
  color: #1a1206 !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(217, 119, 6, 0.42);
}

.km-btn-outline {
  background: transparent;
  color: var(--km-blue) !important;
  border: 2px solid var(--km-blue);
  box-shadow: none;
}

.km-btn-outline:hover {
  background: var(--km-blue-soft);
  color: var(--km-blue-dark) !important;
}

.km-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.55rem;
  animation: kmFadeUp 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.km-hero-sublink {
  margin: 0 0 1.1rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

.km-hero-sublink a {
  color: var(--km-blue, #0486dc);
  text-decoration: none;
  border-bottom: 1px solid rgba(4, 134, 220, 0.35);
  font-weight: 600;
}

.km-hero-sublink a:hover {
  border-bottom-color: currentColor;
}

.km-hero-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
}

.km-hero-stat {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  padding: 0.55rem 0.45rem;
  text-align: center;
  box-shadow: 0 4px 14px rgba(30, 58, 82, 0.06);
}

.km-hero-stat strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--km-blue-dark);
  line-height: 1.2;
}

.km-hero-stat span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--km-muted);
}

.km-hero-stat--gold {
  background: linear-gradient(145deg, #fff8e8 0%, #fde68a 55%, #fbbf24 100%);
  border-color: rgba(217, 119, 6, 0.45);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.22);
}

.km-hero-stat--gold strong {
  color: #92400e;
  font-size: 0.92rem;
}

.km-hero-stat--gold span {
  color: #b45309;
}

.km-hero-trust {
  margin: 0;
  font-size: 0.82rem;
  color: var(--km-muted);
  font-weight: 600;
}

.km-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--km-line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}

.km-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--km-ink);
}

/* Hero — split: product carousel LEFT (~20% wider), copy RIGHT anchored to divider */
.km-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(
    to right,
    #005a9e 0%,
    #0078c8 28%,
    #0090e0 52%,
    #e8f4fc 54.55%,
    #f3f8fc 100%
  );
  direction: ltr;
}

.km-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: clamp(300px, 34vw, 460px);
  max-width: 1440px;
  width: 100%;
  margin-inline: auto;
}

.km-hero-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.35rem, 1vw, 0.75rem);
  overflow: hidden;
  --km-hero-a: #00b4f5;
  --km-hero-b: #0090e0;
  --km-hero-c: #006bb3;
  --km-hero-glow: rgba(0, 200, 255, 0.32);
  background:
    radial-gradient(ellipse 70% 60% at 30% 35%, rgba(255, 255, 255, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 55% 50% at 78% 70%, var(--km-hero-glow) 0%, transparent 50%),
    linear-gradient(145deg, var(--km-hero-a) 0%, var(--km-hero-b) 42%, var(--km-hero-c) 100%);
  background-size: 140% 140%, 140% 140%, 160% 160%;
  background-position: 30% 35%, 78% 70%, 40% 50%;
  animation: kmHeroBgDrift 14s ease-in-out infinite;
  transition:
    --km-hero-a 0.5s ease,
    --km-hero-b 0.5s ease,
    --km-hero-c 0.5s ease,
    --km-hero-glow 0.5s ease;
}

.km-hero-showcase[data-tint="0"] {
  --km-hero-a: #00b4f5;
  --km-hero-b: #0090e0;
  --km-hero-c: #006bb3;
  --km-hero-glow: rgba(0, 200, 255, 0.32);
}
.km-hero-showcase[data-tint="1"] {
  --km-hero-a: #12c4ff;
  --km-hero-b: #0098e8;
  --km-hero-c: #0070bf;
  --km-hero-glow: rgba(40, 210, 255, 0.34);
}
.km-hero-showcase[data-tint="2"] {
  --km-hero-a: #00a8ef;
  --km-hero-b: #0082d4;
  --km-hero-c: #005a9e;
  --km-hero-glow: rgba(0, 170, 240, 0.3);
}
.km-hero-showcase[data-tint="3"] {
  --km-hero-a: #1ad0ff;
  --km-hero-b: #00a0ea;
  --km-hero-c: #0078c4;
  --km-hero-glow: rgba(60, 220, 255, 0.36);
}
.km-hero-showcase[data-tint="4"] {
  --km-hero-a: #38c8f8;
  --km-hero-b: #14a4e4;
  --km-hero-c: #0a7cbc;
  --km-hero-glow: rgba(90, 210, 255, 0.34);
}
.km-hero-showcase[data-tint="5"] {
  --km-hero-a: #00b0ee;
  --km-hero-b: #0088d8;
  --km-hero-c: #0064a8;
  --km-hero-glow: rgba(20, 190, 250, 0.3);
}
.km-hero-showcase[data-tint="6"] {
  --km-hero-a: #009ee6;
  --km-hero-b: #0078c8;
  --km-hero-c: #004f92;
  --km-hero-glow: rgba(0, 160, 230, 0.28);
}
.km-hero-showcase[data-tint="7"] {
  --km-hero-a: #00c2f0;
  --km-hero-b: #00a0d8;
  --km-hero-c: #0078b0;
  --km-hero-glow: rgba(0, 220, 230, 0.34);
}

.km-hero-breath {
  position: absolute;
  inset: -8%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 48% at 28% 32%, rgba(255, 255, 255, 0.28) 0%, transparent 58%),
    radial-gradient(ellipse 48% 42% at 72% 68%, rgba(0, 230, 255, 0.26) 0%, transparent 55%),
    radial-gradient(ellipse 40% 36% at 55% 45%, rgba(0, 140, 220, 0.18) 0%, transparent 60%);
  mix-blend-mode: soft-light;
  opacity: 0.75;
  animation: kmHeroBreath 7.5s ease-in-out infinite;
  transition: filter 0.45s ease;
}
.km-hero-showcase[data-tint="1"] .km-hero-breath { filter: hue-rotate(10deg); }
.km-hero-showcase[data-tint="2"] .km-hero-breath { filter: hue-rotate(-12deg); }
.km-hero-showcase[data-tint="3"] .km-hero-breath { filter: hue-rotate(16deg); }
.km-hero-showcase[data-tint="4"] .km-hero-breath { filter: hue-rotate(6deg) saturate(1.05); }
.km-hero-showcase[data-tint="5"] .km-hero-breath { filter: hue-rotate(-6deg); }
.km-hero-showcase[data-tint="6"] .km-hero-breath { filter: hue-rotate(-18deg) saturate(0.95); }
.km-hero-showcase[data-tint="7"] .km-hero-breath { filter: hue-rotate(22deg); }

.km-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
}

.km-hero-glow--a {
  width: min(420px, 55vw);
  height: min(420px, 55vw);
  left: 8%;
  top: 18%;
  background: rgba(255, 255, 255, 0.22);
  animation: kmGlowPulse 5.5s ease-in-out infinite;
}

.km-hero-glow--b {
  width: min(320px, 45vw);
  height: min(320px, 45vw);
  right: 10%;
  bottom: 8%;
  background: rgba(0, 210, 255, 0.28);
  animation: kmGlowPulse 6.5s ease-in-out 0.8s infinite;
}

.km-hero-carousel {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
  user-select: none;
  touch-action: pan-y;
}

.km-hero-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 68% 62% at 50% 46%, transparent 38%, rgba(0, 144, 224, 0.22) 70%, rgba(0, 100, 170, 0.38) 100%);
}

.km-hero-carousel-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  cursor: grab;
}

.km-hero-carousel-viewport::before {
  content: "";
  position: absolute;
  inset: -30%;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    118deg,
    transparent 0%,
    transparent 44%,
    rgba(255, 255, 255, 0.06) 48%,
    rgba(255, 255, 255, 0.18) 50.5%,
    rgba(255, 255, 255, 0.06) 53%,
    transparent 58%,
    transparent 100%
  );
  background-size: 240% 240%;
  background-position: 130% 40%;
  mix-blend-mode: soft-light;
  opacity: 0;
  animation: kmHeroShimmer 11s ease-in-out infinite;
}

.km-hero-carousel.is-dragging .km-hero-carousel-viewport {
  cursor: grabbing;
}

.km-hero-carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.km-hero-carousel-slide {
  flex: 0 0 100%;
  margin: 0;
  min-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.35rem 0.15rem;
  box-sizing: border-box;
}

.km-hero-carousel-slide img {
  display: block;
  width: min(100%, 900px);
  max-width: 100%;
  max-height: clamp(300px, 40vw, 440px);
  height: auto;
  object-fit: contain;
  background: transparent;
  /* dissolve rectangular photo edges into showcase blue */
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 9%, #000 91%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 11%, #000 84%, transparent 100%);
  -webkit-mask-composite: destination-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 9%, #000 91%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 11%, #000 84%, transparent 100%);
  mask-composite: intersect;
  filter: drop-shadow(0 10px 22px rgba(8, 20, 32, 0.22));
  animation: none;
  pointer-events: none;
}

.km-hero-carousel-slide.is-active img {
  animation: kmHeroHueShift 10s ease-in-out infinite;
}

.km-hero-carousel-slide figcaption {
  display: none;
}

.km-hero-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0b1520;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(8, 20, 32, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.km-hero-carousel:hover .km-hero-carousel-btn,
.km-hero-carousel:focus-within .km-hero-carousel-btn {
  opacity: 1;
  pointer-events: auto;
}

.km-hero-carousel-btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.06);
}

.km-hero-carousel-btn--prev {
  left: 0.35rem;
}

.km-hero-carousel-btn--next {
  right: 0.35rem;
}

.km-hero-carousel-dots {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.55rem;
}

.km-hero-carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.km-hero-carousel-dot.is-active {
  width: 22px;
  background: #fff;
}

.km-hero-panel {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(1.5rem, 3.5vw, 2.75rem) clamp(1.25rem, 3vw, 2.25rem) clamp(1.5rem, 3.5vw, 2.75rem) clamp(1.15rem, 2.4vw, 1.85rem);
  background: rgba(238, 243, 248, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-inline-start: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: inset 8px 0 24px rgba(30, 58, 82, 0.05);
}

.km-hero-copy {
  max-width: 34rem;
  width: 100%;
  text-align: right;
  direction: rtl;
  animation: kmFadeUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.km-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: var(--km-blue-dark);
  font-weight: 700;
  font-size: 0.88rem;
  animation: kmFadeUp 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.km-hero-logo {
  height: 22px !important;
  width: auto !important;
}

.km-hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.55rem, 3.2vw, 2.45rem);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--km-navy);
  animation: kmFadeUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.04s both;
}

.km-hero-copy > p {
  margin: 0 0 1.35rem;
  color: var(--km-muted);
  font-size: 0.98rem;
  max-width: 34rem;
  animation: kmFadeUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.06s both;
}

/* Mobile-only hero strip (reps swipe + AI CTA) — desktop hidden */
.km-hero-mobile {
  display: none;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  overflow: hidden;
}

.km-hero-mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.km-hero-mobile-eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--km-blue);
}

.km-hero-mobile-more {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--km-navy);
  text-decoration: none;
}

.km-hero-reps {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  padding: 0.15rem 0.1rem 0.55rem;
  margin: 0 0 0.75rem;
  scrollbar-width: none;
  touch-action: pan-x;
  cursor: grab;
}

.km-hero-reps::-webkit-scrollbar {
  display: none;
}

.km-hero-reps.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.km-hero-reps-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.65rem;
  width: max-content;
  max-width: none;
}

.km-hero-rep-card {
  scroll-snap-align: start;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 210px;
  max-width: 72vw;
  display: grid;
  gap: 0.35rem;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 144, 224, 0.22);
  background: linear-gradient(160deg, #fff 0%, #f3f8fc 100%);
  box-shadow: 0 8px 20px rgba(20, 55, 90, 0.08);
  text-align: right;
}

.km-hero-rep-city {
  display: inline-flex;
  align-self: start;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(0, 144, 224, 0.12);
  color: var(--km-blue-dark, #0070b8);
  font-size: 0.68rem;
  font-weight: 800;
}

.km-hero-rep-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--km-navy);
  line-height: 1.35;
}

.km-hero-rep-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.2rem;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: var(--km-blue);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.78rem;
  font-weight: 800;
}

.km-hero-rep-call.is-disabled {
  background: #e8eef4;
  color: var(--km-muted) !important;
}

.km-hero-ai-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 52px;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.35);
  overflow: hidden;
}

.km-hero-ai-dot {
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #bbf7d0;
  box-shadow: 0 0 0 4px rgba(187, 247, 208, 0.35);
  animation: km-hero-ai-pulse 1.6s ease-in-out infinite;
}

.km-hero-ai-label {
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
  color: #fff !important;
  white-space: nowrap;
}

.km-hero-ai-go {
  flex: 0 0 auto;
  opacity: 0.9;
  font-size: 1.1rem;
  color: #fff !important;
}

.km-hero-equip-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 52px;
  margin-top: 0.55rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 24px rgba(217, 119, 6, 0.32);
  overflow: hidden;
}

.km-hero-equip-label {
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
  color: #fff !important;
  white-space: nowrap;
}

.km-hero-equip-go {
  flex: 0 0 auto;
  opacity: 0.95;
  font-size: 1.1rem;
  color: #fff !important;
}

@keyframes km-hero-ai-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.7;
  }
}

@keyframes kmFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes kmGlowPulse {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes kmHeroBreath {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1) translate3d(0, 0, 0);
  }
  40% {
    opacity: 0.9;
    transform: scale(1.06) translate3d(1.5%, -1%, 0);
  }
  70% {
    opacity: 0.7;
    transform: scale(1.03) translate3d(-1%, 1.2%, 0);
  }
}

@keyframes kmHeroBgDrift {
  0%,
  100% {
    background-position: 28% 32%, 76% 68%, 38% 48%;
  }
  50% {
    background-position: 42% 40%, 62% 58%, 58% 42%;
  }
}

@keyframes kmHeroHalo {
  0%,
  100% {
    filter:
      drop-shadow(0 18px 36px rgba(8, 20, 32, 0.4))
      drop-shadow(0 0 22px rgba(0, 190, 255, 0.22));
  }
  50% {
    filter:
      drop-shadow(0 20px 40px rgba(8, 20, 32, 0.45))
      drop-shadow(0 0 36px rgba(0, 210, 255, 0.42));
  }
}

@keyframes kmHeroHueShift {
  0%,
  100% {
    filter: drop-shadow(0 10px 22px rgba(8, 20, 32, 0.22)) hue-rotate(-6deg);
  }
  50% {
    filter: drop-shadow(0 10px 22px rgba(8, 20, 32, 0.22)) hue-rotate(6deg);
  }
}

@keyframes kmHeroShimmer {
  0% {
    background-position: 135% 35%;
    opacity: 0;
  }
  12% {
    opacity: 0.7;
  }
  48% {
    background-position: 45% 55%;
    opacity: 0.55;
  }
  78% {
    opacity: 0.35;
  }
  100% {
    background-position: -25% 70%;
    opacity: 0;
  }
}

/* Trust */
.km-trust {
  background: var(--km-bg);
  border-bottom: 1px solid var(--km-line);
}

.km-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.5rem 0;
}

.km-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--km-rep-text);
  line-height: 1.55;
}

.km-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--km-blue-soft);
  color: var(--km-blue);
  display: grid;
  place-items: center;
}

.km-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Sections */
.km-section {
  padding: 3.5rem 0;
}

.km-section-head {
  text-align: center;
  margin-bottom: 2rem;
}

.km-eyebrow {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--km-blue-soft);
  color: var(--km-blue-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.km-eyebrow--light {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.km-eyebrow--on-blue {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.km-section-head-main {
  text-align: right;
}

.km-section-head-main .km-eyebrow {
  display: inline-block;
}

.km-section-head-main h2::after {
  margin-inline-start: 0;
  margin-inline-end: auto;
}

.km-section-head h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.3rem, 2.3vw, 1.8rem);
  font-weight: 800;
  color: var(--km-navy);
}

.km-section-head h2::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin: 0.55rem auto 0;
  background: var(--km-blue);
  border-radius: 2px;
}

.km-section-head p {
  margin: 0.55rem 0 0;
  color: var(--km-muted);
}

.km-center {
  text-align: center;
  margin-top: 1.75rem;
}

.km-section-head--row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: right;
  margin-bottom: 1.5rem;
}

.km-section-head--row h2 {
  margin: 0;
}

.km-section-head--row h2::after {
  margin-inline-start: 0;
  margin-inline-end: auto;
}

.km-section-head--row h2 a {
  color: inherit;
}

.km-section-head--row h2 a:hover {
  color: var(--km-blue);
}

.km-link-more {
  color: var(--km-blue) !important;
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
}

.km-link-more:hover {
  color: var(--km-blue-hover) !important;
}

/* Resources hub (was quick links) */
.km-quick {
  padding: 1.75rem 0 0.5rem;
  background: #fff;
}

.km-resources {
  padding: 2.25rem 0;
  background: var(--km-bg);
}

.km-resources-grid,
.km-quick-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
}

.km-resource-card,
.km-quick-card {
  border: 1px solid var(--km-line);
  border-radius: var(--km-radius);
  padding: 1rem 0.85rem;
  text-align: center;
  background: var(--km-white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 5.25rem;
}

.km-resource-card:hover,
.km-quick-card:hover {
  border-color: rgba(4, 134, 220, 0.45);
  box-shadow: var(--km-shadow);
  transform: translateY(-2px);
}

.km-industries {
  padding-bottom: 0.5rem;
}

.km-industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.km-industry-card {
  border: 1px solid var(--km-line);
  border-radius: var(--km-radius);
  padding: 1.1rem 1rem;
  background: var(--km-white);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 6.75rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.km-industry-card:hover {
  border-color: rgba(4, 134, 220, 0.5);
  box-shadow: 0 12px 32px rgba(21, 37, 53, 0.12);
  transform: translateY(-4px);
}

.km-industry-card h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--km-navy);
}

.km-industry-card p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--km-muted);
  flex: 1;
}

.km-reps-filters-rail {
  display: block;
  margin-top: 0.85rem;
  max-width: 100%;
  min-width: 0;
}

.km-reps-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  max-width: 100%;
  min-width: 0;
}

.km-reps-filters-nav {
  display: none;
}

.km-reps-filter {
  border: 1px solid var(--km-line);
  border-radius: 999px;
  background: var(--km-white);
  color: var(--km-ink);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.km-reps-filter:hover,
.km-reps-filter.is-active {
  background: var(--km-blue);
  border-color: var(--km-blue);
  color: #fff;
}

.km-rep-card.is-hidden {
  display: none;
}

.km-resource-card strong,
.km-quick-card strong {
  display: block;
  font-size: 0.98rem;
  color: var(--km-navy);
  margin-bottom: 0.25rem;
}

.km-resource-card span,
.km-quick-card span {
  font-size: 0.78rem;
  color: var(--km-muted);
}

/* Catalog banner + grid */
.km-catalog-banner {
  padding: 1.5rem 0;
  background: var(--km-bg);
}

.km-catalog-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--km-line);
  border-radius: var(--km-radius);
  padding: 1.25rem 1.5rem;
}

.km-catalog-banner-inner img {
  max-height: 90px;
  width: auto;
}

.km-catalog-banner-copy h2 {
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
  color: var(--km-navy);
}

.km-catalog-banner-copy p {
  margin: 0 0 0.85rem;
  color: var(--km-muted);
}

.km-section--catalog {
  padding-top: 1rem;
}

.km-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.km-catalog-tile {
  background: #fff;
  border: 1px solid var(--km-line);
  border-radius: 10px;
  padding: 0.95rem 0.85rem;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.km-catalog-tile:hover {
  border-color: var(--km-blue);
  box-shadow: var(--km-shadow);
}

.km-catalog-tile h3 {
  margin: 0 0 0.45rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--km-navy);
  line-height: 1.45;
}

.km-catalog-dl {
  font-size: 0.76rem;
  color: var(--km-blue);
  font-weight: 700;
}

/* Horizontal scroll rows */
.km-scroll-wrap {
  position: relative;
}

.km-scroll-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid var(--km-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: var(--km-navy);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--km-shadow);
  transition: background 0.15s ease, color 0.15s ease;
}

.km-scroll-btn:hover {
  background: var(--km-blue);
  border-color: var(--km-blue);
  color: #fff;
}

.km-scroll-btn--prev {
  inset-inline-start: -0.35rem;
}

.km-scroll-btn--next {
  inset-inline-end: -0.35rem;
}

.km-scroll-row {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.km-scroll-row > * {
  scroll-snap-align: start;
  flex: 0 0 auto;
}

.km-video-card {
  width: min(280px, 78vw);
}

.km-video-card video {
  width: 100%;
  border-radius: 10px;
  background: #000;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

/* Courses */
.km-courses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.km-course-card {
  border: 1px solid var(--km-line);
  border-radius: var(--km-radius);
  overflow: hidden;
  background: #fff;
}

.km-course-media img {
  width: 100%;
  aspect-ratio: 710 / 608;
  object-fit: cover;
}

.km-course-body {
  padding: 1rem;
}

.km-course-body h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.km-course-body p {
  margin: 0 0 0.85rem;
  font-size: 0.84rem;
  color: var(--km-muted);
  line-height: 1.65;
}

.km-btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
}

/* Inventory */
.km-inventory {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.km-inventory-card {
  background: #fff;
  border: 1px solid var(--km-line);
  border-radius: var(--km-radius);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.km-inventory-card:hover {
  box-shadow: var(--km-shadow);
  transform: translateY(-3px);
}

.km-inventory-media {
  aspect-ratio: 535 / 360;
  overflow: hidden;
  background: #eef2f6;
}

.km-inventory-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.km-inventory-card h3 {
  margin: 0;
  padding: 0.85rem;
  font-size: 0.86rem;
  line-height: 1.5;
  text-align: center;
}

/* Shop product carousel cards */
.km-shop-product {
  width: min(200px, 44vw);
  border: 1px solid var(--km-line);
  border-radius: 10px;
  background: #fff;
  padding: 0.75rem;
  text-align: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.km-shop-product:hover {
  box-shadow: var(--km-shadow);
  transform: translateY(-2px);
}

.km-shop-product-media {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 0.5rem;
}

.km-shop-product-media img {
  max-height: 140px;
  width: auto;
  object-fit: contain;
}

.km-shop-product h3 {
  margin: 0.35rem 0;
  font-size: 0.8rem;
  line-height: 1.45;
  font-weight: 800;
}

.km-shop-cta {
  font-size: 0.72rem;
  color: var(--km-blue);
  font-weight: 700;
  line-height: 1.45;
}

.km-section--products {
  padding-block: 2.5rem;
}

/* About — story strip */
.km-about {
  background: linear-gradient(180deg, #f8fafc 0%, #eef3f8 55%, #f8fafc 100%);
  padding: 3.25rem 0;
  border-block: 1px solid var(--km-line);
}

.km-about-story {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1.75rem;
}

.km-about-gallery {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 0.65rem;
  height: 280px;
  max-width: 520px;
}

.km-about-gallery-main {
  grid-row: 1 / span 2;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--km-line);
  box-shadow: 0 10px 28px rgba(21, 37, 53, 0.08);
  display: grid;
  place-items: center;
}

.km-about-gallery-main img {
  width: 78%;
  height: auto;
  max-height: 78%;
  object-fit: contain;
  display: block;
}

.km-about-gallery-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.km-about-gallery-side {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #dbe7f2;
  min-height: 0;
}

.km-about-copy p {
  margin: 0 0 0.85rem;
  color: var(--km-muted);
  font-size: 0.92rem;
  line-height: 1.85;
}

.km-about-copy strong {
  color: var(--km-navy);
}

.km-about-stats {
  list-style: none;
  margin: 1rem 0 1.15rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
}

.km-about-stats li {
  background: #fff;
  border: 1px solid var(--km-line);
  border-radius: 12px;
  padding: 0.55rem 0.4rem;
  text-align: center;
}

.km-about-stats strong {
  display: block;
  color: var(--km-blue-dark);
  font-size: 0.95rem;
  font-weight: 900;
}

.km-about-stats span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--km-muted);
}

.km-about-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.km-about-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.km-about-service {
  background: #fff;
  border: 1px solid var(--km-line);
  border-radius: var(--km-radius);
  padding: 1rem 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 8.5rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.km-about-service:hover {
  border-color: rgba(4, 134, 220, 0.5);
  box-shadow: 0 12px 28px rgba(21, 37, 53, 0.1);
  transform: translateY(-3px);
}

.km-about-service h3 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--km-navy);
}

.km-about-service p {
  margin: 0;
  flex: 1;
  font-size: 0.8rem;
  color: var(--km-muted);
  line-height: 1.65;
}

.km-about-people,
.km-about-demos {
  margin-bottom: 0.35rem;
}

.km-about-people-grid {
  display: grid;
  grid-template-columns: minmax(240px, 28rem);
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.km-about-person {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  background: #fff;
  border: 1px solid var(--km-line);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  text-align: center;
}

.km-about-person strong {
  display: block;
  font-size: 0.88rem;
  color: var(--km-navy);
}

.km-about-person span {
  display: block;
  font-size: 0.74rem;
  color: var(--km-muted);
  line-height: 1.5;
}

.km-about-demos-head {
  text-align: center;
  margin-bottom: 1rem;
}

.km-about-demos-head h3 {
  margin: 0.35rem 0 0;
  font-size: 1.15rem;
  color: var(--km-navy);
}

.km-about-demos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.km-about-demo {
  margin: 0;
  background: #fff;
  border: 1px solid var(--km-line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.km-about-demo:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(21, 37, 53, 0.1);
}

.km-about-demo img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  background: #e8eef5;
}

.km-about-demo figcaption {
  padding: 0.7rem 0.8rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.km-about-demo strong {
  font-size: 0.84rem;
  color: var(--km-navy);
}

.km-about-demo span {
  font-size: 0.74rem;
  color: var(--km-muted);
}

.km-btn-outline-light {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: none;
}

.km-btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* SEO collapsible blocks */
.km-seo {
  background: var(--km-bg);
  padding: 2.5rem 0 3rem;
}

.km-seo-wrap {
  display: grid;
  gap: 0.65rem;
}

.km-seo-block {
  background: #fff;
  border: 1px solid var(--km-line);
  border-radius: 10px;
  padding: 0.85rem 1rem;
}

.km-seo-block summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--km-navy);
  list-style: none;
}

.km-seo-block summary::-webkit-details-marker {
  display: none;
}

.km-seo-block summary::before {
  content: "▾ ";
  color: var(--km-blue);
}

.km-seo-block:not([open]) summary::before {
  content: "▸ ";
}

.km-seo-block p {
  margin: 0.75rem 0 0;
  color: var(--km-muted);
  line-height: 1.85;
  font-size: 0.9rem;
}

/* Categories */
.km-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.km-cat {
  background: #fff;
  border: 1px solid var(--km-line);
  border-radius: var(--km-radius);
  padding: 1.2rem 0.9rem;
  text-align: center;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.km-cat:hover {
  border-color: rgba(4, 134, 220, 0.55);
  box-shadow: 0 12px 32px rgba(21, 37, 53, 0.11);
  transform: translateY(-4px);
}

.km-cat .km-icon {
  margin: 0 auto 0.8rem;
  width: 52px;
  height: 52px;
  border-radius: 14px;
}

.km-cat .km-icon svg {
  width: 28px;
  height: 28px;
}

.km-cat h3 {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
  font-weight: 800;
}

.km-cat p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--km-muted);
}

/* Products */
.km-products {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.9rem;
}

.km-product-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.km-product-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.km-product-quote {
  font-size: 0.76rem;
  font-weight: 700;
  color: #1a1206;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--km-accent-soft);
  border: 1px solid rgba(245, 158, 11, 0.35);
  transition: background 0.2s ease, transform 0.2s ease;
}

.km-product-quote:hover {
  background: rgba(245, 158, 11, 0.28);
  color: #1a1206;
  transform: translateY(-1px);
}

.km-compare-add {
  align-self: center;
  border: 1px dashed var(--km-line);
  background: var(--km-white);
  color: var(--km-blue);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.km-compare-add:hover,
.km-compare-add.is-active {
  background: var(--km-blue-soft);
  border-color: var(--km-blue);
  color: var(--km-blue-dark);
}

.km-compare-add.is-active {
  border-style: solid;
}

.km-product {
  background: #fff;
  border: 1px solid var(--km-line);
  border-radius: var(--km-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.km-product:hover {
  box-shadow: 0 14px 36px rgba(21, 37, 53, 0.13);
  transform: translateY(-4px);
  border-color: rgba(4, 134, 220, 0.35);
}

.km-product-media {
  aspect-ratio: 1;
  background: #ffffff !important;
  display: grid;
  place-items: center;
  padding: 1.1rem;
  position: relative;
}

.km-product-badges {
  position: absolute;
  top: 0.55rem;
  inset-inline-start: 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  z-index: 1;
}

.km-badge {
  display: inline-block;
  padding: 0.18rem 0.45rem;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.3;
}

.km-badge--stock {
  background: #e8f7ee;
  color: #1a7f4b;
}

.km-badge--warranty {
  background: var(--km-blue-soft);
  color: var(--km-blue-dark);
}

.km-product-media img {
  max-height: 190px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  background: #ffffff;
}

.km-product-body {
  padding: 0.85rem 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
}

.km-product-body h3 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
}

.km-product-body p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--km-muted);
}

.km-product-link {
  margin-top: auto;
  padding-top: 0.5rem;
  color: var(--km-blue) !important;
  font-weight: 700;
  font-size: 0.84rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Training */
.km-train {
  background: linear-gradient(135deg, #0370b8 0%, #0486dc 100%);
  color: #fff;
  padding: 3rem 0;
}

.km-train-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.75rem;
  align-items: center;
}

.km-train-media {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.km-train-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 260px;
}

.km-train-copy h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.3rem, 2.3vw, 1.8rem);
  font-weight: 800;
}

.km-train-copy > p {
  margin: 0 0 1.1rem;
  color: rgba(255, 255, 255, 0.82);
}

.km-train-points {
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.km-train-points li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.km-train-points li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.km-btn-light {
  background: #fff;
  color: var(--km-blue-dark) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.km-btn-light:hover {
  background: var(--km-bg);
  color: var(--km-blue-dark) !important;
}

/* News */
.km-news {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.km-news-card {
  border: 1px solid var(--km-line);
  border-radius: var(--km-radius);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.km-news-card:hover {
  box-shadow: var(--km-shadow);
  transform: translateY(-3px);
}

.km-news-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eef2f6;
}

.km-news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.km-news-card:hover .km-news-media img {
  transform: scale(1.04);
}

.km-news-body {
  padding: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.km-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--km-blue-soft);
  color: var(--km-blue);
  font-size: 0.72rem;
  font-weight: 700;
}

.km-news-body h3 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.45;
}

.km-news-meta {
  font-size: 0.76rem;
  color: var(--km-muted);
}

.km-news-body .km-product-link {
  margin-top: auto;
}

/* RFQ */
.km-rfq {
  padding: 2.75rem 0;
  background: linear-gradient(135deg, #eef3f8 0%, #e4ebf2 100%);
  border-top: 1px solid var(--km-line);
}

.km-rfq-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2rem;
  align-items: start;
}

.km-rfq-copy h2 {
  margin: 0 0 0.65rem;
  color: var(--km-navy);
  font-size: 1.45rem;
}

.km-rfq-copy p {
  margin: 0 0 1rem;
  color: var(--km-muted);
  font-size: 0.92rem;
}

.km-rfq-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
  font-size: 0.86rem;
  color: var(--km-ink);
}

.km-rfq-points li::before {
  content: "✓ ";
  color: var(--km-blue);
  font-weight: 800;
}

.km-rfq-form {
  background: var(--km-white);
  border: 1px solid var(--km-line);
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
  box-shadow: var(--km-shadow);
  display: grid;
  gap: 0.85rem;
}

.km-rfq-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--km-navy);
}

.km-rfq-form input,
.km-rfq-form select,
.km-rfq-form textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--km-line);
  border-radius: 8px;
  font: inherit;
  font-size: 0.88rem;
  background: #fff;
}

.km-rfq-form input:focus,
.km-rfq-form select:focus,
.km-rfq-form textarea:focus {
  outline: 2px solid var(--km-blue-soft);
  border-color: var(--km-blue);
}

.km-rfq-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.km-rfq-note {
  margin: 0;
  font-size: 0.75rem;
  color: var(--km-muted);
}

.km-rfq-status {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
}

.km-rfq-status[hidden] {
  display: none !important;
}

.km-rfq-status.is-success {
  background: #ecfdf5;
  color: #047857;
}

.km-rfq-status.is-error {
  background: #fef2f2;
  color: #b91c1c;
}

.km-rfq-form.is-success .km-rfq-note {
  color: #047857;
}

/* Testimonials */
.km-testimonials {
  background: var(--km-bg);
}

.km-testimonials-slider {
  position: relative;
}

.km-testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  transition: transform 0.45s ease;
}

.km-testimonials-track.is-carousel {
  display: flex;
  direction: ltr;
  overflow: hidden;
  gap: 0;
}

.km-testimonials-track.is-carousel .km-testimonial-slide {
  flex: 0 0 100%;
  direction: rtl;
}

.km-testimonial-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--km-line);
  border-radius: var(--km-radius);
  padding: 1rem 1.05rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--km-shadow-soft);
  position: relative;
  min-height: 100%;
}

.km-testimonial-quote {
  position: absolute;
  top: 0.55rem;
  inset-inline-start: 0.85rem;
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 900;
  color: var(--km-blue-soft);
  pointer-events: none;
}

.km-testimonial-text {
  margin: 0;
  padding-top: 0.35rem;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--km-ink);
}

.km-testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.78rem;
  color: var(--km-muted);
}

.km-testimonial-meta strong {
  color: var(--km-blue-dark);
  font-size: 0.82rem;
}

.km-testimonials-controls {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1rem;
}

.km-testimonials-slider.is-active .km-testimonials-controls {
  display: flex;
}

.km-testimonials-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--km-line);
  background: #fff;
  color: var(--km-blue);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.km-testimonials-btn:hover {
  background: var(--km-blue-soft);
  border-color: var(--km-blue);
}

.km-testimonials-dots {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.km-testimonials-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.km-testimonials-dots button.is-active {
  background: var(--km-blue);
  transform: scale(1.25);
}

/* Mobile conversion bar */
.km-convert-bar {
  display: none;
  position: fixed;
  inset-inline: 0;
  bottom: calc(3.85rem + env(safe-area-inset-bottom));
  z-index: 49;
  padding: 0 0.65rem;
  pointer-events: none;
  opacity: 0;
  transform: translateY(110%);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.km-convert-bar.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.km-convert-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  padding: 0.5rem 0.65rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--km-line);
  box-shadow: 0 8px 28px rgba(21, 37, 53, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.km-convert-bar-text {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--km-navy);
  line-height: 1.3;
  flex: 1;
  min-width: 0;
}

.km-convert-bar-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.km-convert-bar .km-btn {
  width: auto;
  white-space: nowrap;
  padding: 0.45rem 0.75rem;
  font-size: 0.75rem;
}

.km-convert-bar-tel {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--km-blue);
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  background: var(--km-blue-soft);
}

.km-convert-bar-tel:hover {
  color: var(--km-blue-dark);
}

body.km-landing.km-has-convert {
  padding-bottom: calc(7.4rem + env(safe-area-inset-bottom));
}

body.km-landing.km-has-convert.km-has-compare {
  padding-bottom: calc(10.5rem + env(safe-area-inset-bottom));
}

/* Footer FAQ */
.km-footer-faq {
  background: #f8fafc;
  border-top: 1px solid var(--km-line);
  padding: 1.35rem 0 1.1rem;
}

.km-faq-title {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: var(--km-ink);
}

.km-faq-list {
  display: grid;
  gap: 0.45rem;
}

.km-faq-item {
  background: #fff;
  border: 1px solid var(--km-line);
  border-radius: 12px;
  padding: 0.55rem 0.85rem;
}

.km-faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--km-ink);
  list-style: none;
}

.km-faq-item summary::-webkit-details-marker {
  display: none;
}

.km-faq-item p {
  margin: 0.55rem 0 0.15rem;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--km-muted);
}

/* Footer v2 */
.km-footer {
  margin-top: 0;
  padding: 0;
  border-top: none;
  background: var(--km-white);
}

.km-footer-hero {
  background: linear-gradient(135deg, #0486dc 0%, #0370b8 55%, #253d70 100%);
  color: #eef5ff;
  padding: 2rem 0;
}

.km-footer-hero-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem 1.75rem;
  align-items: center;
}

.km-footer-brandblock {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.km-footer-brandblock img {
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1);
}

.km-footer-brandblock strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
}

.km-footer-brandblock span {
  display: block;
  font-size: 0.78rem;
  opacity: 0.88;
}

.km-footer-tagline {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.75;
  max-width: 36rem;
}

.km-footer-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}

.km-btn-outline--on-dark {
  border-color: rgba(255, 255, 255, 0.75) !important;
  color: #fff !important;
}

.km-btn-outline--on-dark:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
}

.km-footer-body {
  padding: 2rem 0 1.5rem;
  background: #f8fafc;
  border-top: 1px solid var(--km-line);
}

.km-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.km-footer-col h4 {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--km-navy);
}

.km-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.84rem;
}

.km-footer-col a {
  color: var(--km-ink);
}

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

.km-footer-contact li {
  line-height: 1.65;
  color: var(--km-muted);
}

.km-footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--km-phone) !important;
  padding: 0.55rem 0.95rem;
  border-radius: 10px;
  border: 2px solid var(--km-phone-border);
  background: var(--km-phone-soft);
  text-decoration: none !important;
  line-height: 1.2;
  direction: ltr;
}

.km-footer-phone:hover {
  color: var(--km-phone-dark) !important;
  background: rgba(21, 128, 61, 0.22);
  border-color: var(--km-phone-dark);
}

.km-drawer-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0.85rem 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--km-phone) !important;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 2px solid var(--km-phone-border);
  background: var(--km-phone-soft);
  text-decoration: none !important;
  direction: ltr;
}

.km-mobile-dock a[href^="tel:"] {
  color: var(--km-phone);
}

.km-mobile-dock a[href^="tel:"] span {
  font-size: 1.35rem;
}

.km-mobile-dock a[href^="tel:"] small {
  color: var(--km-phone);
  font-size: 0.78rem;
  font-weight: 800;
}

.km-footer-bottom {
  background: #35415b;
  color: rgba(255, 255, 255, 0.82);
  padding: 0.85rem 0;
  font-size: 0.78rem;
}

.km-footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.km-footer-social-label {
  margin: 1rem 0 0.55rem;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--km-navy);
}

.km-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.km-footer-social-link {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--km-line);
  background: #fff;
  color: var(--km-ink) !important;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none !important;
}

.km-footer-social-link:hover {
  border-color: var(--km-blue);
  color: var(--km-blue) !important;
  background: var(--km-blue-soft);
}

.km-footer-social--bottom .km-footer-social-link {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff !important;
}

.km-footer-social--bottom .km-footer-social-link:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff !important;
}

/* Compare */
.km-compare-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 55;
  background: var(--km-white);
  border-top: 1px solid var(--km-line);
  box-shadow: 0 -8px 24px rgba(21, 37, 53, 0.12);
  padding: 0.65rem 0;
}

.km-compare-bar[hidden] {
  display: none !important;
}

.km-compare-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.km-compare-items {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  flex: 1;
}

.km-compare-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--km-bg);
  font-size: 0.75rem;
  white-space: nowrap;
}

.km-compare-chip button {
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--km-muted);
  font-size: 1rem;
  line-height: 1;
}

.km-compare-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.km-compare-clear {
  border: none;
  background: transparent;
  color: var(--km-muted);
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
}

.km-compare-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.km-compare-modal.is-open {
  display: flex;
}

.km-compare-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 19, 31, 0.45);
}

.km-compare-modal-panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(85vh, 720px);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--km-shadow);
  padding: 1rem 1.15rem 1.25rem;
}

.km-compare-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.km-compare-modal-head h3 {
  margin: 0;
  font-size: 1.05rem;
}

.km-compare-modal-close {
  border: none;
  background: var(--km-bg);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.km-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.km-compare-table th,
.km-compare-table td {
  border: 1px solid var(--km-line);
  padding: 0.55rem 0.65rem;
  text-align: center;
  vertical-align: middle;
}

.km-compare-table th {
  background: var(--km-bg);
  font-weight: 800;
}

.km-compare-table td:first-child {
  text-align: right;
  font-weight: 700;
  background: #fafbfc;
}

.km-compare-table img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-inline: auto;
}

/* Mobile dock */
.km-mobile-dock {
  display: none;
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 48;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--km-line);
  grid-template-columns: repeat(4, 1fr);
  padding: 0.35rem 0 calc(0.35rem + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 16px rgba(21, 37, 53, 0.08);
}

.km-mobile-dock a,
.km-mobile-dock button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  padding: 0.35rem 0.2rem;
  border: none;
  background: transparent;
  color: var(--km-ink);
  font: inherit;
  cursor: pointer;
}

.km-mobile-dock span {
  font-size: 1.1rem;
  line-height: 1;
}

.km-mobile-dock small {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--km-muted);
}

body.km-landing.km-has-dock {
  padding-bottom: calc(4.2rem + env(safe-area-inset-bottom));
}

body.km-landing.km-has-compare {
  padding-bottom: calc(7rem + env(safe-area-inset-bottom));
}

.km-top {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--km-blue);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(0, 163, 224, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 60;
}

.km-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.km-preview-banner {
  background: #0b4f6c;
  color: #fff;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem;
}

/* ===== Tablet ===== */
@media (max-width: 1200px) {
  .km-nav {
    font-size: 0.78rem;
    gap: 0.55rem;
  }
  .km-brand-mark small {
    display: none;
  }
  .km-resources-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1100px) {
  .km-products {
    grid-template-columns: repeat(3, 1fr);
  }
  .km-news {
    grid-template-columns: repeat(2, 1fr);
  }
  .km-cats {
    grid-template-columns: repeat(3, 1fr);
  }
  .km-industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  :root {
    --km-bar-h: 56px;
  }
  .km-header-nav-wrap {
    display: none !important;
  }
  .km-header-panel,
  .km-header-search,
  .km-header-actions .km-btn-consult {
    display: none !important;
  }
  .km-drawer-search {
    display: flex;
  }
  .km-header-bar-inner {
    justify-content: space-between;
    width: 100%;
  }
  .km-header-actions {
    margin-inline-start: auto;
  }
  .km-menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .km-menu-toggle span {
    margin: 3px 0;
  }
}

@media (max-width: 900px) {
  .km-resources-grid,
  .km-quick-grid,
  .km-catalog-grid,
  .km-inventory {
    grid-template-columns: repeat(2, 1fr);
  }
  .km-industries-grid {
    grid-template-columns: 1fr 1fr;
  }
  .km-courses {
    grid-template-columns: 1fr;
  }
  .km-about-story {
    grid-template-columns: 1fr;
  }
  .km-about-gallery {
    height: 240px;
    max-width: 100%;
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  }
  .km-about-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .km-about-services {
    grid-template-columns: 1fr 1fr;
  }
  .km-about-people-grid {
    grid-template-columns: 1fr;
  }
  .km-about-demos-grid {
    grid-template-columns: 1fr 1fr;
  }
  .km-section-head--row {
    flex-direction: column;
    align-items: flex-start;
  }
  .km-header-bar-inner {
    justify-content: space-between;
    width: 100%;
  }
  .km-header-actions {
    margin-inline-start: auto;
  }
  .km-menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .km-menu-toggle span {
    margin: 3px 0;
  }
  .km-mobile-dock {
    display: grid;
  }
  body.km-landing {
    overflow-x: hidden;
    max-width: 100%;
    /* dock + convert-bar reserved space (stable; no jump on scroll) */
    padding-bottom: calc(7rem + env(safe-area-inset-bottom));
  }
  html {
    overflow-x: clip;
  }
  .km-header,
  .km-header-bar-inner,
  .km-brand-mark strong,
  .delta-logo {
    transition: box-shadow 0.2s ease;
  }
  .km-convert-bar {
    display: block;
  }
  .km-top.is-visible {
    bottom: calc(8.2rem + env(safe-area-inset-bottom));
  }
  body.km-landing.km-has-convert .km-top.is-visible {
    bottom: calc(11.5rem + env(safe-area-inset-bottom));
  }
  .km-rfq-grid,
  .km-rfq-row {
    grid-template-columns: 1fr;
  }
  .km-footer-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .km-footer-brandblock,
  .km-footer-hero-actions {
    justify-content: center;
  }
  .km-footer-tagline {
    max-width: none;
  }
  .km-trust-grid {
    grid-template-columns: 1fr 1fr;
  }
  .km-train-grid,
  .km-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .km-hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .km-hero-showcase {
    order: 1;
    padding: 0.35rem 0.35rem 0.2rem;
    min-height: 200px;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }
  .km-hero {
    background: var(--km-bg);
    overflow: hidden;
  }
  .km-hero-carousel {
    width: min(96vw, 520px);
    max-width: 100%;
  }
  .km-hero-carousel-slide img {
    max-height: min(62vw, 340px);
    width: 100%;
    max-width: 100%;
    /* phone GPU: drop expensive mask + animated filters */
    -webkit-mask-image: none;
    mask-image: none;
    filter: none;
    animation: none !important;
  }
  .km-hero-showcase {
    animation: none !important;
  }
  .km-hero-breath,
  .km-hero-glow--a,
  .km-hero-glow--b,
  .km-hero-carousel-viewport::before,
  .km-hero-carousel::after {
    display: none !important;
    animation: none !important;
  }
  /* touch: keep arrows reachable without hover */
  .km-hero-carousel-btn {
    opacity: 0.85;
    pointer-events: auto;
  }
  .km-hero-panel {
    order: 2;
    display: block;
    justify-content: center;
    padding: 0.85rem 0.9rem 1.15rem;
    border-inline-start: none;
    border-top: 1px solid var(--km-line);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: linear-gradient(180deg, #eef3f8 0%, #e4ebf2 100%);
    min-width: 0;
    max-width: 100%;
    width: 100%;
    overflow: hidden;
  }
  .km-hero-copy {
    /* keep H1 in DOM for SEO, do not consume flex/grid space on phone */
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    max-width: 1px !important;
  }
  /* Desktop copy hidden on phone; keep H1 for SEO */
  .km-hero-copy .km-hero-badge,
  .km-hero-copy > p,
  .km-hero-copy .km-hero-actions,
  .km-hero-copy .km-hero-sublink,
  .km-hero-copy .km-hero-stats {
    display: none !important;
  }
  .km-hero-copy h1 {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    clip: auto;
    overflow: visible;
    white-space: normal;
  }
  .km-hero-mobile {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    text-align: right;
    direction: rtl;
  }
  .km-hero-badge,
  .km-hero-actions {
    justify-content: center;
  }
  .km-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .km-hero-actions .km-btn {
    width: 100%;
  }
  .km-hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.45rem;
  }
  .km-hero-stat {
    padding: 0.5rem 0.35rem;
  }
  .km-hero-stat strong {
    font-size: 0.95rem;
  }
  .km-hero-stat span {
    font-size: 0.64rem;
  }
  .km-reps-marquee {
    mask-image: none;
    -webkit-mask-image: none;
    padding-inline: 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .km-reps-track {
    animation: none;
    padding-inline-start: 0;
  }
  .km-rep-card {
    scroll-snap-align: start;
    width: min(260px, calc(100% - 2rem));
    min-width: min(240px, calc(100% - 2rem));
  }
  .km-reps .km-wrap {
    overflow: visible;
    max-width: 100%;
  }
  .km-reps-filters-rail {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    align-items: center;
    gap: 0.25rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-top: 0.85rem;
  }
  .km-reps-filters-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--km-line);
    border-radius: 999px;
    background: #fff;
    color: var(--km-navy);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    box-shadow: 0 1px 4px rgba(21, 37, 53, 0.08);
  }
  .km-reps-filters-nav[hidden] {
    visibility: hidden;
    pointer-events: none;
  }
  .km-reps-filters {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.4rem;
    width: auto;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    padding: 0.2rem 0.15rem 0.45rem;
    margin: 0;
    scrollbar-width: none;
    box-sizing: border-box;
  }
  .km-reps-filters::-webkit-scrollbar {
    display: none;
  }
  .km-reps-filter {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .km-top {
    bottom: calc(4.5rem + env(safe-area-inset-bottom));
  }
  .km-compare-bar {
    bottom: calc(3.6rem + env(safe-area-inset-bottom));
  }
  .km-compare-bar .km-btn {
    width: auto;
  }
  .km-rfq-form .km-btn {
    width: 100%;
  }
  .km-footer-hero-actions {
    flex-wrap: wrap;
  }
  .km-footer-hero-actions .km-btn {
    width: auto;
    flex: 1 1 auto;
    min-width: 8rem;
  }
}

/* ===== Phone ===== */
@media (max-width: 640px) {
  .km-wrap {
    width: calc(100% - 1rem);
  }
  .km-topbar {
    font-size: 0.72rem;
  }
  .km-top-contact span:nth-child(n + 2),
  .km-top-links a:nth-child(n + 3) {
    display: none;
  }
  .km-brand {
    gap: 0.4rem;
    max-width: calc(100% - 3.2rem);
    min-width: 0;
  }
  .km-brand-mark {
    min-width: 0;
  }
  .km-brand-mark strong {
    font-size: 0.88rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .km-brand-mark small {
    display: none;
  }
  .km-brand img.delta-logo {
    height: 26px;
    flex-shrink: 0;
  }
  .km-header-bar-inner {
    gap: 0.45rem;
  }
  .km-scroll-btn {
    display: none;
  }
  .km-cats {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }
  .km-products {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }
  .km-product-actions {
    flex-direction: column;
    gap: 0.35rem;
  }
  .km-product-quote,
  .km-compare-add {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .km-news,
  .km-industries-grid,
  .km-train-grid,
  .km-footer-grid {
    grid-template-columns: 1fr;
  }
  .km-about-services,
  .km-about-demos-grid {
    grid-template-columns: 1fr;
  }
  .km-about-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    height: auto;
    max-width: 100%;
  }
  .km-about-gallery-main {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 1 / 1;
    max-width: 220px;
    margin-inline: auto;
    width: 100%;
  }
  .km-about-gallery-side {
    aspect-ratio: 16 / 11;
  }
  .km-about-ctas {
    flex-direction: column;
  }
  .km-about-ctas .km-btn {
    width: 100%;
  }
  .km-trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }
  .km-resources-grid,
  .km-catalog-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }
  .km-section {
    padding: 2.1rem 0;
  }
  .km-hero-showcase {
    min-height: 180px;
    padding: 0.95rem 0.65rem 0.5rem;
  }
  .km-hero h1 {
    font-size: 1.28rem;
  }
  .km-hero-copy > p {
    font-size: 0.84rem;
    margin-bottom: 1rem;
  }
  .km-center .km-btn {
    width: 100%;
  }
  .km-trust-item {
    font-size: 0.74rem;
    gap: 0.45rem;
    padding: 0.65rem 0.55rem;
  }
  .km-icon {
    width: 34px;
    height: 34px;
  }
  .km-cat {
    padding: 0.95rem 0.65rem;
  }
  .km-cat .km-icon {
    width: 42px;
    height: 42px;
  }
  .km-cat h3 {
    font-size: 0.86rem;
  }
  .km-convert-bar-text {
    display: none;
  }
  .km-convert-bar-inner {
    justify-content: center;
  }
  .km-convert-bar-actions {
    width: 100%;
  }
  .km-convert-bar-actions .km-btn,
  .km-convert-bar-tel {
    flex: 1;
    text-align: center;
    justify-content: center;
  }
  body.km-landing.km-has-convert {
    padding-bottom: calc(7rem + env(safe-area-inset-bottom));
  }
  .km-top.is-visible {
    bottom: calc(7.2rem + env(safe-area-inset-bottom));
  }
  body.km-landing.km-has-convert .km-top.is-visible {
    bottom: calc(9.4rem + env(safe-area-inset-bottom));
  }
  .km-drawer-panel {
    width: min(calc(100% - 2.5rem), 320px);
  }
  .km-testimonial-card {
    padding: 0.95rem 0.9rem;
  }
}

@media (max-width: 400px) {
  .km-cats,
  .km-products,
  .km-resources-grid,
  .km-catalog-grid,
  .km-trust-grid {
    grid-template-columns: 1fr;
  }
  .km-hero-stats {
    grid-template-columns: 1fr 1fr;
  }
  .km-brand-mark strong {
    font-size: 0.8rem;
  }
}

@media (max-width: 900px) {
  .km-testimonials-track:not(.is-carousel) {
    grid-template-columns: 1fr;
  }
}

/* Scroll reveal */
.km-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: var(--km-reveal-delay, 0s);
}

.km-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .km-reveal,
  .km-hero-copy,
  .km-hero-badge,
  .km-hero h1,
  .km-hero-copy > p,
  .km-hero-actions,
  .km-hero-glow--a,
  .km-hero-glow--b,
  .km-hero-breath,
  .km-hero-showcase,
  .km-hero-carousel-slide img,
  .km-hero-carousel-viewport::before {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .km-hero-carousel-viewport::before {
    opacity: 0 !important;
  }
  .km-hero-carousel-track {
    transition: none !important;
  }
  .km-hero-ai-dot {
    animation: none !important;
  }
  .km-btn:hover {
    transform: none;
  }
}


/* Header scrolls with page — never fixed/sticky */
