/* Svarka365 — one stylesheet, mobile-first */
:root {
  --bg: #0f1419;
  --bg-2: #161d26;
  --bg-3: #1c2633;
  --card: #1a2330;
  --text: #e8eef5;
  --muted: #9aa8b8;
  --accent: #f5a623;
  --accent-2: #ff6b35;
  --line: rgba(255,255,255,.08);
  --ok: #3dd68c;
  --danger: #ff5c5c;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(0,0,0,.35);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3 { line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--accent); color: #111; padding: .6rem 1rem; z-index: 100;
}
.skip-link:focus { left: .5rem; top: .5rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15,20,25,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 1rem;
  min-height: 64px; padding-block: .55rem;
}
.logo { display: flex; flex-direction: column; color: var(--text); text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo-mark {
  font-weight: 800; letter-spacing: .04em; font-size: 1.15rem;
}
.logo-mark span { color: var(--accent); }
.logo-tag { font-size: .72rem; color: var(--muted); }
.nav {
  display: none; gap: .15rem; margin-left: auto;
}
.nav-link {
  color: var(--muted); padding: .45rem .7rem; border-radius: 8px; font-size: .92rem;
}
.nav-link:hover, .nav-link.is-active {
  color: var(--text); background: var(--bg-3); text-decoration: none;
}
.header-cta { display: flex; align-items: center; gap: .55rem; margin-left: auto; }
.phone {
  display: none; color: var(--text); font-weight: 700; white-space: nowrap;
}
.phone:hover { color: var(--accent); text-decoration: none; }
.nav-toggle {
  width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg-2); display: grid; place-content: center; gap: 5px; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; background: var(--text);
}
body.nav-open .nav {
  display: flex; flex-direction: column;
  position: absolute; left: 0; right: 0; top: 64px;
  background: var(--bg-2); padding: 1rem; border-bottom: 1px solid var(--line);
}
body.nav-open .nav .nav-link { padding: .75rem; }

@media (min-width: 960px) {
  .nav { display: flex; }
  .header-cta { margin-left: 0; }
  .phone { display: inline; }
  .nav-toggle { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .75rem 1.15rem; border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; cursor: pointer; text-decoration: none; font-size: .95rem;
}
.btn:hover { text-decoration: none; filter: brightness(1.05); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #111; }
.btn-outline { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost { background: var(--bg-3); color: var(--text); }
.btn-sm { padding: .5rem .85rem; font-size: .88rem; }
.btn-block { width: 100%; }

/* Hero */
.hero {
  padding: 2.5rem 0 2rem;
  background:
    radial-gradient(900px 400px at 80% -10%, rgba(245,166,35,.18), transparent 60%),
    radial-gradient(700px 300px at 10% 20%, rgba(255,107,53,.12), transparent 55%),
    var(--bg);
}
.hero-grid {
  display: grid; gap: 1.75rem;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.2fr .8fr; align-items: center; }
}
.eyebrow {
  display: inline-block; color: var(--accent); font-weight: 700; font-size: .85rem;
  letter-spacing: .04em; text-transform: uppercase; margin-bottom: .75rem;
}
.lead { font-size: 1.08rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.25rem 0; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 1.5rem;
}
.stat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .9rem; text-align: center;
}
.stat strong { display: block; font-size: 1.25rem; color: var(--accent); }
.stat span { font-size: .8rem; color: var(--muted); }
.hero-card {
  background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  padding: 1.25rem; box-shadow: var(--shadow);
}
.hero-card h2 { font-size: 1.15rem; margin-bottom: .75rem; }

/* Sections */
.section { padding: 3rem 0; }
.section.alt { background: var(--bg-2); }
.section-head { margin-bottom: 1.5rem; max-width: 40rem; }
.muted { color: var(--muted); }
.grid-2 { display: grid; gap: 1.5rem; }
.grid-3 { display: grid; gap: 1rem; }
.grid-4 { display: grid; gap: 1rem; }
@media (min-width: 700px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.15rem; height: 100%;
  transition: border-color .2s, transform .2s;
}
a.card { color: inherit; display: block; }
a.card:hover { border-color: rgba(245,166,35,.45); transform: translateY(-2px); text-decoration: none; }
.card .price { color: var(--accent); font-weight: 800; margin-top: .6rem; }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }

.checklist { list-style: none; padding: 0; }
.checklist li {
  position: relative; padding-left: 1.5rem; margin-bottom: .55rem; color: var(--muted);
}
.checklist li::before {
  content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800;
}

.steps { counter-reset: step; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem; position: relative;
}
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-grid; place-items: center;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--accent); color: #111; font-weight: 800; margin-bottom: .7rem;
}

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 520px; }
th, td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--bg-3); font-size: .85rem; color: var(--muted); }
td strong { color: var(--accent); }
tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq-list { display: grid; gap: .6rem; max-width: 760px; }
.faq-item {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: .2rem .9rem;
}
.faq-item summary {
  cursor: pointer; font-weight: 700; padding: .85rem 0; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-body { color: var(--muted); padding-bottom: .9rem; }

/* Form */
.lead-form {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: calc(var(--radius) + 2px);
  padding: 1.25rem;
}
.form-row { margin-bottom: .9rem; }
.form-row label { display: block; font-size: .9rem; margin-bottom: .35rem; }
.form-row input[type="text"],
.form-row input[type="tel"],
.form-row input[type="file"],
.form-row textarea {
  width: 100%; padding: .7rem .8rem; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit;
}
.form-row textarea { resize: vertical; min-height: 100px; }
.form-row.check label { display: flex; gap: .55rem; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.hint { font-size: .78rem; color: var(--muted); margin: .35rem 0 0; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-status { margin-top: .75rem; font-size: .9rem; }
.form-status.is-ok { color: var(--ok); }
.form-status.is-err { color: var(--danger); }
.contact-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }

/* Gallery placeholders */
.work-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.work-thumb {
  aspect-ratio: 4/3;
  background:
    linear-gradient(135deg, rgba(245,166,35,.25), rgba(255,107,53,.1)),
    repeating-linear-gradient(45deg, #1c2633 0 12px, #161d26 12px 24px);
  display: grid; place-items: center; color: var(--muted); font-size: .85rem; text-align: center; padding: 1rem;
}
.work-card .body { padding: .9rem 1rem 1.1rem; }
.work-card .body h3 { margin-bottom: .3rem; }

/* Breadcrumbs */
.crumbs-wrap { padding-top: 1rem; }
.breadcrumbs ol {
  list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; font-size: .85rem; color: var(--muted);
}
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .35rem; color: var(--line); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line); background: #0b0f14; padding: 2.5rem 0 1.5rem; margin-top: 1rem;
}
.footer-grid { display: grid; gap: 1.5rem; }
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}
.footer-links, .footer-contacts { list-style: none; padding: 0; margin: 0; }
.footer-links li, .footer-contacts li { margin-bottom: .4rem; }
.footer-links a, .footer-contacts a { color: var(--muted); }
.footer-links a:hover, .footer-contacts a:hover { color: var(--accent); }
.site-footer h3 { font-size: .95rem; color: var(--text); margin-bottom: .7rem; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem;
  margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line);
  font-size: .85rem; color: var(--muted);
}
.logo-footer { margin-bottom: .7rem; }

.fab-call {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 40;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #111; font-size: 1.35rem; box-shadow: var(--shadow); text-decoration: none;
}
@media (min-width: 960px) { .fab-call { display: none; } }

.page-hero { padding: 1.5rem 0 0; }
.prose { max-width: 720px; color: var(--muted); }
.prose h2, .prose h3 { color: var(--text); margin-top: 1.5rem; }
.badge {
  display: inline-block; background: rgba(245,166,35,.15); color: var(--accent);
  border: 1px solid rgba(245,166,35,.35); border-radius: 999px; padding: .25rem .7rem; font-size: .8rem; font-weight: 700;
}
.note {
  background: rgba(245,166,35,.08); border: 1px solid rgba(245,166,35,.25);
  border-radius: 12px; padding: .9rem 1rem; color: var(--muted); font-size: .92rem;
}
.city-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.city-list a {
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: .45rem .9rem; color: var(--text);
}
.city-list a:hover { border-color: var(--accent); text-decoration: none; }
