/* style.css — единый файл стилей для всех страниц улиц xifix.ru/streets/
   Меняете дизайн здесь — меняется на всех страницах раздела. */

:root {
  --ink: #151d2e;
  --muted: #667085;
  --line: #e9edf3;
  --soft: #f7f8fa;
  --soft-2: #eef1f5;
  --signal: #ffc928;
  --signal-dark: #d99c00;
  --magenta: #dc4dc5;
  --violet: #7a42cb;
  --shadow: 0 18px 48px rgba(34, 45, 67, 0.10);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Шапка --- */
.site-header {
  background: var(--ink);
  padding: 14px 0;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.logo {
  font-size: 24px;
  text-decoration: none;
  color: #fff;
  letter-spacing: 0.5px;
}
.logo strong { font-weight: 800; }
.logo i { color: var(--signal); font-style: normal; }
.logo b { color: var(--signal); font-weight: 800; }
.header-call {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #fff;
  text-align: right;
}
.header-call b { font-size: 18px; }
.header-call small { color: var(--signal); font-size: 12px; }

/* --- Хлебные крошки --- */
.breadcrumbs {
  font-size: 13px;
  color: var(--muted);
  padding: 14px 0 0;
}
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }

/* --- Герой страницы --- */
.hero {
  padding: 36px 0 28px;
  border-bottom: 1px solid var(--line);
}
.hero h1 {
  font-size: 34px;
  line-height: 1.2;
  margin: 0 0 12px;
}
.hero-lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 720px;
  margin: 0 0 20px;
}
.geo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.chip {
  background: var(--soft-2);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 13px;
  color: var(--ink);
}

/* --- Кнопки --- */
.btn {
  display: inline-block;
  border-radius: 12px;
  padding: 14px 26px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  background: var(--signal);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--signal-dark); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* --- Секции --- */
section { padding: 40px 0; }
section:nth-of-type(even) { background: var(--soft); }
h2 {
  font-size: 26px;
  margin: 0 0 20px;
}

/* --- Карточки услуг --- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}
section:nth-of-type(even) .card { background: #fff; }
.card h3 { margin: 0 0 6px; font-size: 16px; }
.card p { margin: 0; font-size: 14px; color: var(--muted); }

/* --- Цены --- */
.price-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.price-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  background: #fff;
}
.price-item b { display: block; font-size: 22px; color: var(--ink); }
.price-item span { font-size: 14px; color: var(--muted); }

/* --- Блок вызова мастера --- */
.cta-block {
  background: var(--ink);
  color: #fff;
  border-radius: 18px;
  padding: 32px;
  text-align: center;
}
.cta-block h2 { color: #fff; }
.cta-block p { color: #c6cdd9; max-width: 560px; margin: 0 auto 20px; }
.cta-block .btn-primary { font-size: 18px; }
.cta-phone {
  display: block;
  margin-top: 14px;
  color: var(--signal);
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
}

/* --- Список улиц (индексная страница) --- */
.district-block { margin-bottom: 28px; }
.district-block h3 {
  font-size: 18px;
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--signal);
  display: inline-block;
}
.street-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.street-list a {
  background: var(--soft-2);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
}
.street-list a:hover { background: var(--signal); }
.okrug-title {
  font-size: 22px;
  margin: 28px 0 16px;
}

/* --- Подвал --- */
.site-footer {
  background: var(--ink);
  color: #98a2b3;
  padding: 24px 0;
  font-size: 13px;
  margin-top: 40px;
}
.site-footer a { color: var(--signal); text-decoration: none; }

@media (max-width: 640px) {
  .hero h1 { font-size: 26px; }
  .cta-block { padding: 24px 18px; }
}
