/* USPI · лендинг набора сварщиков TIG / MIG-MAG в Быдгоще (spawacz.uspi-work.com).
   Mobile-first, без фреймворков. Палитра — как у рекламных баннеров: тёмно-синий + сигнальный жёлтый. */

:root {
  --navy-900: #071a33;
  --navy-800: #0b2545;
  --navy-700: #13315c;
  --navy-600: #1d4475;
  --yellow: #ffc61a;
  --yellow-600: #f0b400;
  --yellow-soft: #fff4cc;
  --wa: #1fa855;
  --wa-700: #168a45;
  --ink: #0f1c2e;
  --text: #24324a;
  --muted: #5a6880;
  --line: #e3e8f0;
  --bg: #ffffff;
  --bg-soft: #f3f6fb;
  --error: #c62828;
  --ok: #1b7f3b;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(7, 26, 51, .06), 0 8px 24px rgba(7, 26, 51, .08);
  --shadow-lg: 0 20px 50px rgba(7, 26, 51, .18);
  --container: 1140px;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--navy-600); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(30px, 6.4vw, 52px); font-weight: 800; }
h2 { font-size: clamp(26px, 4.4vw, 38px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 18px; }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy-800); color: #fff; padding: 10px 14px; z-index: 100; border-radius: 0 0 10px 0; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 6px; }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 14px 24px;
  border-radius: 14px; border: 0; font: inherit; font-weight: 800; font-size: 17px; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: transform .12s ease, background-color .15s ease, box-shadow .15s ease; text-align: center; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-primary { background: var(--yellow); color: var(--navy-900); box-shadow: 0 6px 18px rgba(255, 198, 26, .35); }
.btn-primary:hover { background: var(--yellow-600); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-700); }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .28); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); }
.btn-block { width: 100%; }

/* ---------- шапка ---------- */
.topbar { background: var(--navy-900); color: #fff; }
.topbar .container { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; margin-right: auto; }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; background: var(--yellow); color: var(--navy-900); display: grid; place-items: center; font-weight: 800; font-size: 20px; }
.brand-name { font-weight: 800; font-size: 19px; letter-spacing: .02em; display: block; line-height: 1.1; }
.brand-sub { font-size: 12px; opacity: .75; display: block; line-height: 1.1; }
.topnav { display: none; gap: 22px; }
.topnav a { color: rgba(255, 255, 255, .85); text-decoration: none; font-weight: 600; font-size: 15px; }
.topnav a:hover { color: #fff; }
.lang { display: inline-flex; border: 1px solid rgba(255, 255, 255, .3); border-radius: 10px; overflow: hidden; }
.lang a, .lang span { padding: 6px 10px; font-size: 13px; font-weight: 800; color: #fff; text-decoration: none; }
.lang span { background: rgba(255, 255, 255, .18); }
.call-btn { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff; }
.call-btn svg { width: 20px; height: 20px; }
.call-num { display: none; color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; }
@media (min-width: 960px) {
  .topnav { display: flex; margin-right: 18px; }
  .call-btn { display: none; }
  .call-num { display: inline-flex; align-items: center; gap: 8px; }
  .call-num svg { width: 18px; height: 18px; color: var(--yellow); }
}

/* ---------- hero ---------- */
.hero { position: relative; background: var(--navy-800); color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(1200px 500px at 85% -10%, rgba(255, 198, 26, .16), transparent 60%),
  linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%); }
.hero-grid { position: relative; display: grid; gap: 22px; padding-bottom: 34px; }
.hero-media { margin: 0 -18px; position: relative; }
.hero-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 35%; }
.hero-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(180deg, transparent, var(--navy-800)); }
.hero-copy { position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  padding: 7px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; color: #fff; margin: -42px 0 14px; position: relative; z-index: 1;
  backdrop-filter: blur(6px); }
.eyebrow svg { width: 16px; height: 16px; color: var(--yellow); flex: none; }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--yellow); }
.hero-lead { font-size: 18px; color: rgba(255, 255, 255, .86); max-width: 640px; }
.salary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 198, 26, .45);
  border-radius: var(--radius); padding: 14px 18px; margin: 18px 0; }
.salary-label { width: 100%; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .7); font-weight: 700; }
.salary-sum { font-size: clamp(28px, 7vw, 38px); font-weight: 800; color: var(--yellow); white-space: nowrap; }
.salary-unit { font-weight: 700; color: #fff; }
.salary-note { width: 100%; font-size: 14px; color: rgba(255, 255, 255, .72); }
.chips { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 700; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.chips svg { width: 16px; height: 16px; color: var(--yellow); }
.hero-cta { display: grid; gap: 10px; }
.micro { margin: 14px 0 0; font-size: 14px; color: rgba(255, 255, 255, .7); display: flex; gap: 8px; align-items: flex-start; }
.micro svg { width: 18px; height: 18px; color: var(--yellow); flex: none; margin-top: 2px; }
@media (min-width: 600px) { .hero-cta { grid-template-columns: 1fr 1fr; max-width: 620px; } }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px; padding-top: 56px; padding-bottom: 64px; }
  .hero-media { order: 2; margin: 0; }
  .hero-media img { border-radius: 24px; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow-lg); }
  .hero-media::after { display: none; }
  .eyebrow { margin-top: 0; }
}

/* ---------- полоса фактов ---------- */
.facts { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden;
  transform: translateY(-18px); box-shadow: var(--shadow); }
.fact { background: #fff; padding: 14px 16px; }
.fact b { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.fact span { display: block; font-weight: 800; color: var(--ink); font-size: 16px; line-height: 1.3; margin-top: 2px; }
@media (min-width: 760px) { .facts-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- секции ---------- */
.section { padding: 56px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 760px; margin-bottom: 26px; }
.section-head p { color: var(--muted); font-size: 18px; }
.two-col { display: grid; gap: 26px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1.1fr .9fr; align-items: start; gap: 44px; } }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; font-weight: 600; color: var(--ink); }
.ticks li svg { flex: none; width: 24px; height: 24px; color: var(--navy-900); background: var(--yellow); border-radius: 8px; padding: 4px; }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--navy-800); }
.photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.photo figcaption { font-size: 12px; color: rgba(255, 255, 255, .7); padding: 8px 12px; background: var(--navy-800); }
.callout { margin-top: 18px; background: var(--yellow-soft); border: 1px solid #f5d77a; border-radius: var(--radius); padding: 16px 18px; }
.callout h3 { margin-bottom: .3em; }
.callout p { margin: 0; }

.cond-grid { display: grid; gap: 14px; }
@media (min-width: 700px) { .cond-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cond-grid { grid-template-columns: repeat(3, 1fr); } }
.cond { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: 0 1px 0 rgba(7, 26, 51, .03); }
.cond-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--navy-800); color: var(--yellow); display: grid; place-items: center; margin-bottom: 12px; }
.cond-ico svg { width: 22px; height: 22px; }
.cond p { margin: 0; color: var(--text); }
.cond.is-key { border-color: var(--yellow-600); box-shadow: 0 0 0 3px var(--yellow-soft); }
.note { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* ---------- где ---------- */
.where-grid { display: grid; gap: 22px; }
@media (min-width: 900px) { .where-grid { grid-template-columns: 1fr 1fr; align-items: center; } }
.map { background: var(--navy-800); border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow); }
.map svg { width: 100%; height: auto; display: block; }
.dist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.dist li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 700; color: var(--ink); }
.dist li span { color: var(--muted); font-weight: 600; white-space: nowrap; }

/* ---------- шаги ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 18px 68px; }
@media (min-width: 900px) { .steps li { padding: 64px 18px 18px; } }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 18px; top: 18px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--yellow); color: var(--navy-900); font-weight: 800; display: grid; place-items: center; }
.steps h3 { margin-bottom: .25em; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 18px; font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 12px; height: 12px; border-right: 3px solid var(--navy-600); border-bottom: 3px solid var(--navy-600);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--text); }

/* ---------- форма ---------- */
.form-section { background: linear-gradient(180deg, var(--navy-800), var(--navy-900)); color: #fff; }
.form-section h2 { color: #fff; }
.form-section .section-head p { color: rgba(255, 255, 255, .78); }
.form-card { background: #fff; color: var(--text); border-radius: 22px; padding: 22px; box-shadow: var(--shadow-lg); max-width: 640px; }
.field { margin-bottom: 16px; }
.field > label, .field > .label { display: block; font-weight: 800; color: var(--ink); margin-bottom: 6px; font-size: 16px; }
.req { color: var(--error); }
.field input[type=text], .field input[type=tel] { width: 100%; min-height: 54px; font: inherit; font-size: 17px; padding: 12px 14px; border: 2px solid var(--line);
  border-radius: 12px; background: #fff; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease; }
.field input:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(29, 68, 117, .15); }
.hint { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend.label { display: block; font-weight: 800; color: var(--ink); margin-bottom: 8px; font-size: 16px; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.choices legend { padding: 0; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 16px; border: 2px solid var(--line); border-radius: 12px; font-weight: 700; color: var(--ink); cursor: pointer; background: #fff; }
.choice input:checked + span { border-color: var(--navy-700); background: var(--navy-800); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.check, .field > label.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; font-weight: 500; color: var(--text); margin: 0; }
.check input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--navy-700); }
.is-invalid input[type=text], .is-invalid input[type=tel] { border-color: var(--error); }
.is-invalid .choice span { border-color: #f1b7b7; }
.err { display: block; color: var(--error); font-size: 14px; font-weight: 700; margin-top: 6px; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-or { text-align: center; color: var(--muted); font-size: 14px; margin: 12px 0; position: relative; }
.form-disclaimer { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.form-status { margin-top: 12px; font-weight: 700; }
.form-status.is-error { color: var(--error); }
.form-done { text-align: center; padding: 10px 4px; }
.form-done .ok-ico { width: 64px; height: 64px; border-radius: 50%; background: #e7f6ec; color: var(--ok); display: grid; place-items: center; margin: 0 auto 12px; }
.form-done .ok-ico svg { width: 34px; height: 34px; }
.form-done h3 { font-size: 24px; }
@media (min-width: 900px) { .form-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; } }
.form-points { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.form-points li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255, 255, 255, .9); font-weight: 600; }
.form-points svg { width: 22px; height: 22px; color: var(--yellow); flex: none; }

/* ---------- подвал ---------- */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, .78); padding: 44px 0 110px; font-size: 15px; }
.footer a { color: #fff; }
.footer-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } .footer { padding-bottom: 44px; } }
.footer h4 { color: #fff; margin: 0 0 8px; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 28px; padding-top: 18px; font-size: 13px; color: rgba(255, 255, 255, .6); }

/* ---------- нижняя панель (мобильная) и плавающие кнопки (десктоп) ---------- */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 56px 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(7, 26, 51, .96); backdrop-filter: blur(8px); box-shadow: 0 -8px 24px rgba(7, 26, 51, .25); transform: translateY(110%); transition: transform .25s ease; }
.dock.is-on { transform: none; }
.dock .btn { min-height: 50px; padding: 10px 12px; font-size: 16px; border-radius: 12px; }
.dock .dock-call { background: rgba(255, 255, 255, .12); color: #fff; padding: 0; }
@media (min-width: 900px) {
  .dock { left: auto; right: 22px; bottom: 22px; grid-template-columns: auto; background: none; box-shadow: none; padding: 0; gap: 10px; backdrop-filter: none; }
  .dock .dock-form { display: none; }
  .dock .btn { border-radius: 999px; box-shadow: var(--shadow-lg); padding: 12px 20px; }
  .dock .dock-call { background: var(--navy-800); padding: 12px 20px; }
  .dock .dock-call .t { display: inline; }
}
.dock .dock-call .t { display: none; }

/* ---------- юридическая страница ---------- */
.legal { padding: 40px 0 80px; }
.legal h1 { font-size: clamp(28px, 5vw, 40px); }
.legal h2 { font-size: 22px; margin-top: 1.6em; }
.legal li { margin-bottom: .4em; }
.back { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; text-decoration: none; margin-bottom: 18px; }
