:root {
  color-scheme: light;
  --bg: #ffffff;
  --paper: #f6f8fc;
  --paper-2: #eef3fb;
  --ink: #07101f;
  --muted: #5f6a7d;
  --line: rgba(24, 52, 115, 0.13);
  --line-strong: rgba(19, 52, 143, 0.25);
  --blue: #1238d6;
  --blue-deep: #082493;
  --red: #ef3a3a;
  --yellow: #f3c316;
  --shadow: 0 24px 60px rgba(8, 26, 74, 0.12);
  --max: 1440px;
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

section[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 0 clamp(20px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0);
  backdrop-filter: blur(18px);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(8, 26, 74, 0.05);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
}

.brand-wide {
  min-width: 0;
}

.brand-logo {
  display: block;
  width: clamp(168px, 16vw, 240px);
}

.brand-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  font-size: 20px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: lowercase;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(10px, 1.25vw, 22px);
  font-size: 13px;
  font-weight: 700;
}

.site-nav a,
.nav-cluster > a {
  color: rgba(7, 16, 31, 0.82);
  transition: color 0.2s ease;
}

.site-nav a:hover,
.nav-cluster:hover > a {
  color: var(--blue);
}

.nav-cluster {
  position: relative;
  padding: 26px 0;
}

.mega-menu {
  position: fixed;
  top: 76px;
  left: 50%;
  width: min(1160px, calc(100vw - 48px));
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow);
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-cluster:hover .mega-menu,
.nav-cluster:focus-within .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-column {
  display: grid;
  align-content: start;
  gap: 0;
  padding: 22px clamp(14px, 1.45vw, 24px);
  border-left: 1px solid rgba(11, 35, 94, 0.08);
}

.mega-column:first-child {
  border-left: 0;
}

.mega-column .mega-heading {
  min-height: 42px;
  display: block;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(18, 56, 214, 0.16);
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
}

.mega-column a {
  padding: 8px 0;
  border-bottom: 1px solid rgba(11, 35, 94, 0.08);
  color: var(--muted);
  font-weight: 600;
  line-height: 1.3;
}

.mega-column a:not(.mega-heading) {
  font-size: 12px;
}

.mega-column a:hover {
  color: var(--blue);
  border-bottom-color: rgba(18, 56, 214, 0.22);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.language-dropdown {
  position: relative;
}

.language-trigger {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
}

.language-trigger svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.9;
}

.language-menu {
  position: absolute;
  z-index: 80;
  top: calc(100% + 10px);
  right: 0;
  min-width: 172px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.language-menu button {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-align: start;
}

.language-menu button:last-child {
  border-bottom: 0;
}

.language-menu button.is-active {
  color: #fff;
  background: var(--blue);
}

.language-menu button:disabled {
  color: rgba(95, 106, 125, 0.65);
  cursor: not-allowed;
}

.language-menu small {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.header-cta,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 850;
}

.header-cta,
.primary-action {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 16px 32px rgba(18, 56, 214, 0.18);
}

.header-cta:hover,
.primary-action:hover {
  background: var(--blue-deep);
}

.secondary-action {
  color: var(--blue);
  background: #fff;
  border-color: var(--line-strong);
}

.icon-button {
  width: 42px;
  height: 42px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.icon-button svg,
.contact-rail svg,
.service-list svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
}

.screen-overlay {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(7, 16, 31, 0.32);
  backdrop-filter: blur(6px);
}

.mobile-drawer {
  position: fixed;
  z-index: 60;
  top: 12px;
  right: 12px;
  width: min(360px, calc(100vw - 24px));
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 850;
}

.drawer-nav {
  display: grid;
  gap: 8px;
  margin: 22px 0;
}

.drawer-nav a {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 750;
}

.drawer-product-tree {
  display: grid;
  gap: 4px;
  margin: -8px 0 8px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--line);
}

.drawer-product-group {
  border-bottom: 1px solid rgba(11, 35, 94, 0.07);
}

.drawer-product-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  list-style: none;
  cursor: pointer;
}

.drawer-product-group summary::-webkit-details-marker {
  display: none;
}

.drawer-product-group summary::after {
  content: "+";
  color: var(--blue);
  font-weight: 850;
}

.drawer-product-group[open] summary::after {
  content: "-";
}

.drawer-product-group a {
  display: block;
  padding: 7px 0 7px 12px;
  border-bottom: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.3;
}

.drawer-language {
  width: 100%;
}

.drawer-language .language-trigger {
  width: 100%;
  justify-content: space-between;
}

.drawer-language .language-menu {
  position: static;
  width: 100%;
  margin-top: 10px;
  box-shadow: none;
}

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #f7f9fd;
}

.hero::after,
.section::before,
.quick-links::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      to right,
      transparent 0,
      transparent calc(20% - 1px),
      rgba(18, 56, 214, 0.08) calc(20% - 1px),
      rgba(18, 56, 214, 0.08) 20%
    );
  pointer-events: none;
}

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.86) 36%, rgba(255, 255, 255, 0.28) 64%, rgba(255, 255, 255, 0.04) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.84) 100%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-layout {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100vw - 56px));
  min-height: 72vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 90px minmax(0, 720px) minmax(280px, 420px);
  gap: 42px;
  align-items: end;
  padding: 140px 0 68px;
}

.hero-index,
.section-label {
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  direction: ltr;
  unicode-bidi: isolate;
}

.hero-index {
  align-self: start;
  padding-top: 22vh;
  writing-mode: vertical-rl;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(54px, 7vw, 116px);
  line-height: 0.92;
  letter-spacing: 0;
  font-weight: 900;
}

.hero-lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: #273247;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.45;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-proof {
  align-self: end;
  display: grid;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(14px);
}

.hero-proof div {
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.hero-proof div:last-child {
  border-bottom: 0;
}

.hero-proof strong {
  display: block;
  color: var(--blue);
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1;
  font-weight: 900;
  direction: ltr;
  unicode-bidi: isolate;
}

.hero-proof span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.quick-links {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.quick-links a {
  position: relative;
  min-height: 156px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 30px clamp(18px, 3vw, 52px);
  border-right: 1px solid var(--line);
  transition: background 0.2s ease;
}

.quick-links a:hover {
  background: var(--paper);
}

.quick-links a:last-child {
  border-right: 0;
}

.quick-links span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
}

.quick-links strong {
  font-size: 18px;
}

.quick-links small {
  max-width: 280px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.section {
  position: relative;
  padding: clamp(74px, 8vw, 126px) clamp(20px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.section > * {
  position: relative;
  z-index: 2;
}

.section-label,
.section-head,
.split-layout,
.product-shell,
.solution-grid,
.factory-grid,
.contact-layout {
  width: min(var(--max), 100%);
  margin-inline: auto;
}

.section-label {
  margin-bottom: 38px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(260px, 480px);
  gap: 56px;
  align-items: end;
  margin-bottom: 44px;
}

h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(38px, 4.7vw, 78px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.section-head p,
.section-copy p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.75;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}

.split-layout.reverse {
  grid-template-columns: minmax(420px, 1.05fr) minmax(0, 0.95fr);
}

.section-copy {
  display: grid;
  gap: 24px;
}

.image-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 20px 54px rgba(8, 26, 74, 0.08);
}

.image-frame img {
  width: 100%;
  height: clamp(360px, 42vw, 620px);
  object-fit: cover;
}

.image-frame-tall img {
  height: clamp(460px, 48vw, 720px);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 12px;
  border: 1px solid var(--line);
}

.stat-strip div {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.stat-strip div:last-child {
  border-right: 0;
}

.stat-strip strong {
  display: block;
  color: var(--blue);
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1;
  direction: ltr;
  unicode-bidi: isolate;
}

.stat-strip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.products-section {
  background: linear-gradient(180deg, #fff 0%, #f8faff 100%);
}

.product-shell {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.product-tabs {
  display: grid;
  align-content: start;
  border-right: 1px solid var(--line);
  background: var(--paper);
}

.product-tabs button {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  min-height: 76px;
  padding: 0 22px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-size: 14px;
  font-weight: 850;
}

.product-tabs button span {
  color: var(--blue);
  font-size: 12px;
}

.product-tabs button.is-active {
  background: #fff;
  color: var(--blue);
}

.product-panel {
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
}

.product-panel-copy {
  display: grid;
  align-content: center;
  gap: 20px;
  padding: clamp(32px, 5vw, 72px);
}

.panel-kicker {
  margin: 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
}

.product-panel h3 {
  margin: 0;
  font-size: clamp(36px, 4.5vw, 68px);
  line-height: 1;
  font-weight: 900;
}

.product-panel p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.68;
}

.branch-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.branch-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: #23304a;
  font-size: 13px;
  font-weight: 750;
}

.detail-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.detail-link svg {
  width: 17px;
  height: 17px;
}

.product-image {
  min-height: 100%;
  margin: 0;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
}

.system-card-grid {
  width: min(var(--max), 100%);
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.system-card-intro,
.system-card {
  min-height: 220px;
  padding: 26px;
  background: #fff;
}

.system-card-intro {
  grid-column: span 2;
  display: grid;
  align-content: center;
  gap: 12px;
}

.system-card-intro strong {
  color: var(--blue);
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.05;
}

.system-card-intro p,
.system-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.system-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  transition: background 0.2s ease, color 0.2s ease;
}

.system-card > span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.system-card strong {
  font-size: 20px;
  line-height: 1.18;
}

.system-card svg {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 19px;
  height: 19px;
  color: var(--blue);
}

.system-card:hover {
  background: var(--blue);
  color: #fff;
}

.system-card:hover p,
.system-card:hover span,
.system-card:hover svg {
  color: rgba(255, 255, 255, 0.78);
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.solution-grid article {
  min-height: 430px;
  display: grid;
  grid-template-rows: 230px 1fr;
  background: #fff;
}

.solution-grid img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.solution-grid div {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 28px;
}

.solution-grid strong {
  font-size: 22px;
}

.solution-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.technology-section {
  background: #fff;
}

.technology-grid {
  width: min(var(--max), 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: var(--line);
  gap: 1px;
}

.technology-grid article {
  min-height: 330px;
  display: grid;
  align-content: space-between;
  gap: 28px;
  padding: clamp(24px, 3vw, 38px);
  background: #fff;
}

.technology-grid span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.technology-grid strong {
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.08;
}

.technology-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.video-section {
  background: var(--paper);
}

.video-layout {
  width: min(var(--max), 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(560px, 1.18fr);
  gap: clamp(36px, 5vw, 78px);
  align-items: start;
}

.youtube-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.youtube-grid article {
  min-height: 290px;
  display: grid;
  grid-template-rows: 1fr auto;
  background: #fff;
}

.youtube-grid h3 {
  margin: 0;
  padding: 22px;
  font-size: 18px;
}

.youtube-frame {
  position: relative;
  min-height: 210px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 16, 31, 0.74), rgba(18, 56, 214, 0.62)),
    url("./assets/site-line-wide.jpg") center / cover;
}

.youtube-frame::after {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  pointer-events: none;
}

.youtube-frame svg {
  width: 44px;
  height: 44px;
  padding: 12px;
  border-radius: 999px;
  color: var(--blue);
  fill: #fff;
  background: #fff;
}

.youtube-frame strong {
  position: relative;
  z-index: 1;
  font-size: 20px;
}

.youtube-frame span {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
}

.industry-section {
  background:
    linear-gradient(180deg, rgba(246, 248, 252, 0.85), rgba(255, 255, 255, 0.96)),
    url("./assets/site-line-wide.jpg") center / cover;
}

.industry-layout {
  width: min(var(--max), 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
  gap: clamp(36px, 6vw, 86px);
  align-items: start;
}

.industry-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
}

.industry-points article {
  min-height: 228px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: clamp(22px, 3vw, 34px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.industry-points article:nth-child(2n) {
  border-right: 0;
}

.industry-points article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.industry-points span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.industry-points strong {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.08;
}

.industry-points p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.service-list div {
  min-height: 108px;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #24304a;
  font-weight: 750;
}

.service-list div:nth-child(2n) {
  border-right: 0;
}

.service-list div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.service-list svg {
  color: var(--blue);
}

.factory-section {
  padding-top: 68px;
  padding-bottom: 68px;
}

.factory-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.85fr 0.85fr;
  gap: 18px;
}

.factory-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
}

.factory-grid img {
  width: 100%;
  height: clamp(260px, 29vw, 430px);
  object-fit: cover;
}

.contact-section {
  background: var(--paper);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.8fr);
  gap: clamp(34px, 6vw, 92px);
}

.contact-copy {
  display: grid;
  gap: 26px;
  align-content: start;
}

.contact-cards {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.contact-cards a,
.contact-cards > span {
  min-height: 56px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
  padding: 13px 16px;
  border: 1px solid var(--line);
  background: #fff;
  color: #253049;
  font-weight: 700;
}

.contact-cards svg {
  width: 19px;
  height: 19px;
  color: var(--blue);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #26344d;
  font-size: 13px;
  font-weight: 850;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 14px;
  color: var(--ink);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18, 56, 214, 0.12);
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 750;
}

.contact-rail {
  position: fixed;
  z-index: 35;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 8px;
}

.contact-rail a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue);
  box-shadow: 0 12px 24px rgba(8, 26, 74, 0.08);
}

.product-detail-page {
  background: #fff;
}

.detail-header .brand-logo {
  width: clamp(180px, 17vw, 250px);
}

.detail-hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(480px, 0.9fr);
  padding-top: 76px;
  background: var(--paper);
}

.detail-hero-media {
  min-height: 620px;
  overflow: hidden;
}

.detail-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero-copy {
  display: grid;
  align-content: center;
  gap: 24px;
  padding: clamp(44px, 6vw, 92px);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98), rgba(255,255,255,0.92)),
    linear-gradient(180deg, transparent, rgba(18, 56, 214, 0.05));
}

.detail-hero-copy h1 {
  margin: 0;
  font-size: clamp(52px, 6vw, 96px);
  line-height: 0.96;
  font-weight: 930;
}

.detail-hero-copy > p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.68;
}

.detail-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: #fff;
}

.detail-stats span {
  min-height: 78px;
  display: flex;
  align-items: center;
  padding: 18px;
  border-right: 1px solid var(--line);
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.detail-stats span:last-child {
  border-right: 0;
}

.detail-section {
  background: #fff;
}

.detail-two-col,
.youtube-placeholder,
.related-grid {
  width: min(var(--max), 100%);
  margin-inline: auto;
}

.detail-two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  gap: clamp(34px, 5vw, 80px);
  align-items: start;
}

.detail-two-col h2,
.detail-video-section h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 68px);
  line-height: 1.02;
}

.detail-two-col > div > p,
.detail-video-section p {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.detail-value-grid,
.detail-step-grid,
.detail-question-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.detail-step-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.detail-value-grid article,
.detail-step-grid article,
.detail-question-grid article {
  min-height: 210px;
  display: grid;
  align-content: start;
  gap: 28px;
  padding: 28px;
  background: #fff;
}

.detail-value-grid article span,
.detail-step-grid article span,
.detail-question-grid article span {
  width: 34px;
  height: 3px;
  background: var(--blue);
}

.detail-value-grid p,
.detail-step-grid p,
.detail-question-grid p {
  margin: 0;
  color: #23304a;
  font-size: 16px;
  line-height: 1.65;
}

.detail-technical {
  background: linear-gradient(180deg, #f8faff 0%, #fff 100%);
}

.detail-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-chip-grid span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: #23304a;
  font-size: 13px;
  font-weight: 850;
}

.product-module-section {
  background: linear-gradient(180deg, #f8faff 0%, #fff 100%);
}

.product-module-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.product-module-card {
  min-height: 360px;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 30px;
  background: #fff;
  scroll-margin-top: 110px;
  color: var(--ink);
}

.product-module-card:target {
  outline: 3px solid rgba(18, 56, 214, 0.18);
  outline-offset: -3px;
  background: #f7f9ff;
}

.product-module-card > span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-module-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.08;
}

.product-module-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.product-module-card dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.product-module-card dl div {
  display: grid;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.product-module-card dt {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-module-card dd {
  margin: 0;
  color: #23304a;
  font-size: 14px;
  line-height: 1.55;
}

.product-item-page {
  background: #fff;
}

.item-hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(520px, 1.05fr);
  padding-top: 76px;
  background: var(--paper);
}

.item-hero-media {
  min-height: 620px;
  overflow: hidden;
}

.item-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-hero-copy {
  display: grid;
  align-content: center;
  gap: 22px;
  padding: clamp(44px, 6vw, 92px);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98), rgba(255,255,255,0.92)),
    linear-gradient(180deg, transparent, rgba(18, 56, 214, 0.05));
}

.item-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.item-breadcrumbs a {
  color: var(--blue);
}

.item-hero-copy h1 {
  margin: 0;
  font-size: clamp(48px, 5.4vw, 86px);
  line-height: 0.98;
  font-weight: 930;
}

.item-hero-copy > p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.68;
}

.item-section {
  background: #fff;
}

.item-role-panel {
  display: grid;
  gap: 14px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(18, 56, 214, 0.07), transparent 48%),
    #fff;
}

.item-role-panel span,
.item-decision-grid span,
.item-outcome span,
.item-related-grid span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.item-role-panel p {
  margin: 0 0 10px;
  color: #23304a;
  font-size: 18px;
  line-height: 1.65;
}

.item-decision-section {
  background: linear-gradient(180deg, #f8faff 0%, #fff 100%);
}

.item-decision-grid,
.item-checklist,
.item-related-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.item-decision-grid {
  grid-template-columns: repeat(4, 1fr);
}

.item-checklist {
  grid-template-columns: repeat(2, 1fr);
}

.item-related-grid {
  grid-template-columns: repeat(5, 1fr);
}

.item-decision-grid article,
.item-checklist article,
.item-related-grid a {
  min-height: 210px;
  position: relative;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 28px;
  background: #fff;
  color: var(--ink);
}

.item-decision-grid p,
.item-checklist p,
.item-related-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.item-checklist span {
  color: var(--blue);
  font-size: 22px;
  font-weight: 930;
}

.item-related-grid strong {
  font-size: 22px;
  line-height: 1.12;
}

.item-related-grid svg {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 17px;
  height: 17px;
  color: var(--blue);
}

.item-outcome-section {
  background: var(--ink);
  color: #fff;
}

.item-outcome {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  gap: 22px;
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(120deg, rgba(18, 56, 214, 0.24), transparent 54%),
    rgba(255, 255, 255, 0.04);
}

.item-outcome h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(38px, 5vw, 76px);
  line-height: 1;
}

.item-outcome p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.65;
}

.detail-video-section {
  background: var(--paper);
}

.product-article-section {
  background: #fff;
}

.product-article-card {
  width: min(var(--max), 100%);
  min-height: 260px;
  margin: 0 auto;
  position: relative;
  display: grid;
  align-content: end;
  gap: 18px;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(18, 56, 214, 0.08), transparent 44%),
    linear-gradient(180deg, #fff 0%, #f7f9ff 100%);
  color: var(--ink);
}

.product-article-card span,
.article-mini-card span,
.article-meta span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-article-card strong {
  max-width: 820px;
  font-size: clamp(34px, 4vw, 62px);
  line-height: 1.02;
  font-weight: 930;
}

.product-article-card p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.product-article-card svg {
  position: absolute;
  right: 34px;
  top: 34px;
  width: 24px;
  height: 24px;
  color: var(--blue);
}

.youtube-placeholder {
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}

.related-section {
  background: #fff;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.related-grid a {
  min-height: 150px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 28px;
  background: #fff;
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
}

.related-grid svg {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 18px;
  height: 18px;
  color: var(--blue);
}

.site-nav a.is-active {
  color: var(--blue);
}

.site-page {
  background: #fff;
}

.site-page-hero {
  min-height: 86vh;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  padding-top: 76px;
  background: var(--paper);
}

.site-page-hero-media {
  min-height: 600px;
  overflow: hidden;
}

.site-page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-page-hero-copy {
  display: grid;
  align-content: center;
  gap: 24px;
  padding: clamp(44px, 6vw, 92px);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98), rgba(255,255,255,0.94)),
    linear-gradient(180deg, transparent, rgba(18, 56, 214, 0.05));
}

.site-page-hero-copy h1 {
  margin: 0;
  font-size: clamp(56px, 7vw, 110px);
  line-height: 0.92;
  font-weight: 930;
}

.site-page-hero-copy > p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.68;
}

.site-page-section {
  background: #fff;
}

.site-page-section .detail-two-col > div > p {
  max-width: 680px;
}

.site-process {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.site-process article {
  min-height: 150px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 26px;
  background: #fff;
}

.site-process span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.site-process strong {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.1;
}

.site-card-section {
  background: linear-gradient(180deg, #f8faff 0%, #fff 100%);
}

.site-card-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.site-card {
  min-height: 240px;
  position: relative;
  display: grid;
  align-content: start;
  gap: 20px;
  padding: 30px;
  background: #fff;
  color: var(--ink);
}

.site-card:hover {
  background: #f7f9ff;
}

.site-card strong {
  font-size: 24px;
  line-height: 1.08;
  font-weight: 930;
}

.site-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.site-card svg {
  position: absolute;
  right: 26px;
  bottom: 26px;
  width: 18px;
  height: 18px;
  color: var(--blue);
}

.tech-library-section {
  background: #fff;
}

.tech-library-toolbar {
  width: min(var(--max), 100%);
  margin: 0 auto 28px;
  display: grid;
  gap: 20px;
}

.tech-library-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.tech-library-metrics article {
  min-height: 126px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 24px 28px;
  background: #fff;
}

.tech-library-metrics strong {
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1;
  font-weight: 930;
}

.tech-library-metrics span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.tech-library-controls {
  display: grid;
  gap: 14px;
}

.tech-search-input {
  width: min(560px, 100%);
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 16px;
}

.tech-search-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18, 56, 214, 0.08);
}

.tech-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-filter-row button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.tech-filter-row button.is-active,
.tech-filter-row button:hover {
  border-color: var(--blue);
  background: #f4f7ff;
  color: var(--blue);
}

.tech-article-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.tech-article-card {
  min-height: 300px;
  position: relative;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 28px;
  background: #fff;
  color: var(--ink);
}

.tech-article-card:hover {
  background: #f7f9ff;
}

.tech-article-card__meta,
.tech-article-card__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.tech-article-card__meta span,
.tech-article-card__meta small,
.tech-article-card__footer span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.tech-article-card strong {
  max-width: 92%;
  font-size: 27px;
  line-height: 1.08;
  font-weight: 930;
}

.tech-article-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.tech-article-card svg {
  position: absolute;
  right: 26px;
  bottom: 26px;
  width: 18px;
  height: 18px;
  color: var(--blue);
}

.tech-empty-state {
  width: min(var(--max), 100%);
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 16px;
}

.article-page {
  background: #fff;
}

.article-hero-new {
  min-height: 82vh;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  padding-top: 76px;
  background: var(--paper);
}

.article-hero-new__media {
  min-height: 560px;
  overflow: hidden;
}

.article-hero-new__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-hero-new__copy {
  display: grid;
  align-content: center;
  gap: 24px;
  padding: clamp(44px, 6vw, 92px);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98), rgba(255,255,255,0.93)),
    linear-gradient(180deg, transparent, rgba(18, 56, 214, 0.05));
}

.article-hero-new__copy h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(48px, 5.8vw, 88px);
  line-height: 0.98;
  font-weight: 930;
}

.article-hero-new__copy > p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.68;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.article-meta span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: #fff;
}

.article-reading-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.32fr) minmax(0, 0.68fr);
  gap: clamp(34px, 5vw, 80px);
  align-items: start;
}

.article-toc {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
}

.article-toc span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.article-toc strong {
  font-size: 20px;
  line-height: 1.15;
}

.article-toc a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.article-body-new {
  max-width: 860px;
}

.article-lead,
.article-body-new p,
.article-body-new li,
.article-conclusion p {
  color: #23304a;
  font-size: 18px;
  line-height: 1.78;
}

.article-lead {
  margin-top: 0;
  font-size: 21px;
  line-height: 1.72;
}

.article-section {
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.article-section h2,
.article-conclusion h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.06;
}

.article-section p,
.article-conclusion p {
  margin: 0 0 18px;
}

.article-section ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-section li {
  position: relative;
  padding-left: 28px;
}

.article-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 10px;
  height: 3px;
  background: var(--blue);
}

.article-conclusion {
  padding: 34px;
  border: 1px solid var(--line);
  background: #f7f9ff;
}

.related-article-section {
  background: var(--paper);
}

.article-mini-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.article-mini-card {
  min-height: 260px;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 30px;
  background: #fff;
  color: var(--ink);
}

.article-mini-card strong {
  font-size: 24px;
  line-height: 1.12;
  font-weight: 930;
}

.article-mini-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.page-youtube-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.site-contact-layout {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  gap: clamp(34px, 5vw, 80px);
  align-items: start;
}

.site-contact-layout h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 68px);
  line-height: 1.02;
}

.site-contact-layout p {
  max-width: 620px;
  margin: 20px 0 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding: 42px clamp(20px, 4vw, 56px);
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: grid;
  gap: 16px;
}

.footer-brand p,
.copyright {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: #23304a;
  font-size: 13px;
  font-weight: 800;
}

.copyright {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

html[dir="rtl"] body {
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  text-align: right;
}

html[dir="rtl"] .site-header {
  grid-template-columns: auto 1fr auto;
}

html[dir="rtl"] .brand,
html[dir="rtl"] .header-actions,
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .contact-cards a,
html[dir="rtl"] .contact-cards > span,
html[dir="rtl"] .service-list div {
  direction: rtl;
}

html[dir="rtl"] .product-tabs {
  border-right: 0;
  border-left: 1px solid var(--line);
}

html[dir="rtl"] .product-tabs button {
  text-align: right;
}

html[dir="rtl"] .quick-links a,
html[dir="rtl"] .stat-strip div {
  border-right: 0;
  border-left: 1px solid var(--line);
}

html[dir="rtl"] .contact-rail {
  right: auto;
  left: 18px;
}

@media (max-width: 1500px) {
  .site-nav {
    display: none;
  }

  .icon-button {
    display: inline-flex;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 1180px) {

  .hero-layout {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .hero-proof {
    grid-column: 2;
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-proof div {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

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

  .product-shell,
  .product-panel,
  .section-head,
  .contact-layout,
  .industry-layout,
  .video-layout,
  .site-page-hero,
  .article-hero-new,
  .item-hero,
  .article-reading-layout,
  .detail-two-col,
  .site-contact-layout,
  .youtube-placeholder {
    grid-template-columns: 1fr;
  }

  .product-tabs {
    grid-template-columns: repeat(3, 1fr);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .product-panel {
    min-height: auto;
  }

  .product-image img {
    min-height: 420px;
  }

  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .system-card-grid,
  .technology-grid,
  .site-card-grid,
  .tech-article-grid,
  .tech-library-metrics,
  .article-mini-grid,
  .product-module-grid,
  .item-decision-grid,
  .item-checklist,
  .item-related-grid,
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-page-hero {
    min-height: auto;
  }

  .site-page-hero-media {
    min-height: 420px;
  }

  .article-hero-new {
    min-height: auto;
  }

  .article-hero-new__media {
    min-height: 420px;
  }

  .article-toc {
    position: static;
  }

  .tech-library-controls,
  .tech-library-toolbar {
    gap: 16px;
  }

  .tech-search-input {
    width: 100%;
  }

  .detail-value-grid,
  .detail-step-grid,
  .detail-question-grid {
    grid-template-columns: 1fr;
  }

  .detail-hero {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.85fr);
  }

  .item-hero {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.85fr);
  }

  .detail-hero-media {
    min-height: 560px;
  }

  .item-hero-media {
    min-height: 560px;
  }
}

@media (max-width: 860px) {
  .site-header {
    min-height: 68px;
    padding: 0 16px;
  }

  .brand-text {
    font-size: 17px;
  }

  .brand-logo {
    width: 152px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.96) 58%, #fff 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.4) 100%);
  }

  .hero-layout {
    width: calc(100vw - 32px);
    min-height: 76vh;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 104px 0 40px;
  }

  .hero-index {
    writing-mode: horizontal-tb;
    padding-top: 0;
  }

  .hero-copy h1 {
    font-size: clamp(48px, 14vw, 70px);
  }

  .hero-proof {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .hero-proof div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 18px;
  }

  .quick-links,
  .solution-grid,
  .factory-grid,
  .stat-strip,
  .service-list,
  .industry-points,
  .system-card-grid,
  .technology-grid,
  .youtube-grid,
  .related-grid,
  .detail-stats {
    grid-template-columns: 1fr;
  }

  .quick-links a {
    min-height: 126px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 62px 16px;
  }

  .split-layout,
  .split-layout.reverse {
    grid-template-columns: 1fr;
  }

  .image-frame img,
  .image-frame-tall img {
    height: 360px;
  }

  .stat-strip div,
  .service-list div,
  .industry-points article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat-strip div:last-child,
  .service-list div:last-child,
  .industry-points article:last-child {
    border-bottom: 0;
  }

  .product-tabs {
    grid-template-columns: 1fr;
  }

  .product-tabs button {
    min-height: 58px;
  }

  .product-panel-copy {
    padding: 28px;
  }

  .product-panel h3 {
    font-size: 38px;
  }

  .product-panel p {
    font-size: 16px;
  }

  .system-card-intro,
  .system-card {
    min-height: auto;
    padding: 24px;
  }

  .product-image img {
    min-height: 300px;
  }

  .technology-grid article,
  .youtube-grid article {
    min-height: auto;
  }

  .video-layout {
    gap: 28px;
  }

  .detail-hero {
    padding-top: 68px;
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .item-hero {
    padding-top: 68px;
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .site-page-hero {
    padding-top: 68px;
  }

  .article-hero-new {
    padding-top: 68px;
  }

  .site-page-hero-media {
    min-height: 280px;
  }

  .article-hero-new__media {
    min-height: 280px;
  }

  .item-hero-media {
    min-height: 280px;
  }

  .site-page-hero-copy,
  .article-hero-new__copy,
  .item-hero-copy {
    padding: 32px 16px 46px;
  }

  .site-page-hero-copy h1,
  .article-hero-new__copy h1,
  .item-hero-copy h1 {
    font-size: clamp(46px, 14vw, 72px);
  }

  .site-page-hero-copy > p,
  .article-hero-new__copy > p,
  .item-hero-copy > p,
  .site-contact-layout p {
    font-size: 16px;
  }

  .site-card-grid,
  .site-process,
  .tech-article-grid,
  .tech-library-metrics,
  .product-module-grid,
  .item-decision-grid,
  .item-checklist,
  .item-related-grid,
  .article-mini-grid {
    grid-template-columns: 1fr;
  }

  .site-card,
  .site-process article,
  .tech-library-metrics article,
  .product-module-card,
  .item-decision-grid article,
  .item-checklist article,
  .item-related-grid a,
  .article-mini-card {
    min-height: auto;
    padding: 24px;
  }

  .product-article-card {
    min-height: auto;
    padding: 28px 24px 72px;
  }

  .tech-article-card {
    min-height: auto;
    padding: 24px;
  }

  .tech-article-card strong {
    max-width: 100%;
    font-size: 23px;
  }

  .product-article-card strong {
    font-size: 34px;
  }

  .article-lead,
  .article-body-new p,
  .article-body-new li,
  .article-conclusion p {
    font-size: 16px;
  }

  .article-conclusion {
    padding: 24px;
  }

  .site-contact-layout h2 {
    font-size: 38px;
  }

  .detail-hero-media {
    min-height: 280px;
  }

  .detail-hero-copy {
    padding: 32px 16px 46px;
  }

  .detail-hero-copy h1 {
    font-size: clamp(44px, 13vw, 66px);
  }

  .detail-hero-copy > p,
  .detail-two-col > div > p,
  .detail-video-section p {
    font-size: 16px;
  }

  .detail-stats span {
    min-height: 58px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .detail-stats span:last-child {
    border-bottom: 0;
  }

  .detail-two-col h2,
  .detail-video-section h2 {
    font-size: 38px;
  }

  .youtube-placeholder {
    gap: 22px;
  }

  .youtube-frame {
    min-height: 190px;
  }

  .solution-grid article {
    min-height: auto;
  }

  .contact-layout {
    gap: 28px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
