/* ===== СОВРЕМЕННЫЕ CSS ПЕРЕМЕННЫЕ И АНИМАЦИИ ===== */
:root {
  --primary-gold: #D4A574;
  --warm-gold: #E2C290;
  --deep-brown: #7C4F29;
  --gradient-bg: linear-gradient(135deg, #D4A574 0%, #E2C290 50%, #F5E6D3 100%);
  --text-shadow: 0 2px 4px rgba(124, 79, 41, 0.3);
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --shimmer: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
}

/* ===== БАЗОВЫЕ АНИМАЦИИ ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== УЛУЧШЕНИЯ ДЛЯ КОПИРОВАНИЯ ТЕКСТА ===== */
.tour-modern-text-col {
  user-select: text;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
}

.tour-modern-title,
.tour-modern-desc,
.tour-modern-info,
.tour-modern-badge {
  user-select: text;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  cursor: text;
}

/* ===== ПРИНУДИТЕЛЬНОЕ ОБНОВЛЕНИЕ СТИЛЕЙ ===== */
.tour-modern-badge {
  display: inline-block !important;
  background: var(--warm-gold) !important;
  color: var(--deep-brown) !important;
  font-weight: 700 !important;
  padding: 8px 16px !important;
  border-radius: 20px !important;
  font-size: 0.9em !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

/* ===== ПРИНУДИТЕЛЬНОЕ ОБНОВЛЕНИЕ НУМЕРАЦИИ ===== */
[data-lang="steppe-badge"] {
  content: "MULTIDAY TOUR #3" !important;
}

[data-lang="caa-badge"] {
  content: "MULTIDAY TOUR #4" !important;
}

/* ===== ИСПРАВЛЕНИЕ КАРТОЧКИ THREE MYSTERIES ===== */
.tour-modern-even {
  background: #fff !important;
  user-select: text !important;
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
}

.tour-modern-img-overlay {
  display: none !important;
}

.tour-modern-content {
  user-select: text !important;
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  cursor: text !important;
}

.tour-modern-title,
.tour-modern-desc,
.tour-modern-info {
  user-select: text !important;
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  cursor: text !important;
  color: #333 !important;
}

/* ===== ПЕРЕКЛЮЧАТЕЛЬ ЯЗЫКОВ ===== */
.lang-switch {
  position: relative;
}

.lang-dropdown {
  position: relative;
}

.lang-dropdown.open .lang-options {
  display: block;
}

.lang-options {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(212, 165, 116, 0.2);
  z-index: 1001;
  margin-top: 5px;
  min-width: 120px;
}

.lang-selected {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 165, 116, 0.2);
}

.lang-selected:hover {
  background: rgba(212, 165, 116, 0.1);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(212, 165, 116, 0.1);
}

.lang-option:last-child {
  border-bottom: none;
}

.lang-option:hover {
  background: rgba(212, 165, 116, 0.1);
}

.flag {
  width: 20px;
  height: 15px;
  border-radius: 2px;
}

.arrow {
  font-size: 12px;
  color: var(--deep-brown);
  transition: transform 0.3s ease;
}

.lang-dropdown.open .arrow {
  transform: rotate(180deg);
}

.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  text-decoration: none;
  color: var(--deep-brown);
  font-size: 16px;
  font-weight: 500;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: rgba(212, 165, 116, 0.1);
  border: 1px solid rgba(212, 165, 116, 0.2);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  background: var(--gradient-bg);
  color: white;
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.mobile-lang-switch {
  margin-top: auto;
  padding-top: 20px;
  border-top: 2px solid var(--warm-gold);
  position: relative;
}

.mobile-lang-switch .lang-dropdown {
  width: 100%;
  position: relative;
}

.mobile-lang-switch .lang-dropdown.open .lang-options {
  display: block;
}

.mobile-lang-switch .lang-options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(212, 165, 116, 0.2);
  z-index: 1001;
  margin-top: 5px;
}

.mobile-lang-switch .lang-selected {
  width: 100%;
  justify-content: center;
  padding: 15px;
  font-size: 1.1em;
}

.mobile-lang-switch .lang-option {
  padding: 15px;
  justify-content: center;
  font-size: 1.1em;
}

/* ===== ИСПРАВЛЕННЫЕ МОБИЛЬНЫЕ ВКЛАДКИ ===== */
.mobile-tabs {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(25px);
  border-top: 1px solid rgba(212, 165, 116, 0.2);
  z-index: 999;
  padding: 12px 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.mobile-tabs-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 100%;
  padding: 0 10px;
}

.mobile-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--deep-brown);
  transition: all 0.3s ease;
  min-width: 60px;
  background: transparent;
  cursor: pointer;
  user-select: none;
  border: none;
  outline: none;
}

.mobile-tab:hover {
  background: rgba(212, 165, 116, 0.1);
  transform: translateY(-1px);
}

.mobile-tab.active {
  background: var(--gradient-bg);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.mobile-tab-icon {
  font-size: 20px;
  line-height: 1;
  pointer-events: none;
}

.mobile-tab-text {
  font-size: 10px;
  font-weight: 500;
  text-align: center;
  line-height: 1;
  pointer-events: none;
}

/* ===== МОБИЛЬНЫЕ КАРТОЧКИ ===== */
.mobile-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  margin: 10px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(212, 165, 116, 0.1);
  transition: all 0.3s ease;
}

.mobile-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* ===== МОБИЛЬНЫЕ КНОПКИ ===== */
.mobile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--gradient-bg);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.mobile-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 165, 116, 0.4);
}

.mobile-btn-secondary {
  background: rgba(212, 165, 116, 0.1);
  color: var(--deep-brown);
  border: 2px solid var(--warm-gold);
}

.mobile-btn-secondary:hover {
  background: var(--warm-gold);
  color: white;
}

/* ===== МОБИЛЬНЫЕ АНИМАЦИИ ===== */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(212, 165, 116, 0.3);
  }
  50% {
    box-shadow: 0 4px 30px rgba(212, 165, 116, 0.6);
  }
}

.fade-in-up {
  animation: fade-in-up 0.6s ease-out forwards;
}

.slide-in-bottom {
  animation: slide-in-bottom 0.5s ease-out forwards;
}

.pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* ===== ПРЕМИУМ МОБИЛЬНЫЕ СТИЛИ (768px) ===== */
@media (max-width: 768px) {
  /* Премиум карточки для мобильных */
  .mobile-card {
    margin: 20px 0;
    padding: 30px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 165, 116, 0.2);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  }
  
  /* Премиум кнопки для мобильных */
  .mobile-btn {
    width: 100%;
    padding: 18px 28px;
    font-size: 18px;
    border-radius: 18px;
    margin: 12px 0;
    background: linear-gradient(135deg, #D4A574 0%, #E2C290 100%);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.3);
    font-weight: 600;
    letter-spacing: 0.5px;
  }
  
  .mobile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.4);
  }
  
  /* Улучшенные мобильные вкладки */
  .mobile-tabs {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    border-top: 1px solid rgba(212, 165, 116, 0.2);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  }

  .mobile-tabs-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 15px;
  }

  .mobile-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 15px;
    border-radius: 16px;
    text-decoration: none;
    color: var(--deep-brown);
    transition: all 0.3s ease;
    min-width: 70px;
    background: transparent;
    cursor: pointer;
    user-select: none;
    border: none;
    outline: none;
  }

  .mobile-tab:hover {
    background: rgba(212, 165, 116, 0.1);
    transform: translateY(-2px);
  }

  .mobile-tab.active {
    background: linear-gradient(135deg, #D4A574 0%, #E2C290 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
  }

  .mobile-tab-icon {
    font-size: 22px;
    line-height: 1;
    pointer-events: none;
  }

  .mobile-tab-text {
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    line-height: 1;
    pointer-events: none;
  }
  
  /* Улучшенные отступы */
  main {
    padding-bottom: 120px;
  }
  
  /* Улучшенные заголовки */
  h1 {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
  }
  
  h2 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 16px;
  }
  
  h3 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 600;
    line-height: 1.4;
  }
  
  /* Улучшенные изображения */
  img {
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
  
  /* Улучшенные секции */
  section {
    padding: 50px 20px;
  }
  
  /* Улучшенные контейнеры */
  .container {
    padding: 0 20px;
  }
  
  /* Улучшенные карточки туров */
  .tour-cards-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  
  .tour-card {
    width: 100%;
    max-width: 350px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
  }
  
  .tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  }
  
  /* Улучшенные блоки команды */
  .team-members {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  
  .member {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 165, 116, 0.2);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }
  
  .member:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  }
}

/* ===== ПРЕМИУМ МОБИЛЬНЫЕ СТИЛИ (5 ЗВЕЗД) ===== */
@media (max-width: 480px) {
  /* Улучшенные мобильные вкладки */
  .mobile-tabs-container {
    padding: 0 8px;
  }
  
  .mobile-tab {
    min-width: 55px;
    padding: 8px 10px;
    border-radius: 16px;
  }
  
  .mobile-tab-icon {
    font-size: 20px;
  }
  
  .mobile-tab-text {
    font-size: 10px;
    font-weight: 600;
  }
  
  .mobile-tab.active {
    background: linear-gradient(135deg, #D4A574 0%, #E2C290 100%);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
    transform: translateY(-3px);
  }
  
  /* Премиум карточки */
  .mobile-card {
    padding: 20px;
    margin: 12px 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 165, 116, 0.2);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  }
  
  /* Премиум кнопки */
  .mobile-btn {
    padding: 16px 24px;
    font-size: 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, #D4A574 0%, #E2C290 100%);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.3);
    font-weight: 600;
    letter-spacing: 0.5px;
  }
  
  .mobile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.4);
  }
  
  /* Улучшенные отступы */
  header {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 165, 116, 0.1);
  }
  
  .mobile-menu {
    padding: 20px;
  }
  
  .hero-section,
  .gallery-hero,
  .contacts-hero,
  .about-modern-hero {
    padding: 60px 16px 40px;
  }
  
  section {
    padding: 40px 16px;
  }
  
  .container {
    padding: 0 16px;
  }
  
  /* Улучшенная типографика */
  h1 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
  }
  
  h2 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 12px;
  }
  
  h3 {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
  }
  
  p {
    font-size: 15px;
    line-height: 1.6;
    color: #4a5568;
  }
  
  /* Улучшенные изображения */
  img {
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
  
  /* Улучшенные секции */
  .why-us,
  .reviews,
  .team {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.9));
    border-radius: 24px;
    margin: 20px 0;
    padding: 30px 20px;
  }
  
  /* Улучшенные карточки туров */
  .tour-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
  }
  
  .tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  }
  
  /* Улучшенные отзывы */
  .review-slide {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
  }
  
  /* Улучшенные блоки команды */
  .member {
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 165, 116, 0.2);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }
  
  .member:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  }
}

.mobile-logo span {
  font-size: 1.2em;
  font-weight: bold;
  color: var(--deep-brown);
}



.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
}

.mobile-nav a {
  display: block;
  padding: 15px 20px;
  text-decoration: none;
  color: var(--deep-brown);
  font-size: 1.2em;
  font-weight: 500;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: rgba(212, 165, 116, 0.1);
  border: 2px solid transparent;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  background: var(--deep-brown);
  color: white;
  transform: translateX(10px);
  box-shadow: 0 4px 15px rgba(124, 79, 41, 0.3);
}

.mobile-lang-switch {
  margin-top: auto;
  padding-top: 20px;
  border-top: 2px solid var(--warm-gold);
  position: relative;
}

.mobile-lang-switch .lang-dropdown {
  width: 100%;
  position: relative;
}

.mobile-lang-switch .lang-dropdown.open .lang-options {
  display: block;
}

.mobile-lang-switch .lang-options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(212, 165, 116, 0.2);
  z-index: 1001;
  margin-top: 5px;
}

.mobile-lang-switch .lang-dropdown {
  width: 100%;
}

.mobile-lang-switch .lang-selected {
  width: 100%;
  justify-content: center;
  padding: 15px;
  font-size: 1.1em;
}

.mobile-lang-switch .lang-options {
  width: 100%;
  left: 0;
  right: 0;
}

.mobile-lang-switch .lang-option {
  padding: 15px;
  justify-content: center;
  font-size: 1.1em;
}

/* ===== МОБИЛЬНЫЕ СТИЛИ ===== */
@media (max-width: 768px) {
  /* Скрываем десктопную навигацию */
  .desktop-nav {
    display: none !important;
  }
  
  /* Показываем мобильные вкладки */
  .mobile-tabs {
    display: block !important;
  }
  
  /* Адаптируем переключатель языков для мобильных */
  .lang-switch {
    margin-left: auto;
  }
  
  .lang-selected {
    padding: 6px 10px;
    font-size: 14px;
  }
  
  .flag {
    width: 18px;
    height: 13px;
  }
  
  /* Исправляем отступы */
  main {
    padding-bottom: 120px;
  }
  
  /* Улучшаем мобильное меню */
  .mobile-menu {
    padding: 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .mobile-menu-header {
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
  
  .mobile-logo {
    gap: 12px;
  }
  
  .mobile-logo img {
    width: 35px;
    height: 35px;
  }
  
  .mobile-logo span {
    font-size: 1.1em;
  }
  
  /* Улучшаем мобильную навигацию */
  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
  }
  
  .mobile-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(212, 165, 116, 0.1);
    border-radius: 12px;
    text-decoration: none;
    color: var(--deep-brown);
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 165, 116, 0.2);
  }
  
  .mobile-nav a:hover,
  .mobile-nav a.active {
    background: var(--gradient-bg);
    color: white;
    transform: translateX(5px);
  }
  
  /* Исправляем мобильный переключатель языков */
  .mobile-lang-switch {
    margin-top: auto;
    padding-top: 20px;
    border-top: 2px solid var(--warm-gold);
  }
  
  .mobile-lang-switch .lang-dropdown {
    width: 100%;
    position: relative;
  }
  
  .mobile-lang-switch .lang-selected {
    width: 100%;
    justify-content: center;
    padding: 15px;
    font-size: 16px;
    background: rgba(212, 165, 116, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(212, 165, 116, 0.2);
  }
  
  .mobile-lang-switch .lang-options {
    width: 100%;
    left: 0;
    right: 0;
    top: 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(212, 165, 116, 0.2);
  }
  
  .mobile-lang-switch .lang-option {
    padding: 15px;
    justify-content: center;
    font-size: 16px;
    border-bottom: 1px solid rgba(212, 165, 116, 0.1);
  }
  
  .mobile-lang-switch .lang-option:last-child {
    border-bottom: none;
  }
  
  /* Улучшаем общие стили для мобильных */
  header {
    padding: 15px 20px;
  }
  
  .logo {
    gap: 10px;
  }
  
  .logo img {
    width: 35px;
    height: 35px;
  }
  
  .logo span {
    font-size: 1.1em;
  }
  
  /* Исправляем отступы для контента */
  .hero-section,
  .gallery-hero,
  .contacts-hero,
  .about-modern-hero {
    padding: 60px 20px 40px;
  }
  
  /* Исправляем размеры текста */
  h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  h2 {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  p {
    font-size: 16px;
    line-height: 1.5;
  }
}

/* Показываем десктопные элементы на больших экранах */
@media (min-width: 769px) {
  .mobile-menu-toggle,
  .mobile-menu {
    display: none;
  }
  
  .desktop-nav,
  .desktop-lang-switch {
    display: block;
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes kenBurns {
  0% {
    transform: scale(1) translateX(0);
  }
  25% {
    transform: scale(1.1) translateX(-5px);
  }
  50% {
    transform: scale(1.05) translateX(5px);
  }
  75% {
    transform: scale(1.08) translateX(-3px);
  }
  100% {
    transform: scale(1) translateX(0);
  }
}

@keyframes floating {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

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

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes rotateGlow {
  0% {
    box-shadow: 0 0 20px var(--primary-gold);
  }
  50% {
    box-shadow: 0 0 30px var(--warm-gold), 0 0 40px var(--primary-gold);
  }
  100% {
    box-shadow: 0 0 20px var(--primary-gold);
  }
}

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

/* ===== LOADING SCREEN ===== */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

.loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  animation: floating 2s ease-in-out infinite, rotateGlow 3s ease-in-out infinite;
  margin-bottom: 30px;
}

.loading-text {
  color: var(--deep-brown);
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: var(--text-shadow);
  margin-bottom: 20px;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(124, 79, 41, 0.3);
  border-top: 4px solid var(--deep-brown);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* ===== PARTICLE BACKGROUND ===== */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: radial-gradient(circle, var(--primary-gold) 0%, transparent 70%);
  border-radius: 50%;
  animation: particleFloat 20s infinite linear;
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

/* ===== СТЕКЛЯННЫЕ ЭФФЕКТЫ ===== */
.glass-effect {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* ===== HOVER ЭФФЕКТЫ ===== */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(124, 79, 41, 0.2);
}

.hover-glow {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.hover-glow:hover {
  box-shadow: 0 0 30px rgba(212, 165, 116, 0.6);
  transform: scale(1.05);
}

/* ===== ОБНОВЛЕННЫЕ БАЗОВЫЕ СТИЛИ ===== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  background: linear-gradient(135deg, #F8F6F0 0%, #FFF8F0 100%);
  color: #333;
  max-width: 100vw;
  overflow-x: hidden;
  font-weight: 500;
  position: relative;
}

/* ===== УЛУЧШЕННАЯ ТИПОГРАФИКА ===== */
h1, h2, h3, h4, h5, h6 {
  text-shadow: var(--text-shadow);
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  line-height: 1.3;
}

h3 {
  font-size: clamp(1.2rem, 3vw, 2rem);
  line-height: 1.4;
}

/* ===== SCROLL АНИМАЦИИ ===== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== СУЩЕСТВУЮЩИЕ СТИЛИ С УЛУЧШЕНИЯМИ ===== */
body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #fff;
  color: #000;
  max-width: 100vw;
  overflow-x: hidden;
  font-weight: 500;
}
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  border-bottom: 2px solid var(--warm-gold);
  transition: transform 0.4s cubic-bezier(.4,0,.2,1), box-shadow 0.3s, background 0.3s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  font-family: 'Montserrat', Arial, sans-serif;
  animation: slideInFromTop 0.8s ease-out;
}
.header-hidden {
  transform: translateY(-100%);
  box-shadow: none;
}
header.header-visible {
  box-shadow: 0 2px 16px #0001;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--deep-brown);
  font-weight: bold;
  font-size: 1.3em;
  font-family: 'Montserrat', Arial, sans-serif;
  text-shadow: var(--text-shadow);
  transition: transform 0.3s ease;
}
.logo:hover {
  transform: scale(1.05);
}
.logo img {
  width: 48px;
  height: 48px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--warm-gold);
  box-shadow: 0 4px 15px rgba(212, 165, 116, 0.4);
  transition: box-shadow 0.3s ease;
}
.logo img:hover {
  box-shadow: 0 6px 25px rgba(212, 165, 116, 0.6);
}
nav a {
  margin: 0 12px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
}
nav a:hover, nav a.active {
  color: #fff;
  background: var(--deep-brown);
  box-shadow: 0 4px 15px rgba(124, 79, 41, 0.4);
  transform: translateY(-2px);
}
.lang-switch {
  position: relative;
  margin-left: 20px;
}
.lang-dropdown {
  position: relative;
  display: inline-block;
}
.lang-selected {
  display: flex;
  align-items: center;
  cursor: pointer;
  background: #fff;
  border-radius: 6px;
  padding: 4px 10px;
  box-shadow: 0 2px 8px #0001;
  transition: box-shadow 0.2s;
  z-index: 2;
  font-family: 'Montserrat', Arial, sans-serif;
}
.lang-selected:hover {
  box-shadow: 0 4px 16px #0002;
}
.lang-selected .flag, .lang-option .flag {
  width: auto;
  height: auto;
  max-width: 48px;
  max-height: 36px;
  margin-right: 6px;
  display: block;
}
.lang-selected .arrow {
  font-size: 1em;
  color: #7C4F29;
  margin-left: 4px;
  transition: transform 0.3s;
}
.lang-dropdown.open .arrow {
  transform: rotate(180deg);
}
.lang-options {
  position: absolute;
  top: 110%;
  left: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px #0002;
  min-width: 60px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px) scale(0.98);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 10;
}
.lang-dropdown.open .lang-options {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.lang-option {
  padding: 8px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background 0.2s;
  font-family: 'Montserrat', Arial, sans-serif;
}
.lang-option .flag {
  margin-right: 0;
}
.lang-option:hover {
  background: #E2C29022;
}
.hero {
  position: relative;
  background: url('prado2.jpg') center center/cover no-repeat;
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #b8aea6;
  padding: 24px 0 12px 0;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: url('prado2.jpg') center center/cover no-repeat;
  animation: kenBurns 30s ease-in-out infinite;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
  backdrop-filter: blur(2px);
  padding: 40px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-content h1, .hero-content p, .hero-content a {
  color: #fff;
  text-shadow: 2px 2px 6px #000, 0 0 2px #000, 0 0 1px #000;
}
.hero-content p {
  font-weight: 500;
}
.hero h1 {
  color: #fff;
  text-shadow: 2px 2px 6px #000, 0 0 2px #000, 0 0 1px #000;
  font-size: 2.5em;
  margin-bottom: 1rem;
  transform: translateY(20px);
  opacity: 0;
  animation: slideUp 0.8s ease-out 0.3s forwards;
}
.hero .social-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}
.hero .social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--deep-brown);
  color: #fff;
  padding: 12px 32px;
  border-radius: 30px;
  font-size: 1.2em;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(124, 79, 41, 0.4);
  border: none;
  transition: background 0.3s ease, transform 0.3s ease;
}
.hero .social-link:hover {
  background: var(--warm-gold);
  color: var(--deep-brown);
  transform: translateY(-2px);
}
.hero .social-icon {
  width: 32px;
  height: 32px;
}
.choose-tour-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.tabs-section {
  margin: 40px auto;
  max-width: 800px;
}
.tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}
.tab-btn {
  background: #E2C290;
  color: #7C4F29;
  border: none;
  padding: 12px 24px;
  border-radius: 8px 8px 0 0;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.2s;
}
.tab-btn.active {
  background: #7C4F29;
  color: #fff;
}
.tab-content {
  display: none;
  background: #fff;
  border: 2px solid #E2C290;
  border-radius: 0 0 12px 12px;
  padding: 24px;
}
.tab-content.active {
  display: block;
}
.why-us {
  background: #F5F5F5;
  padding: 40px 20px;
  text-align: center;
}
.why-us h2 {
  color: #7C4F29;
}
.why-us ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}
.why-us li {
  background: #fff;
  border: 1px solid #E2C290;
  border-radius: 10px;
  padding: 16px 24px;
  min-width: 180px;
}
.reviews {
  padding: 40px 20px;
  text-align: center;
}
.reviews-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 24px;
}
.team {
  background: #fff;
  padding: 40px 20px;
  text-align: center;
}
.team-members {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 24px;
}
footer {
  background: #7C4F29;
  color: #fff;
  text-align: center;
  padding: 16px 0;
  margin-top: 40px;
}
.review {
  background: #fff;
  border: 1px solid #E2C290;
  border-radius: 10px;
  padding: 16px;
  margin: 10px;
  max-width: 300px;
  text-align: center;
}
.review img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
/* ===== СОВРЕМЕННЫЕ КАРТОЧКИ КОМАНДЫ ===== */
.member {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.8) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  padding: 32px 24px;
  margin: 15px;
  max-width: 320px;
  min-height: 320px;
  text-align: center;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    0 1px 8px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.member::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(212, 165, 116, 0.1) 0%, 
    rgba(226, 194, 144, 0.05) 50%, 
    rgba(124, 79, 41, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.member:hover::before {
  opacity: 1;
}

.member:hover {
  transform: translateY(-12px) scale(1.04);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.15),
    0 8px 24px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border-color: rgba(212, 165, 116, 0.4);
}

.member-content {
  position: relative;
  z-index: 2;
}

.member-avatar {
  position: relative;
  margin: 0 auto 20px;
  width: 120px;
  height: 120px;
}

.member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.8);
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.member:hover img {
  transform: scale(1.1);
  border-color: rgba(212, 165, 116, 0.8);
  box-shadow: 
    0 12px 32px rgba(0, 0, 0, 0.2),
    0 0 0 8px rgba(212, 165, 116, 0.1);
}

.member-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #ffd700, #ffb347);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
  animation: pulse 2s ease-in-out infinite;
  z-index: 3;
}

.member-info {
  margin-bottom: 24px;
}

.member-name {
  font-size: 1.4em;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 8px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  font-family: 'Montserrat', sans-serif;
}

.member-role {
  color: #718096;
  margin-bottom: 16px;
  font-size: 1.05em;
  font-weight: 500;
}





.member-more-btn {
  background: linear-gradient(135deg, var(--deep-brown), var(--primary-gold));
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95em;
  font-weight: 600;
  width: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(124, 79, 41, 0.3);
}

.member-more-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s;
}

.member-more-btn:hover::before {
  left: 100%;
}

.member-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 79, 41, 0.4);
  background: linear-gradient(135deg, var(--primary-gold), var(--warm-gold));
}

/* ===== АДАПТИВНОСТЬ КАРТОЧЕК КОМАНДЫ ===== */
@media (max-width: 768px) {
  .team-members {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .member {
    max-width: 350px;
    width: 90%;
    margin: 0 auto 20px;
    min-height: 280px;
    padding: 24px 20px;
  }

  .member-avatar {
    width: 100px;
    height: 100px;
  }

  .member img {
    width: 100px;
    height: 100px;
  }

  .member-name {
    font-size: 1.3em;
  }
}

@media (max-width: 480px) {
  .member {
    max-width: 320px;
    padding: 20px 16px;
    min-height: 250px;
  }

  .member-avatar {
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
  }

  .member img {
    width: 80px;
    height: 80px;
  }

  .member-badge {
    width: 28px;
    height: 28px;
    font-size: 14px;
    top: -6px;
    right: -6px;
  }

  .member-name {
    font-size: 1.2em;
  }

  .member-role {
    font-size: 1em;
  }

  .member-more-btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}
.member-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.member-modal.active {
  opacity: 1;
  visibility: visible;
}
.member-modal-content {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s;
}
.member-modal.active .member-modal-content {
  transform: translateY(0);
}
.member-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #7C4F29;
}
.member-modal-header {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}
.member-modal-img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
}
.member-modal-info {
  flex: 1;
}
.member-modal-name {
  font-size: 1.8em;
  font-weight: 600;
  color: #7C4F29;
  margin-bottom: 8px;
}
.member-modal-role {
  font-size: 1.2em;
  color: #666;
  margin-bottom: 16px;
}
.member-modal-social {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.member-modal-section {
  margin-bottom: 24px;
}
.member-modal-section h3 {
  color: #7C4F29;
  margin-bottom: 12px;
  font-size: 1.3em;
}
.member-modal-section p {
  line-height: 1.6;
  color: #444;
}
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.certificate-item {
  border: 1px solid #E2C290;
  border-radius: 8px;
  overflow: hidden;
}
.certificate-item img {
  width: 100%;
  height: auto;
  display: block;
}
.certificate-landscape {
  grid-column: span 2;
}
.certificate-landscape img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
@media (max-width: 768px) {
  .member-modal-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .member-modal-img {
    width: 150px;
    height: 150px;
  }
  .member-modal-social {
    justify-content: center;
  }
  .certificates-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  .certificate-landscape {
    grid-column: span 1;
  }
  .certificate-landscape img {
    height: auto;
  }
}
.about, .tours, .contacts {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: center;
}
.about p, .tours p, .contacts p {
  margin: 20px 0;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
  margin: 0 auto;
}
.contact-form input, .contact-form textarea {
  padding: 10px;
  border: 1px solid #E2C290;
  border-radius: 5px;
}
.contact-form button {
  background: #7C4F29;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
}
.oneday-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 20px;
}
.oneday-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 150px;
  background: #fff;
  border: 1px solid #E2C290;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(124, 79, 41, 0.05);
}
.oneday-item img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}
.details-btn {
  margin-top: 10px;
  background: #7C4F29;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  font-weight: 600;
  transition: background 0.2s;
}
.details-btn:hover {
  background: #E2C290;
  color: #7C4F29;
}
.flag {
  border-radius: 3px;
  border: 2px solid transparent;
  vertical-align: middle;
  transition: border 0.2s;
}
.flag-active {
  border: 2px solid #7C4F29;
  box-shadow: 0 0 6px #7C4F2933;
}
.tour-cards-row {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}
.tour-card {
  background: #fff;
  border: 2px solid #e2c290;
  border-radius: 18px;
  box-shadow: 0 4px 24px #0001;
  padding: 28px 22px 24px 22px;
  max-width: 300px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.3s, transform 0.3s;
}
.tour-card:hover, .tour-card:active {
  box-shadow: 0 8px 32px #e2c29055;
  transform: scale(1.07) translateY(-8px);
  border-color: #7C4F29;
}
.tour-card-img {
  width: 100%;
  max-width: 260px;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.2rem;
}
.tour-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.tour-card p {
  font-size: 1rem;
  margin-bottom: 1.2rem;
  color: #444;
}
.tour-card-text {
  font-size: 1.08rem;
  color: #1a3147;
  font-family: 'Arial', sans-serif;
  line-height: 1.7;
  margin-bottom: 1.1em;
}
.tour-card-place {
  color: #0099FF;
  font-weight: bold;
  font-size: 1.08em;
  display: inline;
}
.details-btn {
  background: #7C4F29;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 28px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px #7C4F2944;
  cursor: pointer;
  display: inline-block;
}
.details-btn:hover {
  background: #E2C290;
  color: #7C4F29;
}
@media (max-width: 1000px) {
  .tour-cards-row {
    flex-wrap: wrap;
  }
}
@media (max-width: 900px) {
  .tour-cards-row {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
  .tour-card {
    max-width: 95vw;
  }
}
.jeep-combo-img {
  position: relative;
  width: 220px;
  height: 180px;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s, transform 0.8s;
}
.tour-card:hover .jeep-combo-img,
.tour-card .jeep-combo-img.visible {
  opacity: 1;
  transform: translateY(0);
}
.jeep-shadow {
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 180px;
  height: 50px;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
}
.jeep-dust {
  position: absolute;
  left: 50%;
  bottom: 30px;
  width: 170px;
  height: 80px;
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
}
.jeep-main {
  position: absolute;
  left: 50%;
  bottom: 40px;
  width: 200px;
  height: 120px;
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
}
@media (max-width: 600px) {
  body {
    font-size: 15px;
  }
  header {
    padding: 10px 4vw;
    justify-content: space-between;
    align-items: center;
  }
  .logo img {
    width: 36px;
    height: 36px;
  }
  .mobile-menu-toggle {
    width: 28px;
    height: 22px;
  }
  .mobile-menu-toggle span {
    height: 2.5px;
  }
  .hero {
    min-height: 60vh;
    padding: 24px 0 12px 0;
  }
  .hero-content h1 {
    font-size: 1.5rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .choose-tour-section {
    padding: 8px 2vw;
  }
  .tour-cards-row {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  .tour-card {
    max-width: 98vw;
    padding: 12px 4vw 18px 4vw;
  }
  .tour-card-img {
    height: 110px;
    max-width: 95vw;
  }
  .details-btn {
    font-size: 1rem;
    padding: 12px 0;
    width: 100%;
    min-height: 44px;
  }
  .why-blocks {
    gap: 14px;
    max-width: 99vw;
  }
  .why-block {
    flex-direction: column;
    align-items: center;
    padding: 12px 2vw 12px 2vw;
    gap: 10px;
    min-width: 0;
    width: 98vw;
    height: auto;
  }
  .why-icon {
    width: 38px;
    height: 38px;
  }
  .why-block-title {
    font-size: 1rem;
  }
  .why-block-desc {
    font-size: 0.95rem;
  }
  .reviews-slider {
    gap: 8px;
    padding: 10px 0 4px 0;
    max-width: 99vw;
  }
  .review-slide {
    flex: 0 0 95vw;
    height: 180px;
    min-width: 0;
    padding: 0;
  }
  .review-img, .review-img-only {
    border-radius: 8px;
  }
  .review-modal-img-only {
    max-width: 98vw;
    max-height: 70vh;
    border-radius: 10px;
  }
  .review-modal-close {
    top: 8px;
    right: 8px;
    font-size: 2rem;
  }
  .team-members {
    flex-direction: column;
    gap: 12px;
  }
  .member img {
    max-width: 90vw;
  }
  footer {
    font-size: 0.95rem;
    padding: 10px 0;
  }
}
.why-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin: 32px auto 0 auto;
  padding: 0;
  list-style: none;
  width: 100%;
  max-width: none;
}
.why-item {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 500;
  color: #7C4F29;
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s, transform 0.7s;
  text-align: center;
  width: 420px;
  max-width: 90vw;
}
.why-item span {
  display: inline-block;
  text-align: left;
}
.why-item .why-icon {
  width: 44px;
  height: 44px;
  margin-right: 18px;
  object-fit: contain;
  flex-shrink: 0;
}
.why-item.visible {
  opacity: 1;
  transform: translateX(0);
}
@media (max-width: 600px) {
  .why-item {
    font-size: 1.05rem;
  }
  .why-item .why-icon {
    width: 32px;
    height: 32px;
    margin-right: 10px;
  }
}
.why-blocks {
  display: flex;
  flex-direction: column;
  gap: 38px;
  max-width: 900px;
  margin: 40px auto 0 auto;
}
.why-block {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px #0001;
  padding: 28px 32px;
  transition: box-shadow 0.3s, transform 0.3s;
  opacity: 0;
  transform: translateY(40px);
}
.why-block.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s, transform 0.7s;
}
.why-block:hover {
  box-shadow: 0 8px 32px #e2c29055;
  transform: translateY(-4px) scale(1.01);
}
.why-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: 4px;
}
.why-text {
  flex: 1 1 0;
  min-width: 0;
}
.why-block-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #222;
}
.why-block-desc {
  font-size: 1.08rem;
  color: #444;
  line-height: 1.5;
  font-weight: 500;
}
@media (max-width: 800px) {
  .why-blocks {
    max-width: 98vw;
    gap: 22px;
  }
  .why-block {
    flex-direction: column;
    align-items: center;
    padding: 18px 10px;
    gap: 16px;
  }
  .why-icon {
    width: 48px;
    height: 48px;
    margin-top: 0;
  }
  .why-block-title {
    font-size: 1.1rem;
  }
  .why-block-desc {
    font-size: 0.98rem;
  }
}
.reviews-slider {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 32px;
  padding: 24px 0 8px 0;
  max-width: 1200px;
  margin: 0 auto;
  scrollbar-width: none;
}
.reviews-slider::-webkit-scrollbar {
  display: none;
}
.review-slide {
  flex: 0 0 340px;
  height: 340px;
  background: #fff;
  border: 2px solid #e2c290;
  border-radius: 18px;
  box-shadow: 0 4px 24px #0001;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s, box-shadow 0.3s;
  cursor: pointer;
}
.review-slide:hover {
  transform: scale(1.08);
  z-index: 2;
  box-shadow: 0 8px 32px #e2c29055;
}
.review-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 1;
}
.review-img-overlay {
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(44,32,12,0.55) 60%, rgba(44,32,12,0.18) 100%);
  z-index: 2;
}
.review-slide p {
  position: relative;
  z-index: 3;
  font-size: 1.18rem;
  color: #fff;
  text-align: center;
  margin: 0;
  padding: 0 18px 22px 18px;
  font-weight: 500;
  text-shadow: 0 2px 8px #000a;
}
@media (max-width: 900px) {
  .reviews-slider {
    gap: 16px;
    max-width: 98vw;
  }
  .review-slide {
    flex: 0 0 85vw;
    min-width: 220px;
    height: 220px;
  }
}
.review-modal-bg {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.85);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s;
  scrollbar-width: none;
}
.review-modal-bg::-webkit-scrollbar {
  display: none;
}
.review-modal {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 32px #0008;
  padding: 48px 32px 36px 32px;
  max-width: 900px;
  width: 90vw;
  max-height: 98vh;
  text-align: center;
  position: relative;
  animation: slideUp 0.4s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}
.review-modal-img {
  width: 100%;
  max-width: 520px;
  height: 380px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 1.5rem;
  border: 2px solid #e2c290;
  box-shadow: 0 4px 24px #0002;
  flex-shrink: 0;
}
.review-modal-text {
  font-size: 1.35rem;
  color: #222;
  margin-bottom: 0.7rem;
  font-weight: 500;
  overflow-y: auto;
  max-height: 38vh;
  width: 100%;
  padding: 0 8px;
}
.review-modal-close {
  position: fixed;
  top: 32px;
  right: 48px;
  font-size: 2.8rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2100;
  transition: color 0.2s;
  line-height: 1;
  text-shadow: 0 2px 8px #000a;
}
.review-modal-close:hover {
  color: #E2C290;
}
@media (max-width: 900px) {
  .review-modal {
    max-width: 98vw;
    width: 98vw;
    padding: 18px 4vw 18px 4vw;
    border-radius: 12px;
    max-height: 98vh;
  }
  .review-modal-img {
    height: 180px;
    max-width: 98vw;
    border-radius: 10px;
  }
  .review-modal-text {
    font-size: 1.05rem;
    max-height: 30vh;
  }
  .review-modal-close {
    top: 12px;
    right: 12px;
    font-size: 2rem;
  }
}
.review-modal-img-only {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 8px 32px #0008;
  display: block;
}
/* Анимация появления карточек туров */
.tour-card-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.tour-card-animate.visible {
  opacity: 1;
  transform: translateY(0);
}
.member-profile {
  max-width: 800px;
  margin: 48px auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px #e2c29033;
  padding: 32px 24px;
}
.member-profile-header {
  display: flex;
  gap: 32px;
  align-items: center;
  margin-bottom: 32px;
}
.member-profile-header img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 2px 12px #e2c29044;
}
.member-profile-header h1 {
  font-size: 2.2em;
  margin-bottom: 0.3em;
  color: #7C4F29;
}
.member-profile-header h2 {
  font-size: 1.2em;
  color: #444;
  margin-bottom: 1em;
}
.member-profile-header p {
  font-size: 1.1em;
  color: #333;
}
@media (max-width: 700px) {
  .member-profile-header {
    flex-direction: column;
    gap: 18px;
    text-align: center;
  }
  .member-profile-header img {
    width: 140px;
    height: 140px;
  }
}
.about-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  background: #222;
}
.about-hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('tourists.jpg') center center/cover no-repeat;
  filter: brightness(0.7);
  z-index: 1;
}
.about-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 600px;
  margin-left: 5vw;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s, transform 1s;
}
.about-hero-content.visible {
  opacity: 1;
  transform: translateY(0);
}
.about-title {
  font-size: 3em;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 2px;
}
.about-desc {
  font-size: 1.2em;
  font-weight: 500;
  line-height: 1.5;
}
.about-section {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 48px 0;
  margin: 0;
  width: 100vw;
  max-width: none;
  min-height: 600px;
  box-sizing: border-box;
}
.about-img-wrap {
  flex: 0 0 50vw;
  width: 100%;
  height: auto;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: hidden;
  background: #fff;
  padding: 0 0 0 4vw;
  box-sizing: border-box;
}
.about-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: block;
  background: #fff;
  position: static;
  transform: none;
}
.about-section-content {
  flex: 1 1 0;
  padding: 0 5vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  box-sizing: border-box;
}
.about-section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}
.about-list {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  padding-left: 1.2em;
}
.about-list li {
  margin-bottom: 0.7em;
}
.about-img-wrap {
  flex: 1 1 320px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 280px;
}
.about-img {
  max-width: 350px;
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 8px 32px #0002;
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s, transform 0.8s;
}
.slide-text {
  flex: 1 1 400px;
  min-width: 320px;
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s, transform 0.8s;
}
.fade-section {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s, transform 1s;
}
.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-section.visible .about-img {
  opacity: 1;
  transform: translateX(0);
}
.fade-section.visible .slide-text {
  opacity: 1;
  transform: translateX(0);
}
@media (max-width: 900px) {
  .about-section {
    flex-direction: column;
    width: 100vw;
    min-height: unset;
    padding: 24px 0;
  }
  .about-img-wrap {
    min-height: 180px;
    height: 220px;
    flex: 1 1 0;
    width: 100vw;
    padding: 0;
    justify-content: center;
  }
  .about-img {
    min-height: 180px;
    height: 100%;
    max-height: 220px;
    width: auto;
    max-width: 98vw;
    margin: 0 auto;
  }
  .about-section-content {
    padding: 18px 4vw;
  }
}
.city-tours-section {
  margin: 48px 0 32px 0;
  max-width: 1200px;
  width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
}
.tour-section-title {
  text-align: left;
  font-size: 2.1rem;
  font-weight: 700;
  color: #2a3a4a;
  margin-bottom: 2.2rem;
  margin-left: 4vw;
}
.city-tour-card {
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 8px 32px #0002;
  padding: 36px 36px 32px 36px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(60px) scale(0.98);
  transition: opacity 0.9s cubic-bezier(.4,0,.2,1), transform 0.9s cubic-bezier(.4,0,.2,1);
  max-width: 900px;
  width: 100%;
  min-width: 0;
  margin-left: auto;
  margin-right: auto;
}
.city-tour-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.city-tour-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.city-tour-title-block {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  font-size: 2.6rem;
  font-weight: 700;
  color: #1a3147;
}
.city-tour-explore {
  font-weight: 700;
  color: #2a3a4a;
  font-size: 2.1rem;
  margin-right: 4px;
}
.city-tour-city {
  font-size: 3.2rem;
  font-weight: 900;
  color: #17608a;
  letter-spacing: 1px;
  margin-right: 4px;
}
.city-tour-quote {
  font-size: 2.2rem;
  color: #2a3a4a;
  font-weight: 400;
}
.city-tour-number {
  font-size: 1.3rem;
  font-weight: 500;
  color: #222;
  margin-top: 10px;
  margin-left: 18px;
}
.city-tour-duration {
  margin-left: auto;
}
.city-tour-duration-circle {
  background: #bfc2c7;
  color: #fff;
  border-radius: 50px;
  padding: 22px 48px 18px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 700;
  font-size: 2.7rem;
  min-width: 200px;
  box-shadow: 0 4px 24px #0002;
  margin-top: 8px;
}
.city-tour-duration-hours {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: -2px;
}
.city-tour-duration-label {
  font-size: 1.4rem;
  font-weight: 500;
  color: #fff;
  margin-top: -2px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.city-tour-fire {
  font-size: 2.1em;
  margin-left: 6px;
  vertical-align: middle;
  filter: drop-shadow(0 2px 4px #0002);
}
.city-tour-desc {
  font-size: 1.2rem;
  color: #2a3a4a;
  margin-bottom: 18px;
  font-weight: 500;
}
.city-tour-text {
  text-align: left;
  line-height: 1.7;
  font-size: 1.13rem;
  color: #1a3147;
  margin-bottom: 18px;
}
.city-tour-text p {
  margin-bottom: 1.2em;
}
.city-tour-img-right {
  float: right;
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 16px;
  margin-left: 18px;
  margin-bottom: 8px;
  box-shadow: 0 2px 12px #0002;
}
.city-tour-img-spices {
  width: 180px;
  height: 90px;
  border-radius: 32px 32px 0 32px;
}
@media (max-width: 900px) {
  .city-tour-card {
    padding: 18px 6vw 18px 6vw;
  }
  .city-tour-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .city-tour-title-block {
    font-size: 1.5rem;
  }
  .city-tour-city {
    font-size: 2.1rem;
  }
  .city-tour-img-right {
    width: 90px;
    height: 90px;
    margin-left: 8px;
  }
  .city-tour-img-spices {
    width: 120px;
    height: 60px;
  }
}
.city-tour-flex-row {
  display: flex;
  gap: 48px;
  margin: 32px 0 18px 0;
  flex-wrap: wrap;
  justify-content: center;
}
.city-tour-prices, .city-tour-includes {
  background: #f7f7f7;
  border-radius: 18px;
  box-shadow: 0 2px 8px #0001;
  padding: 22px 28px 18px 28px;
  min-width: 220px;
  max-width: 420px;
  font-size: 1.08em;
  color: #1a3147;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}
.city-tour-prices.visible, .city-tour-includes.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.city-tour-prices {
  max-width: 600px;
  font-size: 1.01em;
  text-align: left;
}
.city-tour-prices-title {
  text-align: center;
}
.city-tour-includes ul {
  margin: 0;
  padding-left: 18px;
}
.city-tour-highlight {
  color: #17608a;
  font-size: 1.08em;
  margin: 18px 0 0 0;
  font-weight: 600;
}
.city-tour-gallery {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.city-tour-gallery-img {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 2px 8px #0002;
  transition: transform 0.3s;
}
.city-tour-gallery-img:hover {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 8px 24px #17608a22;
}
@media (max-width: 900px) {
  .city-tour-flex-row {
    flex-direction: column;
    gap: 18px;
  }
  .city-tour-gallery-img {
    width: 90px;
    height: 70px;
  }
}
.city-tour-img-animate {
  opacity: 0;
  transform: translateX(40px) scale(0.98);
  transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}
.city-tour-img-animate.visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}
.city-tour2-mainimg-wrap {
  width: 100%;
  min-height: 220px;
  margin: 24px 0 18px 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.city-tour2-mainimg {
  width: 38vw;
  max-width: 420px;
  min-width: 220px;
  height: 220px;
  border-radius: 0 0 0 32px;
}
.city-tour2-apples {
  width: 120px;
  top: -10px;
}
.city-tour2-block {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin: 38px 0 18px 0;
  flex-wrap: wrap;
}
.city-tour2-block-left, .city-tour2-block-right {
  flex: 1 1 320px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.city-tour2-block-img {
  width: 100%;
  max-width: 320px;
  height: 160px;
  object-fit: cover;
  border-radius: 24px;
  margin-bottom: 12px;
  box-shadow: 0 2px 12px #0002;
}
.city-tour2-block-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #2a3a4a;
  margin-bottom: 12px;
  line-height: 1.1;
}
.city-tour2-block-desc {
  font-size: 1.13rem;
  color: #1a3147;
  line-height: 1.6;
}
.city-tour2-gallery {
  display: flex;
  gap: 18px;
  margin: 18px 0 0 0;
  flex-wrap: wrap;
  justify-content: center;
}
.city-tour2-gallery-img {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 2px 8px #0002;
  transition: transform 0.3s;
}
.city-tour2-gallery-img:hover {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 8px 24px #17608a22;
}
.city-tour2-block-reverse {
  flex-direction: row-reverse;
}
@media (max-width: 1200px) {
  .city-tours-section, .city-tour-card {
    max-width: 98vw;
    padding: 0 2vw;
  }
}
@media (max-width: 900px) {
  .city-tours-section, .city-tour-card {
    width: 100vw;
    max-width: 100vw;
    padding: 0 0;
  }
  .city-tour2-mainimg {
    width: 98vw;
    min-width: 0;
    height: 120px;
    border-radius: 0 0 0 18px;
  }
  .city-tour2-apples {
    width: 70px;
    top: -8px;
  }
  .city-tour2-block-img {
    max-width: 100vw;
    height: 80px;
  }
  .city-tour2-gallery-img {
    width: 90vw;
    height: 60vw;
    max-width: 98vw;
    min-width: 0;
  }
}
.tours-modern {
  max-width: 1200px;
  margin: 48px auto 32px auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.tour-modern {
  display: flex;
  align-items: stretch;
  gap: 48px;
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 8px 32px #0002;
  margin-bottom: 48px;
  padding: 0;
  overflow: hidden;
  min-height: 340px;
  position: relative;
}
.tour-modern-odd .tour-modern-img-col { order: 1; }
.tour-modern-odd .tour-modern-text-col { order: 2; }
.tour-modern-even .tour-modern-img-col { order: 2; }
.tour-modern-even .tour-modern-text-col { order: 1; }
.tour-modern-img-col {
  flex: 1 1 380px;
  min-width: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f7f7;
}
.tour-modern-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  background: #f7f7f7;
  transition: opacity 0.7s;
  min-height: 420px;
}

.tour-modern-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(30,40,60,0.18) 40%, rgba(30,40,60,0.45) 100%);
  z-index: 2;
}

.tour-modern-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tour-modern-duration {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.duration-badge {
  background: #e2e2e2;
  border-radius: 24px;
  padding: 8px 24px;
  font-size: 1.3rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 8px #0001;
}

.tour-modern-price-title,
.tour-modern-includes-title {
  margin-top: 24px;
  margin-bottom: 16px;
  font-size: 1.4rem;
  color: #17608a;
  font-weight: 600;
}

.tour-modern-includes-title {
  margin-top: 20px;
}
.tour-modern-text-col {
  flex: 2 1 480px;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 36px 36px 36px;
  margin-bottom: 24px;
}
.tour-modern-title-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.tour-modern-badge {
  background: #e2c290;
  color: #7c4f29;
  font-weight: 700;
  font-size: 1.1em;
  border-radius: 12px;
  padding: 6px 18px;
  margin-right: 8px;
  letter-spacing: 1px;
}
.tour-modern-title {
  font-size: 2.3rem;
  font-weight: 700;
  color: #2a3a4a;
  margin: 0;
}
.tour-modern-title span {
  color: #17608a;
}
.tour-modern-desc {
  font-size: 1.15rem;
  color: #17608a;
  font-weight: 600;
  margin-bottom: 10px;
}
.tour-modern-info {
  font-size: 1.08rem;
  color: #1a3147;
  margin-bottom: 18px;
  line-height: 1.7;
}
.tour-modern-features {
  display: flex;
  gap: 24px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.tour-modern-feature-card {
  background: #f7f7f7;
  border-radius: 18px;
  box-shadow: 0 2px 8px #0001;
  padding: 18px 24px;
  min-width: 140px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.08em;
  color: #1a3147;
  transition: box-shadow 0.2s, transform 0.2s;
}
.tour-modern-feature-card:hover {
  box-shadow: 0 8px 24px #e2c29055;
  transform: translateY(-4px) scale(1.04);
}
.tour-modern-feature-icon {
  font-size: 2.1em;
  margin-right: 6px;
  vertical-align: middle;
}
.tour-modern-feature-title {
  font-weight: 700;
  color: #17608a;
  font-size: 1.08em;
}
.tour-modern-feature-desc {
  font-size: 0.98em;
  color: #444;
}
.tour-modern-gallery-row {
  display: flex;
  gap: 18px;
  margin: 0 0 48px 0;
  flex-wrap: wrap;
  justify-content: center;
}
.tour-modern-gallery-img {
  width: 220px;
  height: 150px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 2px 8px #0002;
  transition: transform 0.3s;
}
.tour-modern-gallery-img:hover {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 8px 24px #17608a22;
}
@media (max-width: 1100px) {
  .tours-modern {
    max-width: 99vw;
    padding: 0 2vw;
  }
  .tour-modern {
    flex-direction: column;
    gap: 0;
    min-height: 0;
  }
  .tour-modern-img-col, .tour-modern-text-col {
    min-width: 0;
    width: 100%;
    padding: 0;
  }
  .tour-modern-img {
    max-width: 98vw;
    height: 240px;
    border-radius: 0;
    min-height: auto;
  }
  .tour-modern-text-col {
    padding: 24px 18px 24px 18px;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .tour-modern-content {
    gap: 8px;
  }
  
  .tour-modern-title-row {
    gap: 12px;
  }
  .tour-modern-duration {
    margin-top: 12px;
  }
  .duration-badge {
    font-size: 1.1rem;
    padding: 6px 18px;
  }
  
  .tour-modern-price-title,
  .tour-modern-includes-title {
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 12px;
  }
  
  .tour-modern-includes-title {
    margin-top: 16px;
  }
  .tour-modern-gallery-img {
    width: 40vw;
    height: 24vw;
    min-width: 120px;
    min-height: 80px;
  }
  
  /* Исправляем позиционирование текста на изображении для мобильных */
  .excharyn-title-anim {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
  }
}
@media (max-width: 700px) {
  .tour-modern-title {
    font-size: 1rem;
  }
  
  .tour-modern-img {
    height: 140px;
  }
  
  .tour-modern-text-col {
    padding: 12px 8px 12px 8px;
  }
  
  .tour-modern-badge {
    font-size: 0.8rem;
    padding: 2px 8px;
  }
  
  .duration-badge {
    font-size: 0.8rem;
    padding: 3px 10px;
  }
  .tour-modern-img {
    height: 180px;
  }
  .tour-modern-text-col {
    padding: 16px 12px 16px 12px;
  }
  .tour-modern-badge {
    font-size: 0.9rem;
    padding: 3px 12px;
  }
  .duration-badge {
    font-size: 0.9rem;
    padding: 4px 14px;
  }
  
  .tour-modern-price-title,
  .tour-modern-includes-title {
    font-size: 1rem;
    margin-top: 14px;
    margin-bottom: 8px;
  }
  
  .tour-modern-includes-title {
    margin-top: 12px;
  }
  .tour-modern-img {
    height: 200px;
  }
  .tour-modern-text-col {
    padding: 20px 16px 20px 16px;
  }
  .tour-modern-badge {
    font-size: 1rem;
    padding: 4px 14px;
  }
  .duration-badge {
    font-size: 1rem;
    padding: 5px 16px;
  }
  
  .tour-modern-price-title,
  .tour-modern-includes-title {
    font-size: 1.1rem;
    margin-top: 16px;
    margin-bottom: 10px;
  }
  
  .tour-modern-includes-title {
    margin-top: 14px;
  }
  .tour-modern-gallery-img {
    width: 90vw;
    height: 60vw;
    max-width: 98vw;
    min-width: 0;
  }
  
  /* Исправляем позиционирование текста на изображении для маленьких экранов */
  .excharyn-title-anim {
    top: 12px;
    left: 12px;
  }
  
  .excharyn-title-text {
    font-size: 1.2rem;
  }
  
  .excharyn-title-text b {
    font-size: 1.4rem;
  }
}
/* Стили для блока с полным прайсом туров */
.tour-modern-full-price {
  max-width: 600px;
  margin: 32px auto;
  padding: 24px;
  background: #f7f7f7;
  border-radius: 18px;
  box-shadow: 0 2px 8px #0001;
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}

.tour-modern-full-price.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.tour-modern-full-price h3 {
  font-size: 1.5rem;
  color: #17608a;
  margin-bottom: 16px;
  text-align: center;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

.price-table th, .price-table td {
  padding: 12px;
  text-align: center;
  border: 1px solid #ddd;
}

.price-table th {
  background-color: #17608a;
  color: white;
}

.price-table tr:nth-child(even) {
  background-color: #f2f2f2;
}

.price-includes {
  font-size: 1rem;
  color: #444;
  text-align: center;
  margin-top: 16px;
}

@media (max-width: 600px) {
  .tour-modern-full-price {
    padding: 16px;
  }
  .price-table th, .price-table td {
    padding: 8px;
  }
}

.tour-modern-price-row {
  display: flex;
  gap: 48px;
  justify-content: center;
  align-items: stretch;
  margin: 32px 0 48px 0;
  background: #f7f7f7;
  border-radius: 18px;
  box-shadow: 0 2px 8px #0001;
  padding: 32px 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}
.tour-modern-price-col, .tour-modern-includes-col {
  flex: 1 1 320px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
}
.tour-modern-price-row.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.tour-modern-price-col h3, .tour-modern-includes-col h3 {
  font-size: 1.2rem;
  color: #17608a;
  margin-bottom: 12px;
  text-align: left;
}
.tour-modern-price-list, .tour-modern-includes-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tour-modern-price-list li {
  font-size: 1.08em;
  color: #1a3147;
  margin-bottom: 8px;
  font-weight: 500;
}
.tour-modern-includes-list li {
  font-size: 1em;
  color: #444;
  margin-bottom: 7px;
  position: relative;
  padding-left: 18px;
}
.tour-modern-includes-list li:before {
  content: '✓';
  color: #17608a;
  position: absolute;
  left: 0;
  font-size: 1em;
  top: 0;
}
@media (max-width: 800px) {
  .tour-modern-price-row {
    flex-direction: column;
    gap: 18px;
    padding: 18px 6vw;
  }
  .tour-modern-price-col, .tour-modern-includes-col {
    min-width: 0;
  }
}
.tour-modern-slider {
  width: 100%;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f7f7;
  border-radius: 0;
  box-shadow: 0 4px 24px #0001;
  overflow: hidden;
}
.tour-modern-slider img, .tour-modern-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  background: #f7f7f7;
  transition: opacity 0.7s;
}
@media (max-width: 1100px) {
  .tour-modern-slider {
    height: 180px;
    border-radius: 0;
  }
  .tour-modern-slider img, .tour-modern-img {
    border-radius: 0;
  }
}
.tour-modern-img-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
  justify-content: stretch;
}
.tour-modern-img-stack .tour-modern-img {
  flex: 1 1 0;
  width: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 2px 8px #0002;
  background: #f7f7f7;
  transition: box-shadow 0.3s, transform 0.3s;
}
.tour-modern-img-stack .tour-modern-img:hover {
  transform: scale(1.04) rotate(-1deg);
  box-shadow: 0 8px 24px #17608a22;
}
@media (max-width: 1100px) {
  .tour-modern-img-stack {
    gap: 10px;
  }
  .tour-modern-img-stack .tour-modern-img {
    border-radius: 10px;
  }
}
/* Анимация для excharyn-title-anim */
.excharyn-title-anim {
  position: absolute;
  top: 32px;
  left: 32px;
  z-index: 3;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(.4,0,.2,1), transform 1.2s cubic-bezier(.4,0,.2,1);
}
.tour-modern.fade-section.visible .excharyn-title-anim {
  opacity: 1;
  transform: translateY(0);
}
.excharyn-title-text {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 4px 24px #0008, 0 2px 8px #0006;
  line-height: 1.1;
  letter-spacing: 1px;
}
.excharyn-title-text b {
  color: #fff;
  font-size: 3.1rem;
  font-weight: 900;
}
@media (max-width: 900px) {
  .excharyn-title-text {
    font-size: 1.4rem;
  }
  .excharyn-title-text b {
    font-size: 1.7rem;
  }
  .excharyn-title-anim {
    left: 12px !important;
    top: 12px !important;
  }
}
.tour-modern-itinerary-card {
  background: #f7f7f7;
  border-radius: 18px;
  box-shadow: 0 2px 8px #0001;
  padding: 32px 36px 28px 36px;
  margin: 32px 0 32px 0;
  max-width: 900px;
  width: 100%;
  font-size: 1.18em;
  line-height: 1.7;
  color: #1a3147;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 900px) {
  .tour-modern-itinerary-card {
    padding: 18px 8vw 18px 8vw;
    max-width: 98vw;
  }
}
.excharyn-full-bg {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  width: 100%;
  overflow: hidden;
}
.excharyn-bg-img {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}
.excharyn-bg-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(120deg, rgba(30,40,60,0.45) 60%, rgba(30,40,60,0.18) 100%);
  z-index: 2;
}
.excharyn-content-on-img {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 48px 36px 48px 48px;
  box-sizing: border-box;
}
.excharyn-title-anim {
  margin-bottom: 18px;
}
.excharyn-info-block {
  background: rgba(255,255,255,0.92);
  border-radius: 18px;
  box-shadow: 0 4px 24px #0001;
  padding: 28px 32px 24px 32px;
  max-width: 540px;
  margin-top: 12px;
}
@media (max-width: 900px) {
  .excharyn-content-on-img {
    padding: 24px 8px 24px 8px;
    align-items: center;
  }
  .excharyn-info-block {
    padding: 16px 10px 14px 10px;
    max-width: 98vw;
  }
} 
.about-main-modern {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  width: 100vw;
  max-width: none;
  min-height: 520px;
  box-sizing: border-box;
  padding: 48px 0;
  background: #fff;
}
.about-main-img-col {
  flex: 0 0 45vw;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-left: 4vw;
  background: #fff;
}
.about-main-img {
  width: 100%;
  max-width: 520px;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 4px 32px #0001;
  background: #fff;
  display: block;
}
.about-main-text-col {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 5vw;
  background: #fff;
}
.about-main-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 2.2rem;
  color: #111;
}
.about-main-list {
  font-size: 1.25rem;
  color: #222;
  list-style: disc inside;
  margin: 0;
  padding: 0 0 0 1.2em;
  line-height: 1.7;
}
.about-main-list li {
  margin-bottom: 1.1em;
}
@media (max-width: 900px) {
  .about-main-modern {
    flex-direction: column;
    min-height: unset;
    padding: 18px 0 32px 0;
  }
  .about-main-img-col {
    flex: 1 1 0;
    width: 100vw;
    padding: 0;
    justify-content: center;
    margin-bottom: 18px;
  }
  .about-main-img {
    max-width: 98vw;
    max-height: 260px;
    border-radius: 12px;
  }
  .about-main-text-col {
    padding: 0 4vw;
  }
  .about-main-title {
    font-size: 2rem;
    margin-bottom: 1.2rem;
  }
  .about-main-list {
    font-size: 1.05rem;
  }
} 
/* --- Оформление секций 'Кто мы' и 'Почему Казахстан' без карточек --- */
.about-flex-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0;
  margin: 48px 0 0 0;
  width: 100vw;
  max-width: none;
  min-height: 420px;
  box-sizing: border-box;
  background: none;
  border-radius: 0;
  box-shadow: none;
}
.about-flex-img-col {
  flex: 0 0 50vw;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  padding-left: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}
.about-flex-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  background: none;
  display: block;
  min-height: 420px;
  max-width: 100%;
  max-height: 100%;
}
.about-flex-text-col {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 5vw;
  background: none;
}
.about-flex-title-row {
  margin-bottom: 18px;
}
.about-flex-title {
  font-size: 2.3rem;
  font-weight: 700;
  color: #2a3a4a;
  margin: 0;
}
.about-flex-desc {
  font-size: 1.15rem;
  color: #17608a;
  font-weight: 600;
  margin-bottom: 10px;
}
.about-flex-info {
  font-size: 1.08rem;
  color: #1a3147;
  margin-bottom: 18px;
  line-height: 1.7;
}
@media (max-width: 900px) {
  .about-flex-row {
    flex-direction: column;
    min-height: unset;
    padding: 0;
    width: 100vw;
  }
  .about-flex-img-col {
    flex: 1 1 0;
    width: 100vw;
    padding: 0;
    justify-content: center;
    margin-bottom: 18px;
  }
  .about-flex-img {
    max-width: 98vw;
    max-height: 260px;
    min-height: 180px;
    border-radius: 14px;
  }
  .about-flex-text-col {
    padding: 0 4vw 24px 4vw;
  }
  .about-flex-title {
    font-size: 2rem;
    margin-bottom: 1.2rem;
  }
} 
.tour-modern-details {
  margin-bottom: 48px;
}

/* Портфолио Эльдара */
.eldar-portfolio-slider::-webkit-scrollbar {
  display: none;
}
.eldar-portfolio-item:hover {
  transform: scale(1.08);
  z-index: 2;
  box-shadow: 0 8px 32px #e2c29055;
}
@media (max-width: 900px) {
  .eldar-portfolio-slider {
    gap: 16px;
    max-width: 98vw;
  }
  .eldar-portfolio-item {
    flex: 0 0 85vw;
    min-width: 220px;
    height: 220px;
  }
}

/* ===== СОВРЕМЕННЫЕ СТИЛИ ГАЛЕРЕИ ===== */

/* Основная секция галереи */
.modern-gallery {
  min-height: 100vh;
  background: var(--gradient-bg);
  position: relative;
  overflow: hidden;
}

.modern-gallery .particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Hero секция галереи */
.gallery-modern-hero {
  padding: 100px 20px 60px;
  text-align: center;
  background: none;
  backdrop-filter: none;
  position: relative;
  overflow: hidden;
}

/* Убираем наследование ::after от общего .hero класса */
.gallery-modern-hero::after {
  display: none;
}

.gallery-modern-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('kazakhstan1.jpg') center/cover;
  animation: kenBurns 20s ease-in-out infinite;
  z-index: -1;
  opacity: 0.8;
}

.gallery-modern-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: white;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  animation: fadeInUp 1s ease-out;
}

.gallery-modern-hero p {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: white;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out 0.3s both;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--shimmer);
  transition: left 0.5s;
}

.filter-btn:hover::before {
  left: 100%;
}

.filter-btn:hover,
.filter-btn.active {
  background: #333;
  color: white;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Контейнер галереи */
.gallery-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
}

/* Masonry Grid */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 60px;
}

/* Элементы галереи */
.gallery-modern-item {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  /* Обеспечиваем видимость элементов по умолчанию */
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.gallery-modern-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.gallery-modern-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-modern-item:hover img {
  transform: scale(1.1);
}

/* Overlay эффект */
.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.8) 100%
  );
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.4s ease;
  color: white;
  text-align: center;
  padding: 20px;
}

.gallery-modern-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.gallery-item-desc {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 15px;
}

.gallery-item-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.gallery-item-btn:hover {
  background: white;
  color: #333;
  transform: scale(1.05);
}

/* Видео секция */
.gallery-videos-modern {
  margin: 80px auto 40px auto;
  padding: 60px 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 250, 252, 0.6) 100%);
  backdrop-filter: blur(20px);
  border-radius: 30px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  max-width: 1400px;
  display: block;
  visibility: visible;
}

.gallery-videos-modern h2 {
  text-align: center;
  color: #2d3748;
  margin-bottom: 50px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  padding: 0 20px;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 10px;
  }
  
  .video-modern-item video {
    height: 200px;
  }
  
  .video-modern-item::before {
    font-size: 2.5rem;
  }
  
  .gallery-videos-modern {
    margin-top: 40px;
    padding: 40px 10px;
  }
}

.video-modern-item {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(212, 165, 116, 0.3);
  cursor: pointer;
  position: relative;
  display: block;
  visibility: visible;
}

.video-modern-item::before {
  content: '▶️';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  z-index: 2;
  opacity: 0.8;
  transition: all 0.3s ease;
  pointer-events: none;
}

.video-modern-item:hover::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.2);
}

.video-modern-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.video-modern-item video {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
  display: block !important;
  visibility: visible !important;
}

.video-modern-item video::-webkit-media-controls {
  display: flex !important;
}

.video-modern-item video::-webkit-media-controls-panel {
  background: rgba(0, 0, 0, 0.8);
}

.video-item-info {
  padding: 24px;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.8));
}

.video-item-title {
  color: #2d3748;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-family: 'Montserrat', sans-serif;
}

.video-item-desc {
  color: #4a5568;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Модальное окно */
.gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.gallery-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  max-width: 80vw;
  max-height: 80vh;
  position: relative;
  animation: fadeInUp 0.5s ease-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content img,
.modal-content video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: bold;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1) rotate(90deg);
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.modal-nav:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

/* Адаптивность для модального окна галереи */
@media (max-width: 768px) {
  .modal-content {
    max-width: 95vw;
    max-height: 70vh;
    margin: 0 10px;
  }
  
  .modal-content img,
  .modal-content video {
    max-height: 70vh;
    border-radius: 10px;
  }
  
  .modal-close {
    top: -40px;
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
  }
  
  .modal-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

.modal-prev {
  left: -80px;
}

.modal-next {
  right: -80px;
}

/* Адаптивность */
@media (max-width: 768px) {
  .gallery-masonry {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .video-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .gallery-filters {
    gap: 10px;
  }
  
  .filter-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .modal-prev {
    left: -60px;
  }
  
  .modal-next {
    right: -60px;
  }
  
  .modal-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .gallery-modern-hero {
    padding: 80px 15px 40px;
  }
}

@media (max-width: 480px) {
  .modal-prev,
  .modal-next {
    display: none;
  }
  
  .gallery-container {
    padding: 20px 15px;
  }
  
  .gallery-videos-modern {
    padding: 40px 20px;
    margin: 20px auto;
    border-radius: 20px;
    max-width: 1200px;
    display: block !important;
    visibility: visible !important;
  }
}

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

.profile-page {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 100vh;
}

/* Hero Section */
.profile-hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

.profile-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.profile-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  animation: kenBurns 20s ease-in-out infinite;
}

.profile-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg, 
    rgba(0, 0, 0, 0.6) 0%, 
    rgba(124, 79, 41, 0.3) 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
  z-index: 2;
}

.profile-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 0 20px;
  animation: fadeInUp 1s ease-out;
}

.profile-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--warm-gold), var(--primary-gold));
  color: var(--deep-brown);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.9em;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(212, 165, 116, 0.4);
  animation: pulse 2s ease-in-out infinite;
}

.profile-title {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  margin-bottom: 10px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
  font-family: 'Montserrat', sans-serif;
}

.profile-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 600;
  margin-bottom: 30px;
  opacity: 0.9;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.profile-highlight {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.highlight-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
  min-width: 120px;
}

.highlight-item:hover {
  transform: translateY(-5px) scale(1.05);
}

.highlight-number {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--warm-gold);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 5px;
}

.highlight-label {
  display: block;
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  font-weight: 600;
  opacity: 0.9;
}

/* Profile Content */
.profile-content {
  padding: 80px 0;
  position: relative;
  z-index: 2;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

/* Profile Cards */
.profile-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.1),
    0 1px 8px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(212, 165, 116, 0.05) 0%, 
    rgba(226, 194, 144, 0.02) 50%, 
    rgba(124, 79, 41, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.profile-card:hover::before {
  opacity: 1;
}

.profile-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.15),
    0 8px 24px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border-color: rgba(212, 165, 116, 0.3);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--warm-gold), var(--primary-gold));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 16px rgba(212, 165, 116, 0.3);
}

.card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2d3748;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
}

.card-content {
  position: relative;
  z-index: 2;
}

.card-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4a5568;
  margin-bottom: 20px;
}

/* Expertise Tags */
.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tag {
  background: rgba(212, 165, 116, 0.15);
  color: var(--deep-brown);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(212, 165, 116, 0.2);
  transition: all 0.3s ease;
}

.tag:hover {
  background: var(--warm-gold);
  color: white;
  transform: translateY(-2px);
}

/* Certificates Grid */
.certificates-modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.certificate-modern-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.certificate-modern-item:hover {
  transform: scale(1.05);
}

.cert-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.cert-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 12px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.certificate-modern-item:hover .cert-overlay {
  transform: translateY(0);
}

.cert-title {
  font-size: 0.85rem;
  font-weight: 600;
}

/* New Certificates Showcase */
.certificates-showcase {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.certificate-showcase-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  border: 2px solid rgba(212, 165, 116, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.certificate-showcase-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.05), rgba(226, 194, 144, 0.02));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.certificate-showcase-item:hover::before {
  opacity: 1;
}

.certificate-showcase-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  border-color: rgba(212, 165, 116, 0.4);
}

.cert-preview {
  position: relative;
  flex-shrink: 0;
  width: 120px;
  height: 90px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

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

.certificate-showcase-item:hover .cert-showcase-img {
  transform: scale(1.1);
}

.cert-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cert-info {
  flex: 1;
  position: relative;
  z-index: 2;
}

.cert-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2d3748;
  margin: 0 0 8px 0;
  font-family: 'Montserrat', sans-serif;
}

.cert-description {
  font-size: 1rem;
  color: #4a5568;
  margin: 0 0 12px 0;
  line-height: 1.5;
}

.cert-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #10B981, #059669);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

@media (max-width: 768px) {
  .certificate-showcase-item {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 20px 16px;
  }
  
  .cert-preview {
    width: 140px;
    height: 105px;
  }
}

/* Contact Methods */
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.contact-method:hover {
  background: rgba(212, 165, 116, 0.1);
  transform: translateX(8px);
  border-color: rgba(212, 165, 116, 0.3);
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--warm-gold), var(--primary-gold));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
}

.contact-info {
  flex: 1;
}

.contact-label {
  display: block;
  font-size: 0.85rem;
  color: #718096;
  margin-bottom: 2px;
  font-weight: 600;
}

.contact-value {
  display: block;
  font-size: 1rem;
  color: #2d3748;
  font-weight: 600;
}

/* Skills List */
.skill-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skill-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.skill-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--warm-gold), var(--primary-gold));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
  flex-shrink: 0;
}

.skill-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2d3748;
  margin: 0 0 4px 0;
}

.skill-info p {
  font-size: 0.95rem;
  color: #718096;
  margin: 0;
}

/* Portfolio Section */
.portfolio-section,
.vehicle-section {
  margin-top: 60px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #2d3748;
  text-align: center;
  margin-bottom: 40px;
  font-family: 'Montserrat', sans-serif;
  position: relative;
}

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

.portfolio-grid,
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.portfolio-item,
.vehicle-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover,
.vehicle-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.portfolio-img,
.vehicle-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-img,
.vehicle-item:hover .vehicle-img {
  transform: scale(1.1);
}

.portfolio-overlay,
.vehicle-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  color: white;
  padding: 24px;
  transform: translateY(30%);
  transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay,
.vehicle-item:hover .vehicle-overlay {
  transform: translateY(0);
}

.portfolio-title,
.vehicle-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 8px 0;
}

.portfolio-desc,
.vehicle-desc {
  font-size: 0.95rem;
  opacity: 0.9;
  margin: 0 0 12px 0;
}

.vehicle-specs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.spec {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Адаптивность */
@media (max-width: 768px) {
  .profile-hero {
    height: 60vh;
    min-height: 400px;
  }

  .profile-highlight {
    gap: 20px;
  }

  .highlight-item {
    padding: 16px;
  }

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

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

  .profile-card {
    padding: 24px;
  }

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

  .portfolio-grid,
  .vehicle-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .profile-hero-content {
    padding: 0 16px;
  }

  .profile-highlight {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .highlight-item {
    padding: 12px 20px;
  }

  .profile-card {
    padding: 20px;
    margin: 0 16px;
  }

  .card-header {
    gap: 12px;
  }

  .card-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .card-title {
    font-size: 1.2rem;
  }

  .portfolio-grid,
  .vehicle-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 16px;
  }
}

/* ===== СОВРЕМЕННАЯ СТРАНИЦА О НАС ===== */

.about-page {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 100vh;
}

/* Modern Hero Section */
.about-modern-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

.about-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.about-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  animation: kenBurns 25s ease-in-out infinite;
}

.about-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg, 
    rgba(0, 0, 0, 0.7) 0%, 
    rgba(124, 79, 41, 0.4) 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
  z-index: 2;
}

.about-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  max-width: 900px;
  padding: 0 20px;
  animation: fadeInUp 1s ease-out;
}

.about-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--warm-gold), var(--primary-gold));
  color: var(--deep-brown);
  padding: 10px 24px;
  border-radius: 25px;
  font-size: 0.95em;
  font-weight: 700;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(212, 165, 116, 0.4);
  animation: pulse 2s ease-in-out infinite;
}

.about-hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
  font-family: 'Montserrat', sans-serif;
  line-height: 1.1;
}

.about-hero-desc {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  line-height: 1.6;
  margin-bottom: 40px;
  opacity: 0.95;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.about-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
  min-width: 120px;
}

.stat-item:hover {
  transform: translateY(-5px) scale(1.05);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--warm-gold);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 5px;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--warm-gold);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Modern Sections */
.about-modern-section {
  padding: 100px 0;
  position: relative;
}

.about-section-alt {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.5) 0%, 
    rgba(248, 250, 252, 0.8) 100%);
}

.about-section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-section-alt .about-section-container {
  display: flex;
  flex-direction: row;
  gap: 80px;
  align-items: center;
}

/* Content Cards */
.about-content-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
  backdrop-filter: blur(20px);
  border-radius: 32px;
  padding: 48px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.1),
    0 8px 24px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-content-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(212, 165, 116, 0.03) 0%, 
    rgba(226, 194, 144, 0.01) 50%, 
    rgba(124, 79, 41, 0.03) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.about-content-card:hover::before {
  opacity: 1;
}

.about-content-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 30px 80px rgba(0, 0, 0, 0.15),
    0 12px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border-color: rgba(212, 165, 116, 0.3);
}

.about-card-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
}

.about-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--warm-gold), var(--primary-gold));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 8px 24px rgba(212, 165, 116, 0.3);
}

.about-section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #2d3748;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
}

.about-card-content {
  position: relative;
  z-index: 2;
}

.about-section-desc {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #4a5568;
  margin-bottom: 32px;
  font-weight: 500;
}

/* Features Grid */
  .about-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  justify-items: center;
  align-items: center;
  width: 100%;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.feature-item:hover {
  background: rgba(212, 165, 116, 0.1);
  transform: translateX(8px);
  border-color: rgba(212, 165, 116, 0.3);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--warm-gold), var(--primary-gold));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
}

.feature-content {
  flex: 1;
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2d3748;
  margin: 0 0 6px 0;
  font-family: 'Montserrat', sans-serif;
}

.feature-desc {
  font-size: 0.95rem;
  color: #4a5568;
  margin: 0;
  line-height: 1.5;
}

/* Image Cards */
.about-image-card {
  position: relative;
}

.about-image-container {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  height: 500px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
}

.about-image-container:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.about-section-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.about-image-container:hover .about-section-img {
  transform: scale(1.1);
}

.about-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 32px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.about-image-container:hover .about-image-overlay {
  transform: translateY(0);
}

.overlay-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  font-family: 'Montserrat', sans-serif;
}

.overlay-content p {
  font-size: 1rem;
  margin: 0;
  opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .about-section-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .about-content-card {
    padding: 36px;
  }
  
  .about-icon {
    width: 56px;
    height: 56px;
    font-size: 28px;
  }
  
  .about-section-title {
    font-size: 1.9rem;
  }
}

/* ===== СТИЛИ ДЛЯ КОМАНДЫ И МОДАЛЬНЫХ ОКОН ===== */

/* Секция команды */
.team {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.team h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--deep-brown);
  margin-bottom: 60px;
}

/* Участники команды */
.team-members {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.member {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  max-width: 350px;
  cursor: pointer;
}

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

.member-content {
  text-align: center;
}

.member-avatar {
  position: relative;
  margin-bottom: 20px;
}

.member-avatar img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-gold);
}

.member-badge {
  position: absolute;
  bottom: 0;
  right: 10px;
  background: var(--primary-gold);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.member-info h3 {
  color: var(--deep-brown);
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.member-info p {
  color: #666;
  margin-bottom: 20px;
}

.member-more-btn {
  background: var(--primary-gold);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.member-more-btn:hover {
  background: var(--deep-brown);
  transform: scale(1.05);
}

/* ===== БОЛЬШИЕ МОДАЛЬНЫЕ ОКНА ===== */
.big-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  overflow-y: auto;
}

.big-modal-content {
  background: white;
  margin: 1% auto;
  padding: 0;
  border-radius: 25px;
  width: 95%;
  max-width: 1400px;
  position: relative;
  animation: fadeInUp 0.4s ease;
  overflow: hidden;
}

.big-modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 35px;
  font-weight: bold;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  color: var(--deep-brown);
  z-index: 1001;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.big-modal-close:hover {
  background: var(--primary-gold);
  color: white;
  transform: scale(1.1);
}

/* Секция информации о гиде */
.guide-info-section {
  display: flex;
  gap: 40px;
  padding: 40px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 4px solid var(--primary-gold);
}

.guide-basic-info {
  flex: 1;
  display: flex;
  gap: 25px;
  align-items: center;
}

.guide-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--primary-gold);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.guide-details h2 {
  color: var(--deep-brown);
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.guide-role {
  color: var(--primary-gold);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.guide-exp {
  color: #555;
  font-size: 1.1rem;
  line-height: 1.6;
}

.guide-contacts {
  flex: 0 0 350px;
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.guide-contacts h3 {
  color: var(--deep-brown);
  font-size: 1.4rem;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--primary-gold);
  padding-bottom: 10px;
}

.contact-list div {
  padding: 12px 0;
  color: #555;
  font-size: 1.1rem;
  border-bottom: 1px solid #eee;
}

.contact-list div:last-child {
  border-bottom: none;
}

/* ===== БОЛЬШАЯ СЕКЦИЯ СЕРТИФИКАТОВ ===== */
.big-certificates-section {
  padding: 50px 40px;
  background: white;
}

.big-certificates-section h3 {
  text-align: center;
  font-size: 2.2rem;
  color: var(--deep-brown);
  margin-bottom: 50px;
  position: relative;
}

.big-certificates-section h3::after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background: var(--primary-gold);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* Большой слайдер сертификатов */
.big-cert-slider {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
}

.big-cert-display {
  flex: 1;
  position: relative;
  min-height: 500px;
  background: #f8f9fa;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.big-cert-slide {
  display: none;
  padding: 40px;
  text-align: center;
  height: 500px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.big-cert-slide.active {
  display: flex;
}

.big-cert-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.big-cert-image img {
  max-width: 100%;
  max-height: 400px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  background: white;
  padding: 20px;
}

.big-cert-text {
  flex: 0 0 300px;
  text-align: left;
  padding: 20px;
}

.big-cert-text h4 {
  color: var(--deep-brown);
  font-size: 1.8rem;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--primary-gold);
  padding-bottom: 10px;
}

.big-cert-text p {
  color: #666;
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

.cert-status {
  background: #28a745;
  color: white;
  padding: 12px 20px;
  border-radius: 25px;
  font-size: 1.1rem;
  font-weight: 600;
  display: inline-block;
}

/* Кнопки навигации */
.big-nav-btn {
  background: var(--primary-gold);
  color: white;
  border: none;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(212, 165, 116, 0.4);
  flex-shrink: 0;
}

.big-nav-btn:hover {
  background: var(--deep-brown);
  transform: scale(1.15);
  box-shadow: 0 12px 35px rgba(212, 165, 116, 0.6);
}

.big-nav-btn:active {
  transform: scale(1.05);
}

/* Большие точки навигации */
.big-dots {
  text-align: center;
  margin-top: 30px;
}

.big-dot {
  height: 20px;
  width: 20px;
  margin: 0 10px;
  background-color: #ddd;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.big-dot.active,
.big-dot:hover {
  background-color: var(--primary-gold);
  transform: scale(1.3);
}

.big-dot::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 2px solid transparent;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.big-dot.active::before {
  border-color: var(--primary-gold);
}

/* Футер модального окна */
.modal-footer {
  text-align: center;
  padding: 30px 40px;
  background: #f8f9fa;
  border-top: 1px solid #eee;
}

.full-page-btn {
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--warm-gold) 100%);
  color: white;
  border: none;
  padding: 18px 40px;
  border-radius: 35px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}

  .full-page-btn:hover {
    background: linear-gradient(135deg, var(--deep-brown) 0%, var(--primary-gold) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(212, 165, 116, 0.5);
  }

/* ===== НОВЫЕ СТИЛИ ДЛЯ СТРАНИЦ ПРОФИЛЕЙ ===== */

/* Новая Hero секция */
.profile-hero-new {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0;
  border-bottom: 4px solid var(--primary-gold);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 60px;
  align-items: center;
}

.hero-left {
  flex: 0 0 300px;
}

.hero-avatar {
  position: relative;
  width: 250px;
  height: 250px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--primary-gold);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: var(--primary-gold);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border: 4px solid white;
}

.hero-right {
  flex: 1;
}

.hero-name {
  font-size: 3rem;
  color: var(--deep-brown);
  margin-bottom: 15px;
  font-weight: 800;
}

.hero-role {
  font-size: 1.5rem;
  color: var(--primary-gold);
  margin-bottom: 25px;
  font-weight: 600;
}

.hero-experience {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 35px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 35px;
}

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

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 1rem;
  color: var(--warm-gold);
  font-weight: 500;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skill-tag {
  background: white;
  color: var(--deep-brown);
  padding: 10px 16px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--primary-gold);
}

/* ===== БОЛЬШАЯ СЕКЦИЯ СЕРТИФИКАТОВ ДЛЯ СТРАНИЦ ===== */
.big-certificates-section-page {
  padding: 80px 0;
  background: white;
}

.certificates-header {
  text-align: center;
  margin-bottom: 60px;
}

.certificates-title {
  font-size: 2.8rem;
  color: var(--deep-brown);
  margin-bottom: 20px;
  font-weight: 800;
}

.certificates-subtitle {
  font-size: 1.3rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.big-certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 50px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.big-cert-card {
  background: #f8f9fa;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 3px solid transparent;
}

.big-cert-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-gold);
}

.cert-image-wrapper {
  position: relative;
  height: 350px;
  overflow: hidden;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.big-cert-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.big-cert-image:hover {
  transform: scale(1.05);
}

.cert-zoom-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--primary-gold);
  color: white;
  padding: 12px 20px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(10px);
}

.cert-image-wrapper:hover .cert-zoom-btn {
  opacity: 1;
  transform: translateY(0);
}

.cert-zoom-btn:hover {
  background: var(--deep-brown);
  transform: scale(1.05);
}

.cert-details {
  padding: 30px;
}

.cert-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.cert-title {
  font-size: 1.8rem;
  color: var(--deep-brown);
  font-weight: 700;
  flex: 1;
}

.cert-status-badge {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
}

.cert-status-badge.valid {
  background: #28a745;
  color: white;
}

.cert-description {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 25px;
}

.cert-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cert-feature {
  background: white;
  color: var(--deep-brown);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid var(--primary-gold);
}

/* ===== МОДАЛЬНЫЕ ОКНА СЕРТИФИКАТОВ ===== */
.cert-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow-y: auto;
}

.cert-modal-content {
  background: white;
  margin: 2% auto;
  padding: 0;
  border-radius: 20px;
  width: 90%;
  max-width: 1000px;
  position: relative;
  animation: fadeInUp 0.3s ease;
  overflow: hidden;
}

.cert-modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 2001;
  background: rgba(0, 0, 0, 0.5);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.cert-modal-close:hover {
  background: var(--primary-gold);
  transform: scale(1.1);
}

.cert-modal-image {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  background: white;
}

.cert-modal-info {
  padding: 30px;
  background: white;
}

.cert-modal-info h3 {
  font-size: 2rem;
  color: var(--deep-brown);
  margin-bottom: 15px;
}

.cert-modal-info p {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.6;
}

/* ===== СЕКЦИЯ КОНТАКТОВ ===== */
.contact-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-card {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 3px solid transparent;
}

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

.contact-card.whatsapp:hover {
  border-color: #25D366;
}

.contact-card.email:hover {
  border-color: #007BFF;
}

.contact-card.instagram:hover {
  border-color: #E4405F;
}

.contact-card.phone:hover {
  border-color: #28a745;
}

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

/* Стили для иконок в контактных карточках профилей */
.contact-card .social-icon {
  width: 48px;
  height: 48px;
  transition: transform 0.3s ease;
}

.contact-card:hover .social-icon {
  transform: scale(1.1);
}

.contact-card .contact-title {
  font-size: 1.5rem;
  color: var(--deep-brown);
  margin-bottom: 10px;
  font-weight: 700;
}

.contact-card .contact-value {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 15px;
}

.contact-action {
  display: inline-block;
  background: var(--primary-gold);
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-card:hover .contact-action {
  background: var(--deep-brown);
  transform: scale(1.05);
}

/* ===== РЕСПОНСИВНОСТЬ ДЛЯ НОВЫХ ЭЛЕМЕНТОВ ===== */
@media (max-width: 1024px) {
  .hero-container {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }
  
  .hero-left {
    flex: none;
  }
  
  .hero-avatar {
    width: 200px;
    height: 200px;
  }
  
  .hero-name {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .big-certificates-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .profile-hero-new {
    padding: 60px 0;
  }
  
  .hero-avatar {
    width: 180px;
    height: 180px;
  }
  
  .hero-name {
    font-size: 2rem;
  }
  
  .hero-role {
    font-size: 1.3rem;
  }
  
  .hero-experience {
    font-size: 1.1rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .certificates-title {
    font-size: 2.2rem;
  }
  
  .certificates-subtitle {
    font-size: 1.1rem;
  }
  
  .big-certificates-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 15px;
  }
  
  .big-cert-card {
    border-radius: 15px;
  }
  
  .cert-image-wrapper {
    height: 250px;
    padding: 20px;
  }
  
  .cert-details {
    padding: 20px;
  }
  
  .cert-title {
    font-size: 1.5rem;
  }
  
  .cert-header {
    flex-direction: column;
    gap: 15px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }
  
  .contact-card {
    padding: 30px 20px;
  }
  
  .cert-modal-content {
    width: 95%;
    margin: 5% auto;
  }
  
  .cert-modal-info {
    padding: 20px;
  }
  
  .cert-modal-info h3 {
    font-size: 1.5rem;
  }
  
  .cert-modal-info p {
    font-size: 1rem;
  }
}

/* ===== РЕСПОНСИВНОСТЬ ДЛЯ БОЛЬШИХ МОДАЛЬНЫХ ОКОН ===== */

@media (max-width: 1200px) {
  .big-cert-slide {
    flex-direction: column;
    height: auto;
    min-height: 600px;
    padding: 30px;
    gap: 30px;
  }
  
  .big-cert-text {
    flex: none;
    text-align: center;
  }
  
  .big-cert-image img {
    max-height: 350px;
  }
}

@media (max-width: 1024px) {
  .guide-info-section {
    flex-direction: column;
    gap: 30px;
    padding: 30px;
  }
  
  .guide-contacts {
    flex: none;
  }
  
  .big-modal-content {
    width: 98%;
    margin: 2% auto;
  }
  
  .big-certificates-section {
    padding: 40px 30px;
  }
  
  .big-cert-slider {
    gap: 20px;
  }
  
  .big-nav-btn {
    width: 60px;
    height: 60px;
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  .team-members {
    flex-direction: column;
    align-items: center;
  }
  
  .member {
    max-width: 100%;
    width: 100%;
  }
  
  .big-modal-content {
    width: 100%;
    margin: 0;
    border-radius: 0;
    height: 100vh;
    overflow-y: auto;
  }
  
  .guide-info-section {
    padding: 20px;
  }
  
  .guide-basic-info {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .guide-avatar {
    width: 100px;
    height: 100px;
  }
  
  .guide-details h2 {
    font-size: 1.8rem;
  }
  
  .guide-role {
    font-size: 1.1rem;
  }
  
  .guide-exp {
    font-size: 1rem;
  }
  
  .guide-contacts {
    margin-top: 20px;
  }
  
  .big-certificates-section {
    padding: 30px 20px;
  }
  
  .big-certificates-section h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  
  .big-cert-slider {
    flex-direction: column;
    gap: 20px;
  }
  
  .big-cert-display {
    min-height: 400px;
  }
  
  .big-cert-slide {
    min-height: 400px;
    padding: 20px;
    gap: 20px;
  }
  
  .big-cert-image img {
    max-height: 250px;
    padding: 15px;
  }
  
  .big-cert-text h4 {
    font-size: 1.4rem;
  }
  
  .big-cert-text p {
    font-size: 1rem;
  }
  
  .big-nav-btn {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }
  
  .big-dots {
    margin-top: 20px;
  }
  
  .big-dot {
    height: 15px;
    width: 15px;
    margin: 0 8px;
  }
  
  .modal-footer {
    padding: 20px;
  }
  
  .full-page-btn {
    padding: 15px 30px;
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .about-modern-section {
    padding: 60px 0;
  }
  
  .about-section-container {
    padding: 0 15px;
    gap: 40px;
    flex-direction: column;
  }
  
  .about-image-card {
    order: 1;
  }
  
  .about-content-card {
    order: 2;
  }
  
  /* Исправляем порядок для альтернативной секции */
  .about-section-alt .about-section-container {
    flex-direction: column;
  }
  
  .about-section-alt .about-image-card {
    order: 1;
  }
  
  .about-section-alt .about-content-card {
    order: 2;
  }
  
  .about-content-card {
    padding: 28px;
  }
  
  .about-card-header {
    gap: 16px;
    margin-bottom: 24px;
  }
  
  .about-icon {
    width: 48px;
    height: 48px;
    font-size: 24px;
  }
  
  .about-section-title {
    font-size: 1.6rem;
  }
  
  .about-section-desc {
    font-size: 1.05rem;
    margin-bottom: 24px;
  }
  
  .feature-item {
    padding: 16px;
    flex-direction: column;
    text-align: center;
    gap: 12px;
    background: rgba(212, 165, 116, 0.1) !important;
    border: 2px solid rgba(212, 165, 116, 0.3) !important;
  }
  
  .feature-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
    margin: 0 auto;
  }
  
  .feature-content {
    text-align: center;
  }
  
  .feature-title {
    font-size: 1rem;
    margin-bottom: 8px;
  }
  
  .feature-desc {
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  .about-image-container {
    height: 350px;
  }
  
  .about-stats {
    gap: 20px;
  }
  
  .stat-item {
    padding: 16px 20px;
    min-width: 100px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

/* Переключатель типов контента (фото/видео) */
.gallery-type-switch {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin: 30px 0;
  padding: 10px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50px;
  backdrop-filter: blur(20px);
  border: 2px solid rgba(212, 165, 116, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.type-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  background: transparent;
  color: #666;
  cursor: pointer;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.type-btn:hover {
  background: rgba(212, 165, 116, 0.1);
  color: #d4a574;
  transform: translateY(-2px);
}

.type-btn.active {
  background: #d4a574;
  color: white;
  box-shadow: 0 5px 15px rgba(212, 165, 116, 0.4);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .gallery-type-switch {
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    max-width: 300px;
  }
  
  .type-btn {
    justify-content: center;
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* Скрытие фильтров при просмотре видео */
.gallery-filters.hidden {
  display: none !important;
}

/* Современная галерея с белым фоном */
.gallery-page {
  background: #ffffff;
  min-height: 100vh;
}

.gallery-hero {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 80px 20px;
  text-align: center;
  border-bottom: 1px solid #e2e8f0;
}

.gallery-hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #1a202c;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #2d3748, #4a5568);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gallery-hero-content p {
  font-size: 1.2rem;
  color: #4a5568;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.gallery-filters-section {
  background: #ffffff;
  padding: 40px 20px;
  border-bottom: 1px solid #e2e8f0;
}

.filters-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.filters-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-btn {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  color: #4a5568;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-btn:hover {
  border-color: var(--warm-gold);
  color: var(--warm-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(226, 194, 144, 0.3);
}

.filter-btn.active {
  background: var(--warm-gold);
  border-color: var(--warm-gold);
  color: white;
  box-shadow: 0 4px 12px rgba(226, 194, 144, 0.4);
}

.type-switch {
  display: flex;
  gap: 8px;
  background: #f7fafc;
  padding: 4px;
  border-radius: 50px;
  border: 1px solid #e2e8f0;
}

.type-btn {
  background: transparent;
  border: none;
  color: #4a5568;
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.type-btn:hover {
  color: var(--warm-gold);
}

.type-btn.active {
  background: var(--warm-gold);
  color: white;
  box-shadow: 0 2px 8px rgba(226, 194, 144, 0.4);
}

.gallery-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.gallery-item {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #f1f5f9;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.item-image {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .item-image img {
  transform: scale(1.1);
}

.item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.8) 100%
  );
  opacity: 0;
  display: flex;
  align-items: flex-end;
  transition: opacity 0.4s ease;
  padding: 30px;
}

.gallery-item:hover .item-overlay {
  opacity: 1;
}

.item-info {
  color: white;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.gallery-item:hover .item-info {
  transform: translateY(0);
}

.item-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.item-info p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 12px;
  line-height: 1.4;
}

.item-category {
  display: inline-block;
  background: var(--warm-gold);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Видео галерея */
.video-gallery {
  margin-top: 40px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 24px;
}

.video-item {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
}

.video-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.video-item video {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}

.video-info {
  padding: 20px;
}

.video-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 8px;
}

.video-info p {
  font-size: 0.9rem;
  color: #4a5568;
  line-height: 1.5;
}

/* Адаптивность для современной галереи */
@media (max-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
  }
  
  .video-grid {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  }
  
  .gallery-hero-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .gallery-hero {
    padding: 60px 20px;
  }
  
  .gallery-hero-content h1 {
    font-size: 2rem;
  }
  
  .gallery-hero-content p {
    font-size: 1rem;
  }
  
  .filters-container {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filters-group {
    justify-content: center;
  }
  
  .type-switch {
    align-self: center;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
  }
  
  .video-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .item-image {
    height: 240px;
  }
  
  .item-overlay {
    padding: 20px;
  }
  
  .item-info h3 {
    font-size: 1.1rem;
  }
  
  .item-info p {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .gallery-hero {
    padding: 40px 15px;
  }
  
  .gallery-hero-content h1 {
    font-size: 1.8rem;
  }
  
  .gallery-filters-section {
    padding: 30px 15px;
  }
  
  .filter-btn {
    padding: 10px 20px;
    font-size: 0.8rem;
  }
  
  .gallery-main {
    padding: 30px 15px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .item-image {
    height: 220px;
  }
  
  .item-overlay {
    padding: 15px;
  }
  
  .item-info h3 {
    font-size: 1rem;
  }
  
  .item-info p {
    font-size: 0.8rem;
  }
}

/* Анимации появления карточек */
.gallery-card {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

.gallery-card:nth-child(1) { animation-delay: 0.1s; }
.gallery-card:nth-child(2) { animation-delay: 0.2s; }
.gallery-card:nth-child(3) { animation-delay: 0.3s; }
.gallery-card:nth-child(4) { animation-delay: 0.4s; }
.gallery-card:nth-child(5) { animation-delay: 0.5s; }
.gallery-card:nth-child(6) { animation-delay: 0.6s; }
.gallery-card:nth-child(7) { animation-delay: 0.7s; }
.gallery-card:nth-child(8) { animation-delay: 0.8s; }
.gallery-card:nth-child(9) { animation-delay: 0.9s; }
.gallery-card:nth-child(10) { animation-delay: 1.0s; }
.gallery-card:nth-child(11) { animation-delay: 1.1s; }
.gallery-card:nth-child(12) { animation-delay: 1.2s; }
.gallery-card:nth-child(13) { animation-delay: 1.3s; }
.gallery-card:nth-child(14) { animation-delay: 1.4s; }
.gallery-card:nth-child(15) { animation-delay: 1.5s; }

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

/* Эффект загрузки изображений */
.card-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  z-index: 1;
}

.card-image img {
  z-index: 2;
  position: relative;
}

.card-image img[src] {
  z-index: 2;
}

.card-image img[src] + .card-image::before {
  display: none;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Фильтрация карточек */
.gallery-card.hidden {
  display: none;
  animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: scale(0.8);
  }
}

.gallery-card.visible {
  display: block;
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Современная страница контактов */
.contacts-modern {
  min-height: 100vh;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 40px 20px;
}

.contacts-hero {
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  overflow: hidden;
  position: relative;
}

.contacts-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--warm-gold) 0%, var(--deep-brown) 100%);
}

.contacts-hero-content {
  padding: 60px 40px;
  text-align: center;
}

.contacts-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--deep-brown);
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contacts-hero p {
  color: #4a5568;
  font-size: 1.2rem;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.contact-card {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 20px;
  padding: 30px 25px;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--warm-gold) 0%, var(--deep-brown) 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border-color: var(--warm-gold);
}

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

.contact-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--deep-brown);
  margin-bottom: 10px;
}

.contact-card p {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 8px;
}

.contact-card span {
  font-size: 0.9rem;
  color: #718096;
  font-style: italic;
}

.contact-cta {
  background: linear-gradient(135deg, var(--deep-brown) 0%, #2d3748 100%);
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.contact-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212,165,116,0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.contact-cta h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.contact-cta p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.whatsapp-btn-modern {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(37,211,102,0.3);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.whatsapp-btn-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.whatsapp-btn-modern:hover::before {
  left: 100%;
}

.whatsapp-btn-modern:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(37,211,102,0.4);
  background: linear-gradient(135deg, #128c7e 0%, #25d366 100%);
}

.whatsapp-icon {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.whatsapp-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.whatsapp-btn-modern:hover .whatsapp-arrow {
  transform: translateX(5px);
}

.contact-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 15px 25px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

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

.feature-item span {
  font-weight: 600;
  color: var(--deep-brown);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .contacts-hero-content {
    padding: 40px 20px;
  }
  
  .contacts-hero h1 {
    font-size: 2rem;
  }
  
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .contact-cta {
    padding: 30px 20px;
  }
  
  .contact-cta h2 {
    font-size: 1.5rem;
  }
  
  .whatsapp-btn-modern {
    font-size: 1rem;
    padding: 15px 30px;
  }
  
  .contact-features {
    gap: 20px;
  }
  
  .feature-item {
    padding: 12px 20px;
  }
}

@media (max-width: 480px) {
  .contacts-modern {
    padding: 20px 10px;
  }
  
  .contacts-hero-content {
    padding: 30px 15px;
  }
  
  .contacts-hero h1 {
    font-size: 1.8rem;
  }
  
  .contacts-hero p {
    font-size: 1rem;
  }
  
  .contact-card {
    padding: 25px 20px;
  }
  
  .whatsapp-btn-modern {
    flex-direction: column;
    gap: 10px;
    padding: 20px 25px;
  }
}

/* Дополнительные улучшения для мобильных устройств */
@media (max-width: 480px) {
  /* Улучшения для header */
  header {
    padding: 8px 10px;
    gap: 10px;
  }
  
  .logo {
    font-size: 1rem;
  }
  
  .logo img {
    width: 35px;
    height: 35px;
  }
  
  nav a {
    font-size: 0.75rem;
    padding: 4px 6px;
    margin: 0 1px;
  }
  
  /* Улучшения для мобильного меню */
  .mobile-menu {
    padding: 15px;
  }
  
  .mobile-menu-header {
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
  
  .mobile-nav a {
    padding: 12px 15px;
    font-size: 1.1em;
  }
  
  /* Улучшения для hero секции */
  .hero {
    padding: 30px 10px;
  }
  
  .hero h1 {
    font-size: 1.4rem;
    line-height: 1.2;
  }
  
  .hero p {
    font-size: 0.85rem;
    line-height: 1.4;
  }
  
  .hero-btn {
    max-width: 220px;
    font-size: 0.85rem;
    padding: 8px 16px;
  }
  
  /* Улучшения для туров */
  .tour-modern-title {
    font-size: 1.1rem;
  }
  
  .tour-modern-desc {
    font-size: 0.85rem;
  }
  
  .tour-modern-img {
    height: 160px;
  }
  
  .tour-modern-text-col {
    padding: 14px 10px 14px 10px;
  }
  
  .tour-modern-badge {
    font-size: 0.85rem;
    padding: 3px 10px;
  }
  
  .duration-badge {
    font-size: 0.85rem;
    padding: 4px 12px;
  }
  
  /* Улучшения для about */
  .about-hero-title {
    font-size: 1.3rem;
  }
  
  .about-hero-desc {
    font-size: 0.9rem;
  }
  
  .about-stats {
    flex-direction: column;
    gap: 15px;
  }
  
  .stat-item {
    padding: 15px 10px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .stat-label {
    font-size: 0.9rem;
  }
  
  /* Улучшения для карточек about на мобильных */
  .about-section-container {
    flex-direction: column;
  }
  
  .about-image-card {
    order: 1;
  }
  
  .about-content-card {
    order: 2;
  }
  
  .about-features-grid {
    justify-items: center;
  }
  
  /* Исправляем порядок для альтернативной секции на маленьких экранах */
  .about-section-alt .about-section-container {
    flex-direction: column;
  }
  
  .about-section-alt .about-image-card {
    order: 1;
  }
  
  .about-section-alt .about-content-card {
    order: 2;
  }
  
  .feature-item {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 12px;
    background: rgba(212, 165, 116, 0.15) !important;
    border: 3px solid rgba(212, 165, 116, 0.4) !important;
    width: 100%;
    max-width: 300px;
  }
  
  .feature-icon {
    margin: 0 auto;
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  
  .feature-content {
    text-align: center;
  }
  
  .feature-title {
    font-size: 0.95rem;
    margin-bottom: 6px;
  }
  
  .feature-desc {
    font-size: 0.85rem;
    line-height: 1.3;
  }
  
  /* Улучшения для галереи */
  .gallery-hero h1 {
    font-size: 1.3rem;
  }
  
  .gallery-hero p {
    font-size: 0.9rem;
  }
  
  .filter-btn {
    font-size: 0.75rem;
    padding: 5px 10px;
  }
  
  .type-btn {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
  
  .gallery-grid {
    gap: 10px;
  }
  
  .gallery-item {
    height: 180px;
  }
  
  .video-gallery {
    gap: 10px;
  }
  
  .video-item video {
    height: 140px;
  }
  
  /* Улучшения для контактов */
  .contacts-hero h1 {
    font-size: 1.3rem;
  }
  
  .contacts-hero p {
    font-size: 0.9rem;
  }
  
  .contact-card {
    padding: 15px 10px;
  }
  
  .contact-icon {
    font-size: 1.8rem;
  }
  
  .contact-card h3 {
    font-size: 0.95rem;
  }
  
  .contact-card p {
    font-size: 0.9rem;
  }
  
  .contact-cta h2 {
    font-size: 1.1rem;
  }
  
  .contact-cta p {
    font-size: 0.9rem;
  }
  
  .whatsapp-btn-modern {
    font-size: 0.8rem;
    padding: 8px 16px;
  }
  
  .contact-features {
    gap: 10px;
  }
  
  .feature-item {
    padding: 6px 12px;
    max-width: 240px;
  }
  
  .feature-item span {
    font-size: 0.8rem;
  }
  
  /* Улучшения для команды */
  .member {
    padding: 15px 10px;
  }
  
  .member-name {
    font-size: 1.1rem;
  }
  
  .member-role {
    font-size: 0.9rem;
  }
  
  .member-more-btn {
    font-size: 0.85rem;
    padding: 8px 16px;
  }
}

@media (max-width: 360px) {
  /* Для очень маленьких экранов */
  .hero h1 {
    font-size: 1.2rem;
  }
  
  .hero p {
    font-size: 0.8rem;
  }
  
  .hero-btn {
    max-width: 200px;
    font-size: 0.8rem;
    padding: 6px 14px;
  }
  
  .tour-modern-title {
    font-size: 0.95rem;
  }
  
  .tour-modern-img {
    height: 120px;
  }
  
  .tour-modern-text-col {
    padding: 10px 6px 10px 6px;
  }
  
  .tour-modern-badge {
    font-size: 0.75rem;
    padding: 2px 6px;
  }
  
  .duration-badge {
    font-size: 0.75rem;
    padding: 3px 8px;
  }
  
  .tour-modern-price-title,
  .tour-modern-includes-title {
    font-size: 0.9rem;
    margin-top: 12px;
    margin-bottom: 6px;
  }
  
  .tour-modern-includes-title {
    margin-top: 10px;
  }
  
  .about-hero-title {
    font-size: 1.2rem;
  }
  
  .gallery-hero h1 {
    font-size: 1.2rem;
  }
  
  .contacts-hero h1 {
    font-size: 1.2rem;
  }
  
  .contact-cta h2 {
    font-size: 1rem;
  }
  
  .whatsapp-btn-modern {
    font-size: 0.75rem;
    padding: 6px 14px;
  }
  
  nav a {
    font-size: 0.7rem;
    padding: 3px 5px;
  }
  
  .logo {
    font-size: 0.9rem;
  }
  
  .logo img {
    width: 30px;
    height: 30px;
  }
  
  /* Исправляем позиционирование текста на изображении для очень маленьких экранов */
  .excharyn-title-anim {
    top: 6px;
    left: 6px;
  }
  
  .excharyn-title-text {
    font-size: 0.9rem;
  }
  
  .excharyn-title-text b {
    font-size: 1.1rem;
  }
}

/* Улучшения для touch устройств */
@media (hover: none) and (pointer: coarse) {
  /* Увеличиваем размеры кнопок для touch */
  .hero-btn,
  .details-btn,
  .member-more-btn,
  .whatsapp-btn-modern,
  .filter-btn,
  .type-btn {
    min-height: 44px;
    padding: 12px 20px;
  }
  
  /* Увеличиваем отступы для навигации */
  nav a {
    padding: 10px 12px;
    margin: 2px;
  }
  
  /* Улучшаем доступность модальных окон */
  .modal-close,
  .member-modal-close,
  .cert-modal-close {
    min-width: 44px;
    min-height: 44px;
  }
  
  /* Улучшаем навигацию в галерее */
  .modal-nav {
    min-width: 50px;
    min-height: 50px;
  }
}

/* Улучшения для landscape ориентации на мобильных */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    padding: 20px 15px;
  }
  
  .hero h1 {
    font-size: 1.6rem;
  }
  
  .about-modern-hero {
    padding: 20px 15px;
  }
  
  .gallery-hero {
    padding: 20px 15px;
  }
  
  .contacts-hero-content {
    padding: 20px 15px;
  }
  
  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== СЛАЙДЕР ПОРТФОЛИО ===== */
.portfolio-slider {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.slider-container {
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.slider-item {
  min-width: 100%;
  flex-shrink: 0;
}

.slider-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  padding: 15px;
}

.slider-btn {
  background: var(--primary-gold);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.slider-btn:hover {
  background: var(--deep-brown);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(124, 79, 41, 0.4);
}

.slider-btn:active {
  transform: scale(0.95);
}

.slider-dots {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 300px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.dot:hover {
  background: var(--warm-gold);
  transform: scale(1.2);
}

.dot.active {
  background: var(--primary-gold);
  border-color: var(--deep-brown);
  transform: scale(1.3);
}

/* Адаптивность для слайдера */
@media (max-width: 768px) {
  .portfolio-slider {
    max-width: 100%;
    border-radius: 15px;
  }
  
  .slider-item img {
    height: 300px;
    object-position: center;
    border-radius: 15px;
  }
  
  .slider-controls {
    gap: 15px;
    margin-top: 15px;
    padding: 10px;
  }
  
  .slider-btn {
    width: 45px;
    height: 45px;
    font-size: 16px;
  }
  
  .dot {
    width: 8px;
    height: 8px;
  }
  
  .slider-dots {
    gap: 6px;
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  .slider-item img {
    height: 250px;
    object-position: center;
  }
  
  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  
  .slider-controls {
    gap: 10px;
  }
}

/* ===== ДОПОЛНИТЕЛЬНЫЕ ПРЕМИУМ СТИЛИ ДЛЯ МОБИЛЬНЫХ ===== */

/* Улучшенные анимации для мобильных */
@media (max-width: 768px) {
  /* Плавные переходы для всех элементов */
  * {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  /* Улучшенные hover эффекты */
  .mobile-tab:active {
    transform: scale(0.95);
  }
  
  .mobile-btn:active {
    transform: scale(0.98);
  }
  
  /* Улучшенные карточки с градиентами */
  .tour-card {
    position: relative;
    overflow: hidden;
  }
  
  .tour-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1), rgba(226, 194, 144, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .tour-card:hover::before {
    opacity: 1;
  }
  
  /* Улучшенные кнопки с эффектами */
  .details-btn {
    background: linear-gradient(135deg, #D4A574 0%, #E2C290 100%);
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
    transition: all 0.3s ease;
  }
  
  .details-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
  }
  
  /* Улучшенные отзывы */
  .reviews-slider {
    padding: 20px 0;
  }
  
  .review-slide {
    margin: 0 10px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
  }
  
  .review-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  }
  
  /* Улучшенные блоки "Почему мы" */
  .why-block {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 165, 116, 0.2);
    border-radius: 20px;
    padding: 25px;
    margin: 15px 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }
  
  .why-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  }
  
  .why-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
  }
  
  /* Улучшенные социальные ссылки */
  .social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
  }
  
  .social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 165, 116, 0.2);
    border-radius: 16px;
    text-decoration: none;
    color: var(--deep-brown);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }
  
  .social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #D4A574 0%, #E2C290 100%);
    color: white;
  }
  
  .social-icon {
    width: 24px;
    height: 24px;
  }
  
  /* Улучшенный хедер */
  header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 165, 116, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--deep-brown);
    font-weight: 700;
    font-size: 1.2em;
  }
  
  .logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
  
  /* Улучшенные модальные окна */
  .big-modal {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
  }
  
  .big-modal-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95));
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(212, 165, 116, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  }
  
  /* Улучшенные сертификаты */
  .big-cert-slider {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.9));
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  }
  
  .big-nav-btn {
    background: linear-gradient(135deg, #D4A574 0%, #E2C290 100%);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
    transition: all 0.3s ease;
  }
  
  .big-nav-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
  }
  
  /* Улучшенные точки навигации */
  .big-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(212, 165, 116, 0.3);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .big-dot.active {
    background: linear-gradient(135deg, #D4A574 0%, #E2C290 100%);
    transform: scale(1.2);
  }
  
  /* Улучшенные кнопки закрытия */
  .big-modal-close {
    background: linear-gradient(135deg, #D4A574 0%, #E2C290 100%);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
    transition: all 0.3s ease;
  }
  
  .big-modal-close:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
  }
  
  /* Улучшенные кнопки действий */
  .full-page-btn {
    background: linear-gradient(135deg, #D4A574 0%, #E2C290 100%);
    border: none;
    color: white;
    padding: 15px 30px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
  }
  
  .full-page-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.4);
  }
  
  /* Улучшенные контакты */
  .contact-list {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.9));
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
  
  .contact-list div {
    padding: 10px 0;
    border-bottom: 1px solid rgba(212, 165, 116, 0.1);
    font-weight: 500;
  }
  
  .contact-list div:last-child {
    border-bottom: none;
  }
  
  /* Улучшенные аватары */
  .guide-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 3px solid rgba(212, 165, 116, 0.3);
  }
  
  /* Улучшенные изображения сертификатов */
  .big-cert-image img {
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(212, 165, 116, 0.2);
  }
  
  /* Улучшенный статус сертификатов */
  .cert-status {
    background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  }
}

/* ===== ДОПОЛНИТЕЛЬНЫЕ УЛУЧШЕНИЯ ДЛЯ ОЧЕНЬ МАЛЕНЬКИХ ЭКРАНОВ ===== */
@media (max-width: 360px) {
  .mobile-tab {
    min-width: 50px;
    padding: 6px 8px;
  }
  
  .mobile-tab-icon {
    font-size: 18px;
  }
  
  .mobile-tab-text {
    font-size: 9px;
  }
  
  .mobile-tabs-container {
    padding: 0 5px;
  }
  
  .mobile-card {
    padding: 15px;
    margin: 10px 0;
  }
  
  .mobile-btn {
    padding: 14px 20px;
    font-size: 14px;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.3rem;
  }
  
  section {
    padding: 30px 12px;
  }
}