/* Стили для страниц услуг СтройБригада 63 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Roboto, sans-serif; background: #f9fafb; color: #1e293b; line-height: 1.6; }
.container { max-width: 1150px; margin: 0 auto; padding: 0 20px; }

/* Шапка */
header { background: #0f172a; color: white; padding: 16px 0; position: sticky; top: 0; z-index: 50; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.logo { font-size: 1.5rem; font-weight: 700; color: #facc15; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo i { color: #f97316; font-size: 1.7rem; }
.header-contacts { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.phone-link { color: white; text-decoration: none; font-weight: 600; font-size: 1.1rem; background: #334155; padding: 7px 14px; border-radius: 30px; display: flex; align-items: center; gap: 6px; }
.phone-link:hover { background: #f97316; color: #0f172a; }
.city-badge { background: #facc15; color: #0f172a; font-weight: 700; padding: 5px 12px; border-radius: 20px; font-size: 0.8rem; }

/* Навигация по услугам */
.services-nav { background: #1e293b; padding: 0; }
.services-nav ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; list-style: none; padding: 10px 0; }
.services-nav a { color: #cbd5e1; text-decoration: none; padding: 6px 14px; border-radius: 20px; font-size: 0.9rem; font-weight: 600; }
.services-nav a:hover, .services-nav a.active { background: #f97316; color: #0f172a; }

/* Хлебные крошки */
.breadcrumbs { padding: 16px 0 0; font-size: 0.85rem; color: #94a3b8; }
.breadcrumbs a { color: #f97316; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* Герой */
.hero { background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); color: white; padding: 50px 0; text-align: center; }
.hero h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 14px; }
.hero h1 span { color: #facc15; }
.hero p { font-size: 1.05rem; max-width: 800px; margin: 0 auto; color: #cbd5e1; }
.hero .hero-price { margin-top: 18px; font-size: 1.2rem; font-weight: 700; color: #f97316; }

/* Кнопки */
.btn { background: #f97316; color: white; font-weight: 700; padding: 13px 30px; border: none; border-radius: 40px; font-size: 1.05rem; cursor: pointer; text-decoration: none; display: inline-block; }
.btn:hover { background: #ea580c; }
.btn-outline { background: transparent; color: #f97316; border: 2px solid #f97316; padding: 11px 28px; border-radius: 40px; font-weight: 700; text-decoration: none; display: inline-block; }
.btn-outline:hover { background: #f97316; color: white; }

/* Секции и заголовки */
section { padding: 50px 0; }
.section-title { text-align: center; font-size: 1.8rem; font-weight: 700; margin-bottom: 32px; color: #0f172a; }
.section-title:after { content: ''; display: block; width: 70px; height: 4px; background: #f97316; margin: 12px auto 0; border-radius: 4px; }
.bg-white { background: white; }
.bg-light { background: #f1f5f9; }

/* Контентная часть */
.prose h2 { font-size: 1.5rem; margin: 28px 0 14px; color: #0f172a; }
.prose h3 { font-size: 1.2rem; margin: 20px 0 10px; color: #1e293b; }
.prose p { margin-bottom: 14px; color: #475569; }
.prose ul { margin: 0 0 16px 20px; color: #475569; }
.prose ul li { margin-bottom: 8px; }
.prose .lead { font-size: 1.1rem; color: #334155; }

/* Таблица цен */
.price-table { width: 100%; border-collapse: collapse; background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 14px rgba(0,0,0,0.08); margin: 20px 0 30px; }
.price-table th { background: #0f172a; color: white; padding: 14px 16px; text-align: left; font-size: 0.95rem; }
.price-table td { padding: 13px 16px; border-bottom: 1px solid #e2e8f0; color: #334155; }
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover td { background: #f8fafc; }
.price-table .price { font-weight: 700; color: #f97316; white-space: nowrap; }
.price-note { font-size: 0.85rem; color: #94a3b8; margin-top: -18px; margin-bottom: 24px; text-align: center; }

/* Карточки-варианты */
.options-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 24px 0; }
.option-card { background: white; border-radius: 18px; padding: 24px; border-top: 4px solid #f97316; box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.option-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: #0f172a; }
.option-card p { color: #64748b; font-size: 0.95rem; }

/* Этапы работ */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin: 24px 0; }
.step { background: white; border-radius: 16px; padding: 22px; text-align: center; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.step .num { width: 40px; height: 40px; border-radius: 50%; background: #f97316; color: white; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: 1.2rem; }
.step h4 { margin-bottom: 6px; color: #0f172a; }
.step p { font-size: 0.9rem; color: #64748b; }

/* FAQ */
.faq-item { margin-bottom: 12px; padding: 16px; background: #f8fafc; border-radius: 16px; border: 1px solid #e2e8f0; }
.faq-item summary { font-weight: 700; cursor: pointer; font-size: 1.05rem; color: #0f172a; }
.faq-item p { margin-top: 10px; color: #475569; }

/* Форма */
.contact { background: #0f172a; color: white; }
.contact .section-title { color: white; }
.contact-form { max-width: 550px; margin: 0 auto; background: #1e293b; padding: 30px; border-radius: 24px; }
.form-group { margin-bottom: 15px; }
input, textarea { width: 100%; padding: 14px; border-radius: 16px; border: none; background: #334155; color: white; font-size: 1rem; font-family: inherit; }
input::placeholder, textarea::placeholder { color: #94a3b8; }
.submit-btn { background: #f97316; width: 100%; padding: 16px; font-weight: 700; font-size: 1.1rem; border: none; border-radius: 40px; color: white; cursor: pointer; }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
#formStatus { text-align: center; margin-top: 10px; font-size: 0.9rem; }

/* Подвал */
footer { text-align: center; padding: 24px 0; background: #020617; color: #94a3b8; font-size: 0.88rem; }
footer a { color: #f97316; text-decoration: none; }

/* Плавающие кнопки */
.floating-contacts { position: fixed; bottom: 20px; right: 20px; display: flex; flex-direction: column; gap: 12px; z-index: 9999; }
.floating-contacts a { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; color: white; text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,0.3); transition: transform 0.2s; }
.floating-contacts a:hover { transform: scale(1.1); }
.floating-contacts .fc-phone { background: #f97316; }
.floating-contacts .fc-email { background: #1e293b; }
  .floating-contacts .fc-vk { background: #0077ff; }
.floating-contacts a i { font-size: 24px; }

/* Адаптив */
@media (max-width: 640px) {
  .header-inner { flex-direction: column; text-align: center; }
  .header-contacts { align-items: center; }
  .hero h1 { font-size: 1.6rem; }
  .section-title { font-size: 1.5rem; }
  .price-table { font-size: 0.9rem; }
  .floating-contacts { bottom: 15px; right: 15px; }
  .floating-contacts a { width: 48px; height: 48px; }
}