@import url('https://fonts.googleapis.com/css2?family=Syne:wght@500;600;700;800&family=Archivo:wght@400;500;600;700&display=swap');

:root {
  --bg: #070809;
  --bg-soft: #0f1216;
  --surface: #151a20;
  --surface-2: #1b222b;
  --line: #2f3945;
  --line-soft: #25303c;
  --text: #f3f6fb;
  --text-muted: #a8b4c2;
  --silver: #b9c5d1;
  --silver-bright: #dce5ee;
  --gold: #d5b06a;
  --gold-soft: #967f55;
  --success: #3bd18f;
  --danger: #ff6c6c;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  --container: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Archivo', sans-serif;
  background: radial-gradient(circle at 90% 0%, rgba(213, 176, 106, 0.08), transparent 25%), var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1,h2,h3,h4 {
  margin: 0 0 0.6em;
  font-family: 'Syne', sans-serif;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

p { margin: 0 0 1em; color: var(--text-muted); }

.container { width: min(var(--container), 92vw); margin: 0 auto; }
.section { padding: 80px 0; }
.section-title { font-size: clamp(1.7rem, 3vw, 2.6rem); }
.section-subtitle { max-width: 720px; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  cursor: pointer;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(120deg, var(--silver-bright), var(--silver));
  color: #10151d;
  box-shadow: 0 12px 30px rgba(185, 197, 209, 0.2);
}

.btn-primary:hover { box-shadow: 0 16px 30px rgba(185, 197, 209, 0.35); }

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(21, 26, 32, 0.6);
}

.btn-accent {
  background: linear-gradient(110deg, var(--gold), #f2d39a);
  color: #241a0a;
}

.card {
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0)), var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--silver);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.45);
}

.badge {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--silver-bright);
  background: rgba(220, 229, 238, 0.08);
  border: 1px solid rgba(220, 229, 238, 0.2);
  border-radius: 999px;
  padding: 6px 10px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(8px);
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.site-header.scrolled {
  background: rgba(10, 12, 15, 0.88);
  border-color: var(--line-soft);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--silver);
  color: var(--silver-bright);
}

.nav-menu { display: flex; align-items: center; gap: 20px; }
.nav-menu a { color: var(--text-muted); transition: color .2s; }
.nav-menu a:hover { color: var(--text); }

.contact-quick { color: var(--silver-bright); font-weight: 600; }

.burger {
  display: none;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1.45rem;
  cursor: pointer;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(130deg, rgba(7,8,9,.95), rgba(7,8,9,.7)),
    radial-gradient(circle at 20% 20%, rgba(185,197,209,.18), transparent 30%),
    radial-gradient(circle at 80% 60%, rgba(213,176,106,.12), transparent 25%);
  position: relative;
  overflow: hidden;
}

.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 4.2rem); }
.hero p { font-size: 1.1rem; max-width: 630px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

.hero-panel { padding: 26px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: rgba(16, 20, 25, .85); }
.hero-panel ul { margin: 12px 0 0; padding-left: 18px; color: var(--text-muted); }

.kpis { margin-top: 22px; display: flex; gap: 14px; flex-wrap: wrap; }
.kpi { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.01); }
.kpi strong { display: block; font-size: 1.2rem; color: var(--text); }
.kpi span { color: var(--text-muted); font-size: .86rem; }

.service-card h3, .model-card h3 { margin-bottom: 8px; }
.price { color: var(--gold); font-weight: 700; }

.review-card { position: relative; }
.review-card::before {
  content: '“';
  position: absolute;
  right: 18px;
  top: 10px;
  font-size: 3rem;
  color: rgba(220,229,238,.12);
  font-family: 'Syne', sans-serif;
}

.appointment {
  background: linear-gradient(145deg, rgba(213,176,106,.09), rgba(185,197,209,.05)), var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.form-row { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
label { font-size: .9rem; color: var(--text-muted); display: block; margin-bottom: 8px; }
input, select, textarea {
  width: 100%;
  background: #0f141a;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--silver);
  box-shadow: 0 0 0 3px rgba(185,197,209,.18);
}

.form-note { margin-top: 10px; font-size: .88rem; color: var(--text-muted); }
.form-status { margin-top: 10px; font-weight: 600; }
.form-status.ok { color: var(--success); }
.form-status.error { color: var(--danger); }

.map-placeholder {
  min-height: 280px;
  border-radius: var(--radius-md);
  border: 1px dashed var(--line);
  display: grid;
  place-items: center;
  color: var(--silver);
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.02), rgba(255,255,255,.02) 10px, transparent 10px, transparent 20px), var(--surface);
}

.site-footer {
  border-top: 1px solid var(--line-soft);
  background: #080b10;
  padding: 44px 0 24px;
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; }
.footer-links a { display: block; color: var(--text-muted); margin-bottom: 8px; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line-soft); color: var(--text-muted); font-size: .9rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.text-center { text-align: center; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.hidden { display: none !important; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero-grid, .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 840px) {
  .burger { display: block; }
  .nav-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    flex-direction: column;
    align-items: flex-start;
    background: #0c1015;
    border-bottom: 1px solid var(--line-soft);
    padding: 16px 4vw 20px;
    display: none;
  }
  .nav-menu.open { display: flex; }
  .contact-quick { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
