/* prices.css — для страницы цен */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Roboto, system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  background: #f5f7fc;
  color: #1e2a3e;
  line-height: 1.4;
  scroll-behavior: smooth;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER ===== */
.header {
  background: #0b1c2c;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  flex-wrap: wrap;
}
.logo {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #f39c12, #e67e22);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.nav a {
  color: #f0f3f8;
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s;
  font-size: 1rem;
}
.nav a:hover {
  color: #e67e22;
}
.nav a.active {
  color: #e67e22;
}
.nav a.nav-cta {
  background: #e67e22;
  padding: 8px 18px;
  border-radius: 40px;
  color: #0b1c2c;
}
.nav a.nav-cta:hover {
  background: #f39c12;
  color: #0b1c2c;
}
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
}

/* ===== НАВИГАЦИЯ ПО СТРАНИЦЕ ===== */
.nav-links {
  margin: 30px 0;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.nav-links a {
  background: #0f2a3f;
  color: white;
  padding: 10px 24px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}
.nav-links a:hover {
  background: #e67e22;
  transform: translateY(-2px);
}

/* ===== БЛОКИ С ЦЕНАМИ ===== */
.price-section {
  background: white;
  border-radius: 32px;
  padding: 32px;
  margin-bottom: 48px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}
.price-section h2 {
  margin-top: 0;
  border-left: 6px solid #e67e22;
  padding-left: 18px;
  margin-bottom: 16px;
  font-size: 1.6rem;
}
.table-note {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 16px;
}

/* Таблицы - горизонтальная прокрутка только при необходимости */
.table-wrapper {
  overflow-x: auto;
  width: 100%;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 700px;
}
.price-table th,
.price-table td {
  border: 1px solid #e2e8f0;
  padding: 12px 10px;
  text-align: center;
}
.price-table th {
  background: #0f2a3f;
  color: white;
  font-weight: 600;
}
.price-table tr:nth-child(even) {
  background: #f8fafc;
}
.price-table td:first-child {
  font-weight: 700;
  background: #fef9e6;
}

/* Ремонт дисков */
.disc-repair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 20px;
}
.repair-card {
  background: #fef9e6;
  border-radius: 24px;
  padding: 20px;
  border-left: 5px solid #e67e22;
  transition: all 0.3s ease;
}
.repair-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.repair-card h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}
.repair-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: #e67e22;
  margin: 12px 0;
}
.price-details {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
  margin: 10px 0;
}
.price-details small {
  display: block;
}
.badge {
  background: #e67e22;
  color: white;
  padding: 4px 12px;
  border-radius: 40px;
  display: inline-block;
  font-size: 0.8rem;
  margin-top: 10px;
}

/* Акции */
.promo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.promo-card {
  background: linear-gradient(115deg, #ffeedb, #fff6e8);
  padding: 24px;
  border-radius: 28px;
  flex: 1;
  min-width: 240px;
  font-weight: 600;
  border-left: 5px solid #e67e22;
}

/* Контакты */
.contacts-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.contacts-info {
  flex: 1;
  background: #f8fafc;
  padding: 24px;
  border-radius: 24px;
}
.contacts-info p {
  margin-bottom: 12px;
}
.contacts-info a {
  color: #e67e22;
  text-decoration: none;
  font-weight: 500;
}
.contacts-info a:hover {
  color: #f39c12;
  text-decoration: underline;
}
.social-links {
  margin-top: 16px;
}
.social-links a {
  background: #e67e22;
  color: white;
  padding: 8px 16px;
  border-radius: 40px;
  text-decoration: none;
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 10px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.social-links a:hover {
  background: #f39c12;
  transform: translateY(-2px);
}
#map-contacts {
  flex: 1.2;
  min-height: 250px;
  background: #cbd5e1;
  border-radius: 20px;
}

/* Footer */
.footer {
  background: #0b1c2c;
  color: #b0c4de;
  text-align: center;
  padding: 30px 20px;
  margin-top: 20px;
}

/* ===== МОБИЛЬНАЯ АДАПТАЦИЯ ===== */
@media (max-width: 950px) {
  .mobile-menu-btn {
    display: block;
  }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    background: #0f2a3f;
    padding: 20px;
    margin-top: 16px;
    border-radius: 32px;
  }
  .nav.nav-open {
    display: flex;
  }
  .header-container {
    flex-wrap: wrap;
  }
  .price-section {
    padding: 20px;
  }
  .price-table th,
  .price-table td {
    padding: 8px 5px;
    font-size: 0.75rem;
  }
  .contacts-flex {
    flex-direction: column;
  }
  #map-contacts {
    min-height: 250px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  .price-section h2 {
    font-size: 1.3rem;
  }
  .repair-card {
    padding: 16px;
  }
  .repair-price {
    font-size: 1.3rem;
  }
  .promo-card {
    padding: 18px;
    font-size: 0.9rem;
  }
}

@media (max-width: 580px) {
  .container {
    padding: 0 14px;
  }
  .price-section {
    padding: 16px;
    border-radius: 20px;
    margin-bottom: 30px;
  }
  .price-table {
    min-width: 500px;
  }
  .nav-links {
    gap: 12px;
  }
  .nav-links a {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
  .repair-card {
    padding: 14px;
  }
  .repair-card h3 {
    font-size: 1.1rem;
  }
  .footer {
    font-size: 0.8rem;
    padding: 20px 16px;
  }
}

/* Дополнительные улучшения */
.price-table th {
  white-space: nowrap;
}

.repair-card,
.promo-card,
.price-section {
  transition: all 0.3s ease;
}

button, .nav a, .nav-links a, .social-links a {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}