:root {
  --bg:#f7f5f0; --text:#16181d; --muted:#5f6470; --accent:#2f6bff; --accent2:#ff7a3d;
  --card:#ffffff; --line:#e6e2d9; --dark:#16181d;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif; background:var(--bg); color:var(--text); line-height:1.55; }
.wrap { max-width:1040px; margin:0 auto; padding:0 16px; }
a { color:inherit; }

nav { display:flex; justify-content:space-between; align-items:center; padding:20px 0; }
.logo { font-weight:800; font-size:21px; text-decoration:none; }
.logo b { color:var(--accent); }
.logo i { color:var(--accent2); font-style:normal; }
.nav-links { display:flex; gap:22px; font-size:15px; }
.nav-links a { text-decoration:none; color:var(--muted); }
.nav-links a:hover { color:var(--text); }
@media (max-width:720px){ .nav-links { display:none; } }

.hero { padding:48px 0 64px; }
.tag { display:inline-block; background:#fff; border:1px solid var(--line); border-radius:99px; padding:6px 14px; font-size:14px; color:var(--muted); margin-bottom:18px; }
h1 { font-size:clamp(32px,6vw,58px); line-height:1.06; margin:0 0 18px; letter-spacing:-.02em; }
h1 em { font-style:normal; color:var(--accent); }
.lead { font-size:clamp(17px,2.2vw,20px); color:var(--muted); max-width:620px; margin:0; }
.cta { display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
.btn { display:inline-block; background:var(--accent); color:#fff; padding:15px 26px; border-radius:12px; text-decoration:none; font-weight:700; border:0; font-size:17px; cursor:pointer; font-family:inherit; }
.btn:hover { filter:brightness(1.08); }
.btn.ghost { background:transparent; color:var(--text); border:2px solid var(--text); }
.btn.orange { background:var(--accent2); }
.facts { display:flex; flex-wrap:wrap; gap:28px; margin-top:40px; }
.facts div { font-size:15px; color:var(--muted); }
.facts strong { display:block; font-size:28px; color:var(--text); }

section { padding:56px 0; }
h2 { font-size:clamp(26px,4vw,38px); margin:0 0 10px; letter-spacing:-.01em; }
.sub { color:var(--muted); margin:0 0 28px; font-size:17px; }
.grid { display:grid; gap:16px; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); }
.card { background:var(--card); border:1px solid var(--line); border-radius:18px; padding:22px; }
.card h3 { margin:6px 0 6px; font-size:19px; }
.card p { margin:0; color:var(--muted); }
.icon { width:52px; height:52px; border-radius:14px; background:#eaf0ff; display:flex; align-items:center; justify-content:center; }
.icon svg { width:28px; height:28px; fill:none; stroke:var(--accent); stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.icon svg .o { stroke:var(--accent2); }
.num { font-size:15px; font-weight:800; color:var(--accent); }

.price { display:grid; gap:20px; grid-template-columns:1.3fr 1fr; }
@media (max-width:820px){ .price { grid-template-columns:1fr; } }
.price .main { background:var(--dark); color:#fff; border-radius:22px; padding:30px; }
.price .main .big { font-size:52px; font-weight:800; line-height:1; margin:8px 0 4px; }
.price .main .muted { color:#a9adb8; }
.price ul { padding-left:0; list-style:none; margin:20px 0 0; }
.price li { padding:7px 0; border-top:1px solid #2c2f37; }
.price li::before { content:"✓  "; color:#7ea2ff; font-weight:700; }
.price .side { display:grid; gap:16px; }

.works img.shot { width:100%; object-fit:cover; object-position:top; border:1px solid var(--line); }
.works .shot { aspect-ratio:16/10; border-radius:12px; background:linear-gradient(135deg,#dfe7ff,#ffe3d4); display:flex; align-items:center; justify-content:center; color:var(--muted); font-size:14px; margin-bottom:14px; }

.ref { background:linear-gradient(135deg,#ff7a3d,#ff9d5c); color:#fff; border-radius:24px; padding:36px; }
.ref h2 { color:#fff; }
.ref .sub { color:#fff1e8; }
.ref .grid .card { background:rgba(255,255,255,.14); border-color:rgba(255,255,255,.25); color:#fff; }
.ref .grid .card p { color:#fff4ec; }
.ref .rules { font-size:14px; color:#fff1e8; margin-top:20px; }
.ref .btn { background:#fff; color:var(--accent2); margin-top:22px; }

details { background:var(--card); border:1px solid var(--line); border-radius:14px; padding:16px 20px; margin-bottom:10px; }
summary { cursor:pointer; font-weight:700; }
details p { color:var(--muted); margin:10px 0 0; }

.form-box { background:var(--card); border:1px solid var(--line); border-radius:22px; padding:30px; display:grid; gap:28px; grid-template-columns:1fr 1fr; }
@media (max-width:820px){ .form-box { grid-template-columns:1fr; } }
.tabs { display:flex; gap:8px; margin-bottom:16px; flex-wrap:wrap; }
.tabs button { border:1px solid var(--line); background:var(--bg); padding:9px 14px; border-radius:10px; cursor:pointer; font-size:15px; font-family:inherit; }
.tabs button.on { background:var(--text); color:#fff; border-color:var(--text); }
form { display:grid; gap:12px; }
input, textarea { padding:13px 14px; border:1px solid var(--line); border-radius:10px; font-size:16px; font-family:inherit; background:#fff; width:100%; }
textarea { resize:vertical; min-height:80px; }
.hint { font-size:13px; color:var(--muted); }

.agree { display:flex; gap:10px; align-items:flex-start; font-size:14px; color:var(--muted); cursor:pointer; }
.agree input { width:20px; height:20px; flex:none; margin:2px 0 0; accent-color:var(--accent); }

.cookie { position:fixed; left:0; right:0; bottom:0; z-index:100; background:var(--dark); color:#fff; padding:36px 16px; min-height:25vh; display:flex; align-items:center; box-shadow:0 -10px 40px rgba(0,0,0,.25); }
.cookie[hidden] { display:none; }
.cookie-in { width:100%; max-width:1040px; margin:0 auto; display:flex; gap:24px; align-items:center; justify-content:space-between; }
.cookie h3 { margin:0 0 12px; font-size:clamp(23px,3.4vw,30px); }
.cookie p { margin:0; color:#c9ccd4; font-size:clamp(16px,1.8vw,18px); max-width:640px; }
.cookie a { color:#9db8ff; }
.cookie .btn { padding:20px 56px; font-size:20px; flex:none; border-radius:14px; }
@media (max-width:720px){ .cookie-in { flex-direction:column; align-items:stretch; } .cookie .btn { width:100%; } }

footer { padding:36px 0 48px; color:var(--muted); font-size:14px; display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; }

/* ---- кабинет и админка ---- */
.nav-links .nav-btn { color:var(--accent); font-weight:700; }
.page { padding:24px 0 64px; }
.page h1 { font-size:clamp(28px,4.5vw,40px); margin:0 0 8px; }
.narrow { max-width:440px; margin:0 auto; }
.box { background:var(--card); border:1px solid var(--line); border-radius:20px; padding:28px; }
.box + .box { margin-top:20px; }
.box h2 { font-size:22px; margin:0 0 14px; }
label.f { display:grid; gap:6px; font-size:14px; color:var(--muted); }
select { padding:10px 12px; border:1px solid var(--line); border-radius:10px; font-size:15px; font-family:inherit; background:#fff; }
.msg { padding:14px 18px; border-radius:12px; margin-bottom:18px; font-size:15px; }
.msg.ok { background:#e7f6ec; color:#1d6b3a; }
.msg.err { background:#fdeaea; color:#a12a2a; }
.stats { display:grid; gap:14px; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); margin:20px 0; }
.stat { background:var(--card); border:1px solid var(--line); border-radius:16px; padding:18px; }
.stat b { display:block; font-size:26px; }
.stat span { color:var(--muted); font-size:14px; }
.stat.hl { background:var(--dark); color:#fff; border-color:var(--dark); }
.stat.hl span { color:#a9adb8; }
.copy { display:flex; gap:10px; flex-wrap:wrap; }
.copy input { flex:1; min-width:220px; font-weight:600; }
.btn.sm { padding:10px 16px; font-size:15px; border-radius:10px; }
.btn.line { background:transparent; color:var(--text); border:1px solid var(--line); }
.table-wrap { overflow-x:auto; }
table { width:100%; border-collapse:collapse; font-size:15px; }
th, td { text-align:left; padding:12px 10px; border-top:1px solid var(--line); vertical-align:top; }
th { color:var(--muted); font-weight:600; font-size:13px; border-top:0; }
td small { color:var(--muted); display:block; }
.badge { display:inline-block; padding:4px 10px; border-radius:99px; font-size:13px; font-weight:600; white-space:nowrap; }
.s-new { background:#eaf0ff; color:#2348b8; }
.s-work { background:#fff3e0; color:#a35a00; }
.s-paid { background:#e7f6ec; color:#1d6b3a; }
.s-payout { background:#16181d; color:#fff; }
.s-reject, .s-dup { background:#f0eeea; color:#77736b; }
.filters { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:16px; }
.filters a { text-decoration:none; padding:8px 14px; border-radius:10px; border:1px solid var(--line); background:var(--card); font-size:14px; }
.filters a.on { background:var(--text); color:#fff; border-color:var(--text); }
.row-form { display:grid; gap:8px; min-width:200px; }
.row-form input, .row-form select, .row-form textarea { padding:8px 10px; font-size:14px; }
.row-form textarea { min-height:44px; }
.muted { color:var(--muted); }
.honey { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.inline { display:inline; }
.linkbtn { background:none; border:0; padding:0; color:var(--muted); font:inherit; cursor:pointer; text-decoration:underline; }
.pass-wrap { position:relative; display:block; }
.pass-wrap input { width:100%; padding-right:48px; }
.eye { position:absolute; right:6px; top:50%; transform:translateY(-50%); width:38px; height:38px; border:0; background:none; cursor:pointer; border-radius:8px; display:flex; align-items:center; justify-content:center; padding:0; }
.eye:hover { background:#eef2ff; }
.eye svg { width:22px; height:22px; fill:none; stroke:var(--muted); stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.eye:hover svg { stroke:var(--accent); }
.call-box { text-align:center; }
.call-num { display:block; font-size:clamp(28px,7vw,38px); font-weight:800; color:var(--accent); text-decoration:none; margin:6px 0 10px; letter-spacing:.01em; }
.call-wait { display:flex; gap:10px; align-items:center; justify-content:center; font-weight:600; margin:14px 0 18px; }
.call-wait.err { color:#a12a2a; }
.call-wait .dot { width:10px; height:10px; border-radius:50%; background:var(--accent2); animation:pulse 1.2s infinite; }
@keyframes pulse { 0%,100% { opacity:.3; transform:scale(.8); } 50% { opacity:1; transform:scale(1.2); } }

/* ---- SEO-страницы ---- */
.works img.shot { height:auto; }
.crumbs { font-size:14px; color:var(--muted); margin:0; }
.crumbs a { color:var(--muted); }
.seo-text p { font-size:18px; line-height:1.7; margin:0; max-width:820px; }
.niche-links { display:flex; flex-wrap:wrap; gap:10px; }
.niche-links a { text-decoration:none; padding:10px 16px; border-radius:12px; border:1px solid var(--line); background:var(--card); }
.niche-links a:hover { border-color:var(--accent); color:var(--accent); }
.card-link { text-decoration:none; transition:border-color .15s, transform .15s; }
.card-link:hover { border-color:var(--accent); transform:translateY(-2px); }
.card-link .more { display:inline-block; margin-top:10px; color:var(--accent); font-weight:600; font-size:15px; }
.site-footer { display:block; padding:40px 0 48px; border-top:1px solid var(--line); margin-top:24px; }
.foot-cols { display:grid; gap:28px; grid-template-columns:1.2fr 1fr 1fr; }
@media (max-width:820px){ .foot-cols { grid-template-columns:1fr; } }
.foot-cols b { display:block; margin-bottom:10px; color:var(--text); }
.foot-cols a { display:block; color:var(--muted); text-decoration:none; padding:3px 0; font-size:15px; }
.foot-cols a:hover { color:var(--accent); }
.foot-bottom { margin-top:28px; font-size:14px; color:var(--muted); }
