/* Shared styles for SEO landing pages — brands hub, brand pages, rare/docs/delivery/contacts */
:root {
  --blue: #0b3d91;
  --accent: #1f5eff;
  --ink: #0d1322;
  --ink-soft: #3a4358;
  --muted: #6b7382;
  --line: #e2e5ea;
  --line-strong: #cbd1da;
  --bg: #ffffff;
  --paper: #f6f7f9;
  --dark: #05070e;
  --cosmic-bg:
    radial-gradient(ellipse 110% 85% at 10% -15%, rgba(78,128,255,.42), transparent 52%),
    radial-gradient(ellipse 75% 55% at 96% 18%, rgba(48,96,210,.26), transparent 48%),
    radial-gradient(ellipse 60% 50% at 50% 115%, rgba(28,72,170,.45), transparent 55%),
    linear-gradient(168deg, #0e1730 0%, #070b18 40%, #0a1532 70%, #05070e 100%);
  --radius: 6px;
  --sans: "Onest", "Segoe UI", system-ui, sans-serif;
  --display: "Onest", var(--sans);
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background: #05070e; }
body {
  font-family: var(--sans); color: var(--ink); background: var(--bg);
  line-height: 1.55; letter-spacing: -.01em; -webkit-font-smoothing: antialiased;
  min-height: 100dvh; display: flex; flex-direction: column;
}
a { color: var(--accent); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Header — same chrome as index/catalog */
header.top {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top-in {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 16px;
}
.logo { display: flex; align-items: center; line-height: 0; text-decoration: none; min-width: 0; }
.logo img { height: 40px; width: auto; display: block; }
nav.main {
  display: flex; align-items: center; flex-wrap: nowrap; min-width: 0;
  justify-content: flex-end;
}
nav.main a {
  color: var(--ink-soft); text-decoration: none; font-size: 13.5px; font-weight: 500;
  margin-left: 22px; padding-bottom: 3px; border-bottom: 1px solid transparent;
  white-space: nowrap; transition: color .2s, border-color .2s;
}
nav.main a:hover, nav.main a.on { color: var(--accent); border-color: var(--accent); }
.lang {
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  margin-left: 22px; white-space: nowrap; flex: none;
}
.lang a { text-decoration: none; color: var(--muted); margin-left: 0; border: none; padding: 0; }
.lang a.on { color: var(--accent); }
nav.main a.cart-link {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  margin-left: 22px; text-decoration: none; color: var(--ink); font-size: 13.5px; font-weight: 600;
  padding: 8px 15px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  border-bottom: 1px solid var(--line-strong); transition: border-color .2s, color .2s, background .2s;
  flex: none; white-space: nowrap;
}
nav.main a.cart-link:hover {
  border-color: var(--accent); color: var(--accent); background: rgba(31,94,255,.04);
}
.cart-badge {
  display: none; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 4px;
  background: var(--accent); color: #fff; font-family: var(--mono); font-size: 11px; font-weight: 700;
  align-items: center; justify-content: center;
}
.cart-badge.show { display: inline-flex; }
.burger {
  display: none; background: none; border: 1px solid var(--line-strong); border-radius: var(--radius);
  width: 42px; height: 42px; flex: none; align-items: center; justify-content: center;
  cursor: pointer; color: var(--ink);
}
.burger:active { background: var(--paper); }
.m-menu {
  display: none; position: fixed; top: 64px; left: 0; right: 0; z-index: 150;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(13,19,34,.14); padding: 6px 0 12px;
  max-height: calc(100dvh - 64px); overflow-y: auto;
}
.m-menu.open { display: block; }
.m-menu a.m-link {
  display: block; padding: 14px 24px; font-size: 16px; font-weight: 600;
  color: var(--ink); text-decoration: none;
}
.m-menu a.m-link:hover, .m-menu a.m-link:active { background: var(--paper); color: var(--accent); }
.m-menu a.m-cart {
  display: flex; align-items: center; gap: 10px; padding: 14px 24px;
  font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: none;
}
.m-menu .m-lang {
  padding: 12px 24px 4px; font-family: var(--mono); font-size: 13px;
  font-weight: 600; color: var(--muted);
}
.m-menu .m-lang a { text-decoration: none; color: var(--muted); }
.m-menu .m-lang a.on { color: var(--accent); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: var(--cosmic-bg); color: #fff; padding: 64px 0 56px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 78% 42%, rgba(90,150,255,.14), transparent 42%),
    radial-gradient(ellipse at 20% 80%, rgba(40,80,180,.12), transparent 50%);
}
.hero .wrap { position: relative; z-index: 1; }
.crumbs {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em;
  color: rgba(255,255,255,.45); margin-bottom: 22px;
}
.crumbs a { color: rgba(255,255,255,.62); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs span { opacity: .55; }
.hero .kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: #7e93c4; margin-bottom: 18px; font-weight: 500;
}
.hero .kicker::before { content: ""; width: 28px; height: 1px; background: #3d5a9e; }
.hero h1 {
  font-family: var(--display); font-size: clamp(30px, 4.6vw, 48px);
  font-weight: 700; letter-spacing: -.035em; line-height: 1.12;
  margin-bottom: 16px; max-width: 18ch; color: #f2f5fa;
}
.hero .lead {
  font-size: 16.5px; color: #97a3b8; max-width: 56ch;
  margin-bottom: 28px; line-height: 1.65;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 20px; border-radius: var(--radius);
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(31,94,255,.3); }
.btn-primary { background: #fff; color: var(--ink); }
.btn-primary:hover { background: #dde5f2; }
.btn-ghost { border-color: rgba(255,255,255,.26); color: #e8edf6; }
.btn-ghost:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.05); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--accent); }
.btn-line { border: 1px solid var(--line-strong); color: var(--ink); background: #fff; }
.btn-line:hover { border-color: var(--accent); color: var(--accent); }

/* Content */
.content { padding: 48px 0 40px; flex: 0 0 auto; }
footer.site { margin-top: auto; }
.content h2 {
  font-family: var(--display); font-size: clamp(22px, 2.6vw, 28px); font-weight: 600;
  letter-spacing: -.025em; margin: 40px 0 14px; color: var(--ink);
}
.content h2:first-child { margin-top: 0; }
.content p, .content li { font-size: 15.5px; color: var(--ink-soft); margin-bottom: 12px; }
.content ul { padding-left: 22px; margin-bottom: 18px; }
.content li { margin-bottom: 7px; }
.content strong { color: var(--ink); font-weight: 600; }

.sec-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 10px;
}

/* Messenger / contact channels */
.contact-channels {
  display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 8px;
}
.ch-link {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 10px 16px 10px 12px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); text-decoration: none; color: var(--ink);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.ch-link:hover {
  border-color: #c5d4f5; background: #fff;
  box-shadow: 0 8px 22px rgba(13,19,34,.06);
}
.ch-ico {
  width: 36px; height: 36px; border-radius: 10px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.ch-ico img { width: 22px; height: 22px; display: block; }
.ch-tg .ch-ico { background: #2AABEE; }
.ch-max .ch-ico {
  background: linear-gradient(135deg, #471AFF 0%, #9500FF 100%);
}
.ch-max .ch-ico img { width: 20px; height: 20px; }
.ch-meta { display: flex; flex-direction: column; gap: 2px; line-height: 1.25; }
.ch-meta strong { font-size: 14px; font-weight: 700; color: var(--ink); }
.ch-meta span { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.lead-muted { font-size: 14px; color: var(--muted); line-height: 1.5; max-width: 54ch; }
.ch-channel { border-style: dashed; }

/* Footer messenger icons */
.foot-msg {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px;
}
.foot-msg a {
  display: inline-flex !important; align-items: center; gap: 8px;
  margin: 0 !important; color: #a7b1c5 !important; text-decoration: none;
  font-size: 13px; font-weight: 600;
}
.foot-msg a:hover { color: #fff !important; }
.foot-msg-channel { opacity: .92; }
.foot-msg-ico {
  width: 28px; height: 28px; border-radius: 8px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
}
.foot-msg-tg { background: #2AABEE; }
.foot-msg-max { background: linear-gradient(135deg, #471AFF, #9500FF); }
.foot-msg-ico img { display: block; }

/* Brand / feature cards */
.card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin: 18px 0 8px;
}
.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; background: var(--paper);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.card:hover {
  border-color: #c5d4f5; background: #fff;
  box-shadow: 0 10px 28px rgba(13,19,34,.06);
}
a.card { text-decoration: none; color: inherit; display: block; }
.card .mark {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 10px; margin-bottom: 14px;
  border-radius: 8px; background: rgba(31,94,255,.08); color: var(--accent);
  font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .04em;
}
.card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--ink); letter-spacing: -.015em; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--accent); }
.card p { font-size: 13.5px; margin: 0; line-height: 1.5; color: var(--muted); }
.card .go {
  display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 600;
  color: var(--accent); text-decoration: none;
}

/* Steps */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin: 18px 0 8px; counter-reset: st;
}
.step {
  border-top: 1px solid var(--line-strong); padding-top: 18px; position: relative;
}
.step::before {
  counter-increment: st; content: "0" counter(st);
  display: block; font-family: var(--mono); font-size: 12px; font-weight: 600;
  color: var(--accent); letter-spacing: .1em; margin-bottom: 10px;
}
.step h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.step p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* Alias / meta chip row */
.meta-row {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px;
}
.chip {
  display: inline-flex; align-items: center;
  padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-size: 12.5px; color: var(--ink-soft);
}

/* Brand list (compact) */
.brand-list {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 24px;
  list-style: none; padding: 0; margin: 12px 0 18px;
}
.brand-list li { margin: 0; }
.brand-list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14px;
  background: var(--paper); transition: border-color .2s, color .2s, background .2s;
}
.brand-list a:hover { border-color: var(--accent); color: var(--accent); background: #fff; }
.brand-list a span { font-weight: 500; color: var(--muted); font-size: 12.5px; }

/* CTA */
.cta-box {
  margin-top: 40px; padding: 32px 28px; border-radius: 10px;
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(78,128,255,.18), transparent 55%),
    linear-gradient(165deg, #0f1730 0%, #070b18 100%);
  color: #fff; border: 1px solid rgba(255,255,255,.08);
}
.cta-box h2 { margin: 0 0 10px; color: #f2f5fa; font-size: clamp(22px, 2.4vw, 28px); }
.cta-box p { color: #97a3b8; margin-bottom: 18px; max-width: 54ch; }
.cta-box .btn-primary { margin-right: 10px; margin-top: 4px; }
.cta-box .btn-ghost { margin-top: 4px; }

/* Footer */
footer.site {
  flex: none; width: 100%;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 36px 0 calc(28px + env(safe-area-inset-bottom, 0px));
  background: var(--cosmic-bg); color: #8f99ad; font-size: 13px;
}
footer.site .foot-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; margin-bottom: 24px;
}
footer.site h4 {
  color: #5f6a82; font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px;
}
footer.site .foot-grid a {
  color: #a7b1c5; text-decoration: none; display: block; margin-bottom: 9px;
  transition: color .2s;
}
footer.site .foot-grid a:hover { color: #fff; }
footer.site .foot-note { font-size: 12.5px; color: #6d7a94; max-width: 34ch; line-height: 1.5; }
footer.site .foot-bottom {
  border-top: 1px solid rgba(255,255,255,.09); padding-top: 18px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11.5px; color: #5f6a82;
}

@media (max-width: 1100px) {
  nav.main a { margin-left: 14px; font-size: 13px; }
  .lang, nav.main a.cart-link { margin-left: 14px; }
  nav.main a.cart-link { padding: 8px 12px; }
}
@media (max-width: 960px) {
  nav.main { display: none; }
  .burger { display: inline-flex; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  footer.site .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .hero { padding: 48px 0 40px; }
  .hero h1 { max-width: none; }
  .card-grid, .steps, .brand-list { grid-template-columns: 1fr; }
  .btn-ghost { margin-left: 0; }
  footer.site .foot-grid { grid-template-columns: 1fr; gap: 22px; }
}
/* On-page RFQ */
.formsec-landing {
  margin: 0;
  padding: 40px 0 48px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.formsec-landing > .wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.formsec-landing h2 { margin: 0 0 8px; font-size: clamp(22px, 2.4vw, 28px); }
.formsec-landing .form-lead { color: var(--muted); margin: 0 0 18px; max-width: 60ch; }
.formsec-landing .req {
  display: grid; gap: 12px;
  padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  max-width: 720px;
}
.formsec-landing .frow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.formsec-landing .f { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink); }
.formsec-landing .f input:not([type="radio"]):not([type="checkbox"]),
.formsec-landing .f textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 8px;
  padding: 11px 12px; font: inherit; font-weight: 500; color: var(--ink); background: #fff;
  box-sizing: border-box;
}
.formsec-landing .f textarea { min-height: 110px; resize: vertical; }
.formsec-landing .ctype { border: 0; padding: 0; margin: 0 0 4px; min-width: 0; }
.formsec-landing .ctype legend { font-size: 13px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.formsec-landing .ctype .consent { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 6px; max-width: 100%; }
.formsec-landing .ctype .consent:last-child { margin-bottom: 0; }
.formsec-landing .ctype input[type="radio"] { width: auto; flex: none; margin: 3px 0 0; accent-color: var(--accent); }
.formsec-landing .consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 12.5px; font-weight: 500; color: var(--muted); line-height: 1.45;
}
.formsec-landing .consent input { width: auto; flex: none; margin-top: 3px; }
.formsec-landing .consent a { color: var(--accent); }
.formsec-landing .req-star { color: #c2410c; }
.formsec-landing .form-err,
.formsec-landing .form-ok {
  display: none; font-size: 13px; padding: 10px 12px; border-radius: 8px;
}
.formsec-landing .form-err { background: #fff1f0; color: #9f1239; border: 1px solid #fecdd3; }
.formsec-landing .form-ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.formsec-landing .form-note { font-size: 12px; color: var(--muted); margin: 0; }
.formsec-landing .btn-block { width: 100%; justify-content: center; }

/* Cookie consent */
.cookie {
  position: fixed; right: 24px; bottom: 24px; z-index: 120; max-width: 400px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(13,19,34,.16); padding: 22px 24px; display: none;
}
.cookie.show { display: block; }
.cookie h5 { font-size: 15px; font-weight: 700; margin: 0 0 8px; }
.cookie p { font-size: 13px; color: var(--muted); margin: 0 0 16px; }
.cookie .row { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 720px) {
  .formsec-landing .frow { grid-template-columns: 1fr; }
  .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
)
