/* CamSource — оптовые поставки фототехники. Общие стили. */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --ink: #14181f;
  --ink-soft: #55606f;
  --line: #e3e8ef;
  --accent: #0b5fff;
  --accent-dark: #0846c2;
  --accent-soft: #eaf1ff;
  --gold: #f5a623;
  --ok: #12855a;
  --radius: 14px;
  --maxw: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; }
a { color: var(--accent); text-decoration: none; }
img { max-width: 100%; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.topbar { background: var(--ink); color: #cfd8e3; font-size: 13px; }
.topbar .container { display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: #fff; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); letter-spacing: -0.02em; }
.logo .mark { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--accent), #7a3cff); color: #fff; display: grid; place-items: center; font-size: 18px; }
.nav { display: flex; gap: 20px; font-weight: 600; font-size: 15px; }
.nav a { color: var(--ink-soft); }
.nav a:hover, .nav a.active { color: var(--accent); }
.header .spacer { flex: 1; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 10px; font-weight: 700; font-size: 15px; border: none; cursor: pointer; transition: .15s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-wa { background: #1fa855; color: #fff; }
.btn-wa:hover { background: #178a44; }
.btn-tg { background: #229ED9; color: #fff; }
.btn-tg:hover { background: #1c86b8; }
.btn-sm { padding: 8px 14px; font-size: 14px; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(160deg, #0b1530 0%, #12306b 55%, #0b5fff 130%); color: #fff; padding: 72px 0 80px; }
.hero .kicker { display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.hero h1 { font-size: 40px; line-height: 1.15; letter-spacing: -0.02em; max-width: 760px; }
.hero p.lead { margin-top: 16px; font-size: 18px; color: #cdd9f2; max-width: 680px; }
.hero .cta-row { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero .stats { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; max-width: 780px; }
.hero .stat { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 14px 18px; }
.hero .stat b { font-size: 22px; display: block; }
.hero .stat span { font-size: 13px; color: #b9c7e4; }

/* ---------- sections ---------- */
section.block { padding: 56px 0; }
section.block.soft { background: var(--bg-soft); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.sec-head h2 { font-size: 28px; letter-spacing: -0.02em; }
.sec-head .sub { color: var(--ink-soft); margin-top: 6px; font-size: 15px; max-width: 560px; }

/* ---------- usp strip ---------- */
.usp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.usp { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.usp .ico { font-size: 26px; }
.usp h3 { font-size: 16px; margin: 10px 0 6px; }
.usp p { font-size: 14px; color: var(--ink-soft); }

/* ---------- product cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.pcard { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .15s; }
.pcard:hover { box-shadow: 0 8px 26px rgba(11, 35, 80, .12); transform: translateY(-2px); }
.pcard .thumb { aspect-ratio: 4/3; display: grid; place-items: center; font-size: 54px; color: #fff; }
.pcard .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard .brand { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.pcard .name { font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--ink); min-height: 2.7em; }
.pcard .stars { color: var(--gold); font-size: 13px; letter-spacing: 2px; }
.pcard .price-row { display: flex; align-items: center; justify-content: space-between; font-size: 14px; margin-top: auto; }
.pcard .price { font-weight: 800; color: var(--ink); }
.pcard .minq { font-size: 12px; color: var(--ink-soft); }
.pcard .btn { width: 100%; }

/* ---------- partner cta band ---------- */
.band { background: linear-gradient(140deg, #0e1f45, #0b5fff); color: #fff; border-radius: 18px; padding: 34px 36px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.band h2 { font-size: 24px; margin-bottom: 8px; }
.band p { color: #cdd9f2; max-width: 620px; }
.band .note { font-size: 13px; color: #9fb4dd; margin-top: 6px; }

/* ---------- steps / how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; counter-reset: step; }
.step { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: relative; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -14px; left: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 14px; }
.step h3 { font-size: 16px; margin: 12px 0 6px; }
.step p { font-size: 14px; color: var(--ink-soft); }

/* ---------- contact form ---------- */
.form-wrap { max-width: 640px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field label .req { color: #d43a3a; }
.field input, .field select, .field textarea { width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 15px; font-family: inherit; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field .hint { font-size: 12px; color: var(--ink-soft); margin-top: 4px; }
.form-note { font-size: 13px; color: var(--ink-soft); margin-bottom: 16px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .two-col { grid-template-columns: 1fr; } }
.success-box { display: none; background: #effaf4; border: 1.5px solid #bfe6cf; border-radius: var(--radius); padding: 22px; }
.success-box.show { display: block; }
.success-box h3 { color: var(--ok); margin-bottom: 8px; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 8px; }
.ccard { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--bg-soft); }
.ccard b { display: block; margin-bottom: 4px; font-size: 14px; }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
@media (max-width: 800px) { .pdp { grid-template-columns: 1fr; } }
.pdp .big-thumb { aspect-ratio: 4/3; border-radius: var(--radius); display: grid; place-items: center; font-size: 110px; color: #fff; }
.pdp h1 { font-size: 26px; letter-spacing: -0.02em; line-height: 1.25; }
.pdp .meta { display: flex; gap: 14px; flex-wrap: wrap; margin: 12px 0; font-size: 14px; color: var(--ink-soft); }
.pdp .sku { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px; padding: 2px 10px; font-family: Consolas, monospace; font-size: 13px; }
.pdp .price { font-size: 22px; font-weight: 800; }
.pdp .desc { color: var(--ink-soft); margin: 14px 0; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 10px; }
.spec-table th, .spec-table td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.spec-table th { width: 42%; background: var(--bg-soft); color: var(--ink-soft); font-weight: 600; }
.breadcrumb { font-size: 13px; color: var(--ink-soft); padding: 16px 0 0; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #aeb9c9; padding: 44px 0 28px; margin-top: 40px; font-size: 14px; }
.footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
@media (max-width: 700px) { .footer .cols { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.footer a { color: #aeb9c9; }
.footer a:hover { color: #fff; }
.footer .bottom { border-top: 1px solid #2a3340; margin-top: 28px; padding-top: 16px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: #7d8898; }
ul.plain { list-style: none; }
ul.plain li { margin-bottom: 8px; }

/* misc */
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.chip { background: var(--accent-soft); color: var(--accent-dark); border-radius: 999px; padding: 7px 16px; font-size: 14px; font-weight: 600; }
.chip:hover { background: #dbe7ff; }
#wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #1fa855; color: #fff; display: grid; place-items: center; font-size: 26px; box-shadow: 0 8px 22px rgba(9, 90, 45, .4); }
#wa-float:hover { transform: scale(1.06); }
