@import url("fonts.css");

:root {
  --bg: #08090c;
  --bg-2: #101318;
  --card: #161a21;
  --card-hover: #1c2129;
  --line: rgba(255, 255, 255, 0.08);
  --text: #efe9df;
  --muted: #9a9388;
  --accent: #e0a020;
  --accent-2: #f3c45a;
  --accent-dim: rgba(224, 160, 32, 0.14);
  --danger: #c4472a;
  --viber: #7360f2;
  --wa: #25d366;
  --tg: #26a5e4;
  --radius: 16px;
  --header: 72px;
  --sticky: 68px;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Oswald", "Manrope", sans-serif;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { color: #fff; }
address { font-style: normal; }

[data-lang] { display: none; }
html[lang="ru"] [data-lang="ru"],
html[lang="ro"] [data-lang="ro"] { display: inline; }
html[lang="ru"] p [data-lang="ru"],
html[lang="ro"] p [data-lang="ro"],
html[lang="ru"] li [data-lang="ru"],
html[lang="ro"] li [data-lang="ro"],
html[lang="ru"] h1 [data-lang="ru"],
html[lang="ro"] h1 [data-lang="ro"],
html[lang="ru"] h2 [data-lang="ru"],
html[lang="ro"] h2 [data-lang="ro"],
html[lang="ru"] h3 [data-lang="ru"],
html[lang="ro"] h3 [data-lang="ro"],
html[lang="ru"] h4 [data-lang="ru"],
html[lang="ro"] h4 [data-lang="ro"] { display: inline; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--accent); color: #111; padding: 8px 12px; z-index: 100;
}
.skip:focus { left: 8px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap;
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.header {
  position: sticky; top: 0; z-index: 40;
  height: var(--header);
  background: rgba(8, 9, 12, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header .wrap {
  height: 100%;
  display: flex; align-items: center; gap: 24px;
}
.logo { color: var(--text); display: flex; flex-direction: row; align-items: center; gap: 10px; min-width: 0; }
.logo-mark { width: 40px; height: 40px; flex-shrink: 0; display: block; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-name { font-family: var(--display); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 20px; color: var(--text); }
.logo small, .logo-text small { color: var(--muted); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.workshop-name { font-family: var(--display); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.footer .logo { color: inherit; }
.footer .brand-name { font-size: 18px; color: #fff; }
.panel .brand-lockup { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.panel .brand-lockup .logo-mark { width: 36px; height: 36px; }
.panel .brand-lockup .brand-name { margin: 0; }
.nav { display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; }
.nav a { color: var(--muted); font-size: 14px; font-weight: 600; }
.nav a:hover { color: var(--text); }
.header-tools { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang button {
  background: transparent; color: var(--muted); border: 0;
  padding: 6px 10px; font: 600 12px/1 var(--font); cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--accent); color: #1a1408; }
.header-call {
  background: var(--accent); color: #1a1408 !important;
  font-weight: 700; font-size: 13px;
  padding: 8px 14px; border-radius: 999px;
}
.header-call:hover { background: var(--accent-2); color: #1a1408 !important; }

.hero {
  position: relative;
  min-height: calc(100vh - var(--header));
  display: flex; align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 70% center;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(8,9,12,0.92) 0%, rgba(8,9,12,0.72) 42%, rgba(8,9,12,0.25) 70%, rgba(8,9,12,0.45) 100%),
    linear-gradient(180deg, rgba(8,9,12,0.15) 0%, rgba(8,9,12,0.15) 50%, rgba(8,9,12,0.85) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding: 72px 0 56px; }
.eyebrow {
  display: inline-block;
  color: var(--accent-2);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px; font-weight: 700;
  margin: 0 0 14px;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(32px, 5.4vw, 64px);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 18px;
  max-width: 13em;
}
.hero-lead { max-width: 46ch; color: #d7d0c6; margin: 0 0 18px; font-size: 18px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 14px; margin: 0 0 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.trust-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.pill {
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.28);
  color: #ddd6cc;
  font-size: 13px; font-weight: 600;
  padding: 7px 12px; border-radius: 999px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; border-radius: 999px; font-weight: 700;
  padding: 13px 20px; border: 1px solid transparent;
  transition: 0.2s transform, 0.2s background, 0.2s color;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #1a1408 !important; }
.btn-primary:hover { background: var(--accent-2); color: #1a1408 !important; }
.btn-ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,0.28); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: #fff !important; }

.contact-icons { display: flex; gap: 8px; align-items: center; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #1c2129; color: #fff !important;
  border: 1px solid var(--line);
  transition: transform 0.15s ease, background 0.15s ease;
}
.icon-btn svg { width: 22px; height: 22px; fill: currentColor; }
.icon-btn:hover { transform: translateY(-1px); }
.icon-btn.phone { background: var(--accent); color: #1a1408 !important; border-color: transparent; }
.icon-btn.viber { background: var(--viber); border-color: transparent; }
.icon-btn.whatsapp { background: var(--wa); border-color: transparent; }
.icon-btn.telegram { background: var(--tg); border-color: transparent; }

.section { padding: 80px 0; }
#map.section { padding-bottom: 48px; }
.footer { padding: 28px 0 24px; }
.section-head { margin-bottom: 32px; max-width: 720px; }
.section-head h2, .group h3, .why-item h3, .step h3, .faq-item h3, .panel h3 {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  margin: 0 0 8px;
}
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); }
.lede { color: var(--muted); margin: 0; }

.brands {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  padding: 22px 0;
}
.brands-label {
  color: var(--muted); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 700; margin: 0 0 10px;
}
.brand-row {
  display: flex; flex-wrap: wrap; gap: 8px 6px;
  color: #cfc7bb; font-family: var(--display);
  letter-spacing: 0.08em; text-transform: uppercase; font-size: 15px;
}
.brand-row span::after { content: "·"; margin-left: 8px; color: #5a564e; }
.brand-row span:last-child::after { content: ""; }

.group { margin-bottom: 40px; }
.group h3 { font-size: 22px; color: var(--accent-2); margin-bottom: 16px; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cards-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  height: 100%;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  box-shadow: var(--shadow);
}
.card:hover { transform: translateY(-4px); border-color: rgba(224,160,32,0.35); background: var(--card-hover); }
.card-photo {
  display: block; aspect-ratio: 4 / 3;
  overflow: hidden; background: #0b0d10;
}
.card-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.card:hover .card-photo img { transform: scale(1.06); }
.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h4 { font-size: 17px; line-height: 1.3; margin: 0; font-weight: 700; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.card .price {
  margin-top: auto; padding-top: 8px;
  color: var(--accent-2); font-weight: 800; font-size: 16px;
}

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
}
.step .num {
  font-family: var(--display);
  color: var(--accent);
  font-size: 28px; letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.step p { color: var(--muted); margin: 0; font-size: 14px; }

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.gallery a, .gallery figure {
  margin: 0; border-radius: 12px; overflow: hidden;
  background: #0b0d10; aspect-ratio: 4 / 3;
}
.gallery img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: saturate(0.95);
}
.gallery a:hover img { transform: scale(1.05); filter: saturate(1.05); }
.gallery figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.tag {
  display: inline-block;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #1a1408; background: var(--accent);
  padding: 4px 8px; border-radius: 999px;
  width: fit-content;
}

.why { background: var(--bg-2); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
  background: var(--card);
}
.why-item .num { font-family: var(--display); color: var(--accent); font-size: 26px; }
.why-item p { color: var(--muted); margin: 0; font-size: 14px; }

.faq-list { display: grid; gap: 10px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.faq-item button {
  width: 100%; text-align: left;
  background: transparent; color: var(--text);
  border: 0; cursor: pointer;
  padding: 16px 18px;
  font: 700 16px/1.3 var(--font);
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq-item button::after {
  content: "+"; color: var(--accent); font-size: 22px; font-weight: 600;
}
.faq-item.open button::after { content: "–"; }
.faq-item .faq-body {
  display: none;
  padding: 0 18px 16px;
  color: var(--muted);
}
.faq-item.open .faq-body { display: block; }
.faq-item .faq-body p { margin: 0; }

.map-grid { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 20px; align-items: stretch; }
.map-box {
  position: relative; min-height: 420px;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: #1a1e24;
}
.map-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-fallback { position: absolute; inset: 0; z-index: 0; display: grid; place-content: center; text-align: center; padding: 24px; color: var(--muted); }
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.panel h3 { margin-top: 18px; }
.panel h3:first-child { margin-top: 0; }
.phone-lg {
  display: inline-block;
  font-family: var(--display);
  font-size: 28px; color: var(--text);
  letter-spacing: 0.03em;
  margin: 6px 0 10px;
}
.phone-lg:hover { color: var(--accent-2); }
.hours { list-style: none; padding: 0; margin: 0 0 8px; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--muted); }

.footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.note { font-size: 13px; margin: 6px 0 0; }

.sticky-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: rgba(10,12,16,0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  gap: 8px; align-items: center; justify-content: center;
}
.sticky-call {
  flex: 1; text-align: center;
  background: var(--accent); color: #1a1408 !important;
  font-weight: 800; border-radius: 999px; padding: 12px 10px;
}

@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .nav { display: none; }
}
@media (max-width: 800px) {
  .map-grid, .cards-2 { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .hero { min-height: 86vh; align-items: flex-end; }
  .hero-bg { object-position: 60% center; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .header-call { display: none; }
}
@media (max-width: 640px) {
  .cards, .steps, .why-grid { grid-template-columns: 1fr; }
  .sticky-bar { display: flex; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  .section { padding: 56px 0; }
  #map.section { padding-bottom: 24px; }
  .footer { padding: 20px 0 12px; }
  .hero .wrap { padding: 40px 0 120px; }
}
