/* ====== VARIABLES & GLOBALS ====== */
:root {
  --main-bg: #02140b;
  --accent: #02140b;
  --white: #fff;
  --menu-color: #02140b;
  --menu-hover: #02140b;
  --hero-overlay: rgba(2,20,11,0.7);
  --transition: 0.2s;
  --max-width: 1200px;
  --box-radius: 12px;
  --shadow: 0 2px 16px 0 rgba(2,20,11,0.07);
  --shadow-lg: 0 4px 32px 0 rgba(2,20,11,0.10);
  /* Добавим цвета для секций */
  --events-bg: #02140b;
  --events-light: #e0fff6;
  --events-side: #02140b;
  --events-accent: #b2fff0;
  --recent-bg: #f7f9fa;
  --carousel-date: #02140b;
  /* Добавляем золотистый цвет для активных элементов и hover-эффектов */
  --active-gold: #b8860b;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  font-family: 'Spectral';
  background: var(--main-bg);
  color: var(--white);
}

body { background: var(--main-bg); }

/* ====== UTILITY CLASSES ====== */
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-18 { gap: 18px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.gap-40 { gap: 40px; }
.gap-48 { gap: 48px; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.radius { border-radius: var(--box-radius); }
.shadow { box-shadow: var(--shadow); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* ====== BUTTONS ====== */
.btn, .arrow-btn {
  background: none;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn { 
  padding: 0.9rem 2.2rem; 
  color: var(--white); 
  border: 2px solid var(--white); 
}

.btn:hover { 
  background: var(--accent); 
  color: var(--main-bg); 
  border-color: var(--accent); 
}

.arrow-btn { 
  color: var(--accent);
  background-color: transparent;
  font-size: 1.6rem; 
  padding: 4px 12px; 
  border-radius: 50%; 
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s;
  box-shadow: none;
}

.arrow-btn:hover { 
  background: rgba(2, 20, 11, 0.1);
  color: var(--accent);
}

.main-btn, 
.signup-btn,
.gallery-btn {
  background: var(--accent);
  color: var(--white);
  transition: background .2s, color .2s, box-shadow .2s;
}

.main-btn:hover,
.signup-btn:hover,
.gallery-btn:hover,
.gallery-cta-btn:hover {
  background: var(--main-bg);
  color: var(--white);
}

/* ====== HERO SECTION ====== */
.hero { 
  position: relative; 
  min-height: 60vh; 
  width: 100%; 
  overflow: hidden; 
  display: flex;
  flex-direction: column;
  align-items: stretch; 
}

.hero-bg { 
  position: absolute; 
  inset: 0; 
  width: 100%; 
  height: 100%; 
  background: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1500&q=80') center/cover no-repeat; 
  z-index: 0; 
  pointer-events: none; 
}

.hero-overlay { 
  position: absolute; 
  inset: 0; 
  width: 100%; 
  height: 100%; 
  background: var(--hero-overlay); 
  z-index: 1; 
  pointer-events: none; 
}

.hero > .container { 
  position: relative; 
  z-index: 2; 
  min-height: 60vh; 
  display: flex;
  flex-direction: column;
  align-items: stretch; 
  max-width: var(--max-width); 
  margin: 0 auto; 
  width: 100%; 
  padding: 0 5vw; 
}

.hero-header { 
  display: flex;
  flex-direction: row;
  justify-content: space-between; 
  align-items: center; 
  padding: 32px 0 0 0; 
  width: 100%; 
  gap: 32px; 
}

.logo { 
  font-size: 2.2rem; 
  font-weight: 700; 
  letter-spacing: 1px; 
  color: var(--white); 
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-dot { 
  width: 10px; 
  height: 10px; 
  background: var(--accent); 
  border-radius: 2px; 
  margin-right: 10px; 
}

/* ====== NAVIGATION (DESKTOP & MOBILE) ====== */

/* Десктопная навигация */
.desktop-nav {
  display: flex;
}

.desktop-nav ul {
  display: flex;
  flex-direction: row;
  gap: 2.5vw;
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.desktop-nav a:hover {
  color: var(--active-gold);
  border-bottom: 2px solid var(--active-gold);
}

/* Мобильная навигация - кнопка */
.mobile-menu-btn {
  display: none; /* Скрыто на десктопе */
  font-size: 2.5rem;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 5px 10px;
  line-height: 1;
  border-radius: 4px;
  transition: background 0.15s;
  position: relative;
  z-index: 110; /* Убеждаемся, что кнопка всегда поверх других элементов */
}

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

/* Мобильная навигация - панель */
.mobile-nav {
  display: none; /* Скрыто по умолчанию */
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  background: var(--main-bg);
  z-index: 105; /* Увеличиваем z-index для меню */
  padding: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  border-radius: 0 0 8px 8px;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 20px 5vw;
}

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

.mobile-nav li:last-child {
  margin-bottom: 0;
}

.mobile-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 500;
  display: block;
  padding: 10px 0;
}

.mobile-nav a:hover {
  color: var(--active-gold);
}

.hero-content-col { 
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
  width: 100%; 
  min-height: 38vh; 
  margin-top: 7vw; 
  position: relative; 
  flex: 1; 
}

.hero-title { 
  font-size: 3.2rem; 
  font-weight: 600; 
  margin-bottom: 2.5rem; 
  max-width: 700px; 
  line-height: 1.1; 
}

.hero-btns { 
  display: flex;
  flex-direction: row;
  gap: 1.5rem; 
}

.signup-btn-bottom { 
  margin-top: auto; 
  width: 100%; 
  display: flex;
  flex-direction: row;
  justify-content: flex-end; 
  align-items: flex-end; 
  padding-bottom: 2vw; 
}

.signup-btn { 
  background: var(--accent); 
  color: var(--white); 
  width: 260px; 
  height: 160px; 
  border-radius: 0 0 8px 0; 
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: flex-start; 
  padding: 2rem; 
  font-size: 1.1rem; 
  font-weight: 500; 
  box-shadow: none; 
  border: none; 
  cursor: pointer; 
  transition: background var(--transition), color var(--transition); 
  z-index: 3; 
}

.signup-btn span { 
  margin-bottom: 1.2rem; 
}

.signup-arrow { 
  margin-left: auto; 
  font-size: 1.6rem; 
  align-self: flex-end; 
  transition: transform var(--transition); 
}

.signup-btn:hover .signup-arrow { 
  transform: translateX(8px); 
}

/* ====== ABOUT SECTION ====== */
.about-section { 
  background: #fff; 
  color: var(--accent); 
  padding: 80px 0 70px 0; 
  width: 100%; 
}

.about-flex { 
  max-width: var(--max-width); 
  margin: 0 auto; 
  padding: 0 5vw; 
  display: flex;
  flex-direction: row;
  gap: 96px; 
  align-items: flex-start; 
  justify-content: flex-end; 
  flex-wrap: wrap; 
  width: 100%; 
}

.about-content { 
  flex: 0 1 540px; 
  min-width: 320px; 
}

.about-section h2 { 
  font-size: 2.5rem; 
  font-weight: 600; 
  margin-bottom: 32px; 
  letter-spacing: 1px; 
  color: var(--accent);
}

.about-columns { 
  display: flex;
  flex-direction: row;
  gap: 32px; 
}

.about-columns > div { 
  flex: 1 1 0; 
  font-size: 1.13rem; 
  line-height: 1.7; 
  font-weight: 400; 
}

.about-photo { 
  flex: 0 0 340px; 
  min-width: 220px; 
  display: flex;
  flex-direction: row;
  align-items: flex-start; 
  justify-content: flex-end; 
  height: 100%; 
}

.photo-placeholder { 
  width: 320px; 
  height: 320px; 
  background: #eaf7fa; 
  border-radius: 18px; 
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent); 
  font-size: 1.3rem; 
  font-weight: 600; 
  text-align: center; 
  box-shadow: var(--shadow); 
}

/* ====== EVENTS SECTION ====== */
.events-section { 
  position: relative; 
  background: var(--events-bg); 
  width: 100%; 
  min-height: 700px; 
  padding: 0; 
  overflow: visible; 
}

.events-bg { 
  display: none; 
}

.events-container { 
  max-width: var(--max-width); 
  margin: 0 auto; 
  padding: 64px 5vw 0 5vw; 
  position: relative; 
  z-index: 2; 
  box-sizing: border-box; 
}

.events-title { 
  color: var(--white); 
  font-size: 2.5rem; 
  font-weight: 600; 
  text-align: left;
  margin-bottom: 48px; 
  letter-spacing: 1px; 
  margin-left: 0; 
  padding-left: 0; 
}

.events-flex { 
  display: flex;
  flex-direction: row;
  gap: 40px; 
  align-items: flex-start; 
  justify-content: space-between; 
  position: relative; 
}

.events-main {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 32px;
}

.event-banner { 
  width: 600px; 
  max-width: 100%; 
  aspect-ratio: 16/7; 
  border-radius: 0.5rem 0.5rem 0 0; 
  overflow: hidden; 
  box-shadow: var(--shadow-lg); 
  background: #222; 
  margin-bottom: 0; 
}

.event-banner img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block; 
}

.event-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-next { 
  color: var(--events-light); 
  font-size: 1rem; 
  font-weight: 500; 
  margin-bottom: 8px; 
}

.event-name { 
  color: var(--white); 
  font-size: 2.1rem; 
  font-weight: 600; 
  margin-bottom: 12px; 
}

.event-date { 
  color: var(--events-light); 
  font-size: 1.1rem; 
  font-weight: 500; 
}

.event-speakers-row { 
  display: flex;
  flex-direction: row;
  align-items: center; 
  justify-content: space-between; 
  margin-top: 18px; 
  gap: 24px; 
  width: 100%; 
  max-width: 600px; 
}

.event-speakers-label { 
  color: var(--white); 
  font-size: 1.1rem; 
  font-weight: 500; 
}

.event-arrows { 
  display: flex;
  flex-direction: row;
  gap: 12px; 
  max-width: 120px; 
  width: 100%; 
  justify-content: flex-end; 
}

.events-side { 
  flex: 0 0 370px; 
  min-width: 320px; 
  position: relative; 
  z-index: 3; 
  margin-bottom: -64px; 
}

.side-block { 
  background: var(--events-side); 
  border-radius: 0 0 8px 8px; 
  box-shadow: 0 8px 32px 0 rgba(2,20,11,0.10); 
  padding: 36px 32px 0 32px; 
  display: flex;
  flex-direction: column;
  gap: 0; 
  min-height: 480px; 
  position: relative; 
  top: 0; 
}

.side-title { 
  color: var(--white); 
  font-size: 1.3rem; 
  font-weight: 700; 
  margin-bottom: 4px; 
}

.side-desc { 
  color: var(--events-accent); 
  font-size: 1rem; 
  margin-bottom: 24px; 
}

.side-list { 
  display: flex;
  flex-direction: column;
  gap: 0; 
  margin-bottom: 24px; 
}

.side-event { 
  display: flex;
  flex-direction: row;
  align-items: center; 
  gap: 18px; 
  padding: 18px 0; 
}

.side-event-img { 
  width: 48px; 
  height: 48px; 
  border-radius: 50%; 
  background-size: cover; 
  background-position: center; 
  background-color: #00d1a0; 
  flex-shrink: 0; 
}

.side-event-info { 
  display: flex;
  flex-direction: column;
  gap: 2px; 
}

.side-event-name { 
  color: var(--white); 
  font-size: 1.08rem; 
  font-weight: 600; 
}

.side-event-date { 
  color: var(--events-accent); 
  font-size: 0.98rem; 
}

.side-divider { 
  height: 1px; 
  background: rgba(255,255,255,0.13); 
  margin: 0 0 0 66px; 
  width: calc(100% - 66px); 
}

.side-all-events { 
  display: flex;
  flex-direction: row;
  align-items: center; 
  justify-content: space-between; 
  color: var(--white); 
  font-size: 1.1rem; 
  font-weight: 500; 
  text-decoration: none; 
  margin-top: 32px; 
  padding: 18px 0 18px 0; 
  border-top: 1px solid rgba(255,255,255,0.13); 
  transition: color 0.15s; 
}

.side-all-events:hover { 
  color: var(--events-accent); 
}

.side-arrow { 
  font-size: 1.5rem; 
  margin-left: 18px; 
  transition: transform 0.15s; 
}

.side-all-events:hover .side-arrow { 
  transform: translateX(8px); 
}

/* ====== RECENT EVENTS SECTION ====== */
.recent-section { 
  background: var(--recent-bg); 
  width: 100%; 
  padding: 0 0 64px 0; 
}

.recent-container { 
  max-width: var(--max-width); 
  margin: 0 auto; 
  padding: 48px 5vw 0 5vw; 
  box-sizing: border-box; 
}

.recent-top-row { 
  display: flex;
  flex-direction: row;
  align-items: flex-start; 
  gap: 48px; 
  margin-bottom: 40px; 
}

.recent-main-video { 
  flex: 0 0 480px; 
  max-width: 480px; 
  margin-left: 60px; 
}

.recent-main-video-thumb { 
  position: relative; 
  width: 100%; 
  aspect-ratio: 16/9; 
  border-radius: 18px; 
  overflow: hidden; 
  background: #fff; 
  box-shadow: var(--shadow-lg); 
}

.recent-main-video-thumb img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block; 
}

.yt-play { 
  position: absolute; 
  left: 50%; 
  top: 50%; 
  transform: translate(-50%, -50%); 
  width: 64px; 
  height: 64px; 
  background: rgba(255,255,255,0.92); 
  border: none; 
  border-radius: 50%; 
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer; 
  box-shadow: 0 2px 12px 0 rgba(2,20,11,0.10); 
  transition: background 0.15s; 
  z-index: 2; 
}

.yt-play span { 
  display: block; 
  width: 0; 
  height: 0; 
  border-left: 22px solid #e53935; 
  border-top: 14px solid transparent; 
  border-bottom: 14px solid transparent; 
  margin-left: 6px; 
}

.yt-play:hover { 
  background: #fff; 
}

.recent-title-block { 
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
  justify-content: flex-start; 
  margin-top: 0; 
  flex: 1; 
}

.recent-title-inline { 
  color: #02140b; 
  font-size: 2.5rem; 
  font-weight: 600; 
  margin: 0 0 10px 0; 
  padding-left: 0; 
  align-self: flex-start; 
  line-height: 1.1; 
}

.recent-title-desc { 
  color: #02140b; 
  font-size: 1.15rem; 
  font-weight: 400; 
  margin-top: 0.2em; 
  line-height: 1.5; 
  opacity: 0.85; 
}

/* ====== CAROUSEL ====== */
.carousel-viewport { 
  width: 1084px; 
  max-width: 100vw; 
  overflow: hidden; 
  margin: 0 auto; 
  position: relative; 
}

.carousel-track { 
  display: flex;
  flex-direction: row;
  gap: 32px; 
  transition: transform 0.7s cubic-bezier(.4,1.2,.4,1); 
}

.carousel-item { 
  min-width: 340px; 
  max-width: 340px; 
  width: 340px; 
  background: #fff; 
  border-radius: var(--box-radius) var(--box-radius) 0 0; 
  box-shadow: var(--shadow); 
  display: flex;
  flex-direction: column;
  align-items: stretch; 
  overflow: hidden; 
  position: relative; 
}

.carousel-thumb { 
  position: relative; 
  width: 100%; 
  aspect-ratio: 16/9; 
  overflow: hidden; 
}

.carousel-thumb img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block; 
}

.carousel-date { 
  background: #02140b; 
  color: #fff; 
  font-size: 1.1rem; 
  font-weight: 600; 
  padding: 12px 0 12px 18px; 
  border-radius: 0 0 0 0; 
  margin-top: 0; 
}

/* ====== CAROUSEL ARROWS (RECENT) ====== */
.carousel-arrows .arrow-btn {
  margin: 0 2px;
  color: var(--accent);
}

/* ====== MODAL ====== */
.yt-modal { 
  display: none; 
  position: fixed; 
  z-index: 1000; 
  left: 0; 
  top: 0; 
  right: 0; 
  bottom: 0; 
  width: 100vw; 
  height: 100vh; 
}

.yt-modal.active { 
  display: flex; 
  align-items: center;
  justify-content: center;
}

.yt-modal-bg { 
  position: absolute; 
  left: 0; 
  top: 0; 
  right: 0; 
  bottom: 0; 
  background: rgba(0,0,0,0.7); 
  z-index: 1; 
}

.yt-modal-content { 
  position: relative; 
  z-index: 2; 
  background: #000; 
  border-radius: var(--box-radius); 
  overflow: hidden; 
  width: 90vw; 
  max-width: 900px; 
  aspect-ratio: 16/9; 
  display: flex;
  align-items: center;
  justify-content: center;
}

.yt-modal-content iframe { 
  width: 100%; 
  height: 100%; 
  border: none; 
  display: block; 
}

.yt-modal-close { 
  position: absolute; 
  top: 10px; 
  right: 18px; 
  background: none; 
  border: none; 
  color: #fff; 
  font-size: 2.2rem; 
  cursor: pointer; 
  z-index: 3; 
  transition: color 0.15s; 
}

.yt-modal-close:hover { 
  color: var(--accent); 
}

/* ====== MEDIA QUERIES ====== */
@media (max-width: 1366px) {
  .recent-main-video {
    margin-left: 0;
  }
}

@media (max-width: 1200px) {
  .about-flex { 
    max-width: 100%; 
    padding: 0 3vw; 
    gap: 48px; 
  }
  
  .about-content { 
    flex-basis: 48%; 
  }
  
  .about-photo { 
    flex-basis: 32%; 
  }
  
  .carousel-viewport {
    width: 100%;
    padding: 0 5vw;
  }
}

@media (max-width: 1100px) {
  .hero-title {
    font-size: 2.6rem;
    max-width: 600px;
  }
  
  .about-flex { 
    flex-direction: column; 
    align-items: stretch; 
    gap: 32px; 
    padding: 0 5vw; 
  }
  
  .about-photo { 
    justify-content: flex-start; 
  }
  
  .photo-placeholder { 
    width: 100%; 
    max-width: 320px; 
    height: 220px; 
  }
  
  .about-columns { 
    flex-direction: column; 
    gap: 18px; 
  }
  
  .events-flex { 
    flex-direction: column; 
    gap: 48px; 
  }
  
  .events-side { 
    margin-bottom: 48px; 
    min-width: 0; 
    max-width: 600px;
    width: 100%;
  }
  
  .side-block { 
    min-height: 0; 
  }
  
  .event-banner { 
    width: 100%; 
  }
  
  .carousel-item { 
    min-width: 280px;
    max-width: 100%;
    width: 100%;
  }
  
  .events-main {
    height: auto;
  }
  .event-info {
    flex: unset;
    justify-content: center;
  }
}

@media (max-width: 900px) {
  /* Мобильная навигация */
  .desktop-nav {
    display: none; /* Скрываем десктопное меню */
  }
  
  .mobile-menu-btn {
    display: block; /* Показываем кнопку меню */
  }
  
  /* Стили для шапки */
  .hero-title { 
    font-size: 2.1rem; 
    margin-bottom: 1.8rem;
  }
  
  .hero-header {
    position: relative;
  }
  
  .signup-btn { 
    width: 180px; 
    height: 110px; 
    font-size: 1rem; 
    padding: 1.2rem; 
  }
  
  .hero-content-col { 
    margin-top: 10vw; 
  }
  
  .signup-btn-bottom { 
    padding-bottom: 1vw; 
  }
  
  /* Видео секция */
  .recent-section {
    padding: 0 0 20px 0;
  }
  
  .recent-container {
    padding: 10px 5vw 0 5vw;
  }
  
  .recent-top-row { 
    flex-direction: column; 
    align-items: flex-start; 
    gap: 0;
    margin-bottom: 5px;
  }
  
  .recent-main-video { 
    flex: 0 0 auto; /* Изменение flex-свойства для мобильных устройств */
    max-width: 100%; 
    width: 100%;
    margin-left: 0;
    margin-bottom: 0;
  }
  
  .recent-title-block {
    width: 100%;
    margin-top: 5px;
  }
  
  .recent-title-inline { 
    font-size: 1.4rem;
    margin-top: 0;
    color: #02140b;
  }
  
  .recent-title-desc {
    margin-top: 2px;
    color: #02140b;
  }
  
  .carousel-arrows {
    margin-bottom: 2px;
  }
  
  .gallery-bg { 
    padding: 24px 16px 18px 16px; 
    border-radius: 12px;
  }
  
  .gallery-collage { 
    max-width: 100%; 
    grid-template-columns: 1fr 1fr; 
    grid-template-rows: 180px 120px 120px 120px; 
  }
  
  .tile-1 { grid-column: 1/2; grid-row: 1/3; }
  .tile-2 { grid-column: 2/3; grid-row: 1/2; }
  .tile-3 { grid-column: 2/3; grid-row: 2/4; }
  .tile-4 { grid-column: 1/2; grid-row: 3/5; }
  .tile-5 { grid-column: 2/3; grid-row: 4/5; }
  .tile-6 { grid-column: 1/2; grid-row: 5/6; }
}
@media (max-width: 768px) {
  .hero {
    min-height: 75vh;
  }
  .hero > .container {
    min-height: 75vh;
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .hero-btns {
    flex-direction: column;
    gap: 24px;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  
  .about-section h2,
  .events-title,
  .recent-title-inline {
    font-size: 1.8rem;
  }
  
  .event-name {
    font-size: 1.6rem;
  }
  
  .gallery-title {
    font-size: 1.6rem;
  }
  
  .gallery-cta-btn {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 16px 16px 16px;
    min-width: 0;
  }
  
  .gallery-cta-arrow {
    margin-left: 0;
    align-self: flex-start;
  }

  /* Исправление отступов в секции клиентов */
  .clients-section {
    min-height: auto;
    padding: 60px 0 50px 0;
  }

  .testimonial-content {
    max-height: 300px;
    overflow-y: auto;
  }
}
@media (max-width: 700px) {
  .about-section { 
    padding: 40px 0 30px 0; 
  }
  
  .about-section h2 { 
    font-size: 1.6rem; 
    margin-bottom: 16px; 
  }
  
  .about-columns > div { 
    font-size: 1rem; 
  }
  
  .photo-placeholder { 
    height: 120px; 
    font-size: 1rem; 
  }
  
  .events-container { 
    padding: 32px 5vw 0 5vw; 
  }
  
  .events-title { 
    font-size: 1.5rem; 
    margin-bottom: 24px; 
  }
  
  .side-block { 
    padding: 24px 16px 0 16px; 
  }
  
  .event-name { 
    font-size: 1.2rem; 
  }
  
  .event-info { 
    margin-top: 12px; 
  }
  
  .event-speakers-row { 
    margin-top: 18px;
    flex-direction: column;
    align-items: flex-start; 
  }
  
  .recent-container { 
    padding: 24px 5vw 0 5vw; 
  }
  
  .recent-title-inline { 
    font-size: 1.4rem;
    margin-top: 0;
    color: #02140b;
  }
  
  .recent-title-desc {
    font-size: 1rem;
    margin-top: 4px;
    color: #02140b;
  }
  
  .carousel-track { 
    gap: 16px; 
  }
  
  .carousel-item { 
    min-width: 260px; 
  }
  
  .carousel-arrows {
    margin-bottom: 6px;
  }
  
  .gallery-collage {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 220px);
    gap: 16px;
  }
  
  .tile-1, .tile-2, .tile-3, .tile-4, .tile-5, .tile-6 {
    grid-column: 1;
  }
  
  .tile-1 { grid-row: 1/2; }
  .tile-2 { grid-row: 2/3; }
  .tile-3 { grid-row: 3/4; }
  .tile-4 { grid-row: 4/5; }
  .tile-5 { grid-row: 5/6; }
  .tile-6 { grid-row: 6/7; }
}

@media (max-width: 480px) {
  .hero {
    min-height: 65vh;
  }
  .hero > .container {
    min-height: 65vh;
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .hero-btns {
    gap: 20px;
  }
  .hero-title {
    font-size: 1.5rem;
  }
  
  .signup-btn {
    width: 140px;
    height: 90px;
    font-size: 0.9rem;
    padding: 1rem;
  }
  
  .signup-btn span {
    margin-bottom: 0.8rem;
  }
  
  .signup-arrow {
    font-size: 1.2rem;
  }
  
  .about-section,
  .events-section,
  .recent-section,
  .gallery-section,
  .clients-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  
  .about-columns > div {
    font-size: 0.9rem;
  }
  
  .carousel-date {
    font-size: 0.9rem;
    padding: 8px 0 8px 16px;
    background: #02140b;
  }
  
  .yt-play {
    width: 48px;
    height: 48px;
  }
  
  .yt-play span {
    border-left: 16px solid #e53935;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
  }
  
  /* Улучшение отображения галереи на маленьких экранах */
  .gallery-bg {
    padding: 20px 12px 16px 12px;
    border-radius: 8px;
  }
  
  .gallery-collage {
    gap: 12px;
  }
  
  .gallery-tile {
    border-radius: 8px;
  }

  /* Еще более компактные отступы для мобильных устройств */
  .clients-section {
    min-height: auto;
    padding: 40px 0 30px 0;
  }
}

/* === CLIENTS SECTION === */
.clients-section {
  min-height: 600px;
  padding: 120px 0 100px 0;
  width: 100%;
}

.logos-marquee {
  overflow: hidden;
  width: 100%;
  margin-bottom: 40px;
  background: transparent;
  height: 80px;
  position: relative;
}

.logos-track {
  display: flex;
  align-items: center;
  gap: 48px;
  min-width: 2000px;
  will-change: transform;
  animation: marquee 16s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.cta-section { 
  background: var(--events-bg); 
  color: var(--white); 
  padding: 100px 0; 
  width: 100%; 
  text-align: center; 
}

/* === GALLERY SECTION === */
.gallery-section {
  background: var(--white);
  padding: 80px 0 40px 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-bg {
  background: var(--events-bg);
  border-radius: 18px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 48px 48px 32px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-title {
  color: var(--white);
  font-size: 2.1rem;
  font-weight: 600;
  margin-bottom: 18px;
  text-align: left;
  width: 100%;
}

.gallery-desc {
  color: var(--events-accent);
  font-size: 1.08rem;
  margin-bottom: 32px;
  text-align: left;
  width: 100%;
  max-width: 900px;
}

.gallery-collage {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 220px 120px 180px;
  gap: 18px;
  width: 100%;
  max-width: 1100px;
  margin-bottom: 0;
  position: relative;
}

.tile-1 { grid-column: 1/2; grid-row: 1/3; z-index: 2; }
.tile-2 { grid-column: 2/4; grid-row: 1/2; }
.tile-3 { grid-column: 2/3; grid-row: 2/4; }
.tile-4 { grid-column: 3/4; grid-row: 2/4; }
.tile-5 { grid-column: 1/2; grid-row: 3/4; }
.tile-6 { grid-column: 2/3; grid-row: 3/4; }

.gallery-tile {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #eee;
  cursor: pointer;
  transition: box-shadow .2s;
  box-shadow: 0 2px 12px 0 rgba(2,20,11,0.10);
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}

.gallery-tile:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.54);
  color: var(--white);
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity .3s;
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
  padding: 18px;
  pointer-events: none;
}

.gallery-tile:hover .gallery-overlay {
  opacity: 1;
  pointer-events: auto;
}

.gallery-btn-row {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.gallery-cta-btn {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--accent);
  color: var(--white);
  border-radius: 4px;
  padding: 22px 32px 18px 24px;
  text-decoration: none;
  min-width: 340px;
  max-width: 540px;
  width: 100%;
  box-shadow: var(--shadow);
  transition: background .2s, color .2s, box-shadow .2s;
  font-size: 1.1rem;
  position: relative;
}

.gallery-cta-btn:hover {
  background: var(--main-bg);
  color: var(--white);
  box-shadow: 0 4px 24px 0 rgba(2,20,11,0.13);
}

.gallery-cta-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-cta-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.gallery-cta-title {
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 2px;
}

.gallery-cta-desc {
  font-size: 0.98rem;
  font-weight: 400;
  opacity: 0.95;
  line-height: 1.3;
}

.gallery-cta-arrow {
  font-size: 2rem;
  margin-left: 18px;
  align-self: flex-end;
  transition: transform .2s;
}

.gallery-cta-btn:hover .gallery-cta-arrow {
  transform: translateX(8px);
}

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

/* Мобильные медиазапросы для галереи */
@media screen and (max-width: 480px) {
  .gallery-bg {
    padding: 20px 12px 16px 12px;
    border-radius: 8px;
  }
  
  .gallery-section .gallery-collage {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 220px);
    gap: 12px;
  }
  
  .gallery-section .tile-1,
  .gallery-section .tile-2,
  .gallery-section .tile-3,
  .gallery-section .tile-4,
  .gallery-section .tile-5,
  .gallery-section .tile-6 {
    grid-column: 1;
    width: 100%;
  }
  
  .gallery-section .tile-1 { grid-row: 1/2; }
  .gallery-section .tile-2 { grid-row: 2/3; }
  .gallery-section .tile-3 { grid-row: 3/4; }
  .gallery-section .tile-4 { grid-row: 4/5; }
  .gallery-section .tile-5 { grid-row: 5/6; }
  .gallery-section .tile-6 { grid-row: 6/7; }
  
  .gallery-tile {
    border-radius: 8px;
  }
}

/* === OUR COMPANY VALUES SECTION === */
.values-section {
  background: #fff;
  width: 100%;
  padding: 80px 0;
  position: relative;
  z-index: 2;
}

.values-bg-block {
  background: #02140b;
  border-radius: 0 40px 40px 0;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  display: flex;
  box-shadow: 0 8px 32px 0 rgba(2,20,11,0.13);
  min-height: 420px;
  padding: 60px 0 60px 0;
  overflow: visible;
}

.values-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 60px;
  position: relative;
  z-index: 2;
}

.values-title {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 40px;
}

.values-layout {
  display: flex;
  flex-direction: row;
  gap: 60px;
  align-items: flex-start;
  position: relative;
}

.values-content {
  flex: 1 1 0;
  color: #fff;
  font-size: 1.15rem;
  line-height: 1.6;
  z-index: 2;
}

.values-list {
  list-style-type: square;
  padding-left: 24px;
}

.values-list li {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 24px;
  position: relative;
}

.values-image {
  flex: 1 1 0;
  max-width: 480px;
  min-width: 320px;
  position: absolute;
  top: 40px;
  right: -80px;
  z-index: 3;
  align-self: flex-start;
  box-shadow: 0 12px 40px 0 rgba(2,20,11,0.18);
}

.values-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(2,20,11,0.18);
}

@media (max-width: 1300px) {
  .values-bg-block {
    max-width: 98vw;
    padding: 40px 0;
  }
  .values-container {
    padding: 0 24px;
  }
  .values-image {
    max-width: 340px;
    right: -40px;
  }
}

@media (max-width: 1100px) {
  .values-bg-block {
    border-radius: 0 24px 24px 0;
    padding: 30px 0;
  }
  .values-layout {
    gap: 30px;
  }
  .values-image {
    max-width: 260px;
    right: -20px;
    top: 30px;
  }
}

@media (max-width: 900px) {
  .values-layout {
    flex-direction: column-reverse;
    gap: 30px;
  }
  .values-image {
    position: static;
    max-width: 100%;
    min-width: 0;
    right: 0;
    margin-bottom: 0;
    align-self: stretch;
    top: auto;
    box-shadow: 0 8px 32px 0 rgba(2,20,11,0.13);
  }
  .values-bg-block {
    padding: 18px 0;
    border-radius: 0 0 24px 24px;
  }
}

@media (max-width: 600px) {
  .values-section {
    padding: 24px 0;
  }
  .values-title {
    font-size: 1.3rem;
    margin-bottom: 18px;
  }
  .values-bg-block {
    padding: 8px 0;
  }
  .values-container {
    padding: 0 8px;
  }
  .values-list li {
    font-size: 1rem;
    margin-bottom: 14px;
  }
}

/* === FOOTER === */
.site-footer {
  background: #02140b;
  color: #fff;
  padding: 0;
  margin: 0;
  width: 100%;
  font-size: 1rem;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5vw;
}
.footer-main-row {
  display: flex;
  flex-direction: row;
  gap: 48px;
  padding: 48px 0 24px 0;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-signup-col {
  flex: 1 1 340px;
  min-width: 320px;
  max-width: 420px;
  display: flex;
  align-items: flex-start;
}
.footer-info-col {
  flex: 2 1 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-end;
}
.footer-contacts {
  display: flex;
  flex-direction: row;
  gap: 32px;
  margin-bottom: 12px;
}
.footer-contact-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-contact-title {
  font-weight: 600;
  font-size: 1.08rem;
  margin-bottom: 2px;
}
.footer-contact-item {
  font-size: 0.98rem;
  opacity: 0.85;
}
.footer-socials {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-bottom: 10px;
}
.footer-social-link img {
  width: 28px;
  height: 28px;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: opacity 0.2s;
}
.footer-social-link:hover img {
  opacity: 1;
}
.footer-links {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-bottom: 8px;
}
.footer-link {
  color: #fff;
  text-decoration: none;
  font-size: 1.05rem;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.footer-link:hover {
  opacity: 1;
  text-decoration: underline;
}
.footer-bottom-row {
  border-top: 1px solid rgba(255,255,255,0.13);
  padding: 18px 0 8px 0;
  text-align: left;
  font-size: 0.98rem;
  opacity: 0.7;
}
@media (max-width: 900px) {
  .footer-main-row {
    flex-direction: column;
    gap: 32px;
    align-items: stretch;
    padding: 32px 0 16px 0;
  }
  .footer-info-col {
    align-items: flex-start;
  }
  .footer-signup-col {
    max-width: 100%;
    min-width: 0;
  }
  .footer-contacts {
    flex-direction: column;
    gap: 10px;
  }
  .footer-links {
    gap: 16px;
  }
}
@media (max-width: 600px) {
  .footer-container {
    padding: 0 8px;
  }
  .footer-main-row {
    padding: 18px 0 8px 0;
    gap: 18px;
  }
  .footer-bottom-row {
    padding: 10px 0 4px 0;
    font-size: 0.92rem;
  }
}

/* ====== EVENT DETAILS PAGE STYLES ====== */

/* Стили для страницы конкретного ивента */
.event-content-section {
  background: #fff;
  color: var(--accent);
  padding: 60px 0;
}

.event-content-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 5vw;
}

.event-section-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 24px;
  position: relative;
}

.event-description {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 90%;
}

.event-focus-points {
  margin-bottom: 40px;
}

.event-focus-list, .event-attendees-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.event-focus-list ul, .event-attendees-list ul {
  flex: 1 1 220px;
  min-width: 220px;
  margin: 0;
  padding: 0;
}

.event-focus-list li, .event-attendees-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 18px;
  font-size: 1.13rem;
  line-height: 1.5;
  list-style: none;
}

.event-focus-list li:before, .event-attendees-list li:before {
  content: "\2726";
  color: #02140b;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.25em;
}

.event-focus-title {
  font-weight: 600;
  display: inline;
}

.event-attendees {
  margin-bottom: 40px;
}

.event-attendees-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.event-attendees-list li:before {
  content: "\2726";
  color: #02140b;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.25em;
}

.events-hero-date {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 500;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .event-description {
    font-size: 1.05rem;
    max-width: 100%;
  }
  
  .event-focus-list, .event-attendees-list {
    flex-direction: column;
    gap: 0;
  }
  
  .events-hero-date {
    font-size: 1.2rem;
  }
}

/* ====== EVENTS PAGE STYLES ====== */

/* Hero секция */
.events-hero {
  position: relative;
  min-height: 40vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.events-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: url('audience-large.jpg') center/cover no-repeat;
  z-index: 0;
  pointer-events: none;
}

.events-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: var(--hero-overlay);
  z-index: 1;
  pointer-events: none;
}

.events-hero > .container {
  position: relative;
  z-index: 2;
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  padding: 0 5vw;
}

.events-hero-title {
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 80%;
}

.events-hero-date {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 500;
  margin-top: 10px;
}

/* Секция с событиями */
.upcoming-events-section {
  background-color: #fff;
  padding: 60px 0;
  color: var(--accent);
}

.upcoming-events-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 5vw;
}

.upcoming-events-title {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 40px;
  color: var(--accent);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.event-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: var(--box-radius);
  box-shadow: var(--shadow);
  overflow: visible;
}

.event-card-image {
  width: 100%;
  aspect-ratio: 16/9;
  height: auto;
  min-height: 180px;
  max-height: 220px;
  border-radius: 12px;
  overflow: hidden;
  margin: 0 0 18px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.event-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-date-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--accent);
  color: #fff;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 4px;
  z-index: 2;
}

.event-card-content {
  flex: 1 1 auto;
  padding: 0 24px 0 24px;
}

.event-card-footer {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  min-height: 56px;
  padding: 0 24px 24px 24px;
}

.event-card-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--accent);
  line-height: 1.4;
}

.event-card-location {
  font-size: 1rem;
  color: #666;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.event-card-location::before {
  content: "📍";
  margin-right: 5px;
}

.event-arrow-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--accent);
  transition: color 0.3s;
  text-decoration: none;
  background: transparent;
  border-radius: 0;
  width: auto;
  height: auto;
}

.event-arrow-btn:hover {
  color: var(--accent);
  background: transparent;
}

/* Кнопка в последней карточке */
.event-promo-card {
  background: var(--accent);
  border-radius: var(--box-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 30px;
  text-align: center;
  cursor: pointer;
  min-height: 320px;
}

.event-promo-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  background: rgba(2, 20, 11, 0.8);
}

.event-promo-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.4;
}

.event-promo-btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  margin-top: 20px;
  background-color: #fff;
  color: var(--accent);
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s;
}

.event-promo-btn:hover {
  background-color: #063723;
  color: #fff;
  transform: translateY(-3px);
}

/* Медиа-запросы для адаптивности */
@media (max-width: 1024px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .events-hero-title {
    font-size: 2.8rem;
    max-width: 100%;
  }
  
  .events-hero-date {
    font-size: 1.2rem;
  }
}

@media (max-width: 600px) {
  .events-grid {
    grid-template-columns: 1fr;
  }
  
  .events-hero-title {
    font-size: 2.4rem;
  }
}

.testimonial-carousel .arrow-btn {
  color: var(--accent);
}

.testimonial-slide {
  display: none;
}

.testimonial-slide.active {
  display: block;
}

@font-face {
  font-family: 'Spectral';
  src: url('assets/fonts/Spectral-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Spectral';
  src: url('assets/fonts/Spectral-ExtraLightItalic.ttf') format('truetype');
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Spectral';
  src: url('assets/fonts/Spectral-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Spectral';
  src: url('assets/fonts/Spectral-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Spectral';
  src: url('assets/fonts/Spectral-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Spectral';
  src: url('assets/fonts/Spectral-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Spectral';
  src: url('assets/fonts/Spectral-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Spectral';
  src: url('assets/fonts/Spectral-MediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Spectral';
  src: url('assets/fonts/Spectral-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Spectral';
  src: url('assets/fonts/Spectral-SemiBoldItalic.ttf') format('truetype');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Spectral';
  src: url('assets/fonts/Spectral-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Spectral';
  src: url('assets/fonts/Spectral-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Spectral';
  src: url('assets/fonts/Spectral-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Spectral';
  src: url('assets/fonts/Spectral-ExtraBoldItalic.ttf') format('truetype');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

.event-brochure-btn {
  margin-top: 24px;
  display: inline-block;
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 8px;
  padding: 0.9rem 2.2rem;
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, border 0.3s;
  box-sizing: border-box;
  align-self: flex-start;
  width: auto;
}
.event-brochure-btn:hover {
  background: #fff;
  color: #02140b;
  border-color: #02140b;
}

/* Добавляем отступ снизу для кнопок в мобильной версии */
@media (max-width: 768px) {
  .event-brochure-btn {
    margin-bottom: 30px;
  }
  
  /* Убираем центрирование, оставляем контент слева */
  .events-hero > .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .events-hero-title {
    text-align: left;
  }
} 