:root {
  --bg: #0b0d11;
  --surface: #14181f;
  --surface-2: #1a1f28;
  --border: #262d38;
  --text: #eef1f5;
  --muted: #96a0af;
  --brand: #ff7a1a;
  --brand-2: #ffa24d;
  --ok: #38b870;
  --err: #ef5350;
  --radius: 14px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------------- кнопки ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(180deg, var(--brand), #e86100); color: #12161c; }
.btn-primary:hover { background: linear-gradient(180deg, var(--brand-2), var(--brand)); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-2); }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* ---------------- шапка ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(11, 13, 17, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--brand), #e86100);
  color: #12161c;
  font-weight: 800;
  font-size: 19px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text b { font-size: 15px; }
.logo-text small { color: var(--muted); font-size: 11.5px; }

.header-nav {
  display: flex;
  gap: 20px;
  margin-left: auto;
  font-size: 14.5px;
}
.header-nav a { color: var(--muted); }
.header-nav a:hover { color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .phone { font-weight: 700; font-size: 15px; white-space: nowrap; }
.header-actions .phone:hover { color: var(--brand-2); }

/* ---------------- hero ---------------- */
.hero {
  padding: 64px 0 56px;
  background:
    radial-gradient(900px 420px at 15% -10%, rgba(255, 122, 26, .18), transparent 65%),
    radial-gradient(700px 380px at 95% 0%, rgba(255, 162, 77, .10), transparent 60%);
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 44px;
  align-items: start;
}
.hero-note {
  display: inline-block;
  color: var(--brand-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3px;
  margin-bottom: 14px;
}
.hero h1 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 16px; }
.hero-text { color: var(--muted); font-size: 17px; max-width: 560px; margin-bottom: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: var(--muted);
}
.hero-points b { color: var(--text); }

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.hero-card-head {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--brand-2);
  font-weight: 700;
  margin-bottom: 16px;
}
.hero-steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.hero-steps li { display: flex; gap: 12px; font-size: 14.5px; align-items: center; }
.hero-steps span {
  flex: 0 0 26px;
  height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 122, 26, .14);
  color: var(--brand-2);
  font-size: 12.5px;
  font-weight: 700;
}
.hero-card-foot {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  font-size: 13.5px;
  color: var(--muted);
}
.hero-card-foot b { color: var(--text); }

/* ---------------- секции ---------------- */
.section { padding: 60px 0; }
.section-title { font-size: clamp(23px, 3vw, 32px); margin-bottom: 10px; }
.section-sub { color: var(--muted); max-width: 640px; margin-bottom: 28px; }

.features-section { padding: 44px 0; border-bottom: 1px solid var(--border); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.feature-icon {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: rgba(255, 122, 26, .14);
  color: var(--brand-2);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}
.feature h3 { font-size: 15.5px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 13.5px; margin: 0; }

/* ---------------- услуги ---------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color .15s ease, transform .15s ease;
}
.service-card:hover { border-color: #3a4351; transform: translateY(-2px); }
.service-card h3 { font-size: 16px; margin: 0; }
.service-card .service-note { color: var(--muted); font-size: 13.5px; margin: 0; flex: 1; }
.service-card .service-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-2);
  margin-top: 4px;
}
.service-card .service-book {
  align-self: flex-start;
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px dashed #3a4351;
  cursor: pointer;
}
.service-card .service-book:hover { color: var(--brand-2); border-color: var(--brand-2); }
.skeleton { color: var(--muted); padding: 24px 0; }

/* ---------------- процесс ---------------- */
.process-section { border-top: 1px solid var(--border); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 26px;
}
.process-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.process-num {
  font-size: 26px;
  font-weight: 800;
  color: rgba(255, 122, 26, .35);
  margin-bottom: 8px;
}
.process-item h3 { font-size: 15.5px; margin-bottom: 6px; }
.process-item p { color: var(--muted); font-size: 13.5px; margin: 0; }

/* ---------------- форма ---------------- */
.form-section {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 122, 26, .05), transparent 65%);
}
.form-inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 44px;
  align-items: start;
}
.form-copy p { color: var(--muted); }
.form-contacts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 18px;
  font-size: 14.5px;
  color: var(--muted);
}
.form-contacts a { font-weight: 700; font-size: 19px; color: var(--text); }
.form-contacts a:hover { color: var(--brand-2); }

.lead-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 13px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  background: #0f1318;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  padding: 11px 13px;
  outline: none;
  transition: border-color .15s ease;
}
.field textarea { resize: vertical; min-height: 74px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); }
.field input::placeholder, .field textarea::placeholder { color: #5c6675; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #96a0af 50%), linear-gradient(135deg, #96a0af 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.field-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-submit { margin-top: 4px; }
.form-submit .btn { width: 100%; }
.form-privacy { font-size: 12px; color: var(--muted); margin: 10px 0 0; text-align: center; }

.form-status {
  grid-column: 1 / -1;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14.5px;
  border: 1px solid transparent;
}
.form-status.ok { background: rgba(56, 184, 112, .12); border-color: rgba(56, 184, 112, .45); color: #8be3ae; }
.form-status.err { background: rgba(239, 83, 80, .12); border-color: rgba(239, 83, 80, .45); color: #ff9a98; }

/* ---------------- контакты ---------------- */
.contacts-section { border-top: 1px solid var(--border); }
.contacts-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: start;
}
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.contact-list li span { color: var(--muted); }
.contact-list li a:hover { color: var(--brand-2); }
.map-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.map-card b { display: block; font-size: 17px; margin-bottom: 8px; }
.map-card p { color: var(--muted); font-size: 14px; }

/* ---------------- подвал ---------------- */
.site-footer { border-top: 1px solid var(--border); padding: 22px 0; font-size: 13.5px; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------------- адаптив ---------------- */
@media (max-width: 980px) {
  .hero-inner, .form-inner, .contacts-grid { grid-template-columns: 1fr; }
  .features-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .header-nav { display: none; }
}
@media (max-width: 620px) {
  .header-inner { min-height: 62px; gap: 12px; }
  .header-actions .btn { display: none; }
  .logo-text small { display: none; }
  .hero { padding: 40px 0 36px; }
  .section { padding: 42px 0; }
  .features-grid, .process-grid, .services-grid { grid-template-columns: 1fr; }
  .lead-form { grid-template-columns: 1fr; padding: 18px; }
  .hero-actions .btn { flex: 1 1 auto; }
}
