/* Дополнительные стили для Академии прикладного образования */

/* Сброс отступов */
body {
  margin: 0;
  padding: 0;
}

/* Убедись что нет лишних отступов у main */
main {
  margin: 0;
  padding: 0;
}

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-in;
}

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

/* Плавные переходы для всех элементов */
* {
    transition: all 0.3s ease;
}

/* Кастомные стили для кнопок */
.btn-primary {
    @apply bg-academy-blue text-white px-6 py-3 rounded-lg font-bold hover:bg-academy-burgundy transition-colors shadow-md;
}

.btn-secondary {
    @apply bg-academy-yellow text-academy-burgundy px-6 py-3 rounded-lg font-bold hover:bg-[#d6a500] transition-colors shadow-md;
}

.btn-outline {
    @apply border-2 border-academy-blue text-academy-blue px-6 py-3 rounded-lg font-bold hover:bg-academy-blue hover:text-white transition-colors;
}

/* Стили для карточек */
.card {
    @apply bg-white rounded-2xl p-8 shadow-lg hover:shadow-xl transition-shadow;
}

.card-hover {
    @apply transform hover:-translate-y-2 transition-transform duration-300;
}

/* Стили для форм */
.form-input {
    @apply w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-academy-blue focus:border-transparent outline-none transition-all;
}

.form-label {
    @apply block text-sm font-medium text-gray-700 mb-2;
}

.form-error {
    @apply text-red-600 text-sm mt-1;
}

/* Стили для навигации */
.nav-link {
    @apply text-gray-700 hover:text-academy-blue font-medium transition-colors;
}

.nav-link.active {
    @apply text-academy-blue font-bold;
}

/* Стили для статистики */
.stat-number {
    @apply text-4xl font-bold text-academy-blue mb-2;
}

.stat-label {
    @apply text-gray-600;
}

/* Стили для секций */
.section-padding {
    @apply py-20;
}

.section-title {
    @apply text-4xl font-bold text-academy-blue mb-6;
}

.section-subtitle {
    @apply text-xl text-gray-600 max-w-3xl mx-auto;
}

/* Стили для футера */
.footer-link {
    @apply text-gray-300 hover:text-academy-yellow transition-colors;
}

/* Стили для мобильного меню */
.mobile-menu {
    @apply hidden lg:hidden mt-4 pb-4 border-t border-gray-200;
}

.mobile-menu.active {
    @apply block;
}

/* Стили для flash сообщений */
.flash-success {
    @apply bg-green-100 border border-green-400 text-green-700 px-4 py-3 rounded relative mb-4;
}

.flash-error {
    @apply bg-red-100 border border-red-400 text-red-700 px-4 py-3 rounded relative mb-4;
}

.flash-info {
    @apply bg-blue-100 border border-blue-400 text-blue-700 px-4 py-3 rounded relative mb-4;
}

/* Стили для админ-панели */
.admin-sidebar {
    @apply bg-academy-blue text-white min-h-screen w-64 p-6;
}

.admin-content {
    @apply flex-1 p-6 bg-gray-50;
}

.admin-card {
    @apply bg-white rounded-lg shadow-md p-6 mb-6;
}

/* Стили для таблиц */
.table {
    @apply w-full border-collapse;
}

.table th {
    @apply bg-gray-50 px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider border-b border-gray-200;
}

.table td {
    @apply px-6 py-4 whitespace-nowrap text-sm text-gray-900 border-b border-gray-200;
}

/* Стили для кнопок действий */
.btn-sm {
    @apply px-3 py-1 text-sm rounded;
}

.btn-danger {
    @apply bg-red-600 text-white hover:bg-red-700;
}

.btn-warning {
    @apply bg-yellow-600 text-white hover:bg-yellow-700;
}

.btn-success {
    @apply bg-green-600 text-white hover:bg-green-700;
}

/* Стили для модальных окон */
.modal-overlay {
    @apply fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50;
}

.modal-content {
    @apply bg-white rounded-lg p-6 max-w-md w-full mx-4;
}

/* Стили для загрузки */
.loading {
    @apply animate-spin rounded-full h-8 w-8 border-b-2 border-academy-blue;
}

/* Стили для уведомлений */
.notification {
    @apply fixed top-4 right-4 bg-white border-l-4 border-academy-blue shadow-lg rounded-lg p-4 z-50;
}

/* Стили для теста */
.test-question {
    @apply bg-white rounded-lg p-6 shadow-md mb-6;
}

.test-option {
    @apply block w-full text-left p-4 border border-gray-300 rounded-lg hover:bg-gray-50 cursor-pointer transition-colors;
}

.test-option.selected {
    @apply border-academy-blue bg-academy-blue bg-opacity-10;
}

/* Стили для курсов */
.course-card {
    @apply bg-white rounded-2xl p-6 shadow-lg hover:shadow-xl transition-all duration-300 hover:-translate-y-1;
}

.course-price {
    @apply text-3xl font-bold text-academy-blue;
}

.course-format {
    @apply inline-block bg-academy-yellow text-academy-burgundy px-3 py-1 rounded-full text-sm font-bold;
}

/* Стили для команды */
.team-member {
    @apply text-center;
}

.team-photo {
    @apply w-32 h-32 rounded-full mx-auto mb-4 object-cover;
}

.team-name {
    @apply text-xl font-bold text-academy-blue mb-2;
}

.team-role {
    @apply text-gray-600 mb-4;
}

/* Стили для контактов */
.contact-info {
    @apply flex items-center gap-3 text-gray-600;
}

.contact-icon {
    @apply w-5 h-5 text-academy-blue;
}

/* Стили для форм обратной связи */
.contact-form {
    @apply bg-white rounded-2xl p-8 shadow-lg;
}

.form-group {
    @apply mb-6;
}

.form-textarea {
    @apply w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-academy-blue focus:border-transparent outline-none transition-all resize-none;
}

/* Стили для иконок социальных сетей */
.social-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: all 0.3s ease;
    display: block;
}

/* Стили для SVG иконок в футере */
footer .social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

footer .social-icon:hover {
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(40deg);
    transform: scale(1.1);
}

/* Стили для SVG иконок на странице контактов */
.contacts .social-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Стили для SVG иконок на странице преподавателя */
.teacher-detail .social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* CSS-матрешка */
.matryoshka-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

/* Контейнер для маленькой матрешки */
.matryoshka-container-small {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Маленькая матрешка для главной страницы */
.matryoshka-small {
    width: 65px;
    height: 95px;
    background-color: #fecb3e;
    border-radius: 32px 32px 28px 28px / 45px 45px 45px 45px;
    position: relative;
    overflow: hidden;
    border: 3px solid #8c2c3e;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Белый круг (лицо) - маленькая версия */
.matryoshka-small::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Синий элемент - маленькая версия */
.matryoshka-blue-small {
    position: absolute;
    width: 100%;
    height: 60%;
    background-color: #1e40af;
    bottom: -30%;
    left: 0;
    border-radius: 50% / 40%;
    transform: rotate(-30deg);
}

/* Красная заплатка - маленькая версия */
.matryoshka-red-patch-small {
    position: absolute;
    width: 80%;
    height: 50%;
    background-color: #7c2d12;
    top: 25%;
    left: -40%;
    border-radius: 50%;
}

/* Основная форма матрешки */
.matryoshka {
    width: 180px;
    height: 250px;
    background-color: #fecb3e; /* желтый */
    border-radius: 90px 90px 70px 70px / 125px 125px 125px 125px;
    position: relative;
    overflow: hidden;
    border: 8px solid #8c2c3e; /* бордовый */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Белый круг (лицо) */
.matryoshka::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background-color: #ffffff;
    border-radius: 50%;
}

/* Синий элемент */
.matryoshka-blue {
    position: absolute;
    width: 100%;
    height: 60%;
    background-color: #2a3a5b; /* темно-синий */
    bottom: -30%;
    left: 0;
    border-radius: 50% / 40%;
    transform: rotate(-30deg);
}

/* Красная заплатка */
.matryoshka-red-patch {
    position: absolute;
    width: 80%;
    height: 50%;
    background-color: #8c2c3e; /* бордовый */
    top: 25%;
    left: -40%;
    border-radius: 50%;
}

/* Стили для адаптивности */
@media (max-width: 768px) {
    .section-padding {
        @apply py-12;
    }
    
    .section-title {
        @apply text-3xl;
    }
    
    .card {
        @apply p-6;
    }
    
    /* Адаптив для матрешки на мобильных */
    .matryoshka {
        width: 140px;
        height: 195px;
    }
    
    .matryoshka::before {
        width: 60px;
        height: 60px;
        top: 30px;
    }
    
    /* Адаптив для маленькой матрешки на мобильных */
    .matryoshka-small {
        width: 50px;
        height: 70px;
    }
    
    .matryoshka-small::before {
        width: 20px;
        height: 20px;
        top: 12px;
    }
}

/* ============ КОНТЕЙНЕР ============ */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============ ХЕДЕР ============ */
.main-header {
  position: sticky;
  top: 0;
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  padding: 2px 0; /* уменьшил на 2 см (с 12px до 2px) */
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0;
}

/* ===== ЛЕВАЯ ЧАСТЬ ===== */
.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
}

/* Бургер-кнопка */
.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
  z-index: 1001;
}

.burger-line {
  width: 100%;
  height: 3px;
  background: var(--color-blue);
  border-radius: 2px;
  transition: all 0.3s;
}

.burger-btn:hover .burger-line {
  background: var(--color-burgundy);
}

/* Анимация бургера в крестик */
.burger-btn.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translateY(10px);
}

.burger-btn.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-btn.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translateY(-10px);
}

/* Логотип */
.logo-block {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-blue);
  text-decoration: none;
  line-height: 1.2;
  margin: 0;
  padding: 0;
}

.tagline {
  font-size: 11px;
  color: #666;
  margin: 2px 0 0 0;
  padding: 0;
  font-style: italic;
}

/* ===== ПРАВАЯ ЧАСТЬ ===== */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Контактные ссылки */
.contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #333;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.3s;
}

.contact-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-yellow);
  border-radius: 50%;
  color: var(--color-burgundy);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 12px;
  height: 12px;
}

.contact-link:hover {
  color: var(--color-blue);
}

/* Кнопки */
.btn {
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}

.btn-yellow {
  background: var(--color-yellow);
  color: #000;
}

.btn-yellow:hover {
  background: #E5B300;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(246, 194, 0, 0.3);
}

.btn-burgundy {
  background: var(--color-burgundy);
  color: white;
}

.btn-burgundy:hover {
  background: #660018;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(128, 0, 32, 0.3);
}

/* Соцсети */
.social-icons {
  display: flex;
  gap: 8px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F0F0F0;
  color: var(--color-blue);
  transition: all 0.3s;
}

.social-link:hover {
  background: var(--color-blue);
  color: white;
  transform: scale(1.1);
}

/* Избранное и корзина */
.header-actions {
  display: flex;
  gap: 12px;
}

.action-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--color-blue);
  transition: all 0.3s;
}

.action-btn:hover {
  color: var(--color-burgundy);
  transform: scale(1.1);
}

.action-btn .counter {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #FF0000;
  color: white;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid white;
}

/* ========== КОМПАКТНЫЙ ПОИСК ========== */
.search-section {
  background: linear-gradient(135deg, #1E3A5F 0%, #800020 100%);
  padding: 25px 0;  /* Урезанный padding */
}

/* ========== СТИЛИ ДЛЯ БЕЛОГО БЛОКА ЦЕННОСТЕЙ ========== */
/* Заголовок - по центру, выше, жирнее */
.mission-title-centered {
  font-size: 36px;
  font-weight: 800;  /* Очень жирный */
  color: var(--color-blue);
  text-align: center;
  margin: 0 0 30px 0;  /* Отступ снизу 30px = ~0.8см */
  padding-top: 5px;    /* Поднимаем на 0.5см вверх */
}

/* Сетка 2x3 */
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}

/* Мини-карточка */
.value-mini-card {
  background: #F8F8F8;
  padding: 16px 12px;
  border-radius: 14px;
  text-align: center;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.value-mini-card:hover {
  background: #FFF9E6;
  border-color: var(--color-yellow);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Иконка галочки */
.mini-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--color-yellow);
  border-radius: 50%;
  font-weight: 700;
  font-size: 16px;
  color: #000;
  margin-bottom: 8px;
}

/* Текст в карточке */
.value-mini-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  color: #333;
}

/* Жёлтая кнопка */
.btn-yellow-full {
  width: 100%;
  background: var(--color-yellow);
  color: #000;
  border: none;
  padding: 18px 24px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(246, 194, 0, 0.3);
}

.btn-yellow-full:hover {
  background: #E5B300;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(246, 194, 0, 0.4);
}

/* Адаптив для планшетов */
@media (max-width: 768px) {
  .mission-title-centered {
    font-size: 30px;
    margin-bottom: 24px;
  }
  
  .values-grid {
    gap: 12px;
  }
  
  .value-mini-card {
    padding: 14px 10px;
  }
  
  .value-mini-card p {
    font-size: 13px;
  }
}

/* Мобильные - 1 колонка */
@media (max-width: 576px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .mission-title-centered {
    font-size: 28px;
  }
  
  .value-mini-card {
    padding: 16px 12px;
  }
}

@media (max-width: 480px) {
  .values-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .mission-title-centered {
    font-size: 24px;
    margin-bottom: 20px;
    padding-top: 0;
  }
  
  .value-mini-card {
    padding: 14px 10px;
  }
  
  .mini-icon {
    width: 24px;
    height: 24px;
    font-size: 14px;
    margin-bottom: 6px;
  }
  
  .value-mini-card p {
    font-size: 12px;
  }
  
  .btn-yellow-full {
    padding: 14px 18px;
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  .mission-title-centered {
    font-size: 20px;
  }
  
  .value-mini-card p {
    font-size: 11px;
  }
}

/* ========== ЦВЕТОВЫЕ БЛОКИ ========== */
.yellow-block {
  background: #FFE600;
}
.blue-block {
  background: #16397A;
}
.burgundy-block {
  background: #A60035;
}


/* ========== СТИЛИ ДЛЯ ЖЁЛТОГО БЛОКА ПРЕИМУЩЕСТВ ========== */
/* Увеличь высоту блока */
.yellow-block {
  min-height: 650px; /* Было меньше, увеличиваем */
  padding: 50px 45px;
}

.yellow-block-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--color-blue);
  margin: 0 0 20px 0;
}

.yellow-block-subtitle {
  font-size: 20px;
  font-weight: 600;
  color: #000;
  margin: 0 0 16px 0;
}

.yellow-block-text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-blue);
  margin: 0 0 40px 0;
  max-width: 90%;
}

/* Ряд иконок */
.benefits-icons-row {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 45px;
}

.benefit-icon-item {
  flex: 1;
  text-align: center;
}

.icon-circle {
  width: 80px;
  height: 80px;
  background: transparent;
  border: 3px solid var(--color-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--color-blue);
}

.benefit-icon-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-blue);
  margin: 0;
  line-height: 1.3;
}

/* Кнопки внизу */
.yellow-block-buttons {
  display: flex;
  gap: 20px;
}

.btn-dark {
  flex: 1;
  background: var(--color-blue);
  color: white;
  border: none;
  padding: 18px 32px;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-dark:hover {
  background: #152844;
  transform: translateY(-2px);
}

.btn-white {
  flex: 1;
  background: white;
  color: var(--color-blue);
  border: 2px solid var(--color-blue);
  padding: 18px 32px;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

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

/* Стили для ссылки-кнопки */
a.btn-white {
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

/* Адаптив */
@media (max-width: 992px) {
  .yellow-block {
    min-height: auto;
    padding: 40px 35px;
  }
  
  .yellow-block-title {
    font-size: 36px;
  }
  
  .yellow-block-subtitle {
    font-size: 18px;
  }
  
  .yellow-block-text {
    font-size: 16px;
  }
  
  .benefits-icons-row {
    gap: 24px;
  }
  
  .icon-circle {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 768px) {
  .yellow-block {
    min-height: auto;
    padding: 30px 25px;
  }
  
  .yellow-block-title {
    font-size: 32px;
    margin-bottom: 16px;
  }
  
  .yellow-block-subtitle {
    font-size: 16px;
    margin-bottom: 12px;
  }
  
  .yellow-block-text {
    font-size: 15px;
    margin-bottom: 30px;
    max-width: 100%;
  }
  
  .benefits-icons-row {
    flex-direction: column;
    gap: 20px;
  }
  
  .icon-circle {
    width: 65px;
    height: 65px;
  }
  
  .benefit-icon-item h3 {
    font-size: 16px;
  }
  
  .yellow-block-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .btn-dark,
  .btn-white {
    padding: 14px 24px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .yellow-block {
    padding: 20px 15px;
  }
  
  .yellow-block-title {
    font-size: 26px;
    margin-bottom: 12px;
  }
  
  .yellow-block-subtitle {
    font-size: 14px;
    margin-bottom: 10px;
  }
  
  .yellow-block-text {
    font-size: 13px;
    margin-bottom: 24px;
  }
  
  .benefits-icons-row {
    gap: 16px;
  }
  
  .icon-circle {
    width: 55px;
    height: 55px;
  }
  
  .benefit-icon-item h3 {
    font-size: 14px;
  }
  
  .btn-dark,
  .btn-white {
    padding: 12px 20px;
    font-size: 14px;
  }
}



/* ========== ПОЛНЫЙ БАННЕР ========== */
.training-banner-full {
  background: linear-gradient(135deg, #1E3A5F 0%, #800020 100%);
  padding: 40px 0;
  color: white;
}

/* Сетка 3 колонки */
.banner-grid {
  display: grid;
  grid-template-columns: 1fr 400px 240px;
  gap: 30px;
  align-items: center;
}

/* ========== ЛЕВАЯ - ТЕКСТ ========== */
.banner-text-col {
  padding-right: 20px;
}

.event-badge {
  display: inline-block;
  background: var(--color-yellow);
  color: #000;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.banner-h1 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 12px 0;
  color: white;
}

.banner-lead {
  font-size: 14px;
  line-height: 1.4;
  margin: 0 0 16px 0;
  opacity: 0.95;
}

.info-list {
  margin-bottom: 12px;
}

.info-item {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.info-item strong {
  color: var(--color-yellow);
}

.host-info {
  font-size: 14px;
  margin: 0 0 18px 0;
}

.host-info strong {
  color: var(--color-yellow);
}

/* Кнопки */
.btn-group {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.btn-main {
  background: var(--color-yellow);
  color: #000;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-main:hover {
  background: #E5B300;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: white;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid white;
  transition: all 0.3s;
}

.btn-outline:hover {
  background: white;
  color: var(--color-blue);
}

.urgency-note {
  font-size: 13px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  display: inline-block;
}

/* ========== ЦЕНТР - ФОТО ========== */
.banner-photo-col {
  display: flex;
  justify-content: center;
}

.main-photo {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

/* ========== ПРАВО - QR ========== */
.banner-qr-col {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.qr-block-yellow {
  background: var(--color-yellow);
  padding: 18px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.qr-white-bg {
  background: white;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.qr-code {
  display: block;
  width: 140px;
  height: 140px;
}

.qr-text {
  font-size: 14px;
  font-weight: 600;
  color: #000;
  margin: 0;
  line-height: 1.4;
}

/* ========== АДАПТИВ ========== */
@media (max-width: 1200px) {
  .banner-grid {
    grid-template-columns: 1fr 350px 200px;
    gap: 25px;
  }
  
  .banner-h1 {
    font-size: 28px;
  }
}

@media (max-width: 1024px) {
  .banner-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .banner-photo-col,
  .banner-qr-col {
    justify-content: center;
  }
  
  .main-photo {
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .training-banner-full {
    padding: 30px 0;
  }
  
  .banner-h1 {
    font-size: 26px;
  }
  
  .btn-group {
    flex-direction: column;
  }
  
  .btn-main,
  .btn-outline {
    width: 100%;
    text-align: center;
  }
}

/* ========== УНИКАЛЬНОСТЬ - ПОЛНЫЙ СБРОС ========== */

/* Бордовый контейнер */
.uniqueness-section {
  background: var(--color-burgundy) !important;
  padding: 60px 40px 80px 40px !important;
  border-radius: 60px 60px 0 60px !important;
  min-height: 700px !important;
  overflow: visible !important;
  box-sizing: border-box !important;
  margin-top: 113px !important; /* 3 см отступ сверху */
}

/* Заголовки */
.uniqueness-section h2 {
  font-size: 42px !important;
  font-weight: 800 !important;
  color: white !important;
  text-align: center !important;
  margin: 0 0 12px 0 !important;
}

.uniqueness-section .section-subtitle {
  font-size: 20px !important;
  color: rgba(255, 255, 255, 0.9) !important;
  text-align: center !important;
  margin: 0 0 40px 0 !important;
}

/* Сетка - КРИТИЧНО */
.formats-row {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ВСЕ карточки - ОДИНАКОВО */
.format-card,
.format-online,
.format-offline,
.format-mixed {
  box-sizing: border-box !important;
  padding: 35px 25px !important;
  border-radius: 20px !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  height: 420px !important;  /* ФИКСИРОВАННАЯ высота */
  max-height: 420px !important;
  overflow: hidden !important;
}

/* Цвета карточек */
.format-online {
  background: #2C4A6B !important;
  color: white !important;
}

.format-offline {
  background: white !important;
  color: var(--color-blue) !important;
}

.format-mixed {
  background: var(--color-yellow) !important;
  color: #000 !important;
}

/* Иконка */
.format-icon {
  width: 70px !important;
  height: 70px !important;
  margin: 0 auto 16px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.format-online .format-icon {
  background: rgba(255, 255, 255, 0.15) !important;
  color: white !important;
}

.format-offline .format-icon {
  background: rgba(30, 58, 95, 0.1) !important;
  color: var(--color-blue) !important;
}

.format-mixed .format-icon {
  background: rgba(0, 0, 0, 0.1) !important;
  color: #000 !important;
}

.format-icon svg {
  width: 36px !important;
  height: 36px !important;
}

/* Заголовок */
.format-card h3 {
  font-size: 22px !important;
  font-weight: 700 !important;
  margin: 0 0 12px 0 !important;
  line-height: 1.3 !important;
  height: 60px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

/* Описание */
.format-card p {
  font-size: 15px !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  padding: 0 10px !important;
  flex-grow: 1 !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  text-align: center !important;
}

/* Hover */
.format-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
}

/* Адаптивность */
@media (max-width: 768px) {
  .uniqueness-section {
    min-height: auto !important;
    padding: 50px 20px !important;
  }
  
  .formats-row {
    grid-template-columns: 1fr !important;
  }
  
  .format-card {
    height: 350px !important;
    max-height: 350px !important;
  }
}





.search-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Узкий контейнер */
.search-container {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 50px;
  padding: 6px 6px 6px 20px;  /* Компактный */
  max-width: 450px;  /* Узкая ширина */
  width: 80%;  /* Не на всю ширину */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: all 0.3s;
}

.search-container:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

/* Поле ввода компактное */
.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;  /* Меньше */
  color: #333;
  background: transparent;
  padding: 10px 12px;  /* Компактный */
  font-family: var(--font-main);
}

.search-input::placeholder {
  color: #999;
  font-size: 14px;
}

/* Кнопка меньше */
.search-btn {
  background: var(--color-yellow);
  border: none;
  width: 42px;  /* Меньше */
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  flex-shrink: 0;
  color: #000;
}

.search-btn:hover {
  background: #E5B300;
  transform: scale(1.05);
}

.search-btn svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.5;
}

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

/* Планшеты */
@media (max-width: 768px) {
  .search-section {
    padding: 20px 0;
  }
  
  .search-container {
    max-width: 85%;
    width: 85%;
  }
  
  .search-input {
    font-size: 13px;
    padding: 8px 10px;
  }
  
  .search-btn {
    width: 38px;
    height: 38px;
  }
  
  .search-btn svg {
    width: 16px;
    height: 16px;
  }
}

/* Мобильные */
@media (max-width: 480px) {
  .search-section {
    padding: 16px 0;
  }
  
  .search-container {
    max-width: 90%;
    width: 90%;
    padding: 4px 4px 4px 16px;
  }
  
  .search-input {
    font-size: 12px;
    padding: 8px 6px;
  }
  
  .search-input::placeholder {
    font-size: 12px;
  }
  
  .search-btn {
    width: 36px;
    height: 36px;
  }
  
  .search-btn svg {
    width: 14px;
    height: 14px;
  }
}

/* ===== МОДАЛЬНОЕ ОКНО ===== */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}

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

.popup-content {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.popup-overlay.active .popup-content {
  transform: scale(1);
}

.popup-close {
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  background: none;
  border: none;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s;
}

.popup-close:hover {
  background: #f0f0f0;
  color: var(--color-blue);
}

.popup-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-blue);
  margin: 0 0 var(--spacing-xs) 0;
  text-align: center;
  font-family: var(--font-main);
}

.popup-subtitle {
  font-size: 16px;
  color: #666;
  margin: 0 0 var(--spacing-md) 0;
  text-align: center;
  font-family: var(--font-main);
}

.popup-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  font-family: var(--font-main);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: var(--spacing-sm);
  border: 2px solid #e0e0e0;
  border-radius: var(--radius-sm);
  font-size: 16px;
  transition: border-color 0.3s;
  font-family: var(--font-main);
  background: var(--color-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.popup-submit {
  margin-top: var(--spacing-xs);
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--font-main);
}

.popup-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(246, 194, 0, 0.3);
}

/* Адаптив для мобильных устройств */
@media (max-width: 992px) {
  .popup-content {
    width: 90%;
    max-width: 450px;
    padding: 24px;
  }
  
  .popup-title {
    font-size: 22px;
  }
  
  .popup-subtitle {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .popup-content {
    width: 95%;
    max-width: none;
    margin: 12px;
    padding: 20px;
    border-radius: 12px;
  }
  
  .popup-title {
    font-size: 20px;
  }
  
  .popup-subtitle {
    font-size: 14px;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px; /* Предотвращает зум на iOS */
    padding: 12px;
  }
  
  .form-group label {
    font-size: 13px;
  }
  
  .popup-submit {
    font-size: 15px;
    padding: 12px 20px;
  }
}

@media (max-width: 480px) {
  .popup-content {
    width: 100%;
    margin: 8px;
    padding: 16px;
    border-radius: 8px;
  }
  
  .popup-title {
    font-size: 18px;
    margin-bottom: 8px;
  }
  
  .popup-subtitle {
    font-size: 13px;
    margin-bottom: 16px;
  }
  
  .form-group {
    gap: 6px;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
    padding: 10px;
  }
  
  .popup-submit {
    font-size: 14px;
    padding: 10px 16px;
    width: 100%;
  }
  
  .popup-close {
    width: 28px;
    height: 28px;
    font-size: 20px;
  }
}

/* ===== МОБИЛЬНОЕ МЕНЮ ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s;
}

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

.mobile-menu-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.mobile-menu-content {
  position: absolute;
  top: 0;
  left: -300px;
  width: 280px;
  height: 100%;
  background: white;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.2);
  transition: left 0.3s;
  overflow-y: auto;
}

.mobile-menu.active .mobile-menu-content {
  left: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  font-size: 24px;
  color: var(--color-blue);
  cursor: pointer;
}

.mobile-nav {
  padding: 60px 20px 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav li {
  margin-bottom: 4px;
}

.mobile-nav a {
  display: block;
  padding: 14px 16px;
  color: #333;
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s;
}

.mobile-nav a:hover {
  background: rgba(30, 58, 95, 0.05);
  color: var(--color-blue);
  padding-left: 24px;
}

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

/* Широкие экраны (до 1440px) */
@media (max-width: 1440px) {
  .container {
    max-width: 1200px;
  }
}

/* Планшеты горизонтально (до 1200px) */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  
  .header-right {
    gap: 12px;
  }
  
  .contact-link {
    font-size: 12px;
  }
  
  .btn {
    padding: 8px 16px;
    font-size: 12px;
  }
  
  .logo-title {
    font-size: 16px;
  }
  
  .logo-subtitle {
    font-size: 9px;
  }
}

/* Планшеты вертикально (до 992px) */
@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  
  .contact-link.email {
    display: none;
  }
  
  .social-icons {
    gap: 6px;
  }
  
  .social-link {
    width: 32px;
    height: 32px;
  }
  
  .header-container {
    gap: 20px;
  }
  
  .logo-title {
    font-size: 14px;
  }
  
  /* Адаптив для баннеров */
  .banner-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .main-photo {
    max-width: 100%;
  }
}

/* Мобильные устройства (до 768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 12px;
    max-width: 540px;
  }
  
  .header-wrapper {
    gap: 12px;
  }
  
  .header-left {
    gap: 8px;
  }
  
  .header-container {
    flex-direction: column;
    gap: 15px;
  }
  
  .logo {
    max-width: 100%;
  }
  
  .logo-link {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  
  .logo-icon {
    width: 50px;
    height: 50px;
  }
  
  .logo-title {
    font-size: 13px;
    text-align: center;
  }
  
  .logo-subtitle {
    font-size: 8px;
    text-align: center;
  }
  
  .contact-link.phone {
    font-size: 0;
  }
  
  .contact-link.phone .contact-icon {
    width: 24px;
    height: 24px;
  }
  
  .contact-link.phone .contact-icon svg {
    width: 14px;
    height: 14px;
  }
  
  .btn-yellow {
    padding: 8px 12px;
    font-size: 11px;
  }
  
  .btn-burgundy {
    padding: 8px 12px;
    font-size: 11px;
  }
  
  .social-icons {
    display: none;
  }
  
  /* Адаптив для блоков */
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .benefits-icons-row {
    flex-direction: column;
    align-items: center;
  }
  
  .yellow-block-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .btn-dark,
  .btn-white {
    width: 100%;
  }
  
  /* Адаптив для баннера */
  .banner-h1 {
    font-size: 24px;
  }
  
  .banner-lead {
    font-size: 13px;
  }
  
  .btn-group {
    flex-direction: column;
    gap: 8px;
  }
  
  .btn-main,
  .btn-outline {
    width: 100%;
    text-align: center;
  }
}

/* Малые мобильные (до 576px) */
@media (max-width: 576px) {
  .container {
    padding: 0 10px;
    max-width: 100%;
  }
  
  .header-actions {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .wishlist-icon,
  .cart-icon {
    width: 32px;
    height: 32px;
  }
  
  .btn-header-yellow,
  .btn-header-burgundy {
    font-size: 11px;
    padding: 6px 10px;
  }
  
  /* Скрываем кнопку на очень малых экранах */
  .btn-header-yellow {
    display: none;
  }
}

/* Очень малые устройства (до 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 8px;
  }
  
  .header-right {
    gap: 8px;
  }
  
  .btn-yellow {
    display: none;
  }
  
  .logo-icon {
    width: 40px;
    height: 40px;
  }
  
  .logo-title {
    font-size: 11px;
  }
  
  .logo-subtitle {
    font-size: 7px;
  }
  
  /* Поиск компактнее */
  .search-input {
    font-size: 12px;
  }
  
  .search-btn {
    width: 32px;
    height: 32px;
  }
  
  /* Блоки */
  .mission-title-centered {
    font-size: 24px;
  }
  
  .yellow-block-title {
    font-size: 28px;
  }
  
  .icon-circle {
    width: 60px;
    height: 60px;
  }
}

/* Очень малые экраны (до 360px) */
@media (max-width: 360px) {
  .container {
    padding: 0 6px;
  }
  
  .logo-title {
    font-size: 10px;
  }
  
  .logo-subtitle {
    font-size: 6px;
    display: none; /* Скрываем подзаголовок на совсем маленьких экранах */
  }
  
  .header-actions {
    gap: 6px;
  }
  
  .btn-header-burgundy {
    font-size: 10px;
    padding: 5px 8px;
  }
}

/* ========== ОБНОВЛЕННЫЙ HEADER ========== */
.header-container {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  flex: 1 1 auto;
  max-width: 500px;
}

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

.logo-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: scale(1.02);
}

.logo-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: 420px;
}

.logo-title {
  font-size: 12px;
  font-weight: 700;
  color: #1E3A5F;
  line-height: 1.3;
  white-space: normal;
}

.logo-subtitle {
  font-size: 9px;
  color: #666;
  line-height: 1.3;
  white-space: normal;
}

@media (max-width: 768px) {
  .logo-title {
    font-size: 14px;
  }
  
  .logo-subtitle {
    font-size: 10px;
  }
}

.header-contacts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 0 0 auto;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #1E3A5F;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.3s;
}

.contact-item:hover {
  color: #F6C200;
}

.contact-item svg {
  fill: #F6C200;
  flex-shrink: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.wishlist-icon,
.cart-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #f8f9fa;
  color: #333;
  text-decoration: none;
  transition: all 0.3s;
}

.wishlist-icon:hover,
.cart-icon:hover {
  background: #1E3A5F;
  color: white;
}

.icon-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #800020;
  color: white;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 16px;
  text-align: center;
}

.btn-header-yellow {
  padding: 10px 20px;
  background: #F6C200;
  color: #000;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  white-space: nowrap;
}

.btn-header-yellow:hover {
  background: #E5B300;
  transform: translateY(-1px);
}

.btn-header-burgundy {
  padding: 10px 20px;
  background: #800020;
  color: white;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  white-space: nowrap;
}

.btn-header-burgundy:hover {
  background: #660018;
  transform: translateY(-1px);
}

/* Адаптивность для header */
@media (max-width: 1024px) {
  .header-container {
    gap: 15px;
  }
  
  .btn-header-yellow,
  .btn-header-burgundy {
    padding: 8px 16px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .header-contacts {
    display: none;
  }
  
  .header-actions {
    gap: 8px;
  }
  
  .wishlist-icon,
  .cart-icon {
    width: 36px;
    height: 36px;
  }
  
  .btn-header-yellow,
  .btn-header-burgundy {
    padding: 6px 12px;
    font-size: 12px;
  }
  
  .logo {
    max-width: 100%;
  }
}

/* ========== СТИЛИ ПОИСКА ========== */
.gradient-bg {
  width: 100%;
  height: 60px;
  background: #800020;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.search-wrapper {
  width: 100%;
  max-width: 1200px; /* ограничим максимальную ширину */
  margin: 0 auto; /* центрируем */
}

.search-container {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95); /* полупрозрачный белый фон */
  border-radius: 30px;
  padding: 8px 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 800px; /* вытянутый блок поиска */
  margin: 0 auto;
}
.search-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1cm; /* или, например, 48px - уменьшено в 2 раза */
}

.search-bar {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 24px; /* уменьши радиус, если нужно */
  padding: 0 8px;
  box-shadow: 0 0 0 0.75px #eee;
  height: 100%;
}

.search-input {
  width: 700px;
  height: 0.8cm; /* уменьшить по высоте, если нужен компактный вид */
  border: none;
  padding: 0 12px;
  font-size: 16px;
  outline: none;
  background: transparent;
}

.search-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffd600;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  cursor: pointer;
  font-size: 20px;
}

/* Принудительные стили для поиска */
.search-input { 
  flex: 1; /* растягиваем на всю доступную ширину */
  height: 40px !important;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  padding: 0 12px;
}

.search-btn { 
  height: 40px !important;
  width: 40px !important;
  border-radius: 50%;
  background: #ffd600;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0; /* не сжимается */
}

/* ========== ГОРИЗОНТАЛЬНОЕ РАЗДЕЛЕНИЕ БЛОКА ========== */
.uniqueness-split {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.uniqueness-left {
  flex: 1;
  text-align: center;
}

.uniqueness-left h2 {
  color: white;
}

.uniqueness-description {
  font-size: 18px;
  line-height: 1.6;
  color: white;
  margin: 20px 0;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Стили для цитаты */
.quote-section {
  margin-top: 57px; /* Уменьшили еще на 1 см (с 85px до 57px) */
  text-align: center;
}

.leadership-quote {
  font-size: 20px;
  font-weight: 600;
  color: #FFE600; /* Желтый цвет */
  font-style: italic;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
  margin: 0;
  padding: 15px;
  border-left: 3px solid #FFE600;
  border-right: 3px solid #FFE600;
  background: rgba(255, 230, 0, 0.1);
  border-radius: 10px;
  position: relative;
}

.leadership-quote::before {
  content: '"';
  font-size: 40px;
  color: #FFE600;
  position: absolute;
  top: -5px;
  left: 8px;
  opacity: 0.7;
}

.leadership-quote::after {
  content: '"';
  font-size: 40px;
  color: #FFE600;
  position: absolute;
  bottom: -15px;
  right: 8px;
  opacity: 0.7;
}

.uniqueness-right {
  flex: 1.2;
  text-align: center;
}

.formats-list-compact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.format-item-compact {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.format-item-compact:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Первый блок - Желтый (Онлайн) */
.format-item-compact:nth-child(1) {
  background: #FFE600;
  color: #000;
}

/* Второй блок - Синий (Оффлайн) */
.format-item-compact:nth-child(2) {
  background: #16397A;
  color: white;
}

/* Третий блок - Белый (Смешанный) */
.format-item-compact:nth-child(3) {
  background: white;
  color: #000;
  border: 2px solid #16397A;
}

.format-content h3 {
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin: 0 0 4px 0;
}

.format-content p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
  margin: 0;
}

/* Цвета для первого блока (желтый) */
.format-item-compact:nth-child(1) h3,
.format-item-compact:nth-child(3) h3 {
  color: #000;
}

.format-item-compact:nth-child(1) p,
.format-item-compact:nth-child(3) p {
  color: #333;
}

/* Цвета для второго блока (синий) */
.format-item-compact:nth-child(2) h3 {
  color: white;
}

.format-item-compact:nth-child(2) p {
  color: rgba(255, 255, 255, 0.9);
}

/* Адаптивность */
@media (max-width: 992px) {
  .uniqueness-split {
    gap: 25px;
  }
  
  .uniqueness-description {
    font-size: 16px;
    max-width: 400px;
  }
  
  .leadership-quote {
    font-size: 18px;
    padding: 12px;
  }
}

@media (max-width: 768px) {
  .uniqueness-split {
    flex-direction: column;
    gap: 20px;
  }
  
  .uniqueness-description {
    font-size: 15px;
    max-width: 100%;
    text-align: center;
  }
  
  .leadership-quote {
    font-size: 16px;
    padding: 10px;
  }
  
  .leadership-quote::before,
  .leadership-quote::after {
    font-size: 30px;
  }
  
  .formats-list-compact {
    gap: 10px;
  }
  
  .format-item-compact {
    padding: 10px;
  }
  
  .format-content h3 {
    font-size: 13px;
  }
  
  .format-content p {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .uniqueness-description {
    font-size: 14px;
  }
  
  .leadership-quote {
    font-size: 14px;
    padding: 8px;
    letter-spacing: 0.3px;
  }
  
  .leadership-quote::before,
  .leadership-quote::after {
    font-size: 24px;
  }
  
  .quote-section {
    margin-top: 30px;
  }
}


/* Стили для страницы истории Татьяны */
.oval-text-block {
  border-radius: 50px 20px 50px 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.oval-text-block::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  transform: rotate(-15deg);
  pointer-events: none;
}

.oval-text-block h2 {
  position: relative;
  z-index: 1;
}

.oval-text-block p {
  position: relative;
  z-index: 1;
}

/* Адаптивность для овальных блоков */
@media (max-width: 768px) {
  .oval-text-block {
    border-radius: 30px 15px 30px 15px;
    padding: 24px 20px;
  }
  
  .oval-text-block h2 {
    font-size: 24px;
  }
  
  .oval-text-block p {
    font-size: 18px;
  }
}

/* Дополнительные анимации для страницы истории */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  }
  50% {
    box-shadow: 0 8px 32px rgba(246, 194, 0, 0.3);
  }
}

.oval-text-block:hover {
  animation: glow 2s ease-in-out infinite;
}

/* Градиентный текст */
.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--academy-blue), var(--academy-burgundy));
}

/* Улучшенные переходы */
.transform {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover\:scale-105:hover {
  transform: scale(1.05);
}

/* Анимация пульсации для декоративных элементов */
@keyframes pulse-delayed {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

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

/* ========== HERO-BANNER СТИЛИ (МИНИ БАННЕР) ========== */
.hero-banner {
  background: linear-gradient(135deg, var(--banner-gradient-start, #6B2C7D) 0%, var(--banner-gradient-end, #8B1538) 100%);
  padding: 25px 0;
  color: white;
  overflow: hidden;
  position: relative;
  border-radius: 20px;
  margin: 30px 0;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
  border-radius: 20px;
}

.hero-banner__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.hero-banner__grid {
  display: grid;
  grid-template-columns: 2fr 250px 150px;
  gap: 25px;
  align-items: center;
}

/* ========== ЛЕВАЯ ЧАСТЬ - КОНТЕНТ ========== */
.hero-banner__content {
  padding-right: 15px;
}

.hero-banner__date-badge {
  display: inline-block;
  background: var(--color-yellow);
  color: #000;
  padding: 3px 12px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(246, 194, 0, 0.3);
  letter-spacing: 0.1px;
}

.hero-banner__title {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.25;
  margin: 0 0 8px 0;
  color: white;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  letter-spacing: -0.2px;
}

.hero-banner__description {
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 10px 0;
  opacity: 0.95;
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-banner__info-block {
  margin-bottom: 6px;
  font-size: 12px;
  line-height: 1.4;
  padding: 4px 0;
}

.hero-banner__info-block:last-of-type {
  border-bottom: none;
}

.hero-banner__info-label {
  color: var(--color-yellow);
  font-weight: 700;
  margin-right: 6px;
  display: inline-block;
  min-width: 70px;
  font-size: 12px;
}

.hero-banner__info-label_white {
  color: white;
}

.hero-banner__info-text {
  color: white;
  opacity: 0.9;
  font-weight: 400;
  font-size: 12px;
}

.hero-banner__host-info {
  font-size: 12px;
  margin: 10px 0 12px 0;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border-left: 2px solid var(--color-yellow);
}

.hero-banner__host-name {
  font-weight: 700;
  color: var(--color-yellow);
}

/* Кнопки */
.hero-banner__buttons-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.hero-banner__btn {
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  text-align: center;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.1px;
}

.hero-banner__btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.hero-banner__btn:hover::before {
  width: 200px;
  height: 200px;
}

.hero-banner__btn_primary {
  background: var(--color-yellow);
  color: #000;
  box-shadow: 0 3px 12px rgba(246, 194, 0, 0.4);
}

.hero-banner__btn_primary:hover {
  background: #FFD700;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 5px 20px rgba(246, 194, 0, 0.5);
}

.hero-banner__btn_secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
}

.hero-banner__btn_secondary:hover {
  background: rgba(255, 255, 255, 0.95);
  color: #1E3A5F;
  border-color: white;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.hero-banner__alert-box {
  font-size: 11px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  border-radius: 10px;
  margin-top: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* ========== ПРАВАЯ ЧАСТЬ - ИЗОБРАЖЕНИЕ И QR ========== */
.hero-banner__visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-banner__image-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  transform: perspective(1000px) rotateY(-1deg);
  transition: transform 0.3s ease;
}

.hero-banner__image-card:hover {
  transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.hero-banner__img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.hero-banner__image-card:hover .hero-banner__img {
  transform: scale(1.05);
}

.hero-banner__img_placeholder {
  background: rgba(255, 255, 255, 0.1);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-banner__image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
  padding: 20px 18px 16px;
  color: white;
}

.hero-banner__overlay-title {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}

.hero-banner__overlay-subtitle {
  font-size: 11px;
  opacity: 0.9;
  font-weight: 500;
}

/* QR блок */
.hero-banner__qr-block {
  background: linear-gradient(135deg, var(--color-yellow) 0%, #FFD700 100%);
  padding: 12px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(246, 194, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-banner__qr-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(246, 194, 0, 0.5);
}

.hero-banner__qr-code {
  background: white;
  padding: 8px;
  border-radius: 10px;
  margin-bottom: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-banner__qr-code img {
  width: 100px;
  height: 100px;
  display: block;
}

.hero-banner__qr-placeholder {
  width: 100px;
  height: 100px;
  background: #f0f0f0;
  border-radius: 8px;
  margin: 0 auto;
}

.hero-banner__qr-text {
  font-size: 11px;
  font-weight: 700;
  color: #000;
  line-height: 1.3;
  margin: 0;
  letter-spacing: 0.1px;
}

/* ========== АДАПТИВ HERO-BANNER (МИНИ) ========== */
@media (max-width: 900px) {
  .hero-banner__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .hero-banner__content {
    padding-right: 0;
  }
  
  .hero-banner__visual {
    max-width: 350px;
    margin: 0 auto;
    flex-direction: row;
    gap: 15px;
  }
  
  .hero-banner__image-card {
    flex: 1;
    transform: perspective(1000px) rotateY(0deg);
  }
  
  .hero-banner__qr-block {
    flex: 0 0 140px;
  }
}

@media (max-width: 768px) {
  .hero-banner {
    padding: 20px 0;
    margin: 20px 0;
  }
  
  .hero-banner__container {
    padding: 0 15px;
  }
  
  .hero-banner__visual {
    max-width: 100%;
    flex-direction: column;
  }
  
  .hero-banner__qr-block {
    flex: 1;
    max-width: 180px;
    margin: 0 auto;
  }
  
  .hero-banner__buttons-row {
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .hero-banner {
    padding: 16px 0;
    margin: 16px 0;
    border-radius: 16px;
  }
  
  .hero-banner__container {
    padding: 0 12px;
  }
  
  .hero-banner__title {
    font-size: 20px;
  }
  
  .hero-banner__date-badge {
    font-size: 10px;
    padding: 3px 10px;
  }
  
  .hero-banner__description {
    font-size: 12px;
  }
  
  .hero-banner__info-block {
    font-size: 11px;
  }
  
  .hero-banner__info-label {
    min-width: 60px;
    font-size: 11px;
  }
  
  .hero-banner__host-info {
    font-size: 11px;
    padding: 6px 10px;
  }
  
  .hero-banner__btn {
    padding: 8px 16px;
    font-size: 12px;
  }
  
  .hero-banner__qr-code img {
    width: 80px;
    height: 80px;
  }
  
  .hero-banner__qr-block {
    padding: 10px;
  }
  
  .hero-banner__qr-text {
    font-size: 10px;
  }
  
  .hero-banner__image-card {
    border-radius: 12px;
  }
  
  .hero-banner__alert-box {
    padding: 6px 10px;
    font-size: 10px;
  }
}
