/* ============================================================
   Auto-KeyGen — static site styles
   ============================================================ */

:root {
  --bg: #141312;
  --bg-soft: #0f0e0d;
  --card: rgba(255, 255, 255, 0.055);
  --card-strong: rgba(255, 255, 255, 0.085);
  --gold: #d08a45;
  --gold-soft: #b4732f;
  --text: #edeae6;
  --muted: #9b9791;
  --line: rgba(255, 255, 255, 0.12);
  --radius: 16px;
  --font: "Golos Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--gold); text-decoration: none; }
a:hover { color: #e2a05c; }

h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.18; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 84px 0; position: relative; }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-title {
  font-size: 38px;
  max-width: 760px;
}
.section-lead {
  margin-top: 16px;
  max-width: 640px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: 24px;
  border: 1px solid transparent;
  font: 600 15px/1 var(--font);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s, transform 0.18s;
  white-space: nowrap;
}
.btn--gold {
  background: #fff;
  color: #2b2118;
  border-color: rgba(208, 138, 69, 0.9);
}
.btn--gold:hover {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 10px 26px rgba(208, 138, 69, 0.35);
}
.btn--ghost {
  background: transparent;
  color: var(--gold);
  border-color: rgba(208, 138, 69, 0.7);
}
.btn--ghost:hover {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 10px 26px rgba(208, 138, 69, 0.35);
}
.btn--white {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn--white:hover { background: #fff; color: #1b1714; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 12px;
  z-index: 100;
  margin: 12px 12px 0;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03));
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  backdrop-filter: blur(40px) saturate(200%);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 18px 44px rgba(0, 0, 0, 0.45);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 20px;
}
.logo { display: flex; align-items: center; flex: 0 0 auto; }
.logo img { width: 200px; height: auto; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 13px;
  border-radius: 12px;
  transition: color 0.18s, background 0.18s;
}
.nav a:hover { color: var(--gold); background: rgba(255, 255, 255, 0.05); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone {
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
}
.header-phone:hover { color: var(--gold); }

/* mobile menu */
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.burger { display: none; }

/* ---------- hero ---------- */
.hero {
  margin-top: -70px;
  padding: 150px 0 70px;
  background:
    radial-gradient(58% 50% at 82% 0%, rgba(208, 138, 69, 0.20), rgba(208, 138, 69, 0) 64%),
    linear-gradient(160deg, #241f1a 0%, #0c0b0a 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.75fr 1fr;
  gap: 44px;
  align-items: center;
}
.hero h1 {
  font-size: 46px;
  margin-bottom: 22px;
  text-wrap: balance;
}
.hero-lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  max-width: 560px;
}
.hero-list {
  list-style: none;
  margin: 26px 0 32px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.hero-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text);
  font-size: 15.5px;
}
.hero-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/12px no-repeat;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.hero-card h3 { font-size: 24px; margin: 10px 0 12px; }
.hero-card p { color: var(--muted); font-size: 15px; }
.hero-card .phone-lg {
  display: block;
  margin: 14px 0 4px;
  font-size: 25px;
  font-weight: 600;
  color: var(--text);
}
.hero-card .phone-lg:hover { color: var(--gold); }
.hero-card .hours { color: var(--muted); font-size: 14px; }
.hero-card ul {
  list-style: none;
  margin: 16px 0 20px;
  padding: 0;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}
.hero-card ul li::before { content: "●"; color: var(--gold); margin-right: 8px; font-size: 10px; }

/* ---------- brands ---------- */
.brands { padding: 56px 0; text-align: center; background: linear-gradient(180deg, rgba(208, 138, 69, 0.06), transparent); }
.brands h2 { font-size: 26px; margin-bottom: 26px; }
.brand-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 22px 42px;
  opacity: 0.78;
}
.brand-row svg { height: 38px; width: auto; }
.brands-note { margin-top: 24px; color: var(--muted); font-size: 14px; }

/* ---------- features ---------- */
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.feature .ico { font-size: 26px; margin-bottom: 14px; }
.feature h3 { font-size: 18px; margin-bottom: 12px; }
.feature ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}
.feature ul li::before { content: "●"; color: var(--gold); margin-right: 8px; font-size: 9px; }

/* ---------- services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.service {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.service:hover {
  background: var(--card-strong);
  border-color: rgba(208, 138, 69, 0.45);
  transform: translateY(-2px);
}
.service h3 { font-size: 19px; margin-bottom: 10px; }
.service p { color: var(--muted); font-size: 14.5px; }

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
  counter-reset: step;
}
.step { border-top: 1px solid var(--line); padding-top: 20px; }
.step .num { color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; }
.step h3 { font-size: 18px; margin: 10px 0 10px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ---------- prices ---------- */
.prices { background: linear-gradient(180deg, #1d1a17, #0e0d0c); }
.price-list { margin-top: 32px; border-top: 1px solid var(--line); }
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
}
.price-row .sum { color: var(--gold); font-weight: 600; white-space: nowrap; }
.price-note { margin-top: 22px; color: var(--muted); font-size: 14px; }
.prices-actions { margin-top: 28px; }

/* ---------- reviews ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.review {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.stars { color: var(--gold); letter-spacing: 2px; font-size: 14px; }
.review p { color: var(--text); font-size: 15px; line-height: 1.6; }
.review .who { color: var(--muted); font-size: 13px; margin-top: auto; }
.review--avito {
  background: linear-gradient(160deg, rgba(208, 138, 69, 0.16), rgba(208, 138, 69, 0.04));
  border-color: rgba(208, 138, 69, 0.4);
}
.review--avito h3 { font-size: 18px; margin-bottom: 6px; }

/* ---------- faq ---------- */
.faq { margin-top: 32px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 40px 20px 0;
  position: relative;
  font-size: 17px;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 24px;
  font-weight: 400;
  transition: transform 0.2s;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 40px 22px 0; color: var(--muted); font-size: 15px; }

/* ---------- cta band ---------- */
.cta-band { background: linear-gradient(90deg, #b4732f, #d08a45); color: #1b1510; padding: 46px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: 30px; }
.cta-band p { opacity: 0.8; margin-top: 8px; font-size: 15px; }
.cta-band .btn { background: #1b1714; color: #fff; border-color: transparent; }
.cta-band .btn:hover { background: #000; }

/* ---------- contacts ---------- */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  margin-top: 36px;
}
.contacts-list { display: grid; gap: 22px; align-content: start; }
.contact-item h3 { font-size: 15px; color: var(--muted); font-weight: 500; margin-bottom: 6px; }
.contact-item a, .contact-item span { font-size: 17px; color: var(--text); }
.contact-item a:hover { color: var(--gold); }
.contacts-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.map-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 440px;
  background: var(--card);
}
.map-box iframe { width: 100%; height: 100%; min-height: 440px; border: 0; display: block; filter: invert(0.9) hue-rotate(180deg) contrast(0.9) saturate(0.7); }

/* ---------- form ---------- */
.form-section { background: linear-gradient(180deg, #1d1a17, #0e0d0c); }
.form-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.form-card h2 { font-size: 30px; }
.form-card > p { color: var(--muted); margin-top: 12px; }
.form-card .phone-inline { color: var(--gold); font-weight: 600; }
.form { display: grid; gap: 16px; margin-top: 24px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; color: var(--muted); }
.field input, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font: 15px var(--font);
  transition: border-color 0.18s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: rgba(208, 138, 69, 0.8); }
.field textarea { min-height: 92px; resize: vertical; }
.form .btn { justify-content: center; }
.form-note { font-size: 12.5px; color: var(--muted); }
.form-status { font-size: 14px; margin-top: 4px; }
.form-status.ok { color: #7ed07e; }
.form-status.err { color: #e07a7a; }

/* ---------- footer ---------- */
.site-footer {
  background: linear-gradient(180deg, #1d1a17, #0e0d0c);
  border-top: 1px solid var(--line);
  padding: 60px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}
.footer-brand img { width: 190px; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 14px; line-height: 1.7; max-width: 340px; }
.footer-brand .footer-links { margin-top: 14px; display: grid; gap: 6px; font-size: 14px; }
.footer-col h3 {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.footer-col a { color: var(--text); }
.footer-col a:hover { color: var(--gold); }
.footer-col a.btn { color: #2b2118; }
.footer-col a.btn:hover { color: #fff; }
.footer-col .muted { color: var(--muted); }
.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}

/* ---------- articles ---------- */
.post-header { padding: 64px 0 24px; background: linear-gradient(160deg, #241f1a, #0c0b0a); }
.post-header h1 { font-size: 42px; max-width: 860px; }
.post-header .back { display: inline-block; margin-bottom: 20px; font-size: 14px; color: var(--gold); }
.post-meta { color: var(--muted); font-size: 14px; margin-top: 16px; }
.post-body { padding: 46px 0 70px; }
.post-content { max-width: 760px; color: var(--muted); font-size: 17px; line-height: 1.78; }
.post-content h2 { color: var(--text); font-size: 26px; margin: 38px 0 14px; }
.post-content h3 { color: var(--text); font-size: 21px; margin: 28px 0 12px; }
.post-content p { margin: 0 0 16px; }
.post-content ul, .post-content ol { margin: 0 0 16px; padding-left: 22px; }
.post-content li { margin-bottom: 8px; }
.post-content strong { color: var(--text); }
.post-content a { color: var(--gold); }

.articles-hero { padding: 64px 0 30px; background: linear-gradient(160deg, #241f1a, #0c0b0a); }
.articles-hero h1 { font-size: 44px; }
.articles-hero p { color: var(--muted); margin-top: 16px; max-width: 640px; }
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
  padding: 40px 0 80px;
}
.article-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  transition: background 0.2s, border-color 0.2s;
}
.article-card:hover { background: var(--card-strong); border-color: rgba(208, 138, 69, 0.5); }
.article-card .date { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.article-card h2 { font-size: 19px; color: var(--text); }
.article-card p { font-size: 14px; color: var(--muted); }
.article-card .more { color: var(--gold); font-size: 14px; margin-top: auto; }

/* ---------- service icons ---------- */
.service-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  color: var(--gold);
}
.service-icon svg { width: 34px; height: 34px; }

/* ---------- price highlight ---------- */
.price-row.is-hot { position: relative; }
.price-row .hot-badge {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1b1714;
  background: var(--gold);
  border-radius: 6px;
  padding: 3px 7px;
  margin-left: 10px;
  vertical-align: middle;
  white-space: nowrap;
}

/* ---------- scroll reveal (progressive enhancement) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .section > .wrap > .eyebrow,
    .section > .wrap > .section-title,
    .service,
    .feature,
    .step,
    .review,
    .task,
    .brand-card,
    .article-card {
      animation: ak-rise linear both;
      animation-timeline: view();
      animation-range: entry 5% cover 22%;
    }
  }
}
@keyframes ak-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* ---------- soft hero motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero {
    background-size: 160% 160%, 100% 100%;
    animation: ak-hero-drift 24s ease-in-out infinite alternate;
  }
}
@keyframes ak-hero-drift {
  from { background-position: 78% 0%, 0 0; }
  to { background-position: 62% 8%, 0 0; }
}

/* ---------- static map with custom pin ---------- */
.map-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}
.map-card picture { display: block; }
.map-card img {
  display: block;
  width: 100%;
  height: auto;
  filter: invert(0.92) hue-rotate(180deg) contrast(0.92) saturate(0.7);
}
.map-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -100%);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.55));
  pointer-events: none;
}
.map-pin svg { display: block; width: 44px; height: 57px; }
.map-copy {
  position: absolute;
  left: 10px;
  bottom: 8px;
  font-size: 11px;
  color: var(--muted);
  background: rgba(20, 19, 18, 0.65);
  padding: 2px 6px;
  border-radius: 5px;
}
.map-open {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 12.5px;
  color: var(--gold);
  background: rgba(20, 19, 18, 0.82);
  border: 1px solid rgba(208, 138, 69, 0.35);
  padding: 5px 10px;
  border-radius: 8px;
}
.map-open:hover { background: var(--gold); color: #1b1714; }

@media (prefers-reduced-motion: no-preference) {
  .map-pin { animation: ak-pin-drop 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.2) both; }
}
@keyframes ak-pin-drop {
  from { opacity: 0; transform: translate(-50%, -160%); }
  to { opacity: 1; transform: translate(-50%, -100%); }
}

/* ---------- glossary ---------- */
.glossary-body { padding: 20px 0 80px; }
.glossary-group {
  font-size: 26px;
  margin: 42px 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.glossary-group:first-child { margin-top: 12px; }
.term-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.term-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  transition: background 0.2s, border-color 0.2s;
}
.term-card:hover { background: var(--card-strong); border-color: rgba(208, 138, 69, 0.5); }
.term-card h3 { font-size: 17px; color: var(--text); }
.term-card p { font-size: 14px; color: var(--muted); }
.term-card .more { color: var(--gold); font-size: 13.5px; margin-top: auto; }

/* ---------- brand pages ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips span {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}
.chips a {
  padding: 8px 14px;
  border: 1px solid rgba(208, 138, 69, 0.45);
  border-radius: 20px;
  color: var(--gold);
  font-size: 14px;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s;
}
.chips a:hover { background: var(--gold); color: #1b1714; }
.tasks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 32px; }
.task {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.task h3 { font-size: 18px; margin-bottom: 10px; }
.task p { color: var(--muted); font-size: 15px; }
.brand-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; padding: 40px 0 70px; }
.brand-card {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px;
  transition: background 0.2s, border-color 0.2s;
}
.brand-card:hover { background: var(--card-strong); border-color: rgba(208, 138, 69, 0.5); }
.brand-card h2 { font-size: 20px; color: var(--text); }
.brand-card p { font-size: 14px; color: var(--muted); }
.brand-card .more { color: var(--gold); font-size: 14px; margin-top: auto; }
.also { margin-top: 40px; font-size: 15px; color: var(--muted); }
.also a { color: var(--gold); white-space: nowrap; }

@media (max-width: 767px) {
  .tasks { grid-template-columns: 1fr; }
}

/* ---------- mobile sticky call bar ---------- */
.mobile-bar {
  display: none;
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 90;
  gap: 8px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(20, 19, 18, 0.92);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
}
.mobile-bar a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 10px;
  border-radius: 13px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
}
.mobile-bar a.is-primary { background: #fff; color: #2b2118; border-color: rgba(208, 138, 69, 0.9); }
.mobile-bar svg { width: 17px; height: 17px; }

/* ---------- breadcrumbs ---------- */
.crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--gold); }
.crumbs span { margin: 0 6px; opacity: 0.6; }

/* ---------- 404 ---------- */
.err-page { min-height: 70vh; display: flex; align-items: center; padding: 80px 0; }
.err-code { font-size: 96px; font-weight: 700; line-height: 1; color: var(--gold); opacity: 0.35; }
.err-page h1 { font-size: 34px; margin: 12px 0 16px; }
.err-page p { color: var(--muted); max-width: 520px; margin-bottom: 26px; }
.err-links { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 767px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 84px; }
}

@media (max-width: 1024px) {
  .hero h1 { font-size: 44px; }
  .cards-4, .services-grid, .steps, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .site-header { margin: 10px 10px 0; }
  .header-inner { padding: 8px 14px; gap: 10px; }
  .logo img { width: 140px; }
  .header-phone, .header-actions .btn { display: none; }
  .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    min-width: 215px;
    padding: 6px;
    background: rgba(20, 19, 18, 0.97);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    z-index: 60;
  }
  .nav a { padding: 13px 14px; border-radius: 10px; font-size: 16px; }
  .nav a + a { border-top: 1px solid rgba(255, 255, 255, 0.06); }
  .burger {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 38px;
    height: 38px;
    margin-left: auto;
    border-radius: 12px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--line);
  }
  .burger span { display: block; width: 17px; height: 2px; border-radius: 2px; background: var(--text); }
  .nav-toggle:checked ~ .nav { display: flex; }
  .header-inner { position: relative; }

  .hero { margin-top: -68px; padding: 130px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: 34px; }
  .hero-lead { font-size: 16px; }
  .section { padding: 60px 0; }
  .section-title { font-size: 28px; }
  .cards-4, .services-grid, .steps, .reviews-grid, .contacts-grid { grid-template-columns: 1fr; }
  .price-row { font-size: 15.5px; }
  .cta-band h2 { font-size: 24px; }
  .form-card { padding: 24px; }
  .post-header, .articles-hero { padding: 100px 0 20px; }
  .post-header h1, .articles-hero h1 { font-size: 28px; }
  .post-body { padding: 30px 0 50px; }
  .post-content { font-size: 16px; }
}
