/* --- ОБЩИЕ СТИЛИ --- */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; }
body { background-color: #f8f9fb; color: #1e2a41; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- HEADER --- */
header {
  background: #0b1a2e;
  color: white;
  padding: 20px 0;
  border-bottom: 4px solid #f5b11a;
}
.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}
.logo h1 { font-size: 2rem; font-weight: 700; letter-spacing: -0.5px; }
.logo span { color: #f5b11a; }
.logo p { font-size: 0.9rem; opacity: 0.8; margin-top: 5px; }
.header-phone { text-align: right; }
.header-phone a { color: white; font-size: 1.8rem; font-weight: 600; text-decoration: none; letter-spacing: 1px; }
.header-phone a i { color: #f5b11a; margin-right: 10px; }
.header-phone .worktime { font-size: 0.9rem; opacity: 0.7; }

/* --- HERO --- */
.hero {
  background:
    linear-gradient(135deg, rgba(16, 42, 64, 0.82) 0%, rgba(26, 58, 85, 0.82) 100%),
    url('/img/hero-bg.png') center center / cover no-repeat;
  color: white;
  padding: 70px 0;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-bottom: 5px solid #f5b11a;
}
.hero .container { width: 100%; }
.hero h2 { font-size: 3rem; font-weight: 700; margin-bottom: 15px; }
.hero h2 i { color: #f5b11a; }
.hero p { font-size: 1.3rem; opacity: 0.9; max-width: 700px; margin: 0 auto 30px; }
.hero .btn {
  background: #f5b11a;
  color: #0b1a2e;
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
  box-shadow: 0 8px 20px rgba(245, 177, 26, 0.3);
}
.hero .btn:hover { background: #ffc44d; transform: translateY(-3px); box-shadow: 0 12px 28px rgba(245, 177, 26, 0.5); }

/* --- SECTION TITLE --- */
.section-title {
  text-align: center;
  margin: 60px 0 40px;
}
.section-title h3 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0b1a2e;
  position: relative;
  display: inline-block;
}
.section-title h3::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #f5b11a;
  margin: 10px auto 0;
  border-radius: 4px;
}
.section-title p { color: #5a6f84; margin-top: 10px; font-size: 1.1rem; }

/* --- ADVANTAGES --- */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 40px 0;
}
.advantage-item {
  background: white;
  padding: 30px 25px;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  text-align: center;
  transition: 0.2s;
  border-bottom: 4px solid transparent;
}
.advantage-item:hover { border-bottom-color: #f5b11a; transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,0.10); }
.advantage-item i { font-size: 3rem; color: #f5b11a; margin-bottom: 20px; }
.advantage-item h4 { font-size: 1.4rem; margin-bottom: 12px; color: #0b1a2e; }
.advantage-item p { color: #3f5469; line-height: 1.6; }

/* --- SERVICES --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin: 30px 0;
}
.service-card {
  background: white;
  border-radius: 16px;
  padding: 25px 18px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  transition: 0.25s;
  border: 1px solid #eef2f7;
}
.service-card:hover { border-color: #f5b11a; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.service-card i { font-size: 2.8rem; color: #f5b11a; margin-bottom: 15px; }
.service-card h5 { font-size: 1.1rem; font-weight: 600; color: #0b1a2e; margin-bottom: 6px; }
.service-card p { font-size: 0.9rem; color: #5a6f84; }

/* --- GALLERY --- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin: 30px 0 50px;
}
.gallery-item {
  background: #e9edf3;
  border-radius: 14px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #1e2a41;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 24 24" fill="none" stroke="%23a0b3c9" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="2" y="6" width="20" height="14" rx="2" ry="2"/><path d="M8 4v2M16 4v2M2 12h20"/></svg>');
  background-repeat: no-repeat;
  background-position: center 30px;
  background-size: 40px;
  padding-top: 50px;
  font-size: 0.95rem;
  border: 2px dashed #d0d9e3;
  transition: 0.2s;
}
.gallery-item:hover { background-color: #dce3ed; border-color: #f5b11a; }

/* --- PRICE TABLE --- */
.price-section {
  background: white;
  border-radius: 24px;
  padding: 30px 25px;
  margin: 30px 0 50px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px 30px;
}
.price-category {
  margin-bottom: 10px;
  background: #fafcfe;
  padding: 15px 18px;
  border-radius: 16px;
  border: 1px solid #eef2f7;
  transition: 0.2s;
}
.price-category:hover { border-color: #f5b11a; box-shadow: 0 4px 12px rgba(0,0,0,0.04); }
.price-category h4 {
  color: #f5b11a;
  font-size: 1.15rem;
  border-bottom: 2px solid #f0f3f8;
  padding-bottom: 8px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-item {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.95rem;
  border-bottom: 1px dashed #eef2f7;
}
.price-item .name { color: #1e2a41; }
.price-item .cost { font-weight: 700; color: #0b1a2e; }
.price-note {
  margin-top: 30px;
  background: #f5f8fc;
  padding: 15px 20px;
  border-radius: 14px;
  color: #2f455b;
  border-left: 5px solid #f5b11a;
  font-weight: 500;
}
.price-note i { color: #f5b11a; margin-right: 8px; }

/* --- TRANSPORT --- */
.transport-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin: 30px 0 40px;
}
.transport-item {
  background: white;
  padding: 30px 20px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.04);
  border: 1px solid #edf2f8;
  transition: 0.2s;
}
.transport-item:hover { transform: translateY(-5px); border-color: #f5b11a; }
.transport-item i { font-size: 3.5rem; color: #f5b11a; margin-bottom: 15px; }
.transport-item h4 { font-size: 1.2rem; color: #0b1a2e; }

/* --- DIAGNOSTIC --- */
.diagnostic-block {
  background: white;
  border-radius: 24px;
  padding: 35px 30px;
  margin: 30px 0 40px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
}
.diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 20px;
}
.diagnostic-grid h4 {
  color: #0b1a2e;
  margin-bottom: 15px;
  font-size: 1.2rem;
  border-bottom: 2px solid #f5b11a;
  padding-bottom: 8px;
  display: inline-block;
}
.diagnostic-grid ul {
  list-style: none;
  padding: 0;
}
.diagnostic-grid li {
  padding: 6px 0 6px 28px;
  position: relative;
  border-bottom: 1px dashed #edf2f8;
  color: #2f455b;
}
.diagnostic-grid li:before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #f5b11a;
}
.diagnostic-result {
  background: #f5f8fc;
  padding: 20px 25px;
  border-radius: 16px;
  margin-top: 25px;
  border-left: 5px solid #f5b11a;
}
.diagnostic-result p { margin: 6px 0; }
.diagnostic-result i { color: #f5b11a; width: 24px; }

/* --- CITY PRICES --- */
.city-price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin: 30px 0 20px;
}
.city-price-item {
  background: white;
  padding: 18px 15px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  border: 1px solid #edf2f8;
}
.city-price-item .city { font-weight: 600; color: #0b1a2e; display: block; }
.city-price-item .price { color: #f5b11a; font-weight: 700; font-size: 1.1rem; margin-top: 5px; display: block; }
.city-note {
  background: #f5f8fc;
  padding: 12px 20px;
  border-radius: 14px;
  color: #2f455b;
  text-align: center;
  margin: 10px 0 30px;
}

/* --- ABOUT COMPANY --- */
.about-company {
  background: white;
  border-radius: 24px;
  padding: 40px 30px;
  margin: 30px 0 40px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
}
.about-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}
.about-text { flex: 2; min-width: 280px; }
.about-text p { color: #2f455b; line-height: 1.7; font-size: 1.05rem; }
.about-stats {
  flex: 1;
  min-width: 200px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.stat-item {
  background: #f5f8fc;
  padding: 20px 15px;
  border-radius: 16px;
  text-align: center;
}
.stat-item .number { font-size: 2.2rem; font-weight: 800; color: #f5b11a; display: block; }
.stat-item .label { font-size: 0.9rem; color: #3f5469; }

/* --- FAQ --- */
.faq-block {
  background: white;
  border-radius: 24px;
  padding: 30px 25px;
  margin: 30px 0 50px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
}
.faq-item {
  border-bottom: 1px solid #edf2f8;
  padding: 16px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: #0b1a2e;
  font-size: 1.05rem;
  transition: 0.2s;
}
.faq-question:hover { color: #f5b11a; }
.faq-question i { color: #f5b11a; transition: 0.3s; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #3f5469;
  line-height: 1.6;
  padding: 0 20px 0 0;
}
.faq-answer.open {
  max-height: 300px;
  padding: 12px 20px 0 0;
}
.faq-answer p { margin: 8px 0; }

/* --- CONTACT --- */
.contact-block {
  background: #0b1a2e;
  color: white;
  padding: 50px 0;
  border-radius: 30px 30px 0 0;
  margin-top: 40px;
}
.contact-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.contact-info h3 { font-size: 2rem; font-weight: 700; }
.contact-info h3 span { color: #f5b11a; }
.contact-info p { opacity: 0.8; margin: 10px 0; font-size: 1.1rem; }
.contact-info .big-phone {
  font-size: 2.2rem;
  font-weight: 600;
  color: #f5b11a;
  text-decoration: none;
}
.contact-info .big-phone i { margin-right: 12px; }
.contact-btn .btn-outline {
  background: transparent;
  border: 2px solid #f5b11a;
  color: #f5b11a;
  padding: 16px 40px;
  border-radius: 60px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
}
.contact-btn .btn-outline:hover { background: #f5b11a; color: #0b1a2e; }

/* --- FOOTER --- */
footer {
  background: #06121f;
  color: #8fa0b5;
  padding: 30px 0;
  text-align: center;
  font-size: 0.95rem;
}
footer span { color: #f5b11a; }

/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 992px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .header-flex { flex-direction: column; text-align: center; }
  .header-phone { text-align: center; }
  .hero { min-height: 70vh; background-attachment: scroll; }
  .hero h2 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .section-title h3 { font-size: 1.8rem; }
  .contact-flex { flex-direction: column; text-align: center; }
  .price-grid { grid-template-columns: 1fr; gap: 15px; }
  .about-flex { flex-direction: column; }
  .about-stats { grid-template-columns: 1fr 1fr; width: 100%; }
}
@media (max-width: 480px) {
  .hero h2 { font-size: 1.8rem; }
  .price-category { padding: 12px 14px; }
  .diagnostic-grid { grid-template-columns: 1fr; }
}
