/**
 * TAXI755 TEMPLATE - ПОЛНАЯ ИСПРАВЛЕННАЯ ВЕРСИЯ CSS
 * Чистые стили без конфликтов, исправленный header
 */

/* =============================================
   1. ПЕРЕМЕННЫЕ И БАЗОВЫЕ НАСТРОЙКИ
   ============================================= */

:root {
  --primary-yellow: #ffd700;
  --secondary-orange: #ffa500;
  --white: #ffffff;
  --black: #000000;
  --dark-gray: #333333;
  --light-gray: #f8f9fa;
  --border-gray: #e5e5e5;

  --font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  --container-max-width: 1400px;
  --element-radius: 15px;
  --card-radius: 20px;

  --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.15);
  --shadow-hover: 0 15px 40px rgba(255, 215, 0, 0.25);

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* =============================================
   2. СБРОС И БАЗОВЫЕ СТИЛИ
   ============================================= */

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-gray);
  margin: 0;
  padding: 0;
  background-color: var(--white);
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* =============================================
   3. ТИПОГРАФИЯ
   ============================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 1rem 0;
  color: var(--dark-gray);
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem 0;
  color: #555;
}

a {
  color: var(--primary-yellow);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--secondary-orange);
}

/* =============================================
   4. КНОПКИ
   ============================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-width: 120px;
  text-align: center;
  line-height: 1.2;
  font-family: inherit;
  box-sizing: border-box;
  background: none;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-yellow) 0%,
    var(--secondary-orange) 100%
  );
  color: var(--dark-gray);
  box-shadow: var(--shadow-light);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  color: var(--dark-gray);
}

.btn-outline {
  background: transparent;
  color: var(--primary-yellow);
  border: 2px solid var(--primary-yellow);
}

.btn-outline:hover {
  background: var(--primary-yellow);
  color: var(--dark-gray);
}

.btn-yellow {
  background: var(--primary-yellow);
  color: var(--dark-gray);
}

.btn-yellow:hover {
  background: #ffa500 !important;
  color: #333 !important;
  border-color: #ffa500 !important;
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.125rem;
}

.btn-xl {
  padding: 20px 40px;
  font-size: 1.25rem;
  font-weight: 600;
}

.btn-outline {
  background: transparent !important;
  color: #ffd700 !important;
  border-color: #ffd700 !important;
  border-width: 2px;
  border-style: solid;
}

.btn-outline:hover {
  background: #ffd700 !important;
  color: #333 !important;
  border-color: #ffd700 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
  text-decoration: none;
}

/* =============================================
   5. HEADER - ИСПРАВЛЕННАЯ ВЕРСИЯ
   ============================================= */

.header {
  background: #ffffff;
  border-bottom: 3px solid var(--primary-yellow);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  min-height: 75px;
}

/* Логотип (старый класс для совместимости) */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* Модуль логотипа */
.logo-module {
  flex: 0 0 auto;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 12px;
}

.logo-link:hover {
  background: rgba(255, 215, 0, 0.1);
  transform: translateY(-1px);
}

/* Изображения логотипа - УВЕЛИЧЕННЫЕ */
.logo-img,
.logo-horizontal,
.logo-svg {
  height: 70px !important;
  width: auto !important;
  max-width: 220px !important;
  transition: all 0.3s ease;
  filter: drop-shadow(0 3px 10px rgba(255, 215, 0, 0.3));
}

.logo-link:hover .logo-img,
.logo-link:hover .logo-horizontal,
.logo-link:hover .logo-svg {
  transform: scale(1.05);
  filter: drop-shadow(0 5px 15px rgba(255, 215, 0, 0.4));
}

/* Текст логотипа - УВЕЛИЧЕННЫЙ */
.logo-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.site-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffd700, #ffa500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.site-name strong {
  font-weight: 800;
  font-size: 2rem;
}

.site-tagline {
  font-size: 0.95rem;
  color: #666;
  font-weight: 500;
  line-height: 1.1;
}

/* =============================================
   КОНТАКТНАЯ ИНФОРМАЦИЯ
   ============================================= */

.contact-info,
.phone-module {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
}

.phone-widget {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #ffd700, #ffa500);
  padding: 12px 20px;
  border-radius: 25px;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.25);
  transition: all 0.3s ease;
}

.phone-widget:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.35);
}

.phone-icon {
  font-size: 1.2rem;
  color: var(--dark-gray);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.phone-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.phone-number {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.1;
}

.phone-number a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.phone-number a:hover {
  color: #000;
}

.phone-note {
  font-size: 0.8rem;
  color: #333;
  font-weight: 500;
  line-height: 1.1;
}

/* Кнопки быстрого заказа - НОВЫЙ ЦВЕТ */
.btn,
.phone-module .btn,
.phone-module button,
.quick-order-btn,
.mobile-sidebar-toggle {
  background: linear-gradient(135deg, #ff6b35, #e91e63);
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.25);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn:hover,
.phone-module .btn:hover,
.phone-module button:hover,
.quick-order-btn:hover,
.mobile-sidebar-toggle:hover {
  background: linear-gradient(135deg, #e91e63, #ff6b35);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.35);
  color: white;
  text-decoration: none;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  gap: 4px;
  border-radius: 4px;
  transition: all var(--transition-fast);
  z-index: 1001;
  position: relative;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 215, 0, 0.1);
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--dark-gray);
  transition: all var(--transition-normal);
  border-radius: 2px;
  display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* =============================================
   6. НАВИГАЦИЯ
   ============================================= */

.navigation {
  background: var(--dark-gray);
  position: relative;
  z-index: 999;
  min-height: 50px;
}

.navigation .container {
  display: flex;
  justify-content: center;
}

.navigation ul,
.navigation .main-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  min-height: 50px;
}

.navigation li {
  position: relative;
}

.navigation a {
  display: block;
  padding: 15px 18px;
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.navigation a:hover,
.navigation .current a,
.navigation .active a {
  background: var(--primary-yellow);
  color: var(--dark-gray);
}

/* =============================================
   7. HERO СЕКЦИЯ
   ============================================= */

.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
}

.hero-video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 1;
  object-fit: cover;
}

/* Fallback изображение для медленного интернета */
.hero-fallback-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("/templates/taxi755/images/hero-fallback.jpg") center center;
  background-size: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero-fallback-image.show {
  opacity: 1;
}

/* Overlay для затемнения видео и лучшей читаемости текста */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(44, 62, 80, 0.7) 0%,
    rgba(52, 152, 219, 0.6) 50%,
    rgba(255, 215, 0, 0.3) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Преимущества */
.hero-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.feature:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 1.2rem;
}

.feature-text {
  font-weight: 500;
  white-space: nowrap;
}

.hero-cta {
  margin-top: 40px;
}

.phone-cta {
  margin-top: 20px;
  font-size: 1.125rem;
}

.phone-cta a {
  font-weight: 600;
  color: var(--dark-gray);
}

/* Кнопки действий */
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  min-width: 200px;
}

.btn-primary {
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  color: #333;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ffa500 0%, #ffd700 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
  color: #333;
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: white;
  color: #333;
  transform: translateY(-2px);
}

.btn-xl {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

/* Индикатор загрузки видео */
.video-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  color: white;
  text-align: center;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid #ffd700;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Кнопка управления видео */
.video-controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 4;
}

.video-toggle {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.video-toggle:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: scale(1.1);
}

/* =============================================
   8. ОСНОВНОЙ КОНТЕНТ
   ============================================= */

.main-content {
  padding: 40px 0;
  min-height: 400px;
}

.content-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.main-column {
  flex: 1;
  min-width: 0;
}

.sidebar {
  width: 300px;
  flex: 0 0 300px;
  background: var(--light-gray);
  border-radius: 12px;
}

.breadcrumbs {
  margin-bottom: 30px;
  padding: 12px 20px;
  background: var(--light-gray);
  border-radius: var(--element-radius);
  font-size: 0.875rem;
}

.breadcrumbs a {
  color: var(--dark-gray);
}

.breadcrumbs a:hover {
  color: var(--primary-yellow);
}

/* =============================================
   9. СЕКЦИИ
   ============================================= */

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  position: relative;
  color: var(--dark-gray);
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(
    135deg,
    var(--primary-yellow),
    var(--secondary-orange)
  );
  border-radius: 2px;
}

/* =============================================
   10. УСЛУГИ НА ГЛАВНОЙ
   ============================================= */

.home-services {
  padding: 60px 0;
  background: var(--white);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: all var(--transition-normal);
  border: 1px solid var(--border-gray);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-yellow);
}

.service-image {
  height: 200px;
  background: var(--light-gray);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: 25px;
  text-align: center;
}

.service-content h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--dark-gray);
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-yellow);
  display: block;
  margin: 10px 0;
}

.service-card.economy {
  border-color: #28a745;
}
.service-card.economy .service-price {
  color: #28a745;
}

.service-card.comfort {
  border-color: var(--primary-yellow);
}

.service-card.business {
  border-color: #6f42c1;
}
.service-card.business .service-price {
  color: #6f42c1;
}

.service-card.minivan {
  border-color: #fd7e14;
}
.service-card.minivan .service-price {
  color: #fd7e14;
}

/* =============================================
   11. НАПРАВЛЕНИЯ НА ГЛАВНОЙ
   ============================================= */

.home-directions {
  padding: 60px 0;
  background: var(--light-gray);
}

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

.direction-card {
  background: linear-gradient(135deg, var(--white) 0%, #fffbf0 100%);
  padding: 30px;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-light);
  border-left: 5px solid var(--primary-yellow);
  transition: all var(--transition-normal);
}

.direction-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.direction-card h3 {
  margin-bottom: 25px;
  color: var(--dark-gray);
  font-size: 1.4rem;
}

.direction-links {
  margin-bottom: 25px;
}

.direction-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  color: var(--dark-gray);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.direction-link:hover {
  color: var(--primary-yellow);
}

.direction-link:last-child {
  border-bottom: none;
}

.direction-link .price {
  font-weight: 600;
  color: var(--primary-yellow);
}

/* =============================================
   12. SIDEBAR
   ============================================= */

.quick-order-widget {
  background: var(--white);
  padding: 30px;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-light);
  border-top: 4px solid var(--primary-yellow);
  width: 100%;
  min-width: 400px;
  z-index: 10;
  overflow: visible;
}

.quick-order-widget h3 {
  margin: 0 0 20px 0;
  color: var(--dark-gray);
  font-size: 1.2rem;
  text-align: center;
  font-weight: 600;
}

.quick-order-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
  animation: slideInUp 0.5s ease forwards;
}

.quick-order-form input,
.quick-order-form select {
  padding: 12px;
  border: 1px solid var(--border-gray);
  border-radius: var(--element-radius);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.quick-order-form input:focus,
.quick-order-form select:focus {
  outline: none;
  border-color: var(--primary-yellow);
}

.btn-block {
  width: 100%;
}

/* =============================================
   13. FOOTER
   ============================================= */

footer {
  background: var(--dark-gray);
  color: var(--white);
  padding: 50px 0 30px 0;
  margin-top: 60px;
  clear: both;
}

.footer .container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.footer-column h4 {
  color: var(--primary-yellow);
  margin: 0 0 15px 0;
  font-size: 18px;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin: 0 0 8px 0;
}

.footer-links a {
  color: #cccccc;
  text-decoration: none;
  font-size: 14px;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-yellow);
}

.footer-phone,
.footer-email,
.footer-address {
  margin: 0 0 10px 0;
  line-height: 1.5;
}

.footer-phone a,
.footer-email a {
  color: var(--white);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
}

.footer-phone a:hover,
.footer-email a:hover {
  color: var(--primary-yellow);
}

.footer-address {
  color: #cccccc;
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid #555555;
  padding-top: 20px;
  text-align: center;
  margin-top: 30px;
}

.copyright {
  margin: 0;
  color: #cccccc;
  font-size: 14px;
}

.copyright a {
  color: var(--primary-yellow);
  text-decoration: none;
}

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

@media (max-width: 1024px) {
  .header-content {
    gap: 20px;
  }

  .logo-img,
  .logo-horizontal,
  .logo-svg {
    height: 60px !important;
    max-width: 180px !important;
  }

  .site-name {
    font-size: 1.5rem;
  }

  .site-name strong {
    font-size: 1.7rem;
  }

  .navigation a {
    padding: 12px 15px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .header {
    padding: 10px 0;
  }

  .header-content {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    min-height: auto;
  }

  .logo-module {
    order: 1;
    width: 100%;
    text-align: center;
  }

  .phone-module {
    order: 2;
    width: 100%;
    justify-content: center;
    gap: 15px;
  }

  .logo-img,
  .logo-horizontal,
  .logo-svg {
    height: 55px !important;
    max-width: 160px !important;
  }

  .site-name {
    font-size: 1.4rem;
  }

  .site-name strong {
    font-size: 1.6rem;
  }

  .site-tagline {
    font-size: 0.85rem;
  }

  .phone-widget {
    padding: 10px 16px;
  }

  .mobile-menu-toggle {
    display: flex;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 101;
  }

  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  body.menu-open {
    overflow: hidden;
  }

  .navigation {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-medium);
    transition: left var(--transition-normal);
    z-index: 100;
    overflow-y: auto;
  }

  .navigation.active {
    left: 0;
  }

  .navigation ul,
  .navigation .main-menu {
    flex-direction: column;
    padding: 80px 0 40px;
    width: 100%;
  }

  .navigation li {
    width: 100%;
    text-align: center;
  }

  .navigation a {
    color: var(--dark-gray);
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-gray);
    font-size: 16px;
  }

  .navigation a:hover {
    background: var(--light-gray);
    color: var(--primary-yellow);
  }

  .content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .sidebar {
    width: 100%;
    flex: none;
  }

  .hero {
    min-height: 500px;
    padding: 20px 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-features {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    min-width: 250px;
  }

  /* Корректировка позиции видео на мобильных */
  .hero-video {
    object-position: center center;
  }

  .services-grid,
  .directions-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 8px 0;
  }

  .header-content {
    gap: 12px;
  }

  .logo-img,
  .logo-horizontal,
  .logo-svg {
    height: 50px !important;
    max-width: 140px !important;
  }

  .site-name {
    font-size: 1.2rem;
  }

  .site-name strong {
    font-size: 1.4rem;
  }

  .site-tagline {
    font-size: 0.8rem;
  }

  .phone-module {
    flex-direction: column;
    gap: 10px;
  }

  .phone-widget {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .btn,
  .phone-module .btn,
  .phone-module button {
    width: 100%;
    max-width: 220px;
    justify-content: center;
  }

  .hero {
    min-height: 400px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-features {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }

  .feature {
    font-size: 0.85rem;
  }

  .services-grid,
  .directions-grid {
    gap: 20px;
  }

  .btn {
    min-width: 200px;
    padding: 1rem 1.5rem;
  }

  .btn-xl {
    padding: 16px 24px;
    font-size: 1.125rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 320px) {
  .header {
    padding: 6px 0;
  }

  .logo-img,
  .logo-horizontal,
  .logo-svg {
    height: 45px !important;
    max-width: 120px !important;
  }

  .site-name {
    font-size: 1.1rem;
  }

  .site-name strong {
    font-size: 1.3rem;
  }

  .site-tagline {
    font-size: 0.75rem;
  }

  .phone-widget {
    padding: 8px 12px;
  }

  .container {
    padding: 0 10px;
  }

  .hero {
    padding: 40px 0;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.75rem;
  }
}

/* =============================================
   15. УТИЛИТЫ
   ============================================= */

.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

.mb-0 {
  margin-bottom: 0;
}
.mb-1 {
  margin-bottom: 1rem;
}
.mb-2 {
  margin-bottom: 2rem;
}
.mb-3 {
  margin-bottom: 3rem;
}

.mt-0 {
  margin-top: 0;
}
.mt-1 {
  margin-top: 1rem;
}
.mt-2 {
  margin-top: 2rem;
}
.mt-3 {
  margin-top: 3rem;
}

.d-none {
  display: none;
}
.d-block {
  display: block;
}
.d-flex {
  display: flex;
}
.d-grid {
  display: grid;
}

/* =============================================
   16. АНИМАЦИИ
   ============================================= */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes headerSlideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.header {
  animation: headerSlideDown 0.6s ease;
}

/* =============================================
   17. ACCESSIBILITY И ПРОИЗВОДИТЕЛЬНОСТЬ
   ============================================= */

/* Фокус для клавиатурной навигации */
.logo-link:focus,
.phone-widget:focus,
.btn:focus,
.mobile-menu-toggle:focus {
  outline: 3px solid var(--primary-yellow);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .header {
    animation: none;
  }

  .phone-icon {
    animation: none;
  }
}

@media (prefers-contrast: high) {
  :root {
    --primary-yellow: #ffc700;
    --border-gray: #999;
  }

  .btn-primary {
    border: 2px solid var(--dark-gray);
  }

  .header {
    border-bottom-width: 4px;
  }
}

@media print {
  .header,
  .navigation,
  .sidebar,
  .footer,
  .btn {
    display: none;
  }

  .main-content {
    padding: 0;
  }

  .container {
    max-width: none;
    padding: 0;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content > * {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.hero-title {
  animation-delay: 0.2s;
}

.hero-subtitle {
  animation-delay: 0.4s;
}

.hero-features {
  animation-delay: 0.6s;
}

.hero-actions {
  animation-delay: 0.8s;
}

/* Дополнительные эффекты */
.hero-content .feature:nth-child(1) {
  animation-delay: 0.7s;
}

.hero-content .feature:nth-child(2) {
  animation-delay: 0.8s;
}

.hero-content .feature:nth-child(3) {
  animation-delay: 0.9s;
}

.hero-content .feature:nth-child(4) {
  animation-delay: 1s;
}

/* Эффект плавного появления видео */
.hero-video {
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-video.loaded {
  opacity: 1;
}

/* Prefers-reduced-motion для пользователей с ограниченными возможностями */
@media (prefers-reduced-motion: reduce) {
  .hero-content > *,
  .feature,
  .hero-video {
    animation: none;
    opacity: 1;
  }

  .btn,
  .feature,
  .video-toggle {
    transition: none;
  }
}

/* ===== ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ FEATURED CONTENT ===== */

/* Основные стили главной страницы */
.featured-content {
  margin: 0;
}

.main-featured-article {
  margin-bottom: 3rem;
}

.featured-content-wrapper {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #fffbf0 100%);
  border-radius: 20px;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
  position: relative;
}

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

.section-description {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== СЕКЦИЯ ЗАКАЗА ТАКСИ ===== */
.hero-order-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-bottom: 1px solid #e9ecef;
}

.order-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

/* Форма быстрого заказа */
.quick-order-form {
  background: #ffffff;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 2px solid #ffd700;
}

.quick-order-form h2 {
  color: #333;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  text-align: center;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #555;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #ffd700;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
  outline: none;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  cursor: pointer;
}

.btn-order {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  background: linear-gradient(135deg, #ffd700, #ffa500);
  border: none;
  border-radius: 12px;
  color: #333;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

/* Тарифные карточки */
.tariff-cards h3 {
  text-align: center;
  margin-bottom: 2rem;
  color: #333;
  font-size: 1.5rem;
}

.tariff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.tariff-card {
  background: #ffffff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.tariff-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-color: #ffd700;
}

.tariff-image {
  height: 150px;
  overflow: hidden;
  background: #f8f9fa;
}

.tariff-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.tariff-card:hover .tariff-image img {
  transform: scale(1.1);
}

.tariff-info {
  padding: 1.5rem;
}

.tariff-info h4 {
  margin-bottom: 0.5rem;
  color: #333;
  font-size: 1.2rem;
}

.tariff-description {
  color: #666;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.tariff-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tariff-features span {
  font-size: 0.85rem;
  color: #555;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Цвета для разных классов */
.tariff-card.economy {
  border-left: 4px solid #28a745;
}

.tariff-card.comfort {
  border-left: 4px solid #007bff;
}

.tariff-card.business {
  border-left: 4px solid #6f42c1;
}

.tariff-card.universal {
  border-left: 4px solid #fd7e14;
}

.tariff-card.minivan-6 {
  border-left: 4px solid #20c997;
}

.tariff-card.microbus {
  border-left: 4px solid #e83e8c;
}

/* Секция трансферов */
.transfer-section {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 2px solid #f8f9fa;
}

.transfer-section h3 {
  text-align: center;
  margin-bottom: 2rem;
  color: #333;
  font-size: 1.5rem;
}

.transfer-tabs {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.tab-buttons {
  display: flex;
  background: #f8f9fa;
}

.tab-btn {
  flex: 1;
  padding: 1rem 2rem;
  border: none;
  background: transparent;
  font-size: 1rem;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn.active {
  background: #ffd700;
  color: #333;
}

.tab-content {
  display: none;
  padding: 2rem;
}

.tab-content.active {
  display: block;
}

.transfer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.transfer-card {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 12px;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
}

.transfer-card:hover {
  border-color: #ffd700;
  background: #ffffff;
}

.transfer-card h4 {
  margin-bottom: 1rem;
  color: #333;
  font-size: 1.1rem;
  text-align: center;
}

.transfer-classes {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.class-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem;
  background: #ffffff;
  border-radius: 6px;
  font-size: 0.9rem;
}

.class-name {
  font-weight: 600;
  color: #333;
}

.class-price {
  color: #ffa500;
  font-weight: 700;
}

/* ===== СЕКЦИЯ УСЛУГ ===== */
.home-services-featured {
  padding: 4rem 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.services-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(135deg, #ffd700, #ffa500);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border-color: #ffd700;
}

.service-icon {
  text-align: center;
  margin-bottom: 1.5rem;
}

.service-icon img {
  width: 250px;
  height: 220px;
  transition: transform 0.3s ease;
  object-fit: cover;
  border-radius: 8px;
}

.service-card:hover .service-icon img {
  transform: scale(1.1) rotate(5deg);
}

.service-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
  text-align: center;
}

.service-info p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-align: center;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.service-features li {
  padding: 0.5rem 0;
  color: #555;
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9rem;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #28a745;
  font-weight: bold;
  font-size: 1rem;
}

/* Статистика услуг */
.services-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, #ffd700, #ffa500);
  border-radius: 20px;
  color: #333;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: #333;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== КАЛЬКУЛЯТОР ===== */
.home-calculator {
  padding: 4rem 0;
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
}

.calculator-widget {
  max-width: 600px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.calculator-widget h2 {
  text-align: center;
  margin-bottom: 0.5rem;
  color: #333;
  font-size: 2rem;
}

.calculator-widget p {
  text-align: center;
  color: #666;
  margin-bottom: 2rem;
}

.calc-inputs {
  margin-bottom: 2rem;
}

.input-group {
  margin-bottom: 1.5rem;
}

.input-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}

.input-group input,
.input-group select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.input-group input:focus,
.input-group select:focus {
  outline: none;
  border-color: #ffd700;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.calc-result {
  text-align: center;
}

.calc-btn {
  margin-bottom: 1rem;
  padding: 0.75rem 2rem;
}

.calc-output {
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 15px;
  border: 2px solid #ffd700;
}

.result-info {
  margin-bottom: 1.5rem;
}

.result-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 0.5rem;
}

.result-details {
  color: #666;
  font-size: 1rem;
}

/* ===== ПРЕИМУЩЕСТВА ===== */
.why-choose-us {
  padding: 4rem 0;
  background: #ffffff;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.advantage-item {
  background: linear-gradient(135deg, #ffffff 0%, #fffbf0 100%);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #ffd700;
  transition: all 0.3s ease;
}

.advantage-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(255, 215, 0, 0.15);
}

.advantage-item.reliability {
  border-left-color: #28a745;
}

.advantage-item.speed {
  border-left-color: #17a2b8;
}

.advantage-item.pricing {
  border-left-color: #ffd700;
}

.advantage-item.comfort {
  border-left-color: #6f42c1;
}

.advantage-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.advantage-item h3 {
  margin-bottom: 1rem;
  color: #333;
}

.advantage-item p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.advantage-details {
  list-style: none;
  padding: 0;
  text-align: left;
}

.advantage-details li {
  color: #555;
  padding: 0.25rem 0;
  font-size: 0.9rem;
  position: relative;
  padding-left: 1.5rem;
}

.advantage-details li:before {
  content: "✓";
  color: #28a745;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* ===== ОТЗЫВЫ ===== */
.home-testimonials {
  padding: 4rem 0;
  background: #f8f9fa;
}

.testimonials-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.testimonial-card {
  background: linear-gradient(135deg, #ffffff 0%, #fffbf0 100%);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #ffd700;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(255, 215, 0, 0.15);
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.author-name {
  font-weight: 600;
  color: #333;
  font-size: 1rem;
}

.author-rating {
  display: flex;
  gap: 0.1rem;
}

.star {
  color: #ddd;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.star.filled {
  color: #ffd700;
}

.testimonial-service {
  color: #888;
  font-size: 0.8rem;
  text-align: right;
  background: #f8f9fa;
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
}

.testimonial-content {
  margin-bottom: 1rem;
}

.testimonial-content p {
  color: #555;
  line-height: 1.6;
  font-style: italic;
  margin: 0;
}

.testimonial-footer {
  text-align: right;
}

.review-date {
  color: #888;
  font-size: 0.8rem;
}

.testimonials-footer {
  text-align: center;
  margin-top: 3rem;
}

.testimonials-footer .btn {
  margin: 0 1rem;
}

/* ===== CALL TO ACTION ===== */
.home-cta {
  padding: 4rem 0;
  background: linear-gradient(135deg, #333 0%, #555 100%);
  color: #ffffff;
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  color: #ddd;
}

.cta-options {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.cta-divider {
  color: #ccc;
  font-size: 1.1rem;
  font-weight: 300;
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.cta-feature {
  color: #ffd700;
  font-size: 0.9rem;
  position: relative;
  padding: 0.5rem 1rem;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 20px;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1024px) {
  .order-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .tariff-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .services-showcase {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .hero-order-section {
    padding: 2rem 0;
  }

  .quick-order-form {
    padding: 1.5rem;
  }

  .tariff-grid,
  .services-showcase,
  .advantages-grid,
  .testimonials-preview {
    grid-template-columns: 1fr;
  }

  .transfer-grid {
    grid-template-columns: 1fr;
  }

  .tab-btn {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }

  .calculator-widget {
    padding: 2rem;
    margin: 0 1rem;
  }

  .cta-options {
    flex-direction: column;
    gap: 1rem;
  }

  .cta-features {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.8rem;
  }

  .service-card,
  .advantage-item,
  .testimonial-card {
    padding: 1.5rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-content p {
    font-size: 1rem;
  }

  .calculator-widget {
    padding: 1.5rem;
  }

  .services-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}

/* Дополнительные стили для мобильных устройств */
@media (max-width: 360px) {
  .tariff-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .tariff-card {
    padding: 1rem;
  }

  .service-card {
    padding: 1rem;
  }
}

/* Prefers-reduced-motion поддержка */
@media (prefers-reduced-motion: reduce) {
  .tariff-card,
  .service-card,
  .advantage-item,
  .testimonial-card {
    transition: none;
  }

  .tariff-card:hover,
  .service-card:hover,
  .advantage-item:hover,
  .testimonial-card:hover {
    transform: none;
  }
}

/* =============================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ ОБНОВЛЕННОЙ СЕКЦИИ HOME-SERVICES
   ============================================= */

/* Заголовок и подзаголовок секции */
.home-services .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.home-services .section-subtitle {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Описание и особенности карточки */
.home-services .service-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
  font-size: 0.95rem;
  text-align: left;
}

.home-services .service-features {
  list-style: none;
  margin: 15px 0 20px 0;
  padding: 0;
  text-align: left;
}

.home-services .service-features li {
  padding: 3px 0;
  color: #555;
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
}

.home-services .service-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #28a745;
  font-weight: bold;
}

/* Кнопка "Больше тарифов" */
.home-services .more-services {
  text-align: center;
  margin-top: 40px;
}

/* Цвета карточек по классам */
.home-services .service-card.economy {
  border-left: 4px solid #28a745;
}

.home-services .service-card.economy .service-price {
  color: #28a745;
}

.home-services .service-card.comfort {
  border-left: 4px solid var(--primary-yellow);
}

.home-services .service-card.comfort .service-price {
  color: var(--primary-yellow);
}

.home-services .service-card.business {
  border-left: 4px solid #6f42c1;
}

.home-services .service-card.business .service-price {
  color: #6f42c1;
}

.home-services .service-card.universal {
  border-left: 4px solid #fd7e14;
}

.home-services .service-card.universal .service-price {
  color: #fd7e14;
}

/* Анимация появления карточек */
.home-services .service-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.home-services .service-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .home-services .section-subtitle {
    font-size: 1rem;
    padding: 0 10px;
  }

  .home-services .service-features li {
    font-size: 0.85rem;
  }

  .home-services .service-description {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .home-services .service-features {
    margin: 10px 0 15px 0;
  }

  .home-services .service-features li {
    padding: 2px 0;
    font-size: 0.8rem;
  }
}

.quick-order-widget .form-group {
  position: relative;
  z-index: 1;
}

.address-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  max-height: 200px;
  overflow-y: auto;
  display: none;
}

.suggestion-item {
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
  font-size: 0.9rem;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover {
  background: #f8f9fa !important;
  color: #333;
}

/* Индикатор загрузки тарифов */
#tariffs-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 2px dashed #dee2e6;
}

#tariffs-loading .spinner-border {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.75rem;
  border-width: 2px;
}

/* Информация о выбранном тарифе */
#tariff-info {
  background: linear-gradient(135deg, #e7f3ff, #cce7ff);
  border: 1px solid #80bdff;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #004085;
}

#additional-services-group {
  position: relative;
  z-index: 100;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e9ecef;
  background: #ffffff;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

#additional-services .form-check {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  z-index: 102;
}

#additional-services .form-check:hover {
  background: #e9ecef;
  border-color: #ffd700;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#additional-services .form-check-input:checked + .form-check-label {
  font-weight: 600;
  color: #333;
}

#additional-services .form-check-input:checked {
  background-color: #ffd700;
  border-color: #ffd700;
}

#additional-services .form-check:has(.form-check-input:checked) {
  background: linear-gradient(135deg, #fff3cd, #ffeaa7);
  border-color: #ffc107;
  box-shadow: 0 2px 6px rgba(255, 193, 7, 0.3);
}

#additional-services-group,
#additional-services,
#additional-services .form-check {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.quick-order-widget .form-group:has(#additional-services-group) {
  position: relative !important;
  z-index: 100 !important;
}

#additional-services-group[style*="display: block"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#additional-services-group.active {
  z-index: 1000 !important;
  position: relative;
}

.phone-validation {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  padding: 0.25rem 0;
}

.phone-validation.text-success {
  color: #28a745 !important;
}

.phone-validation.text-danger {
  color: #dc3545 !important;
}

.phone-validation small {
  font-weight: 500;
}

/* Блок расчета стоимости */
#cost-estimate {
  background: linear-gradient(135deg, #ffd700, #ffc107);
  color: #333;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  margin: 1rem 0;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
  border: 2px solid rgba(255, 193, 7, 0.5);
  display: none;
  align-items: center;
  justify-content: space-between;
}

.cost-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
}

#submit-order-btn {
  background: linear-gradient(135deg, #ffd700, #ffc107);
  border: none;
  color: #333;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#submit-order-btn:hover {
  background: linear-gradient(135deg, #ffc107, #ffb300);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
  color: #333;
}

#submit-order-btn:active {
  transform: translateY(0);
}

#submit-order-btn.loading {
  background: #6c757d !important;
  color: #fff !important;
  pointer-events: none;
  border-color: #6c757d !important;
}

.btn-loading {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

#submit-order-btn.loading .btn-text {
  display: none !important;
}

#submit-order-btn.loading .btn-loading {
  display: inline-flex !important;
}

#order-success {
  background: white;
  border-radius: 15px;
  padding: 2.5rem;
  text-align: center;
  border: 3px solid #28a745;
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.2);
  display: none;
}

#order-success .fas {
  color: #28a745;
  margin-bottom: 1rem;
}

#order-success h4 {
  color: #28a745;
  font-weight: 700;
  margin-bottom: 1rem;
}

#order-success p {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

#success-order-details {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  text-align: left;
}

#success-order-details .alert {
  margin: 0;
  border: none;
  background: transparent;
}

#new-order-btn {
  background: #28a745;
  border-color: #28a745;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

#new-order-btn:hover {
  background: #218838;
  border-color: #218838;
  color: white;
  transform: translateY(-1px);
}

/* Статус системы */
.system-status {
  text-align: center;
  padding: 0.75rem 0;
  border-top: 1px solid #e9ecef;
  margin-top: 1rem;
  background: #f8f9fa;
  border-radius: 0 0 8px 8px;
}

#sedi-indicator {
  display: inline-block;
  margin-right: 0.5rem;
  font-size: 0.75rem;
  animation: pulse 2s infinite;
}

#sedi-status-text {
  font-size: 0.85rem;
  font-weight: 500;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

#additional-services-group[style*="display: block"],
#additional-services-group.show {
  opacity: 1;
  transform: translateY(0);
}

.form-control.error {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control:valid:not(.error) {
  border-color: #28a745;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='m2.3 6.73.53.79c.71-.32 1.43-.64 2.14-.96l-2.67-2.67z'/%3e%3cpath fill='%2328a745' d='M.77 5.29a1.02 1.02 0 0 0 .63 1.27l2.31-2.31z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-group:nth-child(1) {
  animation-delay: 0.1s;
}
.form-group:nth-child(2) {
  animation-delay: 0.2s;
}
.form-group:nth-child(3) {
  animation-delay: 0.3s;
}
.form-group:nth-child(4) {
  animation-delay: 0.4s;
}
.form-group:nth-child(5) {
  animation-delay: 0.5s;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Улучшения для мобильных устройств */
@media (max-width: 768px) {
  .address-suggestions {
    font-size: 0.9rem;
    max-height: 150px;
  }

  .suggestion-item {
    padding: 10px 12px;
  }

  #cost-estimate {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .cost-value {
    font-size: 1.25rem;
  }

  #order-success {
    padding: 1.5rem;
    margin: 0 0.5rem;
  }

  #success-order-details {
    padding: 1rem;
    font-size: 0.9rem;
  }

  #submit-order-btn {
    padding: 1rem;
    font-size: 1rem;
  }

  .system-status {
    font-size: 0.8rem;
  }
}

/* Улучшенные стили для уведомлений */
.taxi-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1050;
  max-width: 400px;
  min-width: 300px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  animation: slideInRight 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  backdrop-filter: blur(10px);
}

.taxi-notification.hiding {
  animation: slideOutRight 0.3s ease forwards;
}

.notification-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.25rem;
  gap: 1rem;
}

.notification-message {
  flex: 1;
  line-height: 1.5;
  font-weight: 500;
}

.notification-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: inherit;
  opacity: 0.7;
  flex-shrink: 0;
  padding: 0;
  margin-left: 0.5rem;
  transition: opacity 0.2s ease;
}

.notification-close:hover {
  opacity: 1;
}

/* Стили для разных типов уведомлений */
.taxi-notification.alert-success {
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  border: 1px solid #28a745;
  color: #155724;
}

.taxi-notification.alert-error,
.taxi-notification.alert-danger {
  background: linear-gradient(135deg, #f8d7da, #f1b0b7);
  border: 1px solid #dc3545;
  color: #721c24;
}

.taxi-notification.alert-warning {
  background: linear-gradient(135deg, #fff3cd, #ffeaa7);
  border: 1px solid #ffc107;
  color: #856404;
}

.taxi-notification.alert-info {
  background: linear-gradient(135deg, #d1ecf1, #bee5eb);
  border: 1px solid #17a2b8;
  color: #0c5460;
}

/* Анимации для уведомлений */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* Адаптация уведомлений для мобильных */
@media (max-width: 768px) {
  .taxi-notification {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
    min-width: auto;
  }

  .notification-content {
    padding: 1rem;
    font-size: 0.9rem;
  }
}

/* Специальные состояния для загрузки и успеха */
.quick-order-widget.loading {
  pointer-events: none;
  opacity: 0.8;
}

.quick-order-widget.success {
  border: 2px solid #28a745;
  background: linear-gradient(135deg, #f8fff9, #e8f5e8);
}

/* Плавные переходы между состояниями формы */
.quick-order-form,
#order-success {
  transition: all 0.3s ease;
}

.quick-order-form.hiding {
  opacity: 0;
  transform: translateY(-20px);
}

#order-success.showing {
  opacity: 1;
  transform: translateY(0);
  animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3) translateY(-50px);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Дополнительные улучшения доступности */
.form-control:focus {
  outline: none;
  border-color: #ffd700;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.25);
}

.btn:focus {
  outline: 2px solid #0066cc;
  outline-offset: 2px;
}

/* Стили для режима уменьшенной анимации */
@media (prefers-reduced-motion: reduce) {
  .form-group,
  .taxi-notification,
  #order-success {
    animation: none !important;
    transition: none !important;
  }

  .service-card {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  #sedi-indicator {
    animation: none !important;
  }
}

/* Высокий контраст для людей с нарушениями зрения */
@media (prefers-contrast: high) {
  .form-control {
    border-width: 2px;
    border-color: #000;
  }

  .form-control:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 3px #0066cc;
  }

  #submit-order-btn {
    background: #000;
    color: #fff;
    border: 2px solid #000;
  }

  #submit-order-btn:hover {
    background: #333;
    border-color: #333;
  }
}

@media print {
  .address-suggestions,
  #tariffs-loading,
  .system-status,
  .taxi-notification,
  .btn-loading {
    display: none !important;
  }

  .quick-order-widget {
    box-shadow: none;
    border: 1px solid #000;
  }

  #submit-order-btn {
    background: #fff !important;
    color: #000 !important;
    border: 1px solid #000 !important;
  }
}

.services-dropdown {
  position: relative;
  margin-bottom: 1rem;
}

.services-dropdown-toggle {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 12px 16px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  color: #333;
}

.services-dropdown-toggle:hover {
  background: #e9ecef;
  border-color: #ffd700;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.2);
}

.services-dropdown-toggle.active {
  background: #fff3cd;
  border-color: #ffd700;
  box-shadow: 0 2px 12px rgba(255, 215, 0, 0.3);
}

.services-dropdown-toggle .selected-count {
  background: #ffd700;
  color: #333;
  padding: 2px 8px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-left: 8px;
}

.services-dropdown-icon {
  transition: transform 0.3s ease;
  font-size: 1.2rem;
  color: #666;
}

.services-dropdown-toggle.active .services-dropdown-icon {
  transform: rotate(180deg);
  color: #ffd700;
}

.services-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 2px solid #ffd700;
  border-radius: 0 0 15px 15px;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
  z-index: 1000;
  max-height: 300px;
  overflow-y: auto;
  transform: translateY(-5px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.services-dropdown-menu.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.services-dropdown-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.2s ease;
  cursor: pointer;
}

.services-dropdown-item:last-child {
  border-bottom: none;
  border-radius: 0 0 15px 15px;
}

.services-dropdown-item:hover {
  background: #f8f9fa;
}

.services-dropdown-item.selected {
  background: #fff3cd;
  border-left: 4px solid #ffd700;
}

.services-dropdown-item input[type="checkbox"] {
  margin-right: 12px;
  width: 18px;
  height: 18px;
  accent-color: #ffd700;
  cursor: pointer;
}

.services-dropdown-item label {
  flex: 1;
  margin: 0;
  cursor: pointer;
  font-weight: 500;
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.services-dropdown-item .service-cost {
  color: #28a745;
  font-weight: 600;
  font-size: 0.9rem;
}

.services-dropdown-empty {
  padding: 20px 16px;
  text-align: center;
  color: #666;
  font-style: italic;
}

/* Адаптивность */
@media (max-width: 768px) {
  .services-dropdown-menu {
    max-height: 250px;
  }

  #additional-services {
    max-height: 250px;
  }

  #additional-services .form-check {
    padding: 0.6rem 0.8rem;
    margin-bottom: 0.4rem;
  }

  #additional-services-group {
    margin-top: 0.8rem;
    padding-top: 0.8rem;
  }
}

@media (max-width: 480px) {
  #additional-services {
    max-height: 200px;
  }

  #additional-services .form-check {
    padding: 0.5rem 0.7rem;
    font-size: 0.9rem;
  }
}









/**
 * TAXI755 - ФИНАЛЬНЫЕ CSS СТИЛИ ДЛЯ КАТЕГОРИЙ АЭРОПОРТОВ
 * Корпоративная цветовая схема: белый/желтый
 * Квадратные кнопки без вращения, принудительное отображение + и -
 */

/* =============================================
   1. ОСНОВНОЙ КОНТЕЙНЕР КАТЕГОРИЙ
   ============================================= */

.com-content-categories.categories-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background: #f8f9fa;
}

.category-desc.base-desc {
  margin-bottom: 50px;
}

/* =============================================
   2. СЕТКА КАТЕГОРИЙ
   ============================================= */

.com-content-categories__items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin: 40px 0;
  padding: 0;
}

/* =============================================
   3. КАРТОЧКИ КАТЕГОРИЙ
   ============================================= */

.com-content-categories__item {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
  position: relative;
}

.com-content-categories__item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(255, 215, 0, 0.25);
  border-color: #ffd700;
}

/* Декоративная желтая полоска сверху */
.com-content-categories__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(135deg, #ffd700, #ffa500);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  z-index: 2;
}

.com-content-categories__item:hover::before {
  transform: scaleX(1);
}

/* =============================================
   4. ШАПКА КАТЕГОРИИ - БЕЛЫЙ ФОН С ЖЕЛТОЙ ПОЛОСКОЙ
   ============================================= */

.com-content-categories__item-title-wrapper {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  padding: 25px 25px 15px 25px !important;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
  border-bottom: 4px solid #ffd700 !important;
  position: relative !important;
}

.com-content-categories__item-title {
  flex: 1;
}

.com-content-categories__item-title a {
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  color: #333333 !important;
  text-decoration: none !important;
  line-height: 1.3 !important;
  display: block !important;
  margin-bottom: 8px !important;
}

.com-content-categories__item-title a:hover {
  color: #ffa500 !important;
  text-decoration: none !important;
}

/* =============================================
   5. БЕЙДЖИ - ЖЕЛТЫЕ
   ============================================= */

.com-content-categories__item-title .badge.bg-info {
  background: rgba(255, 215, 0, 0.2) !important;
  color: #333333 !important;
  padding: 6px 12px !important;
  border-radius: 15px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  border: 1px solid rgba(255, 215, 0, 0.5) !important;
}

/* =============================================
   6. КНОПКИ - КВАДРАТНЫЕ, БЕЗ ВРАЩЕНИЯ, С ПЕРЕМЕННЫМИ
   ============================================= */

.com-content-categories__item-title-wrapper .btn.btn-secondary {
  background: rgba(255, 215, 0, 0.1) !important;
  border: 2px solid rgba(255, 215, 0, 0.5) !important;
  color: #333333 !important;
  width: 35px !important;
  height: 35px !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin-left: 15px !important;
  transition: all 0.3s ease !important;
  font-size: 1.4rem !important;
  font-weight: bold !important;
  --button-symbol: "+";
}

.com-content-categories__item-title-wrapper .btn.btn-secondary:hover {
  background: rgba(255, 215, 0, 0.2) !important;
  border-color: #ffd700 !important;
  color: #333333 !important;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3) !important;
}

/* ОТОБРАЖЕНИЕ СИМВОЛОВ ЧЕРЕЗ CSS ПЕРЕМЕННЫЕ */
.com-content-categories__item-title-wrapper .btn.btn-secondary::after {
  content: var(--button-symbol, "+") !important;
  font-size: 1.4rem !important;
  font-weight: bold !important;
  color: #333333 !important;
  line-height: 1 !important;
  display: block !important;
}

/* КЛАССЫ СОСТОЯНИЙ */
.com-content-categories__item-title-wrapper .btn.category-open {
  --button-symbol: "−";
  background: rgba(255, 215, 0, 0.3) !important;
}

.com-content-categories__item-title-wrapper .btn.category-closed {
  --button-symbol: "+";
  background: rgba(255, 215, 0, 0.1) !important;
}

/* СКРЫВАЕМ СТАНДАРТНУЮ ИКОНКУ */
.com-content-categories__item-title-wrapper .btn .icon-plus {
  display: none !important;
  visibility: hidden !important;
}

/* =============================================
   7. ИЗОБРАЖЕНИЯ КАТЕГОРИЙ
   ============================================= */

.com-content-categories__item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: all 0.3s ease;
}

.com-content-categories__item:hover img {
  transform: scale(1.05);
}

/* =============================================
   8. ОПИСАНИЯ КАТЕГОРИЙ
   ============================================= */

.com-content-categories__description.category-desc {
  padding: 20px 25px 25px 25px;
  background: white;
}

.com-content-categories__description.category-desc p {
  color: #666;
  line-height: 1.6;
  margin: 0;
  font-size: 1rem;
}

/* =============================================
   9. ПОДКАТЕГОРИИ - ОБЫЧНЫЙ ПОТОК БЕЗ РАСТЯГИВАНИЯ
   ============================================= */

.com-content-categories__children {
  background: #f8f9fa;
  border-top: 3px solid #ffd700;
  padding: 25px;
  margin-top: 0;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.com-content-categories__children[hidden] {
  display: none;
}

.com-content-categories__children .com-content-categories__items {
  display: grid;
  grid-template-columns: 1fr; /* Одна колонка вместо сетки */
  gap: 15px;
  margin: 0;
}

.com-content-categories__children .com-content-categories__item {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
  overflow: hidden;
}

.com-content-categories__children .com-content-categories__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.15);
}

.com-content-categories__children .com-content-categories__item-title-wrapper {
  padding: 20px 20px 15px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 1px solid #e9ecef;
}

.com-content-categories__children .com-content-categories__item-title a {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333 !important;
  position: relative;
  padding-left: 35px;
}

.com-content-categories__children .com-content-categories__item-title a:hover {
  color: #ffa500 !important;
}

/* =============================================
   10. ИКОНКИ АЭРОПОРТОВ
   ============================================= */

.com-content-categories__children .com-content-categories__item-title a[href*="domodedovo"]::before {
  content: "🛬";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.5rem;
  color: #007bff;
}

.com-content-categories__children .com-content-categories__item-title a[href*="sheremetyevo"]::before {
  content: "✈️";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.5rem;
  color: #28a745;
}

.com-content-categories__children .com-content-categories__item-title a[href*="vnukovo"]::before {
  content: "🛫";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.5rem;
  color: #dc3545;
}

.com-content-categories__children .com-content-categories__item-title a[href*="zhukovsky"]::before {
  content: "🚁";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.5rem;
  color: #6f42c1;
}

/* =============================================
   11. БЕЙДЖИ В ПОДКАТЕГОРИЯХ
   ============================================= */

.com-content-categories__children .badge.bg-info {
  background: rgba(255, 215, 0, 0.1) !important;
  color: #ffa500 !important;
  border: 1px solid rgba(255, 215, 0, 0.3);
  padding: 4px 8px;
  border-radius: 10px;
  font-size: 0.75rem;
}

/* =============================================
   12. ИЗОБРАЖЕНИЯ В ПОДКАТЕГОРИЯХ
   ============================================= */

.com-content-categories__children .com-content-categories__item img {
  height: 150px;
  object-fit: cover;
}

/* =============================================
   13. ОПИСАНИЯ ПОДКАТЕГОРИЙ
   ============================================= */

.com-content-categories__children .com-content-categories__description {
  padding: 15px 20px 20px 20px;
}

.com-content-categories__children .com-content-categories__description p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  margin: 0;
}

/* =============================================
   14. СТРЕЛКИ НАПРАВЛЕНИЙ
   ============================================= */

.com-content-categories__item-title a[href*="transfer-v-aeroport"]::after {
  content: "→";
  position: absolute;
  right: -25px;
  top: 0;
  color: #ffa500;
  font-size: 1.5rem;
  font-weight: bold;
}

.com-content-categories__item-title a[href*="transfer-iz-aeroporta"]::after {
  content: "←";
  position: absolute;
  right: -25px;
  top: 0;
  color: #ffa500;
  font-size: 1.5rem;
  font-weight: bold;
}

/* =============================================
   15. РАСКРЫТЫЕ ПОДКАТЕГОРИИ - УПРОЩЕННАЯ ВЕРСИЯ
   ============================================= */

.com-content-categories__item:has(.com-content-categories__children:not([hidden])) {
  background: linear-gradient(135deg, #fff 0%, #fffbf0 100%);
}

/* Символы кнопок в зависимости от состояния */
.com-content-categories__item-title-wrapper .btn.category-open::after {
  content: "−" !important;
}

.com-content-categories__item-title-wrapper .btn.category-closed::after {
  content: "+" !important;
}

/* По умолчанию все кнопки показывают + */
.com-content-categories__item-title-wrapper .btn.btn-secondary:not(.category-open):not(.category-closed)::after {
  content: "+" !important;
}

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

@media (max-width: 768px) {
  .com-content-categories__items {
    grid-template-columns: 1fr;
    gap: 25px;
    margin: 30px 0;
  }
  
  .com-content-categories__children .com-content-categories__items {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .com-content-categories__item-title-wrapper {
    padding: 20px 20px 12px 20px !important;
  }
  
  .com-content-categories__item-title a {
    font-size: 1.2rem !important;
  }
  
  .com-content-categories__children .com-content-categories__item-title a {
    font-size: 1.1rem;
    padding-left: 30px;
  }
}

@media (max-width: 480px) {
  .com-content-categories.categories-list {
    padding: 15px;
  }
  
  .com-content-categories__item-title-wrapper {
    padding: 18px 18px 10px 18px !important;
  }
  
  .com-content-categories__item-title a {
    font-size: 1.1rem !important;
  }
  
  .com-content-categories__description.category-desc {
    padding: 15px 18px 20px 18px;
  }
  
  .com-content-categories__children {
    padding: 20px 15px;
  }
}

/* =============================================
   17. АНИМАЦИИ
   ============================================= */

.com-content-categories__item {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

.com-content-categories__item:nth-child(1) { animation-delay: 0.1s; }
.com-content-categories__item:nth-child(2) { animation-delay: 0.2s; }
.com-content-categories__item:nth-child(3) { animation-delay: 0.3s; }
.com-content-categories__item:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =============================================
   18. ДОПОЛНИТЕЛЬНЫЕ СТИЛИ
   ============================================= */

.categories-cta {
  text-align: center;
  padding: 40px 30px;
  background: linear-gradient(135deg, #fffbf0 0%, #fff3cd 100%);
  border-radius: 20px;
  margin: 40px 0;
  border: 2px solid #ffd700;
}

.categories-cta h3 {
  color: #cc7a00;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.categories-cta p {
  color: #996600;
  margin-bottom: 25px;
}

.btn-categories-cta {
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  color: #333;
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-categories-cta:hover {
  background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
  color: #333;
  text-decoration: none;
}