/**
 * TAXI755 - ОБНОВЛЕННЫЕ СТИЛИ СТРАНИЦЫ КОНТАКТЫ
 * Объединяет современный дизайн с функциональностью
 */

/* =============================================
   ОСНОВНЫЕ СТИЛИ СТРАНИЦЫ КОНТАКТЫ
   ============================================= */

.contact-page .main-content {
  background: linear-gradient(135deg, #ffffff 0%, #fffbf0 100%);
  padding: 40px 0 60px 0;
}

/* Основной контейнер страницы контактов */
.contact-page .com-content-article,
.contact-page .item-page,
.contact-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Вводный блок */
.contacts-intro {
  text-align: center;
  margin-bottom: 50px;
  padding: 30px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 20px;
  border-top: 4px solid #ffd700;
}

.contacts-intro h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 20px;
  font-weight: 700;
}

.contacts-intro .lead {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto;
}

/* =============================================
   ГЛАВНЫЕ КОНТАКТНЫЕ БЛОКИ
   ============================================= */

/* Сетка основных контактов */
.main-contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

/* Карточки контактной информации */
.contact-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border-top: 5px solid #ffd700;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 215, 0, 0.05),
    transparent
  );
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.contact-card:hover::before {
  opacity: 1;
  transform: rotate(45deg) translate(50%, 50%);
}

/* Иконки контактов */
.contact-icon {
  font-size: 3.5rem;
  margin-bottom: 25px;
  display: block;
  color: #ffd700;
}

/* Заголовки контактных карточек */
.contact-card h3 {
  font-size: 1.6rem;
  color: #333;
  margin-bottom: 20px;
  font-weight: 700;
}

/* Контактная информация */
.contact-info {
  color: #666;
  line-height: 1.7;
  margin-bottom: 15px;
  font-size: 1rem;
}

.contact-link {
  color: #ffd700;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.contact-link:hover {
  color: #ffa500;
  text-decoration: none;
  transform: scale(1.05);
}

/* Основной телефонный номер */
.main-phone {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin: 20px 0;
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
}

.main-phone:hover {
  color: #ffd700;
  transform: scale(1.02);
  text-decoration: none;
}

.phone-note {
  color: #666;
  font-style: italic;
  font-size: 0.9rem;
  margin-top: 10px;
}

/* =============================================
   ГЕОГРАФИЯ ОБСЛУЖИВАНИЯ
   ============================================= */

.service-areas {
  background: #fff;
  border-radius: 20px;
  padding: 40px 35px;
  margin: 50px 0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #2196f3;
}

.service-areas h3 {
  font-size: 2rem;
  color: #1976d2;
  margin-bottom: 30px;
  font-weight: 700;
  text-align: center;
}

.coverage-map {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.coverage-zone {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  padding: 25px 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.coverage-zone:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.coverage-zone h4 {
  color: #333;
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.coverage-zone ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.coverage-zone li {
  color: #666;
  margin-bottom: 8px;
  font-size: 0.95rem;
  position: relative;
  padding-left: 20px;
}

.coverage-zone li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4caf50;
  font-weight: bold;
}

/* =============================================
   КАРТА
   ============================================= */

.map-section {
  margin: 50px 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background: #fff;
  padding: 30px;
}

.map-section h3 {
  color: #333;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.map-container {
  width: 100%;
  height: 450px;
  background: #f0f0f0;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
}

.map-container a {
  display: block;
  width: 100%;
  height: 100%;
}

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.map-container:hover img {
  transform: scale(1.02);
}

/* =============================================
   ГАРАНТИИ СЕРВИСА
   ============================================= */

.response-guarantees {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
  border-radius: 20px;
  padding: 50px 40px;
  margin: 50px 0;
  border-left: 5px solid #ff9800;
  box-shadow: 0 8px 25px rgba(255, 152, 0, 0.2);
}

.response-guarantees h3 {
  font-size: 2rem;
  color: #e65100;
  margin-bottom: 30px;
  font-weight: 700;
  text-align: center;
}

.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.guarantee {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  padding: 25px 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.guarantee:hover {
  background: #fff;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 152, 0, 0.3);
  border-color: #ff9800;
}

.guarantee h4 {
  color: #333;
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.guarantee p {
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.guarantee p strong {
  color: #e65100;
  font-weight: 700;
}

/* =============================================
   СПОСОБЫ ОПЛАТЫ
   ============================================= */

.payment-info {
  background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
  border-radius: 20px;
  padding: 50px 40px;
  margin: 50px 0;
  border-left: 5px solid #4caf50;
  box-shadow: 0 8px 25px rgba(76, 175, 80, 0.2);
}

.payment-info h3 {
  font-size: 2rem;
  color: #2e7d32;
  margin-bottom: 30px;
  font-weight: 700;
  text-align: center;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.payment-group {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  padding: 30px 25px;
  transition: all 0.3s ease;
}

.payment-group:hover {
  background: #fff;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(76, 175, 80, 0.3);
}

.payment-group h4 {
  color: #333;
  font-size: 1.3rem;
  margin-bottom: 20px;
  font-weight: 600;
  text-align: center;
}

.payment-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.payment-group li {
  color: #666;
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.5;
  padding-left: 25px;
  position: relative;
}

.payment-group li::before {
  content: attr(data-icon);
  position: absolute;
  left: 0;
  color: #4caf50;
  font-weight: bold;
  width: 20px;
}

/* =============================================
   ДОПОЛНИТЕЛЬНАЯ ИНФОРМАЦИЯ
   ============================================= */

.additional-contacts {
  background: #fff;
  border-radius: 20px;
  padding: 40px 35px;
  margin: 50px 0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #2196f3;
}

.additional-contacts h3 {
  font-size: 1.8rem;
  color: #1976d2;
  margin-bottom: 25px;
  font-weight: 700;
  text-align: center;
}

.additional-contacts p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.additional-contacts p strong {
  color: #333;
  font-weight: 700;
}

/* =============================================
   РЕКВИЗИТЫ КОМПАНИИ
   ============================================= */

.company-details {
  background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
  border-radius: 20px;
  padding: 40px 35px;
  margin: 50px 0;
  border-left: 5px solid #9c27b0;
  box-shadow: 0 8px 25px rgba(156, 39, 176, 0.2);
}

.company-details h3 {
  font-size: 1.8rem;
  color: #6a1b9a;
  margin-bottom: 30px;
  font-weight: 700;
  text-align: center;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.detail-item {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  padding: 15px 20px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.detail-item:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(156, 39, 176, 0.2);
  border-color: #9c27b0;
}

.detail-item strong {
  color: #6a1b9a;
  font-weight: 600;
  display: inline-block;
  margin-right: 10px;
}

/* =============================================
   АДАПТИВНОСТЬ
   ============================================= */

/* Планшеты */
@media (max-width: 768px) {
  .contacts-intro h2 {
    font-size: 2rem;
  }

  .contacts-intro .lead {
    font-size: 1.1rem;
  }

  .main-contacts-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin: 40px 0;
  }

  .contact-card {
    padding: 35px 25px;
    border-radius: 16px;
  }

  .contact-icon {
    font-size: 3rem;
    margin-bottom: 20px;
  }

  .main-phone {
    font-size: 1.6rem;
    margin: 15px 0;
  }

  .coverage-map {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .guarantees-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }

  .payment-methods {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .details-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .map-container {
    height: 350px;
  }
}

/* Мобильные устройства */
@media (max-width: 480px) {
  .contacts-intro {
    padding: 25px 20px;
    margin-bottom: 40px;
  }

  .contacts-intro h2 {
    font-size: 1.7rem;
    margin-bottom: 15px;
  }

  .contacts-intro .lead {
    font-size: 1rem;
  }

  .contact-card {
    padding: 30px 20px;
    border-radius: 15px;
  }

  .contact-icon {
    font-size: 2.5rem;
    margin-bottom: 18px;
  }

  .contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }

  .main-phone {
    font-size: 1.4rem;
    margin: 12px 0;
  }

  .contact-link {
    font-size: 1.1rem;
  }

  .service-areas,
  .response-guarantees,
  .payment-info,
  .additional-contacts,
  .company-details {
    padding: 30px 25px;
    margin: 40px 0;
  }

  .service-areas h3,
  .response-guarantees h3,
  .payment-info h3 {
    font-size: 1.6rem;
    margin-bottom: 25px;
  }

  .coverage-zone,
  .guarantee,
  .payment-group {
    padding: 20px 15px;
  }

  .map-container {
    height: 300px;
  }

  .detail-item {
    padding: 12px 15px;
  }
}

/* Очень маленькие экраны */
@media (max-width: 320px) {
  .contacts-intro h2 {
    font-size: 1.5rem;
  }

  .contact-card {
    padding: 25px 18px;
  }

  .main-phone {
    font-size: 1.2rem;
  }

  .map-container {
    height: 250px;
  }
}
