/* ============================================================
   QUEENDOM LED — /catalog/ Stylesheet (VI-Compliant v1.0)
   Base: online style.css?v=20260930a (deployed variant, 875 lines)
   VI rules (国际部对外VI系统 V1.0): red #C00820 is NEVER used as
   text color; red appears only as 3px lines / small dots / accent
   bars. Silver-chrome gradient + ink text on all CTA buttons.
   Changes vs base: text colors + 3px red accent lines + button ink
   text with inset red line. Layout / spacing / grid untouched.
   ============================================================ */

:root {
  --navy: #1C2129;
  --navy-2: #1C2129;
  --navy-card: #2C323D;
  --cyan: #E8574F;
  --cyan-soft: #F0776E;
  --blue: #C00820;
  --blue-dark: #A6061B;
  --bg: #ffffff;
  --bg-alt: #F7F8FA;
  --ink: #131720;
  --ink-soft: #5F6879;
  --border: #E4E7EC;
  --error: #C00820;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(19, 23, 32, 0.08);
  --shadow-lg: 0 18px 50px rgba(19, 23, 32, 0.16);
  --container: 1160px;
  --header-h: 70px;
  --topbar-h: 36px;

  --font-body: Arial, "Helvetica Neue", Helvetica, "PingFang SC",
    "Microsoft YaHei", sans-serif;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--topbar-h) + 10px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

/* VI: links are ink / graphite — red is never a text color */
a { color: #1C2129; text-decoration: none; }
a:hover { color: #5F6879; }

h1, h2, h3 { line-height: 1.22; margin: 0 0 0.5em; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* VI: focus ring = 3px red line (allowed red form) */
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: bold;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

/* VI CTA language: silver-chrome gradient + INK text + 3px red line
   (inset bottom bar follows the pill radius) — per AR-08 v1.2 */
.btn-primary {
  background: linear-gradient(115deg, #FFFFFF 0%, #f2f4f7 30%, #c6cbd2 52%, #F2F4F7 74%, #C6CBD2 100%);
  color: #1C2129;
  box-shadow: 0 8px 22px rgba(198, 203, 210, 0.35), inset 0 -3px 0 #C00820;
}
.btn-primary:hover { color: #1C2129; box-shadow: 0 12px 28px rgba(198, 203, 210, 0.45), inset 0 -3px 0 #C00820; }

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #F2F4F7;
  border-color: rgba(255, 255, 255, 0.28);
}

/* 询盘主 CTA —— VI: silver-chrome + ink text + 3px red line */
.btn-quote {
  background: linear-gradient(115deg, #FFFFFF 0%, #f2f4f7 30%, #c6cbd2 52%, #F2F4F7 74%, #C6CBD2 100%);
  color: #1C2129;
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(35, 42, 53, 0.4), inset 0 -3px 0 #C00820;
}
.btn-quote:hover { color: #1C2129; box-shadow: 0 12px 28px rgba(35, 42, 53, 0.55), inset 0 -3px 0 #C00820; }

.btn-ghost:hover { color: #fff; border-color: rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.12); }

.btn-block { display: block; width: 100%; text-align: center; }

/* ---------- Top bar ---------- */
.top-bar {
  background: #0E1014;
  color: #A6AEBD;
  font-size: 0.8rem;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
}
.top-bar-inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
/* VI: top-bar links silver-chrome (was --cyan-soft red) */
.top-bar a { color: #C6CBD2; }
.top-bar a:hover { color: #fff; }

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.top-bar-link {
  color: #A6AEBD;
  font-weight: bold;
  letter-spacing: 0.04em;
}
.top-bar-link:hover { color: #fff; }

.top-bar-sep {
  width: 1px;
  height: 13px;
  background: rgba(255, 255, 255, 0.18);
}

.top-bar-lang {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #A6AEBD;
  padding: 3px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}
.top-bar-lang:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.36);
}

/* VI: email link silver-chrome (was --cyan-soft red) */
.top-bar-email { color: #C6CBD2; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(19, 23, 32, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand { display: inline-flex; align-items: center; }

.brand-logo {
  height: 52px;
  width: auto;
  background: #fff;
  border-radius: 10px;
  padding: 5px 9px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.brand-text {
  font-size: 1.18rem;
  font-weight: bold;
  letter-spacing: 0.04em;
  color: #fff;
}
/* VI: brand "LED" suffix silver-chrome (was red) */
.brand-text em {
  font-style: normal;
  color: #C6CBD2;
  margin-left: 2px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: block;
  color: #DDE1E8;
  font-size: 0.92rem;
  padding: 9px 13px;
  border-radius: 8px;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }

/* VI nav CTA: silver-chrome + ink text + 3px red line (was white-on-chrome, unreadable) */
.main-nav .nav-cta {
  background: linear-gradient(115deg, #FFFFFF 0%, #f2f4f7 30%, #c6cbd2 52%, #F2F4F7 74%, #C6CBD2 100%);
  color: #1C2129;
  font-weight: bold;
  padding: 9px 20px;
  border-radius: 999px;
  margin-left: 8px;
  box-shadow: 0 6px 16px rgba(198, 203, 210, 0.4), inset 0 -3px 0 #C00820;
}
.main-nav .nav-cta:hover { background: linear-gradient(115deg, #FFFFFF 0%, #f2f4f7 30%, #c6cbd2 52%, #F2F4F7 74%, #C6CBD2 100%); color: #1C2129; box-shadow: 0 10px 22px rgba(198, 203, 210, 0.5), inset 0 -3px 0 #C00820; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 82% -10%, rgba(198, 203, 210, 0.22), transparent 60%),
    radial-gradient(700px 420px at 8% 110%, rgba(198, 203, 210, 0.25), transparent 60%),
    linear-gradient(180deg, #1C2129 0%, #15181E 100%);
  color: #fff;
  padding: 88px 0 74px;
  text-align: center;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(500px 200px at 50% 108%, rgba(198, 203, 210, 0.16), transparent 70%);
}

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

/* VI: hero eyebrow silver-chrome on dark (was red) + 3px red accent line */
.hero-eyebrow {
  color: #98A2B3;
  font-size: 0.82rem;
  font-weight: bold;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.hero-eyebrow::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  border-radius: 2px;
  background: #C00820;
  margin: 12px auto 0;
}

.hero h1 {
  font-size: clamp(2rem, 5.2vw, 3.4rem);
  margin: 0 auto 20px;
  max-width: 820px;
}

/* VI: h1 accent word bright silver-chrome (was red) */
.hero-accent { color: #E8EBF0; }

.hero-sub {
  max-width: 680px;
  margin: 0 auto 30px;
  color: #C6CBD2;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 auto;
  max-width: 900px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 28px;
}
.hero-stats > div {
  flex: 1 1 150px;
  padding: 4px 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-stats > div:first-child { border-left: 0; }
.hero-stats dt {
  font-size: 1.7rem;
  font-weight: bold;
  color: #fff;
}
.hero-stats dd {
  margin: 2px 0 0;
  color: #98A2B3;
  font-size: 0.85rem;
}

/* ---------- Catalog entries: two big doors under the hero ---------- */
.catalog-entries {
  background:
    linear-gradient(180deg, #15181E 0%, #1C2129 42%, #F7F8FA 42%, #F7F8FA 100%);
  padding: 0 0 84px;
  margin-top: -1px;
}

/* VI: entries eyebrow silver-chrome on dark (was red) + 3px red accent line */
.entries-eyebrow {
  color: #98A2B3;
  font-size: 0.78rem;
  font-weight: bold;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 24px;
  padding-top: 54px;
}
.entries-eyebrow::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  border-radius: 2px;
  background: #C00820;
  margin: 12px auto 0;
}

.entries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.entry-card {
  position: relative;
  display: block;
  min-height: 330px;
  border-radius: 18px;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  box-shadow: 0 18px 44px rgba(19, 23, 32, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.entry-card:hover,
.entry-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(19, 23, 32, 0.4);
  color: #fff;
}

/* per-line accent tints on the border glow */
.entry-chips    { border-color: rgba(198, 203, 210, 0.28); }
.entry-lighting { border-color: rgba(35, 42, 53, 0.26); }

.entry-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* inline SVG: let preserveAspectRatio="...slice" do the cropping */
  transform-origin: center;
  transition: transform 0.5s ease;
}
.entry-card:hover .entry-visual { transform: scale(1.05); }

/* legibility scrim over the artwork */
.entry-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(19, 23, 32, 0.12) 0%, rgba(19, 23, 32, 0.6) 46%, rgba(19, 23, 32, 0.94) 100%),
    linear-gradient(90deg, rgba(19, 23, 32, 0.5), transparent 62%);
  pointer-events: none;
}

.entry-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px 32px 32px;
}

/* VI: entry eyebrow silver-chrome on dark scrim (was red) */
.entry-line {
  font-size: 0.72rem;
  font-weight: bold;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #98A2B3;
  margin-bottom: 10px;
}
.entry-lighting .entry-line { color: #98A2B3; }

.entry-title {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  margin: 0 0 10px;
  color: #fff;
}

.entry-desc {
  margin: 0 0 18px;
  color: #D3D8E0;
  font-size: 0.92rem;
  max-width: 460px;
}

/* VI CTA: silver-chrome + ink text (kept) + 3px red line */
.entry-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: bold;
  font-size: 0.95rem;
  color: #1C2129;
  background: linear-gradient(115deg, #FFFFFF 0%, #f2f4f7 30%, #c6cbd2 52%, #F2F4F7 74%, #C6CBD2 100%);
  padding: 10px 22px;
  border-radius: 999px;
  align-self: flex-start;
  box-shadow: 0 8px 22px rgba(198, 203, 210, 0.32), inset 0 -3px 0 #C00820;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.entry-lighting .entry-cta {
  background: linear-gradient(115deg, #FFFFFF 0%, #f2f4f7 30%, #c6cbd2 52%, #F2F4F7 74%, #C6CBD2 100%);
  box-shadow: 0 8px 22px rgba(35, 42, 53, 0.3), inset 0 -3px 0 #C00820;
}
.entry-card:hover .entry-cta {
  transform: translateX(3px);
  box-shadow: 0 12px 26px rgba(198, 203, 210, 0.44), inset 0 -3px 0 #C00820;
}
.entry-lighting:hover .entry-cta {
  box-shadow: 0 12px 26px rgba(35, 42, 53, 0.42), inset 0 -3px 0 #C00820;
}

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.products-alt, .news { background: var(--bg-alt); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 46px; }

/* VI: section eyebrow graphite on light (was red) + 3px red accent line */
.section-eyebrow {
  color: #5F6879;
  font-size: 0.78rem;
  font-weight: bold;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.section-eyebrow::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  border-radius: 2px;
  background: #C00820;
  margin: 12px 0 0;
}
.section-head .section-eyebrow::after { margin-inline: auto; }

.section-head h2 { font-size: clamp(1.55rem, 3.4vw, 2.2rem); }

.section-sub { color: var(--ink-soft); margin: 0; }

/* ---------- Product cards ---------- */
.product-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(19, 23, 32, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* VI: chip visual = silver-chrome gradient + INK text (was white-on-chrome, unreadable) */
.product-visual {
  position: relative;
  height: 118px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 16px 18px;
  color: #1C2129;
  margin-bottom: 16px;
  overflow: hidden;
}
.product-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 26px),
    radial-gradient(140px 70px at 85% 15%, rgba(255, 255, 255, 0.25), transparent 70%);
  pointer-events: none;
}

.chip-code {
  position: relative;
  z-index: 1;
  font-size: 1.65rem;
  font-weight: bold;
  letter-spacing: 0.06em;
  line-height: 1.1;
}
.chip-note {
  position: relative;
  z-index: 1;
  font-size: 0.74rem;
  opacity: 0.85;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chip-ceramic  { background: linear-gradient(115deg, #FFFFFF 0%, #f2f4f7 30%, #c6cbd2 52%, #F2F4F7 74%, #C6CBD2 100%); }
.chip-ir       { background: linear-gradient(115deg, #FFFFFF 0%, #f2f4f7 30%, #c6cbd2 52%, #F2F4F7 74%, #C6CBD2 100%); }
.chip-uv       { background: linear-gradient(115deg, #FFFFFF 0%, #f2f4f7 30%, #c6cbd2 52%, #F2F4F7 74%, #C6CBD2 100%); }
.chip-rgb      { background: linear-gradient(115deg, #FFFFFF 0%, #f2f4f7 30%, #c6cbd2 52%, #F2F4F7 74%, #C6CBD2 100%); }
.chip-agri     { background: linear-gradient(115deg, #FFFFFF 0%, #f2f4f7 30%, #c6cbd2 52%, #F2F4F7 74%, #C6CBD2 100%); }
.chip-industrial{ background: linear-gradient(115deg, #FFFFFF 0%, #f2f4f7 30%, #c6cbd2 52%, #F2F4F7 74%, #C6CBD2 100%); }
.chip-smart    { background: linear-gradient(115deg, #FFFFFF 0%, #f2f4f7 30%, #c6cbd2 52%, #F2F4F7 74%, #C6CBD2 100%); }
.chip-uvfix    { background: linear-gradient(115deg, #FFFFFF 0%, #f2f4f7 30%, #c6cbd2 52%, #F2F4F7 74%, #C6CBD2 100%); }

.product-card h3 { font-size: 1.08rem; margin-bottom: 8px; }

.product-card > p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 0 0 14px;
  flex-grow: 1;
}

.product-specs {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
/* VI: spec chips graphite text (was red) */
.product-specs li {
  font-size: 0.74rem;
  color: #5F6879;
  background: #F2F4F7;
  border: 1px solid #E9EBF0;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.product-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: 13px;
}
/* VI: card links ink (was red), hover graphite */
.product-link {
  font-size: 0.85rem;
  font-weight: bold;
  color: #1C2129;
}
.product-link:hover { color: #5F6879; }

.line-more {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 34px 0 0;
}

/* ---------- Applications ---------- */
.app-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 880px;
  margin-inline: auto;
}

.app-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: 0 2px 10px rgba(19, 23, 32, 0.05);
}
.app-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.app-card p { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }

.app-icon { font-size: 1.5rem; display: inline-block; margin-bottom: 8px; }

/* ---------- Why us (dark) ---------- */
.why-us {
  background:
    radial-gradient(800px 400px at 15% -20%, rgba(198, 203, 210, 0.14), transparent 60%),
    linear-gradient(180deg, #1C2129, #15181E);
  color: #fff;
}
/* VI: dark-section eyebrow silver-chrome (was red) — red accent line inherited */
.why-us .section-eyebrow { color: #98A2B3; }
.why-us .section-head h2 { color: #fff; }
.why-us .section-sub { color: #B4BBC8; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature {
  background: var(--navy-card);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  padding: 24px 20px;
}
/* VI: feature titles bright silver-chrome on dark card (was soft red) */
.feature h3 {
  font-size: 0.98rem;
  color: #E8EBF0;
  margin-bottom: 10px;
}
.feature p {
  margin: 0;
  color: #C6CBD2;
  font-size: 0.88rem;
}

/* ---------- News ---------- */
.news-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.news-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
  box-shadow: 0 2px 10px rgba(19, 23, 32, 0.05);
}
.news-card time {
  font-size: 0.78rem;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.news-card h3 { font-size: 1.02rem; margin: 8px 0 8px; }
.news-card h3 a { color: var(--ink); }
/* VI: hover ink + underline (was red) */
.news-card h3 a:hover {
  color: #1C2129;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.news-card p { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }

/* ---------- Contact ---------- */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-copy h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.contact-copy > p { color: var(--ink-soft); }

.contact-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}
.contact-list li { padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list strong { color: var(--ink); }

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.form-row { margin-bottom: 15px; }

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: bold;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #FBFCFD;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
/* VI: focus border ink (red reserved for error state only) */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #1C2129;
  box-shadow: 0 0 0 3px rgba(198, 203, 210, 0.14);
}
/* FUNCTIONAL error state — red border/text kept intentionally (VI exception) */
.contact-form [aria-invalid="true"] { border-color: var(--error); }

.contact-form textarea { resize: vertical; }

.form-status { margin: 12px 0 0; font-size: 0.88rem; min-height: 1.2em; }
.form-status.is-ok { color: #5F6879; }
/* FUNCTIONAL error message — red kept intentionally (VI exception) */
.form-status.is-error { color: var(--error); }

/* ---------- Footer ---------- */
.site-footer {
  background: #0E1014;
  color: #98A2B3;
  padding: 44px 0 26px;
  font-size: 0.9rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 30px;
  align-items: start;
}

.footer-brand .brand-text { font-size: 1.05rem; }
.footer-brand p { margin: 10px 0 0; max-width: 320px; }

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-nav a { color: #C6CBD2; }
.footer-nav a:hover { color: #fff; }

.footer-copy { margin: 0; font-size: 0.82rem; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .product-card { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .top-bar { display: block; height: 40px; }
  .top-bar-inner > span { display: none; }
  .top-bar-link, .top-bar-sep, .top-bar-email { display: none; }
  .top-bar-right { justify-content: center; width: 100%; }
  .top-bar-lang { padding: 5px 14px; }
  html { scroll-padding-top: calc(var(--header-h) + var(--topbar-h) + 10px); }

  .catalog-entries {
    padding-bottom: 62px;
    background: linear-gradient(180deg, #15181E 0%, #1C2129 30%, #F7F8FA 30%, #F7F8FA 100%);
  }
  .entries-eyebrow { padding-top: 40px; }
  .entries-grid { grid-template-columns: 1fr; gap: 18px; }
  .entry-card { min-height: 280px; }
  .entry-overlay { min-height: 280px; padding: 24px 24px 26px; }

  .nav-toggle { display: block; }

  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
    box-shadow: var(--shadow-lg);
  }
  .main-nav.is-open { display: block; }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 10px 18px 18px;
    gap: 2px;
  }
  .main-nav a { padding: 12px 14px; }
  .main-nav .nav-cta {
    margin: 10px 0 0;
    text-align: center;
  }

  .hero { padding: 64px 0 56px; }
  .section { padding: 62px 0; }
  .contact-inner { grid-template-columns: 1fr; gap: 30px; }
  .news-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .product-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }

  .entry-card { min-height: 250px; }
  .entry-overlay { min-height: 250px; padding: 20px 20px 22px; }
  .entry-desc { font-size: 0.88rem; }

  .hero-stats > div {
    flex: 1 1 40%;
    border-left: 0;
    padding: 8px 6px;
  }
}

/* ==== W27c language switch (top-bar) ==== */
.top-bar { position: relative; z-index: 90; }
.lang-switch { position: relative; }
.lang-switch-btn { background: transparent; cursor: pointer; font-family: inherit; font-size: 0.8rem; }
.lang-switch-btn .chev { transition: transform 0.18s ease; }
.lang-switch.open .chev { transform: rotate(180deg); }
.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 200;
  min-width: 200px;
  max-height: 62vh;
  overflow-y: auto;
  padding: 6px;
  background: #15181E;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.45);
}
.lang-switch.open .lang-menu { display: block; }
.lang-menu button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 8px 10px;
  background: transparent;
  border: 0;
  border-radius: 7px;
  color: #C6CBD2;
  font-size: 13px;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.lang-menu button:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.lang-menu button.active { background: rgba(192, 8, 32, 0.16); color: #fff; }
.lang-menu img { width: 16px; height: 16px; border-radius: 2px; flex: 0 0 16px; }
