/* ================================================
   VELO-SCOOTER-SEO — Ремонт велосипедов и электросамокатов
   Стиль: белый фон, акцент синий #0056D2
   ================================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px; line-height: 1.6; color: #222; background: #fff;
}
a { color: #0056D2; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
h1 { font-size: 2.2rem; margin-bottom: 16px; }
h2 { font-size: 1.8rem; margin-bottom: 12px; text-align: center; }
h3 { font-size: 1.3rem; margin-bottom: 8px; }
.section-title { margin-top: 60px; margin-bottom: 32px; }
.section-title::after {
  content: ''; display: block; width: 60px; height: 3px;
  background: #0056D2; margin: 12px auto 0; border-radius: 2px;
}

/* ---------- HEADER ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: #fff; border-bottom: 1px solid #e0e0e0;
  padding: 12px 0;
}
.header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.header-logo { font-size: 1.4rem; font-weight: 800; color: #222; display: flex; align-items: center; gap: 8px; }
.header-logo span { color: #0056D2; }
.header-nav { display: flex; gap: 24px; align-items: center; }
.header-nav a { color: #444; font-weight: 500; font-size: 0.95rem; }
.header-nav a:hover { color: #0056D2; text-decoration: none; }
.header-phone { font-weight: 700; font-size: 1.1rem; color: #FF6600; white-space: nowrap; }
.header-cta {
  display: inline-block; background: #0056D2; color: #fff; padding: 10px 24px;
  border-radius: 6px; font-weight: 600; font-size: 0.9rem;
  transition: background 0.2s;
}
.header-cta:hover { background: #0040a0; text-decoration: none; color: #fff; }
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.burger span { width: 26px; height: 3px; background: #222; border-radius: 2px; }

/* ---------- HERO ---------- */
.hero {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
}
.hero-container { display: flex; align-items: center; gap: 48px; }
.hero-content { flex: 1; min-width: 0; }
.hero h1 { margin-bottom: 16px; }
.hero p { font-size: 1.2rem; color: #555; margin-bottom: 32px; }
.hero-features {
  display: flex; gap: 32px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero-features span {
  display: flex; align-items: center; gap: 8px;
  font-weight: 500; color: #333;
  white-space: nowrap;
}
.hero-features i { color: #0056D2; font-size: 1.2rem; }
.hero-cta-group { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-cta {
  display: inline-block; background: #0056D2; color: #fff; padding: 14px 36px;
  border-radius: 8px; font-weight: 600; font-size: 1.05rem;
  transition: background 0.2s;
}
.hero-cta:hover { background: #0040a0; text-decoration: none; color: #fff; }
.hero-cta-outline {
  display: inline-block; background: transparent; color: #0056D2;
  padding: 14px 36px; border-radius: 8px; font-weight: 600; font-size: 1.05rem;
  border: 2px solid #0056D2; transition: background 0.2s, color 0.2s;
}
.hero-cta-outline:hover { background: #0056D2; color: #fff; text-decoration: none; }
.hero-image { flex: 0 0 400px; }
.hero-image img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 4px 24px rgba(0,0,0,0.1); }

/* ---------- PROMO TIMER ---------- */
.promo-bar {
  background: #0056D2; color: #fff; text-align: center; padding: 14px 0; font-weight: 600;
}
.promo-bar .timer { display: inline-block; font-size: 1.3rem; margin-left: 8px; letter-spacing: 2px; }

/* ---------- SERVICES GRID ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px;
}
.service-card {
  background: #fff; border: 1px solid #e8e8e8; border-radius: 10px;
  padding: 24px; transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); transform: translateY(-2px); }
.service-card-icon {
  width: 48px; height: 48px; background: #eef3fc; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; font-size: 1.4rem; color: #0056D2;
}
.service-card h3 { font-size: 1.05rem; }
.service-card p { font-size: 0.9rem; color: #666; margin: 6px 0 12px; }
.service-card .price { font-weight: 700; color: #0056D2; font-size: 1.1rem; }
.service-card .old-price { text-decoration: line-through; color: #999; font-size: 0.9rem; margin-left: 6px; }

/* ---------- BENEFITS ---------- */
.benefits-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px;
}
.benefit-item { text-align: center; padding: 20px; }
.benefit-item-icon {
  width: 56px; height: 56px; background: #eef3fc; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px; font-size: 1.6rem; color: #0056D2;
}
.benefit-item h4 { font-size: 1rem; margin-bottom: 6px; }
.benefit-item p { font-size: 0.9rem; color: #666; }

/* ---------- PROCESS STEPS ---------- */
.process-steps {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px;
  counter-reset: step;
}
.process-step {
  text-align: center; padding: 24px 16px; position: relative;
  background: #f9fafb; border-radius: 10px;
}
.process-step::before {
  counter-increment: step; content: counter(step);
  width: 36px; height: 36px; background: #0056D2; color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; margin: 0 auto 12px;
}
.process-step h4 { font-size: 1rem; margin-bottom: 6px; }
.process-step p { font-size: 0.85rem; color: #666; }

/* ---------- BRANDS ---------- */
.brands-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 20px;
}
.brand-item {
  width: 110px; height: 50px; background: #f5f5f5; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 0.8rem; color: #888;
  border: 1px solid #eee;
}
.brand-item img { max-height: 32px; }

/* ---------- REVIEWS ---------- */
.reviews-carousel {
  overflow: hidden; position: relative;
}
.reviews-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; padding-bottom: 8px;
}
.reviews-track::-webkit-scrollbar { height: 6px; }
.reviews-track::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
.review-card {
  flex: 0 0 320px; scroll-snap-align: start;
  background: #f9fafb; border-radius: 10px; padding: 20px;
  border: 1px solid #eee;
}
.review-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review-card-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: #ddd;
  display: flex; align-items: center; justify-content: center; font-weight: 700; color: #555;
}
.review-card-name { font-weight: 600; font-size: 0.95rem; }
.review-card-source { font-size: 0.8rem; color: #888; }
.review-card-stars { color: #f5a623; font-size: 0.9rem; margin-bottom: 6px; }
.review-card-text { font-size: 0.9rem; color: #444; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid #e0e0e0; border-radius: 8px; margin-bottom: 8px; overflow: hidden; }
.faq-question {
  padding: 16px 20px; font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  background: #fff; transition: background 0.2s;
}
.faq-question:hover { background: #f5f7fa; }
.faq-question::after {
  content: '+'; font-size: 1.3rem; color: #0056D2; transition: transform 0.2s;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.3s, padding 0.3s; }
.faq-item.open .faq-answer { padding: 0 20px 16px; max-height: 300px; }
.faq-answer p { font-size: 0.95rem; color: #555; }

/* ---------- CTA SECTION ---------- */
.cta-section {
  background: #0056D2; color: #fff; padding: 60px 0; text-align: center;
}
.cta-section h2 { color: #fff; }
.cta-section p { font-size: 1.1rem; margin-bottom: 24px; opacity: 0.9; }
.cta-form { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; max-width: 500px; margin: 0 auto; }
.cta-form input {
  flex: 1; min-width: 220px; padding: 14px 16px; border: none; border-radius: 6px;
  font-size: 1rem; outline: none;
}
.cta-form button {
  padding: 14px 32px; background: #222; color: #fff; border: none;
  border-radius: 6px; font-weight: 600; font-size: 1rem; cursor: pointer;
  transition: background 0.2s;
}
.cta-form button:hover { background: #000; }

/* ---------- CONTACTS ---------- */
.contacts-section { padding: 60px 0; }
.contacts-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
.contacts-info p { font-size: 1rem; margin-bottom: 12px; }
.contacts-info strong { display: inline-block; min-width: 100px; }
.contacts-map { border-radius: 10px; overflow: hidden; min-height: 300px; }
.contacts-map iframe { width: 100%; height: 100%; min-height: 300px; border: none; }

/* ---------- FOOTER ---------- */
.footer {
  background: #1a1a2e; color: #aaa; padding: 40px 0 24px;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 30px;
  margin-bottom: 24px;
}
.footer h4 { color: #fff; margin-bottom: 12px; font-size: 1rem; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 6px; }
.footer ul li a { color: #aaa; font-size: 0.9rem; }
.footer ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #333; padding-top: 16px; text-align: center; font-size: 0.85rem; }

/* ---------- PAGE HEADER ---------- */
.page-header {
  background: #f5f7fa; padding: 40px 0; text-align: center;
  border-bottom: 1px solid #e8e8e8;
}
.page-header h1 { margin-bottom: 8px; }
.breadcrumbs { font-size: 0.9rem; color: #888; margin-bottom: 12px; }
.breadcrumbs a { color: #0056D2; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { color: #888; }

/* ---------- PRICE TABLE ---------- */
.price-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.price-table th,
.price-table td {
  padding: 12px 16px; text-align: left; border-bottom: 1px solid #eee;
}
.price-table th { background: #f5f7fa; font-weight: 600; color: #333; }
.price-table tr:hover { background: #fafbfc; }
.price-table td:last-child { font-weight: 700; color: #0056D2; white-space: nowrap; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  .contacts-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .header-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid #e0e0e0; padding: 16px 20px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
  .header-nav.open { display: flex; }
  .header-phone, .header-cta { display: none; }
  .burger { display: flex; }
  .hero { padding: 60px 0 40px; }
  .hero-container { flex-direction: column; gap: 32px; }
  .hero-image { flex: 0 0 auto; max-width: 360px; }
  .hero p { text-align: center; }
  .hero-features { flex-direction: column; align-items: center; gap: 12px; }
  .hero-cta-group { justify-content: center; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .reviews-track { scroll-snap-type: none; }
  .review-card { flex: 0 0 260px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .cta-form { flex-direction: column; }
  .cta-form input { min-width: 100%; }
  .brand-item { width: 90px; height: 42px; font-size: 0.7rem; }
}
