/* ==========================================================================
   旗舰级多语言外贸 B2B 独立站视觉设计系统
   设计语言：国际高端制造与建筑陈列编辑风（低饱和留白 · 锐利几何线条 · 强排版层级 · 全站保留原品牌配色）
   原生支持 11 语种、阿拉伯语 RTL 镜像布局、二级分类 Mega-Menu 与移动端自适应
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: "Inter", "Noto Sans SC", "PingFang SC", "Noto Naskh Arabic", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.72;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 28px; }

/* ===== Architectural Scroll Reveal ===== */
.reveal-ready {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-ready.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Header & Mega-Menu Navigation ===== */
header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
header.scrolled {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.99);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 13px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.015em;
  color: var(--primary);
  text-decoration: none;
  min-width: 0;
  flex: 0 1 auto;
}
.logo .mark {
  width: 38px;
  height: 38px;
  border-radius: 3px;
  background: var(--mark-grad);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.logo > div:not(.mark) {
  min-width: 0;
}
.logo small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-top: 2px;
}
.menu {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
}
.menu > li {
  position: relative;
}
.menu > li > a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.03em;
  padding: 8px 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.18s;
}
.menu > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}
.menu > li > a:hover {
  color: var(--primary);
}
.menu > li > a:hover::after {
  transform: scaleX(1);
}
.menu > li > a.nav-chat {
  padding: 0;
  display: grid;
  place-items: center;
  justify-content: center;
  gap: 0;
}
.menu > li > a.nav-chat::after {
  display: none;
}

/* Header Products Two-Level Mega Menu */
.nav-has-mega > a .nav-caret {
  font-size: 10px;
  opacity: 0.65;
  transition: transform 0.2s ease;
}
.nav-has-mega:hover > a .nav-caret {
  transform: rotate(180deg);
}
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(760px, 86vw);
  background: #fff;
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  border-radius: 3px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.13);
  padding: 24px 26px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 95;
}
.nav-has-mega:hover .mega-menu,
.nav-has-mega:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 20px 24px;
}
.mega-col-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.16s;
}
.mega-col-title:hover {
  color: var(--accent);
}
.mega-sub-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mega-sub-link {
  font-size: 12.5px;
  color: var(--muted);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.16s, padding-inline-start 0.16s;
}
.mega-sub-link:hover {
  color: var(--primary);
  padding-inline-start: 4px;
}

/* Sleek Globe Language Popover (replaces crowded multi-button row cleanly) */
.lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--primary);
  border-radius: 3px;
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
}
.lang-trigger:hover {
  border-color: var(--primary);
  background: #fff;
}
.lang-trigger svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.lang-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 210px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  border-radius: 3px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.13);
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 96;
}
.lang-switch.open .lang-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-switch button:not(.lang-trigger) {
  border: 1px solid transparent;
  background: transparent;
  padding: 7px 10px;
  border-radius: 2px;
  font-size: 12.5px;
  cursor: pointer;
  color: var(--body-secondary);
  font-weight: 500;
  font-family: inherit;
  text-align: start;
  transition: all 0.15s;
}
.lang-switch button:not(.lang-trigger):hover {
  background: var(--bg);
  color: var(--primary);
}
.lang-switch button:not(.lang-trigger).active {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}

.burger {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 3px;
  width: 40px;
  height: 40px;
  font-size: 20px;
  color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}

/* ===== Full-Bleed Architectural Hero Stage ===== */
.hero {
  position: relative;
  background: var(--hero-grad);
  color: #fff;
  padding: 108px 0 0;
  overflow: hidden;
  overflow: clip;
}
/* Subtle architectural blueprint hairline grid */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
/* Soft ambient light vignette */
.hero::after {
  content: "";
  position: absolute;
  top: -120px;
  right: 0;
  width: min(560px, 88vw);
  height: min(560px, 88vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.11) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.hero .container > div:first-child {
  max-width: 820px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--chip-highlight);
  margin-bottom: 22px;
}
.hero-eyebrow::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 1px;
  background: currentColor;
}
.hero h1 {
  font-size: clamp(32px, 4.3vw, 52px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  font-weight: 600;
}
.hero p {
  font-size: 17px;
  line-height: 1.75;
  opacity: 0.88;
  margin-bottom: 36px;
  max-width: 660px;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 2px;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.06em;
  cursor: pointer;
  max-width: 100%;
  text-align: center;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}
.btn-primary::after {
  content: "→";
  font-size: 15px;
  transition: transform 0.2s ease;
}
.btn-primary:hover::after {
  transform: translateX(4px);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
}

/* Bottom Full-Width Architectural Spec Strip (replaces cramped side box) */
.hero-card {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: rgba(0, 0, 0, 0.18);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-inline: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 3px 3px 0 0;
  padding: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-card .chip {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 6px;
  padding: 24px 26px;
  min-width: 0;
  border-bottom: none;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
}
.hero-card .chip:last-child {
  border-inline-end: none;
}
.hero-card .chip span {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.72;
  overflow-wrap: anywhere;
}
.hero-card .chip b {
  color: var(--chip-highlight);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: start;
  overflow-wrap: anywhere;
}

/* ===== Editorial Sections & Typographic Hierarchy ===== */
section {
  padding: 96px 0;
}
.sec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.sec-eyebrow::before {
  content: "";
  width: 24px;
  height: 1.5px;
  background: var(--accent);
}
.sec-title {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin-bottom: 14px;
  font-weight: 600;
}
.sec-sub {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 48px;
  max-width: 680px;
}

/* ===== About & Architectural Capabilities ===== */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: start;
}
.about-grid > * {
  min-width: 0;
}
.about-grid p {
  margin-bottom: 18px;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--body-secondary);
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 38px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.stat {
  background: transparent;
  border: none;
  border-inline-end: 1px solid var(--line);
  border-radius: 0;
  padding: 28px 20px;
  text-align: start;
  box-shadow: none;
  min-width: 0;
  overflow-wrap: break-word;
}
.stat:last-child {
  border-inline-end: none;
}
.stat b {
  display: block;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--stat-color);
  margin-bottom: 8px;
}
.stat span {
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.feature-list {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 2px solid var(--primary);
  border-radius: 3px;
  padding: 12px 30px;
  box-shadow: none;
  counter-reset: feat;
}
.feature-list li {
  list-style: none;
  counter-increment: feat;
  padding: 18px 0 18px 44px;
  position: relative;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--body-secondary);
  line-height: 1.65;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: "0" counter(feat);
  position: absolute;
  left: 0;
  top: 19px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

/* ===== Gallery-Grade Two-Level Products Catalog ===== */
#products {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Multi-Brand & Reserved Expansion Showcase Strip */
.brand-showcase {
  margin-top: -18px;
  margin-bottom: 34px;
  padding: 20px 22px 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-top: 2px solid var(--primary);
  border-radius: 3px;
}
.brand-showcase-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 18px;
  margin-bottom: 16px;
}
.brand-showcase-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}
.brand-showcase-title::before {
  content: "";
  width: 18px;
  height: 1.5px;
  background: var(--accent);
}
.brand-showcase-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.brand-all-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--body-secondary);
  border-radius: 2px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.16s;
}
.brand-all-btn:hover,
.brand-all-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.brand-inquire-link {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: opacity 0.18s;
}
.brand-inquire-link:hover {
  text-decoration: underline;
  opacity: 0.85;
}
.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.brand-tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  text-align: start;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s, background 0.18s;
}
.brand-tile:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(10, 22, 40, 0.06);
}
.brand-tile.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), 0 10px 24px rgba(10, 22, 40, 0.08);
  background: #fff;
}
.brand-tile.active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 2px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  flex-shrink: 0;
  overflow: hidden;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  padding: 4px;
}
.brand-info {
  min-width: 0;
  flex: 1;
}
.brand-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 3px;
}
.brand-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-count {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(0, 112, 192, 0.09);
  padding: 2px 7px;
  border-radius: 2px;
  flex-shrink: 0;
}
.brand-sub {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-tile.reserved {
  background: rgba(255, 255, 255, 0.62);
  border: 1px dashed #cbd5e1;
}
.brand-tile.reserved:hover {
  background: #fff;
  border-color: var(--accent);
  border-style: solid;
}
.brand-tile.reserved .brand-mark {
  background: transparent;
  border: 1px dashed #cbd5e1;
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
}
.brand-tile.reserved:hover .brand-mark {
  border-color: var(--accent);
  color: var(--accent);
}
.brand-tile.reserved .brand-name {
  color: var(--body-secondary);
  font-weight: 600;
}
.brand-reserved-tag {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  border: 1px solid var(--line);
  background: #fff;
  padding: 1px 6px;
  border-radius: 2px;
  flex-shrink: 0;
}
.card-brand-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--primary);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 2px;
}
[dir="rtl"] .card-brand-pill {
  left: auto;
  right: 12px;
}
.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 24px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
}
.filters button {
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  border-radius: 0;
  padding: 10px 2px 12px;
  margin-bottom: -15px;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.18s, border-color 0.18s;
}
.filters button:hover {
  color: var(--primary);
}
.filters button.active {
  background: transparent;
  color: var(--primary);
  border-bottom-color: var(--accent);
  font-weight: 700;
}

/* Level-2 Subcategory Architectural Strip */
.sub-filters {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--accent);
  border-radius: 2px;
  padding: 13px 18px;
  margin-top: -6px;
  margin-bottom: 30px;
}
.sub-filters.visible {
  display: flex;
}
.sub-filters-prefix {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--primary);
  margin-inline-end: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.sub-filters button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 2px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-family: inherit;
  cursor: pointer;
  color: var(--body-secondary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.16s;
}
.sub-filters button:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.sub-filters button.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 600;
}
.sub-filters button .sub-count {
  font-size: 11px;
  opacity: 0.72;
}

.search-box {
  position: relative;
  min-width: 240px;
  max-width: 100%;
}
.search-box input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 9px 14px 9px 36px;
  font-size: 13.5px;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.18s, background 0.18s;
}
.search-box input:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
}
.search-box .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: var(--muted);
  pointer-events: none;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 24px;
  color: var(--muted);
  background: var(--bg);
  border-radius: 3px;
  border: 1px dashed var(--line);
  font-size: 15px;
}
.catalog-pagination {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 38px;
}
.catalog-pagination.visible {
  display: flex;
}
.catalog-count-meta {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.load-more-btn {
  border: 1px solid var(--primary);
  background: #fff;
  color: var(--primary);
  padding: 11px 32px;
  border-radius: 2px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.18s;
}
.load-more-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 3;
}
.card:hover {
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.14);
  transform: translateY(-4px);
}
.card:hover::before {
  transform: scaleX(1);
}
.card-visual {
  aspect-ratio: var(--card-fallback-ratio, 4 / 3);
  min-height: 196px;
  border-radius: 0;
  overflow: hidden;
  background: var(--thumb-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.card-visual.has-img {
  aspect-ratio: var(--card-img-ratio, 1 / 1);
  background: var(--card-img-bg, #ffffff);
}
.card-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: var(--card-img-pad, 10px);
  cursor: zoom-in;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.card:hover .card-visual img {
  transform: scale(1.03);
}
.card-visual .fallback-icon {
  font-size: 42px;
  color: var(--thumb-icon-color);
  user-select: none;
  transition: transform 0.3s ease;
}
.card:hover .card-visual .fallback-icon {
  transform: scale(1.08);
}
.card-visual .cat-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  pointer-events: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  border: 1px solid rgba(0, 0, 0, 0.07);
  backdrop-filter: blur(4px);
}
.card .cat {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 18px 20px 0;
}
.card .cat-link {
  cursor: pointer;
}
.card .cat-link:hover {
  text-decoration: underline;
}
.card .cat-sep {
  opacity: 0.5;
}
.card .cat-sub {
  color: var(--muted);
  font-weight: 500;
}
.card h3 {
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--primary);
  word-break: break-word;
  padding: 6px 20px 0;
}
.card p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
  flex: 1;
  padding: 8px 20px 16px;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.card .meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
  padding: 12px 20px;
  background: var(--bg);
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.card .meta span b {
  color: var(--text);
  font-weight: 600;
}
.card .ask {
  margin: 0;
  padding: 13px 20px;
  border: none;
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--ask-color);
  border-radius: 0;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 0.06em;
  cursor: pointer;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s ease, color 0.2s ease;
}
.card .ask::after {
  content: "→";
  font-size: 15px;
  transition: transform 0.2s ease;
}
.card .ask:hover {
  background: var(--ask-hover-bg);
  color: #fff;
}
.card .ask:hover::after {
  transform: translateX(4px);
}

/* ===== Brand Statement Contrast Band (Editorial Pause) ===== */
.statement-band {
  background: var(--side-grad);
  color: #fff;
  padding: 76px 0;
  position: relative;
  overflow: hidden;
}
.statement-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.statement-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}
.statement-copy {
  max-width: 740px;
}
.statement-copy .sec-eyebrow {
  color: var(--chip-highlight);
}
.statement-copy .sec-eyebrow::before {
  background: var(--chip-highlight);
}
.statement-copy h2 {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.28;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.statement-copy p {
  font-size: 15.5px;
  opacity: 0.86;
}

/* ===== Editorial Hairline Accordion FAQ ===== */
.faq-list {
  display: block;
  max-width: 960px;
  border-top: 1px solid var(--line);
}
.faq-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: start;
  padding: 24px 4px;
  font-size: 17px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  font-family: inherit;
  transition: color 0.18s;
}
.faq-q:hover {
  color: var(--accent);
}
.faq-q .faq-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-inline-end: 14px;
  font-variant-numeric: tabular-nums;
}
.faq-q .faq-q-main {
  display: inline-flex;
  align-items: baseline;
  flex: 1;
}
.faq-q .arrow {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 2px;
  display: grid;
  place-items: center;
  font-size: 16px;
  line-height: 1;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.faq-item.open .arrow {
  transform: rotate(45deg);
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.faq-a p {
  padding: 0 42px 24px 36px;
}
.faq-item.open .faq-a {
  max-height: 320px;
}

/* ===== Architectural Inquiry Form ===== */
#contact {
  background: #fff;
  border-top: 1px solid var(--line);
}
.form-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: stretch;
}
.form-wrap > * {
  min-width: 0;
  max-width: 100%;
}
.contact-side {
  background: var(--side-grad);
  color: #fff;
  border-radius: 3px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 3px solid var(--chip-highlight);
}
.contact-side h3 {
  margin-bottom: 22px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.contact-side li {
  list-style: none;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 14.5px;
  opacity: 0.94;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.contact-side li:last-child { border-bottom: none; }

form {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 38px 36px;
  box-shadow: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  min-width: 0;
  max-width: 100%;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  max-width: 100%;
}
.field.full { grid-column: 1 / -1; }
.hp-field { display: none !important; }
label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--body-secondary);
}
input, select, textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  text-overflow: ellipsis;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: var(--text);
  transition: border-color 0.18s, box-shadow 0.18s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}
textarea { min-height: 120px; resize: vertical; }

/* Inquiry File / BOM Sheet Upload Dropzone */
.upload-zone {
  position: relative;
  border: 1.5px dashed var(--line);
  border-radius: 2px;
  background: #fff;
  padding: 18px 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--accent);
  background: rgba(0, 0, 0, 0.015);
}
.upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
}
.upload-zone-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  pointer-events: none;
}
.upload-zone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 2px;
  background: var(--bg);
  color: var(--accent);
  border: 1px solid var(--line);
  margin-bottom: 2px;
}
.upload-zone-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}
.upload-zone-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary);
}
.upload-zone-hint {
  font-size: 12px;
  color: var(--muted);
}
.upload-file-chip {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--accent);
  border-radius: 2px;
  padding: 9px 12px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--primary);
}
.upload-file-chip.visible {
  display: flex;
}
.upload-file-info {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}
.upload-file-name {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.upload-file-size {
  font-size: 11.5px;
  color: var(--muted);
  flex-shrink: 0;
}
.upload-file-clear {
  background: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  width: 24px;
  height: 24px;
  font-size: 14px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.15s, border-color 0.15s;
}
.upload-file-clear:hover {
  color: #b91c1c;
  border-color: #b91c1c;
}
.upload-file-thumb {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid var(--line);
  flex-shrink: 0;
  display: none;
}
.upload-file-thumb.visible {
  display: block;
}
.submit-btn {
  grid-column: 1 / -1;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 15px 24px;
  border-radius: 2px;
  font-size: 14.5px;
  letter-spacing: 0.08em;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.18s, opacity 0.18s, transform 0.18s;
}
.submit-btn:hover {
  background: var(--submit-hover);
  transform: translateY(-1px);
}
.submit-btn:disabled { opacity: 0.65; cursor: not-allowed; }
.form-alert {
  display: none;
  grid-column: 1 / -1;
  border-radius: 2px;
  padding: 14px 16px;
  font-weight: 600;
  font-size: 14px;
}
.form-alert.success {
  display: block;
  background: #e8f7ee;
  color: #157347;
  border: 1px solid #b7e4c7;
}
.form-alert.error {
  display: block;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* ===== Enterprise Multi-Column Footer ===== */
footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 72px 0 30px;
  border-top: 3px solid var(--accent);
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr) minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 36px;
  margin-bottom: 42px;
}
.foot-grid > * {
  min-width: 0;
}
footer h4 {
  color: #fff;
  margin-bottom: 18px;
  font-size: 13.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}
footer p {
  font-size: 14px;
  line-height: 1.75;
  opacity: 0.86;
  overflow-wrap: anywhere;
}
footer li {
  list-style: none;
  padding: 5px 0;
  font-size: 13.5px;
  overflow-wrap: anywhere;
}
footer a {
  color: var(--footer-text);
  text-decoration: none;
  transition: color 0.16s, padding-inline-start 0.16s;
}
footer a:hover {
  color: #fff;
  padding-inline-start: 3px;
}
.disclaimer {
  font-size: 12px;
  color: var(--footer-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  line-height: 1.8;
}
.copy {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--footer-muted);
  text-align: center;
  letter-spacing: 0.03em;
}

/* ===== Social & Chat ===== */
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.social-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
  padding-inline-start: 0;
}
.social-btn svg { width: 17px; height: 17px; fill: currentColor; }
.nav-chat {
  width: 36px;
  height: 36px;
  border-radius: 3px;
  background: var(--chat-bg);
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  transition: transform 0.18s, opacity 0.18s;
}
.nav-chat:hover { transform: translateY(-1px); opacity: 0.92; }
.nav-chat svg { width: 18px; height: 18px; fill: #fff; }

/* ===== Visitor Lead Capture (Editorial Modal + Floating Callback Button) ===== */
.lead-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: var(--side-grad);
  color: #fff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lead-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3);
}
.lead-fab svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}
.lead-fab-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: leadPulse 2s infinite;
}
.lead-fab.submitted .lead-fab-dot {
  animation: none;
  background: #86efac;
}
@keyframes leadPulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.lead-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 16, 24, 0.62);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}
.lead-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.lead-modal {
  width: 100%;
  max-width: 468px;
  max-height: calc(100dvh - 28px);
  overflow-x: hidden;
  overflow-y: auto;
  background: #fff;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.lead-backdrop.open .lead-modal {
  transform: translateY(0) scale(1);
}
.lead-modal-head {
  background: var(--side-grad);
  color: #fff;
  padding: 26px 28px 22px;
  position: relative;
  border-bottom: 2px solid var(--chip-highlight);
}
.lead-modal-head h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  padding-inline-end: 32px;
  margin-bottom: 7px;
}
.lead-modal-head p {
  font-size: 13.5px;
  opacity: 0.88;
  line-height: 1.55;
}
.lead-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.18s;
}
.lead-close:hover {
  background: rgba(255, 255, 255, 0.22);
}
form.lead-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 28px 24px;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
}
.lead-channels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}
.lead-channel-btn {
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--body-secondary);
  border-radius: 2px;
  padding: 8px 6px;
  font-size: 12.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.16s;
  text-align: center;
}
.lead-channel-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.lead-channel-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.lead-optional-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.lead-submit-btn {
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 13px;
  border-radius: 2px;
  font-size: 14.5px;
  letter-spacing: 0.05em;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.18s, opacity 0.18s;
  margin-top: 2px;
}
.lead-submit-btn:hover { background: var(--submit-hover); }
.lead-submit-btn:disabled { opacity: 0.65; cursor: not-allowed; }
.lead-later-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 12.5px;
  font-family: inherit;
  cursor: pointer;
  padding: 2px;
  text-align: center;
}
.lead-later-btn:hover {
  color: var(--primary);
  text-decoration: underline;
}
.lead-alert {
  display: none;
  border-radius: 2px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
}
.lead-alert.success {
  display: block;
  background: #e8f7ee;
  color: #157347;
  border: 1px solid #b7e4c7;
}
.lead-alert.error {
  display: block;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* ===== RTL (Arabic) Full Support ===== */
[dir="rtl"] body {
  font-family: "Noto Naskh Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
}
[dir="rtl"] .menu > li > a::after,
[dir="rtl"] .card::before {
  transform-origin: right center;
}
[dir="rtl"] .btn-primary::after,
[dir="rtl"] .card .ask::after {
  content: "←";
}
[dir="rtl"] .btn-primary:hover::after,
[dir="rtl"] .card .ask:hover::after {
  transform: translateX(-4px);
}
[dir="rtl"] .lang-popover {
  right: auto;
  left: 0;
}
[dir="rtl"] .feature-list li {
  padding: 18px 44px 18px 0;
}
[dir="rtl"] .feature-list li::before {
  left: auto;
  right: 0;
}
[dir="rtl"] .faq-a p {
  padding: 0 36px 24px 42px;
}
[dir="rtl"] .search-box input {
  padding: 9px 36px 9px 14px;
}
[dir="rtl"] .search-box .search-icon {
  left: auto;
  right: 12px;
}
[dir="rtl"] .card-visual .cat-badge {
  right: auto;
  left: 12px;
}
[dir="rtl"] .lead-fab {
  right: auto;
  left: 24px;
}
[dir="rtl"] .lead-close {
  right: auto;
  left: 16px;
}

/* ===== Fullscreen High-Res Image Lightbox ===== */
.img-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(8, 14, 24, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  gap: 14px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.img-lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.img-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.18s;
}
.img-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.26);
}
[dir="rtl"] .img-lightbox-close {
  right: auto;
  left: 16px;
}
.img-lightbox img {
  max-width: min(94vw, 1080px);
  max-height: 80dvh;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #fff;
  border-radius: 4px;
  padding: 6px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}
.img-lightbox-caption {
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  max-width: 90vw;
  overflow-wrap: anywhere;
}

/* ===== Responsive ===== */
@media (max-width: 1220px) {
  .menu { gap: 18px; }
  .menu > li > a { font-size: 13.5px; }
}
@media (max-width: 1080px) {
  .nav { min-height: 68px; gap: 14px; }
  .logo { flex: 1 1 auto; min-width: 0; }
  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100dvh - 68px);
    overflow-y: auto;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 20px 22px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
    display: none;
  }
  .menu.open { display: flex; }
  .menu > li > a {
    width: 100%;
    padding: 11px 4px;
    border-bottom: 1px solid var(--line);
    justify-content: space-between;
  }
  .menu > li > a.nav-chat {
    width: 38px;
    height: 38px;
    padding: 0;
    margin: 10px 0 6px;
    border-bottom: none;
    justify-content: center;
  }
  .burger { display: grid; place-items: center; }
  .lang-switch {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    margin-top: 6px;
  }
  .lang-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 10px 12px;
  }
  .lang-popover,
  [dir="rtl"] .lang-popover {
    position: static;
    left: auto;
    right: auto;
    width: 100%;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    margin-top: 8px;
    display: none;
  }
  .lang-switch.open .lang-popover { display: grid; }
  .mega-menu { display: none !important; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .about-grid,
  .form-wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-card .chip { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
  .hero-card .chip:nth-child(2n) { border-inline-end: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}
@media (max-width: 680px) {
  .container { padding: 0 16px; }
  .nav { min-height: 62px; gap: 10px; }
  .logo { font-size: 16.5px; gap: 10px; }
  .logo .mark { width: 34px; height: 34px; font-size: 15px; }
  .logo small {
    font-size: 10.5px;
    letter-spacing: 0.02em;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .burger { width: 38px; height: 38px; font-size: 19px; }
  section { padding: 54px 0; }
  .sec-sub { margin-bottom: 28px; font-size: 14.5px; }
  .hero { padding: 48px 0 0; }
  .hero .container { gap: 32px; }
  .hero-eyebrow { margin-bottom: 14px; font-size: 11px; letter-spacing: 0.12em; }
  .hero h1 { font-size: clamp(24px, 6.8vw, 32px); line-height: 1.25; margin-bottom: 16px; }
  .hero p { font-size: 15px; line-height: 1.68; margin-bottom: 24px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1 1 140px; padding: 12px 18px; font-size: 13.5px; }
  .hero-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-card .chip { padding: 14px 14px; gap: 4px; }
  .hero-card .chip span { font-size: 10.5px; letter-spacing: 0.08em; }
  .hero-card .chip b { font-size: 13.5px; line-height: 1.35; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; }
  .stat { padding: 16px 10px; }
  .stat b { font-size: 24px; margin-bottom: 4px; }
  .stat span { font-size: 11.5px; line-height: 1.35; display: block; }
  .feature-list { padding: 8px 18px; }
  .feature-list li { padding: 14px 0 14px 36px; font-size: 14px; }
  [dir="rtl"] .feature-list li { padding: 14px 36px 14px 0; }
  .grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .brand-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .brand-showcase { padding: 14px; margin-top: 0; margin-bottom: 22px; }
  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 18px;
  }
  .filters { gap: 8px; }
  .filters button {
    margin-bottom: 0;
    padding: 7px 12px;
    font-size: 13px;
    border: 1px solid var(--line);
    border-radius: 2px;
    background: var(--bg);
  }
  .filters button.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
  }
  .sub-filters { padding: 11px 12px; gap: 6px; margin-bottom: 20px; }
  .search-box { min-width: 0; width: 100%; }
  .faq-q { padding: 18px 2px; font-size: 15.5px; gap: 12px; }
  .faq-a p { padding: 0 12px 18px 28px; font-size: 14px; }
  [dir="rtl"] .faq-a p { padding: 0 28px 18px 12px; }
  .statement-band { padding: 48px 0; }
  .statement-inner { gap: 20px; }
  .statement-inner .btn { width: 100%; }
  .contact-side { padding: 26px 20px; }
  form { grid-template-columns: minmax(0, 1fr); padding: 22px 18px; gap: 16px; }
  input, select, textarea { font-size: 16px; }
  form.lead-form { display: flex; padding: 18px 18px 20px; }
  .lead-modal-head { padding: 20px 20px 18px; }
  .lead-optional-row { grid-template-columns: minmax(0, 1fr); }
  .lead-channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lead-fab { right: 14px; bottom: 16px; padding: 11px 16px; font-size: 13px; }
  [dir="rtl"] .lead-fab { right: auto; left: 14px; }
  footer { padding: 48px 0 84px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; margin-bottom: 30px; }
}
@media (max-width: 380px) {
  .hero-card { grid-template-columns: minmax(0, 1fr); }
  .hero-card .chip { border-inline-end: none; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat { border-inline-end: none; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: none; }
}
