/* ============================================================
   plincar.tech — Website UI Kit styles
   Uses tokens from ../../colors_and_type.css
   ============================================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-0);
  color: var(--fg-1);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.dot-bg {
  background-image: radial-gradient(rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 24px 24px;
}
.eyebrow {
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--brand-orange);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--brand-orange); display: inline-block; }
.eyebrow.muted { color: var(--fg-3); }
.eyebrow.muted::before { background: var(--fg-3); }
.section { padding: 96px 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { font-family: var(--font-display); font-weight: 800; font-size: 42px; letter-spacing: -.02em; line-height: 1.05; margin: 16px 0 14px; }
.section-head p { font-size: 18px; line-height: 1.6; color: var(--fg-2); margin: 0; }

/* ---------- buttons ---------- */
.btn { font-family: var(--font-display); font-weight: 700; font-size: 15px; border-radius: 12px;
  padding: 13px 24px; border: 1px solid transparent; cursor: pointer; display: inline-flex;
  align-items: center; gap: 9px; letter-spacing: -.01em; transition: all var(--dur) var(--ease-out); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--brand-orange); color: var(--fg-on-orange); box-shadow: var(--glow-orange); }
.btn-primary:hover { background: var(--brand-orange-hover); transform: translateY(-1px); }
.btn-primary:active { background: var(--brand-orange-press); transform: scale(.98); }
.btn-pill { border-radius: var(--r-pill); }
.btn-secondary { background: var(--bg-2); color: var(--fg-1); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--line-strong); background: var(--bg-3); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--brand-orange); }
.btn-ghost:hover { background: rgba(255,92,0,.10); }
.btn .sq { width: 7px; height: 7px; background: currentColor; display: inline-block; }
.btn-lg { padding: 16px 30px; font-size: 17px; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(10,20,24,.72);
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-1); }
.hdr-in { display: flex; align-items: center; gap: 22px; height: 72px; }
.hdr .logo { height: 26px; }
.hdr nav { display: flex; gap: 20px; margin-left: 4px; }
.hdr nav a { font-size: 15px; font-weight: 500; color: var(--fg-2); transition: color var(--dur); }
.hdr nav a:hover { color: var(--fg-1); }
.hdr .right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.hdr .phone { font-family: var(--font-body); font-weight: 500; font-size: 15px; color: var(--fg-1); white-space: nowrap; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 80px 0 90px; }
.hero::before { content: ""; position: absolute; top: -180px; right: -120px; width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(255,92,0,.20), rgba(248,137,34,.06) 40%, transparent 66%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; position: relative; }
.hero h1 { font-family: var(--font-display); font-weight: 800; font-size: 64px; line-height: .98;
  letter-spacing: -.025em; margin: 22px 0 22px; }
.hero h1 .accent { color: var(--brand-orange); }
.hero p.lead { font-size: 19px; line-height: 1.6; color: var(--fg-2); max-width: 480px; margin: 0 0 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 40px; }
.hero-stats .stat .num { font-family: var(--font-mono); font-weight: 700; font-size: 32px; color: var(--brand-orange); }
.hero-stats .stat .lbl { font-size: 13px; color: var(--fg-3); margin-top: 4px; }

/* hero panel (power readout) */
.hero-panel { background: var(--bg-inset); border: 1px solid var(--line-1); border-radius: 20px; padding: 26px;
  box-shadow: var(--shadow-3); position: relative; }
.hero-panel .pslot { width: 100%; height: 190px; border-radius: 14px; margin-bottom: 20px; }
.gauge { display: flex; align-items: baseline; gap: 12px; }
.gauge .from { font-family: var(--font-mono); font-size: 22px; color: var(--fg-3); }
.gauge .to { font-family: var(--font-mono); font-weight: 700; font-size: 40px; color: var(--brand-orange); }
.gauge .unit { font-family: var(--font-mono); font-size: 18px; color: var(--fg-2); }
.bar { height: 10px; background: var(--gauge-track); border-radius: 6px; overflow: hidden; margin: 16px 0; }
.bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand-orange), var(--brand-amber));
  border-radius: 6px; width: 0; transition: width 1.2s var(--ease-out); }
.kv { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 13px; color: var(--fg-2); padding: 7px 0; border-top: 1px solid var(--line-1); }
.kv b { color: var(--fg-1); font-weight: 700; }

/* hero service tiles */
.hero-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.htile { display: flex; align-items: center; gap: 11px; padding: 12px; background: var(--bg-1);
  border: 1px solid var(--line-1); border-radius: 12px; cursor: pointer; transition: all var(--dur) var(--ease-out);
  color: inherit; text-decoration: none; }
.htile:hover { border-color: rgba(255,92,0,.45); transform: translateY(-2px); }
.htile i { width: 22px; height: 22px; color: var(--brand-orange); flex: none; }
.htile .ht-t { font-family: var(--font-display); font-weight: 600; font-size: 13.5px; color: var(--fg-1); line-height: 1.15; }
.htile .ht-d { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); margin-top: 3px; }

/* ---------- service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 16px; padding: 26px;
  transition: all var(--dur) var(--ease-out); cursor: pointer; }
.svc:hover { transform: translateY(-3px); border-color: rgba(255,92,0,.45); box-shadow: var(--shadow-2); }
.svc .ico { width: 48px; height: 48px; border-radius: 12px; background: rgba(255,92,0,.12);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.svc .ico i { width: 24px; height: 24px; color: var(--brand-orange); }
.svc h3 { font-family: var(--font-display); font-weight: 700; font-size: 21px; margin: 0 0 10px; }
.svc p { font-size: 15px; line-height: 1.55; color: var(--fg-2); margin: 0 0 16px; }
.svc .price { font-family: var(--font-mono); font-size: 14px; color: var(--fg-3); }
.svc .price b { color: var(--brand-orange); font-weight: 700; }
.svc .arrow { margin-top: 16px; display: inline-flex; align-items: center; gap: 7px; color: var(--brand-orange);
  font-weight: 600; font-size: 14px; font-family: var(--font-display); }

/* ---------- stage selector ---------- */
.stage { background: var(--bg-1); border: 1px solid var(--line-1); border-radius: 22px; overflow: hidden;
  display: grid; grid-template-columns: 360px 1fr; }
.stage .left { padding: 32px; border-right: 1px solid var(--line-1); }
.stage .right { padding: 36px; background: var(--bg-inset); position: relative; }
.field-lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--fg-3); margin-bottom: 9px; display: block; }
.seg { display: flex; background: var(--bg-0); border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 5px; gap: 4px; }
.seg button { flex: 1; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--fg-2);
  padding: 10px; border: none; background: transparent; border-radius: var(--r-pill); cursor: pointer; transition: all var(--dur); }
.seg button.on { background: var(--brand-orange); color: var(--fg-on-orange); }
.select { width: 100%; background: var(--bg-0); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 13px 14px; color: var(--fg-1); font-family: var(--font-body); font-size: 15px; outline: none; cursor: pointer; }
.select:focus { border-color: var(--brand-orange); box-shadow: var(--ring-focus); }
.big-num { font-family: var(--font-mono); font-weight: 700; font-size: 56px; line-height: 1; color: var(--brand-orange); }
.big-num.delta::before { content: "+"; }

/* ---------- russification (head unit) ---------- */
.russ { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.headunit { background: #05090B; border: 1px solid var(--line-2); border-radius: 18px; padding: 14px;
  box-shadow: var(--shadow-3); }
.hu-screen { background: var(--bg-inset); border-radius: 12px; overflow: hidden; aspect-ratio: 16/9; display: flex; flex-direction: column; }
.hu-status { display: flex; align-items: center; justify-content: space-between; padding: 9px 14px;
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); border-bottom: 1px solid var(--line-1); }
.hu-status .net { display: flex; gap: 8px; align-items: center; }
.hu-grid { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-1); }
.hu-app { background: var(--bg-inset); display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; color: var(--fg-2); transition: background var(--dur); }
.hu-app i { width: 26px; height: 26px; color: var(--brand-orange); }
.hu-app span { font-family: var(--font-body); font-size: 12px; }
.hu-app.active { background: rgba(255,92,0,.10); }
.lang-toggle { display: inline-flex; background: var(--bg-0); border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 5px; gap: 4px; margin-top: 22px; }
.lang-toggle button { font-family: var(--font-mono); font-weight: 500; font-size: 13px; letter-spacing: .04em; color: var(--fg-2);
  padding: 9px 18px; border: none; background: transparent; border-radius: var(--r-pill); cursor: pointer; transition: all var(--dur); }
.lang-toggle button.on { background: var(--brand-orange); color: var(--fg-on-orange); }
.russ > .reveal { width: 100%; }
.russ-feats { display: flex; flex-direction: column; gap: 14px; margin-top: 0; width: 100%; }
.russ-feats .rf { position: relative; display: flex; align-items: flex-start; width: 100%; }
.russ-feats .rf .s { position: absolute; left: -19px; width: 7px; height: 7px; background: var(--brand-orange); flex: none; margin-top: 7px; }
.russ-feats .rf .txt { display: block; width: 100%; font-size: 15px; color: var(--fg-2); line-height: 1.5; }
.russ-feats .rf .txt b { color: var(--fg-1); font-weight: 600; }

/* ---------- diagnostic terminal ---------- */
.term { background: var(--bg-inset); border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; font-family: var(--font-mono); }
.term-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line-1); background: var(--bg-1); }
.term-bar .dotr { width: 11px; height: 11px; border-radius: 50%; }
.term-bar .title { margin-left: 10px; font-size: 12px; color: var(--fg-3); letter-spacing: .04em; }
.term-body { padding: 18px 20px; font-size: 13.5px; line-height: 1.9; }
.term-body .ln { display: flex; gap: 12px; }
.term-body .t { color: var(--fg-3); width: 64px; flex: none; }
.term-body .ok { color: var(--ok); }
.term-body .err { color: var(--danger); }
.term-body .warnc { color: var(--warn); }
.term-body .val { color: var(--fg-1); }
.dtc-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-top: 1px solid var(--line-1); }
.dtc-code { font-family: var(--font-mono); font-weight: 700; color: var(--danger); font-size: 15px; }
.dtc-desc { font-family: var(--font-body); color: var(--fg-2); font-size: 14px; }

/* ---------- process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding-top: 18px; border-top: 2px solid var(--line-2); }
.step .n { font-family: var(--font-mono); font-weight: 700; font-size: 13px; color: var(--brand-orange); letter-spacing: .1em; }
.step h4 { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin: 12px 0 8px; }
.step p { font-size: 14px; color: var(--fg-2); line-height: 1.5; margin: 0; }

/* ---------- reviews ---------- */
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rev { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 16px; padding: 24px; }
.rev .stars { color: var(--brand-amber); letter-spacing: 3px; font-size: 14px; margin-bottom: 14px; }
.rev p { font-size: 15px; line-height: 1.6; color: var(--fg-1); margin: 0 0 18px; }
.rev .who { display: flex; align-items: center; gap: 12px; }
.rev .av { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-3); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; color: var(--brand-orange); }
.rev .who .nm { font-weight: 600; font-size: 14px; }
.rev .who .cr { font-family: var(--font-mono); font-size: 12px; color: var(--fg-3); }

/* ---------- booking / CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--bg-2), var(--bg-1)); border: 1px solid var(--line-2);
  border-radius: 24px; padding: 56px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 130%, rgba(255,92,0,.18), transparent 60%); }
.cta-band h2 { font-family: var(--font-display); font-weight: 800; font-size: 40px; letter-spacing: -.02em; margin: 14px 0 14px; position: relative; }
.cta-band p { font-size: 18px; color: var(--fg-2); margin: 0 0 28px; position: relative; }

/* ---------- modal ---------- */
.overlay { position: fixed; inset: 0; background: rgba(5,10,12,.72); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; z-index: 300; padding: 24px;
  animation: fade var(--dur) var(--ease-out); }
@keyframes fade { from { opacity: 0; } }
.modal { background: var(--bg-1); border: 1px solid var(--line-2); border-radius: 20px; width: 100%; max-width: 460px;
  padding: 32px; box-shadow: var(--shadow-3); animation: pop var(--dur-slow) var(--ease-out); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes spin { to { transform: rotate(360deg); } }
.modal h3 { font-family: var(--font-display); font-weight: 800; font-size: 26px; margin: 6px 0 6px; letter-spacing: -.01em; }
.modal .sub { color: var(--fg-2); font-size: 15px; margin: 0 0 22px; }
.modal .x { float: right; cursor: pointer; color: var(--fg-3); background: none; border: none; }
.modal label { display: block; margin-bottom: 16px; }
.inp { width: 100%; background: var(--bg-inset); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 13px 14px; color: var(--fg-1); font-family: var(--font-body); font-size: 15px; outline: none; transition: all var(--dur); }
.inp::placeholder { color: var(--fg-3); }
.inp:focus { border-color: var(--brand-orange); box-shadow: var(--ring-focus); }
.success-check { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-bg); color: var(--ok);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }

/* ---------- footer ---------- */
.ftr { border-top: 1px solid var(--line-1); padding: 56px 0 40px; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.ftr .logo { height: 24px; margin-bottom: 16px; }
.ftr p { font-size: 14px; color: var(--fg-3); line-height: 1.6; max-width: 280px; }
.ftr h5 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); margin: 0 0 16px; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.ftr ul a { font-size: 14px; color: var(--fg-2); }
.ftr ul a:hover { color: var(--brand-orange); }
.ftr .bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-1); display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 12px; color: var(--fg-3); }

@media (max-width: 920px) {
  .russ { grid-template-columns: 1fr; }
  .hero-grid, .stage { grid-template-columns: 1fr; }
  .svc-grid, .rev-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 46px; }
  .hdr nav { display: none; }
}
