/**
 * TAXI755 - СТИЛИ РАЗДЕЛА "О КОМПАНИИ"
 * Специфичные стили только для страницы О компании
 */

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

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

/* Контейнер статьи О компании */
.about-page .com-content-article,
.about-page .item-page,
.about-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Статья О компании */
.about-page .article-info,
.about-page article,
.about-content .content-wrapper {
  background: #ffffff;
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}

/* Цветная полоска сверху */
.about-page .article-info::before,
.about-page article::before,
.about-content .content-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(
    90deg,
    #ffd700 0%,
    #ffa500 30%,
    #ff8c00 60%,
    #ff6b35 100%
  );
}

/* Заголовок страницы О компании */
.about-page h1,
.about-content h1 {
  font-size: 2.8rem;
  color: #333;
  margin: 0 0 40px 0;
  font-weight: 700;
  text-align: center;
  position: relative;
  padding-bottom: 25px;
}

.about-page h1::after,
.about-content h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(135deg, #ffd700, #ffa500);
  border-radius: 2px;
}

/* =============================================
   БЛОКИ ИНФОРМАЦИИ О КОМПАНИИ
   ============================================= */

/* Основное описание компании */
.about-content .intro-text,
.about-page .article-info > p:first-of-type,
.about-page article > p:first-of-type {
  font-size: 1.3rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 50px;
  text-align: center;
  padding: 30px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 16px;
  border-left: 5px solid #ffd700;
  position: relative;
}

.about-content .intro-text::before,
.about-page .article-info > p:first-of-type::before,
.about-page article > p:first-of-type::before {
  content: "ℹ️";
  position: absolute;
  top: 25px;
  left: 20px;
  font-size: 1.5rem;
}

/* Сетка блоков информации */
.company-info-grid,
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

/* Карточки информации */
.info-card,
.company-card {
  background: linear-gradient(135deg, #ffffff 0%, #fffbf0 100%);
  border: 2px solid #f0f0f0;
  border-radius: 16px;
  padding: 30px 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.info-card::before,
.company-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ffd700, #ffa500);
}

.info-card:hover,
.company-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  border-color: #ffd700;
}

/* Заголовки карточек */
.info-card h3,
.company-card h3 {
  font-size: 1.4rem;
  color: #333;
  margin-bottom: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Иконки для разных типов карточек */
.info-card.company h3::before,
.company-card h3::before {
  content: "🏢";
  font-size: 1.3rem;
}

.info-card.services h3::before {
  content: "🚗";
  font-size: 1.3rem;
}

.info-card.experience h3::before {
  content: "📅";
  font-size: 1.3rem;
}

.info-card.team h3::before {
  content: "👥";
  font-size: 1.3rem;
}

/* Содержимое карточек */
.info-card p,
.company-card p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 15px;
  font-size: 1rem;
}

.info-card strong,
.company-card strong {
  color: #333;
  font-weight: 700;
}

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

.company-details,
.requisites-section {
  background: linear-gradient(135deg, #ffffff 0%, #fffbf0 100%);
  border-radius: 20px;
  padding: 40px 35px;
  margin: 40px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-top: 5px solid #ffd700;
  position: relative;
}

.company-details::before,
.requisites-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #ffd700, #ffa500);
  border-radius: 50%;
  transform: translate(30px, -30px);
  opacity: 0.1;
}

.company-details h3,
.requisites-section h3 {
  color: #333;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 30px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.company-details h3::before,
.requisites-section h3::before {
  content: "📋";
  font-size: 1.6rem;
}

/* Сетка реквизитов */
.details-grid,
.requisites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 25px;
}

.detail-block,
.requisite-block {
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

.detail-block:hover,
.requisite-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.15);
}

.detail-block h4,
.requisite-block h4 {
  color: #ffd700;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 15px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Иконки для разных типов реквизитов */
.detail-block.legal h4::before,
.requisite-block.legal h4::before {
  content: "📄";
}

.detail-block.contact h4::before,
.requisite-block.contact h4::before {
  content: "📞";
}

.detail-block.bank h4::before,
.requisite-block.bank h4::before {
  content: "🏦";
}

.detail-block.address h4::before,
.requisite-block.address h4::before {
  content: "📍";
}

.detail-item,
.requisite-item {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.detail-label,
.requisite-label {
  font-weight: 600;
  color: #666;
  min-width: 100px;
  font-size: 0.9rem;
}

.detail-value,
.requisite-value {
  color: #333;
  font-weight: 500;
  flex: 1;
}

.detail-value.highlight,
.requisite-value.highlight {
  color: #ffd700;
  font-weight: 700;
}

/* =============================================
   СТАТИСТИКА И ДОСТИЖЕНИЯ
   ============================================= */

.achievements-section,
.stats-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 50px 40px;
  border-radius: 20px;
  margin: 50px 0;
  text-align: center;
}

.achievements-title,
.stats-title {
  font-size: 2.2rem;
  color: #333;
  margin-bottom: 40px;
  font-weight: 700;
  position: relative;
}

.achievements-title::after,
.stats-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(135deg, #ffd700, #ffa500);
  border-radius: 2px;
}

.stats-grid,
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.stat-item,
.achievement-item {
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  padding: 30px 25px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
  color: #333;
  transition: all 0.3s ease;
}

.stat-item:hover,
.achievement-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
}

.stat-number,
.achievement-number {
  font-size: 3rem;
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-label,
.achievement-label {
  font-size: 1rem;
  font-weight: 600;
}

/* =============================================
   ПРЕИМУЩЕСТВА КОМПАНИИ
   ============================================= */

.advantages-section {
  margin: 50px 0;
}

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

.advantage-item {
  background: #ffffff;
  padding: 25px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
  border-color: #ffd700;
}

.advantage-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.advantage-item h4 {
  color: #333;
  margin-bottom: 15px;
  font-size: 1.2rem;
  font-weight: 600;
}

.advantage-item p {
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* =============================================
   CTA СЕКЦИЯ
   ============================================= */

.about-cta {
  background: linear-gradient(135deg, #333333 0%, #555555 100%);
  color: #ffffff;
  padding: 50px 40px;
  border-radius: 20px;
  text-align: center;
  margin: 50px 0 0 0;
  position: relative;
  overflow: hidden;
}

.about-cta::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 215, 0, 0.1),
    transparent
  );
  animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(30deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(30deg);
  }
}

.about-cta-title {
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.about-cta-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

.about-cta-button {
  background: linear-gradient(135deg, #ffd700, #ffa500);
  color: #333;
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
  position: relative;
  z-index: 2;
}

.about-cta-button:hover {
  background: linear-gradient(135deg, #ffa500, #ff8c00);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 165, 0, 0.4);
  text-decoration: none;
  color: #333;
}

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

/* Планшеты */
@media (max-width: 768px) {
  .about-page .article-info,
  .about-page article,
  .about-content .content-wrapper {
    padding: 35px 25px;
    margin-bottom: 20px;
  }

  .about-page h1,
  .about-content h1 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    padding-bottom: 20px;
  }

  .company-info-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 30px 0;
  }

  .info-card,
  .company-card {
    padding: 25px 20px;
  }

  .company-details,
  .requisites-section {
    padding: 30px 25px;
    margin: 30px 0;
  }

  .details-grid,
  .requisites-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .achievements-section,
  .stats-section {
    padding: 40px 25px;
    margin: 40px 0;
  }

  .stats-grid,
  .achievements-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

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

  .about-cta {
    padding: 40px 25px;
    margin: 40px 0 0 0;
  }

  .about-cta-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .about-cta-subtitle {
    font-size: 1.1rem;
    margin-bottom: 25px;
  }
}

/* Мобильные устройства */
@media (max-width: 480px) {
  .about-page .main-content {
    padding: 20px 0 40px 0;
  }

  .about-page .article-info,
  .about-page article,
  .about-content .content-wrapper {
    padding: 25px 20px;
    border-radius: 15px;
  }

  .about-page h1,
  .about-content h1 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    padding-bottom: 18px;
  }

  .about-content .intro-text,
  .about-page .article-info > p:first-of-type,
  .about-page article > p:first-of-type {
    font-size: 1.1rem;
    padding: 20px;
    margin-bottom: 35px;
  }

  .info-card h3,
  .company-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }

  .company-details h3,
  .requisites-section h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
  }

  .detail-block,
  .requisite-block {
    padding: 18px 15px;
  }

  .achievements-title,
  .stats-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .stats-grid,
  .achievements-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .stat-item,
  .achievement-item {
    padding: 25px 20px;
  }

  .stat-number,
  .achievement-number {
    font-size: 2.5rem;
    margin-bottom: 8px;
  }

  .advantage-item {
    padding: 20px 18px;
  }

  .advantage-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
  }

  .about-cta {
    padding: 30px 20px;
  }

  .about-cta-title {
    font-size: 1.6rem;
    margin-bottom: 12px;
  }

  .about-cta-subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .about-cta-button {
    padding: 14px 30px;
    font-size: 1rem;
  }
}

/* Очень маленькие экраны */
@media (max-width: 320px) {
  .about-page .article-info,
  .about-page article,
  .about-content .content-wrapper {
    padding: 20px 15px;
  }

  .about-page h1,
  .about-content h1 {
    font-size: 1.6rem;
  }

  .company-details,
  .requisites-section {
    padding: 25px 20px;
  }

  .about-cta-title {
    font-size: 1.4rem;
  }
}
