:root {
  --navy: #002147;
  --turquoise: #00a9a5;
  --white: #ffffff;
  --gold: #ffc107;
  --light-navy: #0a395e;
  --light-gray: #f7f9fc;
  --text-dark: #333;
  --text-light: #f7f9fc;
  --error-color: #dc3545;
  --success-color: #28a745;
  --gradient-primary: linear-gradient(135deg, #002147 0%, #0a395e 100%);
  --gradient-secondary: linear-gradient(135deg, #00a9a5 0%, #008b88 100%);
  --shadow-sm: 0 2px 4px rgba(0, 33, 71, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 33, 71, 0.15);
  --shadow-lg: 0 8px 16px rgba(0, 33, 71, 0.18);
  --shadow-xl: 0 15px 30px rgba(0, 33, 71, 0.2);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  text-decoration: none;
  color: var(--turquoise);
  transition: var(--transition);
}

a:hover {
  color: var(--navy);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
  scroll-margin-top: 5rem;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  position: relative;
  display: inline-block;
}

.accent-line {
  width: 80px;
  height: 4px;
  background: var(--gold);
  margin: 0 auto;
  border-radius: 2px;
}

.accent-line.light {
  background: var(--white);
}

.section-gradient {
  background: var(--gradient-primary);
  color: var(--white);
  position: relative;
}

.section-header.light h2 {
  color: var(--white);
}

/* Header & Navigation */
.header {
  position: relative;
  background: var(--gradient-primary);
  color: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 6rem;
  overflow: hidden;
}

.header::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url("../img/DSC_7691.webp") no-repeat center/cover;
  opacity: 0.2;
  z-index: 1;
}

.header .container {
  position: relative;
  z-index: 2;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 20px;
  padding-right: 20px;
  z-index: 9999 !important; /* Увеличиваем z-index */
  transition: var(--transition);
  backdrop-filter: blur(10px);
  background-color: rgba(
    0,
    33,
    71,
    0.98
  ) !important; /* Увеличиваем непрозрачность */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 130px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-menu li {
  margin-left: 2rem;
}

.nav-menu a {
  color: var(--white);
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
}

.nav-telegram {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--turquoise) !important;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.nav-telegram:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.nav-telegram i {
  font-size: 1.1rem;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--turquoise);
  transition: var(--transition);
}

/* Восстанавливаем подчеркивание для обычных ссылок */
.nav-menu a:hover::after {
  width: 100%;
}

/* Исключаем подчеркивание для Telegram ссылки */
.nav-telegram::after {
  display: none;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: var(--white);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 0;
}

/* Баннер с датой начала приема заявок */
.application-banner {
  margin: 2rem auto;
  max-width: 500px;
}

.banner-content {
  background: linear-gradient(
    135deg,
    rgba(255, 193, 7, 0.9) 0%,
    rgba(255, 193, 7, 0.7) 100%
  );
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 193, 7, 0.3);
  border-radius: 50px;
  padding: 1rem 2rem;
  color: var(--navy);
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
  animation: bannerPulse 3s ease-in-out infinite;
  transition: all 0.3s ease;
}

.banner-content:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 193, 7, 0.4);
}

.banner-content i {
  font-size: 1.3rem;
  color: var(--navy);
}

@keyframes bannerPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

/* Адаптивность для баннера */
@media (max-width: 768px) {
  .application-banner {
    max-width: 90%;
  }

  .banner-content {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    flex-direction: column;
    gap: 0.5rem;
  }

  .banner-content i {
    font-size: 1.1rem;
  }
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero-audio {
  margin: 2rem auto;
  max-width: 400px;
  position: relative;
}

.play-button {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  padding: 0.8rem 2rem;
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 auto;
  cursor: pointer;
  transition: all 0.3s ease;
}

.play-button:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.play-button.playing {
  background: var(--turquoise);
  border-color: var(--turquoise);
}

.play-button.playing i {
  animation: pulse 2s infinite;
}

.audio-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  height: 30px;
  margin-top: 1rem;
}

.audio-wave span {
  width: 3px;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  animation: none;
}

.audio-wave.playing span {
  animation: wave 1.2s infinite ease-in-out;
}

.audio-wave span:nth-child(2) {
  animation-delay: 0.2s;
}
.audio-wave span:nth-child(3) {
  animation-delay: 0.4s;
}
.audio-wave span:nth-child(4) {
  animation-delay: 0.6s;
}
.audio-wave span:nth-child(5) {
  animation-delay: 0.8s;
}

@keyframes wave {
  0%,
  100% {
    height: 30%;
  }
  50% {
    height: 100%;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Festival Section */
.festival {
  padding: 5rem 0;
  background-color: var(--light-gray);
}

.festival-title {
  color: var(--turquoise);
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.main-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--navy);
}

.festival-content {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.festival-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.festival-feature {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.festival-feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  min-width: 60px;
  background-color: var(--light-navy);
  color: var(--white);
  border-radius: 8px;
}

.feature-icon i {
  font-size: 1.5rem;
}

.feature-info h4 {
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.feature-info p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.festival-info {
  flex: 1;
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.festival-info h3 {
  color: var(--navy);
  margin-bottom: 1rem;
}

.festival-features-list {
  margin: 2rem 0;
}

.festival-features-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.festival-features-list li i {
  color: var(--turquoise);
  font-size: 1.25rem;
}

@media (max-width: 992px) {
  .festival-content {
    flex-direction: column;
  }

  .festival-info {
    order: -1;
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .main-title {
    font-size: 2rem;
  }
}

.glowing-text {
  text-shadow: 0 0 10px rgba(255, 193, 7, 0.5), 0 0 20px rgba(255, 193, 7, 0.3);
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.5),
      0 0 20px rgba(255, 193, 7, 0.3);
  }
  to {
    text-shadow: 0 0 15px rgba(255, 193, 7, 0.8),
      0 0 30px rgba(255, 193, 7, 0.5), 0 0 40px rgba(255, 193, 7, 0.3);
  }
}

/* Gallery Section - IMPROVED */
.gallery {
  padding: 6rem 0;
  background-color: var(--light-gray);
}

.gallery__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.gallery-item {
  width: 280px;
  height: 210px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  background: #fff;
  position: relative;
  margin-bottom: 1.5rem;
  transition: box-shadow 0.2s;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.gallery-item__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  padding: 0.7rem 1rem;
  font-size: 1.1rem;
  text-align: left;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .gallery-item {
    width: 48vw;
    height: 32vw;
    min-width: 160px;
    min-height: 120px;
    max-width: 320px;
    max-height: 240px;
  }
}

@media (max-width: 600px) {
  .gallery__grid {
    gap: 1rem;
  }
  .gallery-item {
    width: 100%;
    height: 48vw;
    min-height: 140px;
    max-width: 100%;
    margin-bottom: 1rem;
  }
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__overlay p {
  font-weight: 500;
  font-size: 1.1rem;
  transform: translateY(20px);
  transition: transform 0.5s cubic-bezier(0.26, 0.54, 0.32, 1) 0.1s;
}

.gallery-item:hover .gallery-item__overlay p {
  transform: translateY(0);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.gallery-filter {
  padding: 0.5rem 1.25rem;
  background: white;
  border: 1px solid var(--color-light-gray);
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-filter:hover,
.gallery-filter.active {
  background: var(--color-blue);
  color: #00a9a5;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox__content {
  position: relative;
  max-width: 80%;
  max-height: 80%;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox.active .lightbox__content {
  transform: scale(1);
}

.lightbox__image {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 5px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.lightbox__caption {
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 100%;
  text-align: center;
  color: white;
  font-size: 1rem;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lightbox__close:hover {
  background: var(--color-gold);
  color: white;
}

.subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--turquoise);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--white);
  color: var(--turquoise);
  border-color: var(--turquoise);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-md);
}

.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 100"><path fill="%23ffffff" fill-opacity="1" d="M0,32L60,53.3C120,75,240,117,360,117.3C480,117,600,75,720,58.7C840,43,960,53,1080,58.7C1200,64,1320,64,1380,64L1440,64L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z"></path></svg>')
    no-repeat;
  background-size: cover;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.image-frame {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateY(-5deg);
  transition: var(--transition);
}

.image-frame:hover {
  transform: perspective(1000px) rotateY(0);
}

.image-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 169, 165, 0.3) 0%,
    rgba(0, 33, 71, 0.3) 100%
  );
  z-index: 1;
}

.image-frame img {
  display: block;
  width: 100%;
}

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.feature {
  display: flex;
  align-items: center;
  margin-right: 1.5rem;
}

.feature i {
  color: var(--gold);
  font-size: 1.25rem;
  margin-right: 0.5rem;
}

/* Education Section */
.education-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(255, 255, 255, 0.3);
}

.card-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  box-shadow: var(--shadow-md);
}

.quote-block {
  max-width: 800px;
  margin: 3rem auto 0;
  text-align: center;
}

blockquote {
  font-size: 1.25rem;
  font-style: italic;
  position: relative;
  padding: 2rem;
}

blockquote::before,
blockquote::after {
  content: '"';
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  position: absolute;
  opacity: 0.2;
  color: var(--gold);
}

blockquote::before {
  top: -0.5rem;
  left: -1rem;
}

blockquote::after {
  bottom: -2rem;
  right: -1rem;
}

/* Events Section */
.event-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.event-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.event-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--gold);
  color: var(--navy);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
}

.event-details {
  display: flex;
  margin-top: 1.5rem;
  gap: 2rem;
}

.detail {
  display: flex;
  align-items: center;
}

.detail i {
  color: var(--turquoise);
  margin-right: 0.5rem;
  font-size: 1.1rem;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.event-card {
  position: relative;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.event-card:nth-child(1) {
  background: url("../img/DSC_7157.webp") no-repeat center/cover;
}

.event-card:nth-child(2) {
  background: url("../img/DSC_7168.webp") no-repeat center/cover;
}

.event-card:nth-child(3) {
  background: url("../img/DSC_7182.webp") no-repeat center/cover;
}

.event-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 33, 71, 0.9) 0%,
    rgba(0, 33, 71, 0.2) 100%
  );
  z-index: 1;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.event-card-content {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
  color: var(--white);
  width: 100%;
}

.event-card-content h4 {
  color: var(--gold);
  margin-bottom: 0.5rem;
}

/* Success Stories Section */
.testimonials {
  margin-bottom: 3rem;
}

.testimonial-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.testimonial {
  display: flex;
  align-items: flex-start;
  background: var(--light-gray);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-image {
  flex-shrink: 0;
  margin-right: 1.5rem;
}

.testimonial-image img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--turquoise);
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-content h4 {
  color: var(--navy);
  margin-bottom: 0;
}

.success-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.number-item {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.number-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  background: var(--navy);
  color: var(--white);
}

.number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--turquoise);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.number-item:hover .number {
  color: var(--gold);
}

/* Partners Section */
.partners-intro {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

.partners-logo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  align-items: center;
}

.partner {
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: var(--transition);
}

.partner:hover {
  opacity: 1;
  transform: scale(1.1);
}

.cta__title {
  font-family: var(--font-secondary);
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--color-gold);
  position: relative;
  display: inline-block;
}

.cta__title::after {
  content: "";
  position: absolute;
  width: 80%;
  height: 3px;
  background: var(--gradient-gold);
  bottom: -10px;
  left: 10%;
  border-radius: 2px;
}

.cta__text {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  line-height: 1.8;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta__features {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cta-feature__icon {
  width: 50px;
  height: 50px;
  background: var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--color-dark);
}

.cta-feature__text {
  font-weight: 500;
}

.cta__particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  background-color: var(--color-gold);
  border-radius: 50%;
  opacity: 0.3;
  animation: float 15s infinite linear;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
  }
}

/* Footer */
.footer {
  background: var(--gradient-primary);
  color: var(--text-light);
  padding: 5rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo p {
  margin-top: 1rem;
  opacity: 0.8;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.link-group h4 {
  color: var(--gold);
  margin-bottom: 1.5rem;
  position: relative;
}

.link-group h4::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--turquoise);
}

.link-group ul li {
  width: 231px;
  margin-bottom: 0.75rem;
}

.link-group ul li a {
  color: var(--white);
  opacity: 0.8;
  transition: var(--transition);
}

.link-group ul li a:hover {
  color: var(--gold);
  opacity: 1;
}

.link-group ul li i {
  margin-right: 0.5rem;
  color: var(--turquoise);
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--turquoise);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  opacity: 0.7;
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .education-cards,
  .event-highlight {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  section {
    padding: 4rem 0;
  }

  .nav-menu {
    position: fixed;
    top: 129px;
    right: -100%;
    width: 80%;
    min-width: 260px;
    height: calc(100vh - 80px);
    flex-direction: column;
    background: var(--navy);
    padding: 3rem 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    margin: 1.5rem 0;
  }

  .hamburger {
    display: block;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 7px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -7px);
  }

  .events-grid,
  .testimonial-container,
  .success-numbers {
    grid-template-columns: 1fr;
  }

  .footer-content,
  .footer-links {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-cta,
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .btn {
    width: 100%;
  }

  .event-details {
    flex-direction: column;
    gap: 1rem;
  }

  .partners-logo {
    gap: 1.5rem;
  }

  .partner {
    width: calc(50% - 1.5rem);
  }
}

/* Header Variations */
.header-small {
  min-height: 60vh;
}

/* Jury Section */
.jury {
  padding: 4rem 0;
  background-color: var(--color-bg-light);
}

/* --- Jury section: горизонтальное расположение карточек жюри --- */
.jury-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
  padding-bottom: 1rem;
}

.jury-card,
.jury-member {
  min-width: 260px;
  max-width: 320px;
  flex: 0 0 300px;
}

@media (max-width: 1200px) {
  .jury-card,
  .jury-member {
    min-width: 220px;
    max-width: 260px;
    flex: 0 0 240px;
  }
}

@media (max-width: 800px) {
  .jury-grid {
    gap: 1rem;
  }
  .jury-card,
  .jury-member {
    min-width: 180px;
    max-width: 220px;
    flex: 0 0 200px;
  }
}

.jury-member {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.jury-member:hover {
  transform: translateY(-5px);
}

.jury-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.jury-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.jury-member:hover .jury-image img {
  transform: scale(1.05);
}

.jury-info {
  padding: 1.5rem;
}

.jury-info h3 {
  font-size: 1.25rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.jury-title {
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.jury-description {
  color: var(--color-text-light);
  font-size: 0.875rem;
  line-height: 1.6;
}

.jury-cta {
  text-align: center;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .jury-grid {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 1.5rem;
    align-items: stretch;
    justify-content: flex-start;
    padding-bottom: 0;
  }
  .jury-card,
  .jury-member {
    min-width: 0;
    max-width: 100%;
    flex: 1 1 100%;
    margin: 0 auto;
  }
  .jury-image {
    height: 180px;
  }
  .jury-info {
    padding: 1rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .jury-grid {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: stretch;
  }
  .jury-card,
  .jury-member {
    min-width: 45%;
    max-width: 48%;
    flex: 1 1 45%;
    margin: 1rem auto;
  }
  .jury-image {
    height: 220px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .nav-menu {
    position: fixed;
    top: 100px;
    right: -100%;
    width: 60%;
    min-width: 260px;
    max-width: 400px;
    height: calc(100vh - 100px);
    flex-direction: column;
    background: var(--navy);
    padding: 2.5rem 1.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  .nav-menu.active {
    right: 0;
  }
  .nav-menu li {
    margin: 1.2rem 0;
  }
  .hamburger {
    display: block;
  }
}

/* Video Section */
.video {
  position: relative;
  background: var(--gradient-primary);
  color: var(--white);
  padding: 6rem 0;
  scroll-margin-top: 5rem;
}

.video-intro {
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin: 1.5rem auto 3rem;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
}

.video-slider {
  position: relative;
  margin-top: 3rem;
  overflow: hidden;
}

.video-slider-container {
  display: flex;
  flex-direction: row;
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}

.video-slide {
  min-width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
  box-sizing: border-box;
}

.video-slide.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

.video-container {
  position: relative;
  width: 100%;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  margin-bottom: 1rem;
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
  /* max-height: 500px; */
  object-fit: contain;
}

.video-caption {
  background: rgba(0, 33, 71, 0.9);
  color: white;
  padding: 0.75rem 1rem;
  font-weight: 500;
  text-align: center;
  font-size: 1rem;
  border-top: 2px solid var(--turquoise);
}

.video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% - 43px); /* Учитываем высоту подписи */
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.video-play-overlay i {
  font-size: 3rem;
  color: white;
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.video-play-overlay span {
  color: white;
  font-weight: 500;
  font-size: 1.2rem;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.video-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  z-index: 3;
}

.slider-nav:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
  left: 20px;
}

.slider-nav.next {
  right: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.slider-dot.active {
  background: var(--white);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .video-container video {
    height: 300px;
  }

  .slider-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .slider-nav.prev {
    left: 10px;
  }

  .slider-nav.next {
    right: 10px;
  }

  .video-play-overlay i {
    font-size: 2.5rem;
  }

  .video-play-overlay span {
    font-size: 1rem;
  }

  .nav-telegram {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }
}

/* Убираем добавленные стили для видео */
.video-intro,
.video-caption {
  display: none;
}

/* Hymn Section */
.hymn {
  padding: 6rem 0;
  background: var(--light-gray);
}

.audio-player {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.audio-player audio {
  width: 100%;
  margin-bottom: 1rem;
}

.audio-player audio::-webkit-media-controls-panel {
  background-color: var(--navy);
}

.audio-description {
  font-style: italic;
  color: var(--text-dark);
  opacity: 0.8;
}

/* Contact Form */
.contact {
  padding: 6rem 0;
  background: var(--light-gray);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--light-gray);
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--turquoise);
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.contact-form .btn {
  width: 100%;
  padding: 1rem;
}

@media (max-width: 768px) {
  .video-container video {
    height: 300px;
  }

  .contact-form {
    padding: 1.5rem;
  }
}

.cta {
  padding: 8rem 0;
  background: url("../img/DSC_7161.webp") no-repeat center center/cover;
  position: relative;
  color: white;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 169, 165, 0.85),
    rgba(10, 77, 140, 0.9)
  );
}

.cta__content {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem;
  background: rgba(21, 26, 35, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  animation: pulse 2s infinite alternate ease-in-out;
}

@keyframes pulse {
  0% {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  }
  100% {
    box-shadow: 0 25px 60px rgba(212, 175, 55, 0.3);
  }
}

.cta__title {
  font-family: var(--font-secondary);
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--color-gold);
  position: relative;
  display: inline-block;
}

.cta__title::after {
  content: "";
  position: absolute;
  width: 80%;
  height: 3px;
  background: var(--gradient-gold);
  bottom: -10px;
  left: 10%;
  border-radius: 2px;
}

.cta__text {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  line-height: 1.8;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta__features {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cta-feature__icon {
  width: 50px;
  height: 50px;
  background: var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--color-dark);
}

.cta-feature__text {
  font-weight: 500;
}

/* Стили для секции с частицами */
.section-with-particles {
  position: relative;
  overflow: hidden;
  /* Добавьте свои стили для секции (цвет фона, padding и т.д.) */
}

/* Контейнер для частиц */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* Чтобы частицы не мешали взаимодействию с контентом */
  z-index: 1; /* Установите нужный z-index в зависимости от вашего дизайна */
}

/* Стили для отдельной частицы */
.particle {
  position: absolute;
  background-color: #d4af37; /* Цвет частиц - измените на свой */
  border-radius: 50%;
  opacity: 0.3;
  animation: floatParticle 15s infinite linear;
}

/* Анимация движения частиц */
@keyframes floatParticle {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
  }
}

/* Опционально: добавьте медиа-запрос для мобильных устройств, 
 чтобы уменьшить количество частиц */
@media (max-width: 768px) {
  .particle {
    display: none;
  }
  .particle:nth-child(-n + 10) {
    display: block; /* Показываем только первые 10 частиц на мобильных */
  }
}

/* Features Section */
.features {
  padding: 6rem 0;
  background: linear-gradient(to bottom, var(--light-gray) 0%, white 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--turquoise), var(--navy));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(
    135deg,
    var(--light-navy) 0%,
    var(--turquoise) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  position: relative;
  z-index: 1;
}

.feature-icon::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--turquoise) 0%, var(--navy) 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover .feature-icon::after {
  opacity: 1;
}

.feature-card h3 {
  color: var(--navy);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.feature-card p {
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.feature-number {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: 1.5rem;
}

.feature-number .number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  font-family: "Playfair Display", serif;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.feature-number .label {
  font-size: 0.9rem;
  color: var(--text-dark);
  opacity: 0.8;
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-number.animate .number {
  animation: countUp 1s ease-out forwards;
}

@media (max-width: 1200px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

/* Стили для модального окна */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
  /* Исправление для мобильных устройств */
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
}

.modal.show {
  display: flex;
  opacity: 1;
}

.modal-content {
  position: relative;
  background: #fff;
  width: 90%;
  max-width: 600px;
  margin: auto;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(-50px);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
  /* Исправление для мобильных устройств */
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.modal.show .modal-content {
  transform: translateY(0);
}

/* Стилизация скроллбара внутри модального окна анкеты */
#participationModal .modal-content::-webkit-scrollbar {
  width: 8px;
}
#participationModal .modal-content::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.2);
  border-radius: 8px;
}
#participationModal .modal-content::-webkit-scrollbar-track {
  background: transparent;
}
#participationModal .modal-content {
  scrollbar-width: thin;            /* Firefox */
  scrollbar-color: rgba(0,0,0,0.2) transparent;
}

.modal-close {
  position: absolute;
  right: 1.5rem;
  top: 1rem;
  font-size: 2rem;
  cursor: pointer;
  color: #666;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: #000;
}

.modal h2 {
  margin-bottom: 1.5rem;
  color: #1a1a1a;
  font-size: 1.75rem;
}

.modal .form-group {
  margin-bottom: 1.25rem;
}

.modal input,
.modal select,
.modal textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.modal input:focus,
.modal select:focus,
.modal textarea:focus {
  outline: none;
  border-color: #0891b2;
}

.modal textarea {
  min-height: 120px;
  resize: vertical;
}

.modal button[type="submit"] {
  width: 100%;
  margin-top: 1rem;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: 0.5rem;
  margin-left: 2rem;
}

.lang-btn {
  background: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.875rem;
  text-transform: uppercase;
  font-weight: 600;
  font-style: italic;
}

.lang-btn:hover {
  background: var(--color-primary);
  color: white;
}

.lang-btn[data-lang="ru"],
.lang-btn[data-lang="en"],
.lang-btn[data-lang="zh"] {
  background: var(--color-primary);
  color: white;
}

@media (max-width: 768px) {
  .lang-switcher {
    margin: 1rem 0;
    justify-content: center;
  }
}

/* Press Page Styles */
.press {
  padding: 4rem 0;
  background-color: var(--color-bg);
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.press-item {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.press-item:hover {
  transform: translateY(-5px);
}

.press-content {
  padding: 1.5rem;
}

.press-meta {
  display: flex;
  justify-content: space-between;
  color: var(--color-text-light);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.press-article-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--color-text);
  font-weight: 600;
}

.press-excerpt {
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.press-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

.press-link:hover {
  color: var(--color-primary-dark);
}

.press-quotes {
  margin-top: 4rem;
  padding: 3rem 0;
  background: var(--color-bg-light);
  border-radius: 12px;
}

.quotes-title {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-text);
  font-size: 2rem;
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 0 2rem;
}

.press-quote {
  background: var(--color-white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.press-quote::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  font-size: 4rem;
  color: var(--color-primary);
  opacity: 0.2;
  font-family: serif;
}

.press-quote p {
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.press-quote cite {
  color: var(--color-text-light);
  font-style: normal;
  display: block;
  font-size: 0.875rem;
}

.press-contacts {
  margin-top: 4rem;
  text-align: center;
}

.contacts-title {
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.contacts-content {
  max-width: 600px;
  margin: 0 auto;
}

.contacts-list {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.contacts-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.contacts-list i {
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .press-grid,
  .quotes-grid {
    grid-template-columns: 1fr;
  }

  .quotes-grid {
    padding: 0 1rem;
  }

  .press-quote {
    padding: 1.5rem;
  }
}

/* Video Slider */
.video-slider {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

.video-slider-container {
  display: flex;
  flex-direction: row;
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}

.video-slide {
  min-width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
  box-sizing: border-box;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  z-index: 10;
}

.slider-nav:hover {
  background: var(--color-primary);
  color: white;
}

.slider-nav.prev {
  left: 1rem;
}

.slider-nav.next {
  right: 1rem;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.slider-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: var(--color-primary);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .slider-nav {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.25rem;
  }

  .slider-nav.prev {
    left: 0.5rem;
  }

  .slider-nav.next {
    right: 0.5rem;
  }
}

/* Sticky Partners */
.partners-sticky {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  padding: 15px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  width: 120px;
  transition: var(--transition);
}

.partners-sticky h3 {
  font-size: 0.9rem;
  margin-bottom: 12px;
  text-align: center;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.partners-sticky .partner-logo {
  width: 100%;
  max-width: 130px;
  height: auto;
  margin: 0 auto 12px;
  transition: var(--transition);
  filter: grayscale(100%);
}

.partners-sticky .partner-logo:hover {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.partners-sticky .partner-logo:last-child {
  margin-bottom: 0;
}

/* Hide on mobile and show with animation on desktop */
@media (max-width: 1200px) {
  .partners-sticky {
    display: none;
  }
}

@media (min-width: 1201px) {
  .partners-sticky {
    animation: slideIn 0.5s ease-out;
  }

  .partners-sticky.hide {
    transform: translateX(calc(100% + 20px));
  }

  /* Show/hide on scroll */
  .partners-sticky.scroll-up {
    transform: translateY(-50%);
  }

  .partners-sticky.scroll-down {
    transform: translateY(calc(-50% + 100px));
  }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1200px) {
  .partners-sticky {
    position: static;
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    transform: none;
    padding: 15px;
  }

  .partners-sticky .partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
  }

  .partners-sticky .partner-logo {
    width: auto;
    height: 40px;
    margin-bottom: 0;
  }
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .partners-sticky {
    position: static;
    width: 100%;
    transform: none;
    margin: 20px 0;
    padding: 12px;
  }

  .partners-sticky .partner-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .partners-sticky .partner-logo {
    width: 100%;
    max-width: 100px;
    margin: 0 auto;
  }
}

/* =========================
   PAYMENT SECTION STYLES
   ========================= */

.payment-section {
  padding: 100px 0;
  background: #f8fafc;
  color: var(--text-dark);
  position: relative;
  overflow: hidden;
}

.payment-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 50px;
}

.payment-info h3 {
  color: var(--text-dark);
  font-size: 2rem;
  margin-bottom: 20px;
}

.payment-info p {
  color: var(--text-gray);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 40px;
}

.payment-options {
  display: grid;
  gap: 20px;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: white;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.payment-option:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.payment-option-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #10b981, #3b82f6);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.payment-option-content h4 {
  color: var(--text-dark);
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.payment-option-content p {
  color: var(--text-gray);
  margin: 0;
  font-size: 0.95rem;
}

.payment-cta {
  text-align: center;
  padding: 40px;
  background: white;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.suggested-amounts {
  margin-bottom: 30px;
}

.suggested-amounts h4 {
  color: var(--text-dark);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.amount-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 30px;
}

.amount-btn {
  padding: 12px 20px;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.amount-btn:hover,
.amount-btn.active {
  background: linear-gradient(135deg, #10b981, #3b82f6);
  border-color: transparent;
  color: white;
  transform: translateY(-2px);
}

.payment-btn {
  font-size: 1.2rem;
  padding: 18px 40px;
  border-radius: 50px;
  background: linear-gradient(135deg, #10b981, #3b82f6);
  border: none;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
  margin-bottom: 20px;
}

.payment-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4);
}

.payment-note {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin: 0;
}

/* Payment Modal Styles */
.payment-modal .modal-content {
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
}

.payment-modal-content {
  padding: 0;
}

.payment-modal-header {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: white;
  padding: 30px;
  text-align: center;
  border-radius: 20px 20px 0 0;
}

.payment-modal-header h2 {
  margin: 0 0 10px 0;
  font-size: 1.8rem;
  background: linear-gradient(135deg, #10b981, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.payment-modal-header p {
  margin: 0;
  color: #cbd5e1;
  font-size: 1.1rem;
}

.payment-tabs {
  display: flex;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.payment-tab {
  flex: 1;
  padding: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}

.payment-tab:hover {
  background: rgba(16, 185, 129, 0.05);
  color: #10b981;
}

.payment-tab.active {
  background: white;
  color: #10b981;
  border-bottom-color: #10b981;
}

.payment-tab-content {
  display: none;
  padding: 40px;
}

.payment-tab-content.active {
  display: block;
}

.payment-form .form-group {
  margin-bottom: 25px;
}

.amount-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.amount-input-group input {
  padding-right: 50px;
}

.amount-input-group .currency {
  position: absolute;
  right: 15px;
  color: #64748b;
  font-weight: 600;
  font-size: 1.1rem;
}

.payment-security {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #f8fafc;
  border-radius: 12px;
  margin: 30px 0;
  border: 1px solid #e2e8f0;
}

.security-info {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #10b981;
  font-weight: 600;
}

.accepted-cards {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #64748b;
  font-size: 1.5rem;
}

.accepted-cards span {
  font-size: 0.9rem;
  font-weight: 600;
}

.btn-large {
  padding: 18px 40px;
  font-size: 1.2rem;
  width: 100%;
  border-radius: 12px;
}

/* Bank Requisites Styles */
.bank-requisites h3 {
  color: #0f172a;
  margin-bottom: 30px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.requisite-group {
  background: #f8fafc;
  border-radius: 16px;
  padding: 30px;
  border: 1px solid #e2e8f0;
  margin-bottom: 30px;
}

.requisite-item {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #e2e8f0;
}

.requisite-item:last-child {
  border-bottom: none;
}

.requisite-item.full-width {
  grid-template-columns: 150px 1fr auto;
}

.requisite-label {
  font-weight: 600;
  color: #475569;
}

.requisite-value {
  font-family: "Courier New", monospace;
  color: #0f172a;
  font-weight: 500;
  word-break: break-all;
}

.copy-btn {
  background: #10b981;
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.copy-btn:hover {
  background: #059669;
  transform: scale(1.05);
}

.transfer-instructions {
  background: #e0f2fe;
  border: 1px solid #0891b2;
  border-radius: 12px;
  padding: 25px;
}

.transfer-instructions h4 {
  color: #0891b2;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.transfer-instructions ol {
  color: #0f172a;
  line-height: 1.8;
  padding-left: 20px;
}

.transfer-instructions li {
  margin-bottom: 8px;
}

/* QR Payment Styles */
.qr-payment h3 {
  color: #0f172a;
  margin-bottom: 20px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.qr-code-container {
  display: flex;
  gap: 40px;
  align-items: start;
  margin: 30px 0;
}

.payment-qr {
  width: 200px;
  height: 200px;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
}

.qr-placeholder {
  text-align: center;
  color: #94a3b8;
}

.qr-placeholder i {
  font-size: 3rem;
  margin-bottom: 10px;
  display: block;
}

.qr-amount-selector {
  flex: 1;
}

.qr-amount-selector label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: #475569;
}

.qr-amount-selector select {
  width: 100%;
  padding: 12px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 15px;
}

.custom-amount {
  display: flex;
  gap: 10px;
  align-items: end;
}

.custom-amount input {
  flex: 1;
  padding: 12px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
}

.qr-instructions {
  background: #f8fafc;
  border-radius: 16px;
  padding: 30px;
  border: 1px solid #e2e8f0;
}

.qr-instructions h4 {
  color: #0f172a;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.instruction-steps {
  display: grid;
  gap: 15px;
}

.instruction-step {
  display: flex;
  align-items: center;
  gap: 15px;
}

.step-number {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #10b981, #3b82f6);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.step-text {
  color: #475569;
  font-weight: 500;
}

.payment-footer {
  background: #f8fafc;
  padding: 25px 40px;
  border-top: 1px solid #e2e8f0;
  border-radius: 0 0 20px 20px;
}

.organization-info {
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
}

.organization-info p {
  margin: 5px 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .payment-section {
    padding: 60px 0;
  }

  .payment-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .payment-info h3 {
    font-size: 1.5rem;
  }

  .amount-buttons {
    grid-template-columns: 1fr;
  }

  .payment-tabs {
    flex-direction: column;
  }

  .payment-tab {
    border-bottom: 1px solid #e2e8f0;
    border-right: none;
  }

  .payment-tab.active {
    border-bottom: 1px solid #10b981;
  }

  .payment-tab-content {
    padding: 20px;
  }

  .payment-security {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .requisite-item {
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: left;
  }

  .requisite-item.full-width {
    grid-template-columns: 1fr;
  }

  .copy-btn {
    justify-self: start;
    margin-top: 10px;
  }

  .qr-code-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .instruction-step {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

/* Form Validation Styles */
.form-group input.invalid,
.form-group textarea.invalid,
.form-group select.invalid {
  border-color: var(--error-color);
  background-color: rgba(220, 53, 69, 0.05);
}

.form-group input.valid,
.form-group textarea.valid,
.form-group select.valid {
  border-color: var(--success-color);
  background-color: rgba(40, 167, 69, 0.05);
}

.form-message {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 25px;
  border-radius: 8px;
  font-weight: 500;
  z-index: 9999;
  animation: slideIn 0.3s ease-out;
  box-shadow: var(--shadow-lg);
  max-width: 400px;
}

.form-message.success {
  background-color: var(--success-color);
  color: white;
}

.form-message.error {
  background-color: var(--error-color);
  color: white;
  display: none !important; /* 🔧 Скрываем плашку с ошибками */
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Loading State */
button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.fa-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Form Focus States */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--turquoise);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
  outline: none;
}

/* Form Error Messages */
.form-group {
  position: relative;
}

.form-group .error-message {
  position: absolute;
  bottom: -20px;
  left: 0;
  font-size: 0.85rem;
  color: var(--error-color);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.form-group input.invalid + .error-message,
.form-group textarea.invalid + .error-message,
.form-group select.invalid + .error-message {
  opacity: 1;
  transform: translateY(0);
}

/* Custom Select Styling */
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8.825L1.175 4 2.238 2.938 6 6.7l3.763-3.763L10.825 4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px !important;
}

/* Phone Input Styling */
input[type="tel"] {
  letter-spacing: 0.5px;
}

input[type="tel"] {
  appearance: textfield;
}

/* Стили для анкеты-заявки */
.modal-content {
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  box-sizing: border-box;
  /* Дополнительные исправления для мобильных */
  position: relative;
  z-index: 1001;
}

/* Основные стили для полей формы */
#participationForm .form-group {
  margin-bottom: 1.5rem;
}

#participationForm .form-group label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
  line-height: 1.4;
}

#participationForm input,
#participationForm textarea,
#participationForm select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  line-height: 1.5;
  background: #fff;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

#participationForm input:focus,
#participationForm textarea:focus,
#participationForm select:focus {
  outline: none;
  border-color: var(--turquoise);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

#participationForm input::placeholder,
#participationForm textarea::placeholder {
  color: #94a3b8;
  opacity: 1;
}

/* Специальные стили для разных типов полей */
#participationForm input[type="date"] {
  color: var(--text-dark);
}

#participationForm input[type="number"] {
  text-align: left;
}

#participationForm textarea {
  min-height: 100px;
  resize: vertical;
}

/* Стили для строк с двумя полями */
.form-row {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 1rem;
  align-items: end;
}

.form-row .form-group {
  margin-bottom: 0;
}

/* Стили для секций с чекбоксами */
.checkbox-section {
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.checkbox-section h4 {
  margin-bottom: 1rem;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 600;
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: normal;
  margin-bottom: 0;
  padding: 0.5rem 0;
  font-size: 0.95rem;
}

.checkbox-label input[type="checkbox"] {
  margin-right: 0.75rem;
  width: 18px;
  height: 18px;
  accent-color: var(--turquoise);
  cursor: pointer;
}

/* Стили для программы выступления */
.performance-program {
  background: #f8fafc;
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  margin-top: 1rem;
}

.program-row {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  align-items: start;
}

.program-row:last-child {
  margin-bottom: 0;
}

.program-number {
  background: var(--turquoise);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.5rem;
}

.program-fields {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.program-fields input {
  margin-bottom: 0;
  padding: 0.875rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  background: white;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.program-fields input:focus {
  outline: none;
  border-color: var(--turquoise);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

.program-fields input::placeholder {
  color: #94a3b8;
  font-size: 0.95rem;
}

/* Стили для соглашения */
.agreement {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 1.5rem;
  border-radius: 10px;
  border: 2px solid var(--turquoise);
  margin: 2rem 0;
}

.agreement .checkbox-label {
  font-weight: 600;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.5;
}

.agreement .checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 1rem;
}

/* Стили для контактной информации */
.contact-info {
  background: linear-gradient(135deg, var(--navy) 0%, var(--light-navy) 100%);
  color: white;
  padding: 2rem;
  border-radius: 12px;
  margin: 2rem 0;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 33, 71, 0.15);
}

.contact-info p {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.contact-info p:first-child {
  font-weight: 600;
  font-size: 1.1rem;
}

.contact-info a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.contact-info a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* Стили для кнопки отправки */
#participationForm button[type="submit"] {
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--turquoise) 0%, #0891b2 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1.5rem;
  box-shadow: 0 4px 15px rgba(8, 145, 178, 0.3);
}

#participationForm button[type="submit"]:hover {
  background: linear-gradient(135deg, #0891b2 0%, #0f766e 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(8, 145, 178, 0.4);
}

#participationForm button[type="submit"]:active {
  transform: translateY(0);
}

/* QR код стили */
.qr-code-section {
  text-align: center;
  padding: 2rem;
  background: var(--light-gray);
  border-radius: 12px;
  margin: 2rem 0;
}

.qr-code-section h3 {
  color: var(--navy);
  margin-bottom: 1rem;
}

.qr-code {
  display: inline-block;
  background: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.qr-code img {
  max-width: 150px;
  height: auto;
}

.telegram-link {
  color: var(--turquoise);
  font-weight: 600;
  margin-top: 1rem;
  display: block;
  text-decoration: none;
}

.telegram-link:hover {
  color: var(--navy);
}

/* Обращение председателя */
.chairman-address {
  background: linear-gradient(135deg, var(--navy) 0%, var(--light-navy) 100%);
  color: white;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.chairman-address::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../img/DSC_7118.webp") no-repeat center/cover;
  opacity: 0.1;
  z-index: 1;
}

.chairman-content {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.chairman-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid var(--gold);
  margin: 0 auto 2rem;
  overflow: hidden;
}

.chairman-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chairman-title {
  color: var(--gold);
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.chairman-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.chairman-signature {
  font-style: italic;
  color: var(--gold);
  margin-top: 2rem;
}

/* Дорожная карта */
.roadmap {
  padding: 4rem 0;
  background: var(--light-gray);
}

.roadmap-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.roadmap-timeline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin: 3rem 0;
}

.roadmap-step {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  position: relative;
  min-width: 200px;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--turquoise);
}

.roadmap-step::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: var(--turquoise);
  border-radius: 50%;
  border: 3px solid white;
}

.roadmap-step-number {
  background: var(--navy);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-weight: bold;
}

.roadmap-step-title {
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.roadmap-step-date {
  color: var(--turquoise);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Адаптивность для новых элементов */
@media (max-width: 768px) {
  .modal {
    /* Исправление позиционирования на мобильных */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh; /* Динамическая высота viewport для мобильных */
    /* Предотвращение проблем со скроллингом */
    touch-action: none;
    -webkit-overflow-scrolling: touch;
  }

  .modal-content {
    padding: 1rem;
    margin: 0.5rem;
    width: calc(100% - 1rem);
    max-height: calc(100vh - 1rem);
    max-height: calc(100dvh - 1rem); /* Динамическая высота viewport */
    /* Исправление скроллинга */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    /* Предотвращение выхода за границы */
    box-sizing: border-box;
    /* Разрешаем touch события для контента */
    touch-action: auto;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-row .form-group:first-child {
    margin-bottom: 1.5rem;
  }

  .checkbox-group {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .checkbox-section {
    padding: 1rem;
  }

  .program-row {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }

  .program-number {
    margin: 0 auto 1rem;
  }

  .performance-program {
    padding: 1rem;
  }

  .contact-info {
    padding: 1.5rem;
    margin: 1.5rem 0;
  }

  .agreement {
    padding: 1rem;
  }

  #participationForm .form-group label {
    font-size: 0.9rem;
  }

  #participationForm input,
  #participationForm textarea,
  #participationForm select {
    padding: 0.75rem;
    font-size: 0.95rem;
  }

  .roadmap-timeline {
    flex-direction: column;
    gap: 2rem;
  }

  .roadmap-timeline::before {
    display: none;
  }

  .roadmap-step {
    min-width: auto;
    width: 100%;
  }

  .roadmap-step::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .modal-content {
    padding: 0.75rem;
    margin: 0.25rem;
    width: calc(100% - 0.5rem);
    max-height: calc(100vh - 0.5rem);
    max-height: calc(100dvh - 0.5rem);
    border-radius: 10px;
  }

  .modal h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

  .modal-close {
    right: 0.75rem;
    top: 0.75rem;
    font-size: 1.5rem;
  }
}

  #participationForm input,
  #participationForm textarea,
  #participationForm select {
    padding: 0.625rem;
    font-size: 0.9rem;
  }

  .checkbox-label {
    font-size: 0.9rem;
  }

  .program-fields input::placeholder {
    font-size: 0.85rem;
  }


/* Стили для валидации формы */
#participationForm .error-message {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: none;
  font-weight: 500;
}

#participationForm input.invalid,
#participationForm textarea.invalid,
#participationForm select.invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

#participationForm input.invalid + .error-message,
#participationForm textarea.invalid + .error-message,
#participationForm select.invalid + .error-message {
  display: block;
}

#participationForm input.valid,
#participationForm textarea.valid,
#participationForm select.valid {
  border-color: #28a745;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

/* Улучшенные стили для номинаций */
#participationForm textarea[name="nominations"] {
  min-height: 80px;
  font-family: inherit;
}

/* Стили для заголовка модального окна */
.modal h2 {
  text-align: center;
  color: var(--navy);
  font-size: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--turquoise);
  line-height: 1.3;
}

/* Анимация появления модального окна */
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal.show .modal-content {
  animation: modalFadeIn 0.3s ease-out;
}

/* QR код стили - Улучшенные стили для блока с Telegram */
.qr-telegram {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 6rem 0;
  scroll-margin-top: 5rem;
}

.qr-code-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem;
  background: white;
  border-radius: 20px;
  margin: 2rem auto;
  max-width: 800px;
  box-shadow: 0 20px 40px rgba(0, 33, 71, 0.1);
  position: relative;
  overflow: hidden;
}

.qr-code-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, var(--turquoise) 0%, var(--navy) 100%);
}

.qr-code-section h3 {
  color: var(--navy);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  font-weight: 700;
}

.qr-code-section p {
  color: var(--light-navy);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.qr-code {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 33, 71, 0.15);
  margin-bottom: 1.5rem;
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
}

.qr-code:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 33, 71, 0.2);
  border-color: var(--turquoise);
}

.qr-code img {
  max-width: 200px;
  height: auto;
  border-radius: 8px;
}

.telegram-link {
  color: var(--turquoise);
  font-weight: 600;
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 1.2rem;
  padding: 0.75rem 1.5rem;
  background: rgba(8, 145, 178, 0.1);
  border-radius: 30px;
  transition: all 0.3s ease;
}

.telegram-link:hover {
  color: white;
  background: var(--turquoise);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(8, 145, 178, 0.4);
}

.telegram-link::before {
  content: "\f2c6";
  font-family: "Font Awesome 5 Brands";
  margin-right: 10px;
  font-size: 1.4rem;
}

.telegram-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
  width: 100%;
}

.telegram-benefit {
  background: rgba(8, 145, 178, 0.05);
  padding: 1.5rem;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  text-align: left;
  transition: all 0.3s ease;
}

.telegram-benefit:hover {
  background: rgba(8, 145, 178, 0.1);
  transform: translateY(-3px);
}

.telegram-benefit i {
  color: var(--turquoise);
  font-size: 1.5rem;
  margin-right: 1rem;
  margin-top: 0.25rem;
}

.telegram-benefit-content h4 {
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.telegram-benefit-content p {
  color: var(--light-navy);
  font-size: 0.95rem;
  margin: 0;
}

@media (max-width: 768px) {
  .qr-code-section {
    padding: 2rem 1.5rem;
  }

  .telegram-benefits {
    grid-template-columns: 1fr;
  }

  .qr-code img {
    max-width: 150px;
  }

  .video-slider {
    border-radius: 12px;
  }

  .slider-nav {
    width: 2.5rem;
    height: 2.5rem;
  }

  .slider-nav.prev {
    left: 0.5rem;
  }

  .slider-nav.next {
    right: 0.5rem;
  }
}

/* Дополнительное исправление для секций, которые могут наезжать на меню */
#gallery,
#video,
#success,
#partners,
.roadmap,
.qr-telegram,
.chairman-address {
  scroll-margin-top: 5rem;
  padding-top: 5rem;
}

/* Добавляем стили для решения проблемы с видимостью в секциях "экспертное жюри" и "история успеха" */
.jury,
.success {
  position: relative;
  z-index: 5;
}

/* Обеспечиваем, чтобы контент не перекрывал навигационное меню */
.jury::before,
.success::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: inherit;
}

/* Дополнительные стили для решения проблемы с навигационным меню */
.jury,
.success {
  background-color: #fff;
  position: relative;
  z-index: 1;
}

/* Стили для раздела наставников */
.mentors {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 6rem 0;
  scroll-margin-top: 5rem;
}

.mentors-intro {
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  color: var(--light-navy);
  text-align: center;
  line-height: 1.6;
}

.mentors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.mentor-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 33, 71, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.mentor-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 33, 71, 0.15);
}

.mentor-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.mentor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.mentor-card:hover .mentor-image img {
  transform: scale(1.05);
}

.mentor-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--turquoise) 0%, var(--navy) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mentor-card:hover .mentor-image::after {
  opacity: 0.2;
}

.mentor-info {
  padding: 2rem;
}

.mentor-info h3 {
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.mentor-title {
  color: var(--turquoise);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.mentor-experience {
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mentor-description {
  color: var(--light-navy);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.mentor-achievements {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.achievement {
  background: rgba(8, 145, 178, 0.1);
  color: var(--turquoise);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(8, 145, 178, 0.2);
}

.mentors-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  background: white;
  padding: 3rem 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 33, 71, 0.1);
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--turquoise);
  margin-bottom: 0.5rem;
  font-family: "Playfair Display", serif;
}

.stat-label {
  color: var(--navy);
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .mentors-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .mentor-card {
    margin: 0 1rem;
  }

  .mentor-image {
    height: 200px;
  }

  .mentor-info {
    padding: 1.5rem;
  }

  .mentors-stats {
    grid-template-columns: repeat(2, 1fr);
    padding: 2rem 1rem;
    margin: 2rem 1rem 0;
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .mentors-stats {
    grid-template-columns: repeat(1, 1fr);
    padding: 1.5rem 1rem;
  }

  .stat-item {
    padding: 1rem;
  }

  .stat-number {
    font-size: 2.2rem;
  }
}

/* Счетчик призового фонда */
.prize-fund-counter {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
}

.prize-fund-counter::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.prize-fund-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.prize-fund-amount {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 0;
}

.currency {
  font-size: 2rem;
  color: var(--gold);
  font-weight: 700;
}

.amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  font-family: "Playfair Display", serif;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
  }
  to {
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.8),
      0 0 40px rgba(212, 175, 55, 0.6);
  }
}

.prize-fund-note {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-style: italic;
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .prize-fund-counter {
    padding: 1.5rem;
    margin: 1.5rem 1rem;
  }

  .amount {
    font-size: 2.5rem;
  }

  .currency {
    font-size: 1.8rem;
  }
}

/* Секция истории успеха - новые стили для слайдера */
.success {
  background: #f8fafc;
  padding: 5rem 0;
  scroll-margin-top: 5rem;
}

.success-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  color: var(--light-navy);
  font-size: 1.1rem;
  line-height: 1.6;
}

.success-slider {
  position: relative;
  max-width: 1200px;
  margin: 0 auto 4rem;
  overflow: hidden;
}

.success-slides-container {
  display: flex;
  transition: transform 0.5s ease;
  gap: 20px;
  padding: 10px 0;
}

.success-slide {
  flex: 0 0 300px;
  min-width: 300px;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 33, 71, 0.1);
  transition: transform 0.3s ease;
  background: white;
  overflow: hidden;
}

.success-slide:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 33, 71, 0.15);
}

.success-story {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.story-photo {
  height: 200px;
  overflow: hidden;
}

.story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.success-slide:hover .story-photo img {
  transform: scale(1.05);
}

.story-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.story-content h3 {
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.story-role {
  color: var(--turquoise);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.story-text {
  color: var(--light-navy);
  line-height: 1.5;
  font-size: 0.9rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.slider-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
  padding: 20px;
}

.nav-btn {
  background: var(--turquoise);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(8, 145, 178, 0.3);
}

.nav-btn:hover {
  background: var(--navy);
  transform: scale(1.1);
}

.success-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.stat-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 33, 71, 0.1);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

@media (max-width: 768px) {
  .success-slides-container {
    gap: 15px;
  }

  .success-slide {
    flex: 0 0 250px;
    min-width: 250px;
  }

  .story-photo {
    height: 150px;
  }

  .story-content {
    padding: 1rem;
  }

  .story-content h3 {
    font-size: 1rem;
  }

  .story-text {
    font-size: 0.85rem;
    -webkit-line-clamp: 3;
  }

  .slider-navigation {
    gap: 1rem;
  }

  .nav-btn {
    width: 40px;
    height: 40px;
  }
}

.features-grid.more-than-4 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-auto-flow: column;
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
  gap: 2rem;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--turquoise) var(--light-gray);
}
.features-grid.more-than-4::-webkit-scrollbar {
  height: 8px;
}
.features-grid.more-than-4::-webkit-scrollbar-thumb {
  background: var(--turquoise);
  border-radius: 4px;
}
.features-grid.more-than-4::-webkit-scrollbar-track {
  background: var(--light-gray);
}

.features-grid.more-than-4 .feature-card {
  min-width: 300px;
  max-width: 1fr;
}

/* Стили для кнопок CTA */
.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}

.btn--representative {
  background: var(--gradient-secondary);
  color: var(--white);
  border: none;
  transition: var(--transition);
}

.btn--representative:hover {
  background: linear-gradient(135deg, #008b88 0%, #006d6a 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Стили для модального окна представителя */
.representative-modal {
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
}

.representative-modal h2 {
  color: var(--navy);
  margin-bottom: 1rem;
  text-align: center;
  font-size: 1.75rem;
}

.modal-subtitle {
  color: #6c757d;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.5;
}

.modal-subtitle {
  color: var(--text-dark);
  margin-bottom: 2rem;
  font-size: 1rem;
  opacity: 0.8;
}

.representative-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.radio-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border: 2px solid var(--light-gray);
  border-radius: 8px;
  transition: var(--transition);
}

.radio-label:hover {
  border-color: var(--turquoise);
}

.radio-label input[type="radio"] {
  margin: 0;
}

.radio-label input[type="radio"]:checked + span {
  color: var(--turquoise);
  font-weight: 600;
}

.radio-label input[type="radio"]:checked {
  accent-color: var(--turquoise);
}

/* Стили для счетчика символов */
.char-counter {
  font-size: 0.875rem;
  color: #6c757d;
  text-align: right;
  margin-top: 0.25rem;
}

.char-counter span {
  font-weight: 600;
}

/* Стили для поля загрузки файлов */
.form-group input[type="file"] {
  width: 100%;
  padding: 0.75rem;
  border: 2px dashed #dee2e6;
  border-radius: 8px;
  background-color: #f8f9fa;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.875rem;
  color: #495057;
}

.form-group input[type="file"]:hover {
  border-color: var(--turquoise);
  background-color: #f0f9ff;
}

.form-group input[type="file"]:focus {
  outline: none;
  border-color: var(--turquoise);
  box-shadow: 0 0 0 3px rgba(0, 169, 165, 0.1);
}

.form-group input[type="file"]::-webkit-file-upload-button {
  background: var(--turquoise);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  margin-right: 1rem;
  transition: var(--transition);
}

.form-group input[type="file"]::-webkit-file-upload-button:hover {
  background: var(--navy);
}

.form-group small {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #6c757d;
}

/* Стили для формы представителя */
.representative-form {
  max-width: 100%;
}

.representative-form .form-group {
  margin-bottom: 1.5rem;
}

.representative-form .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.representative-form .form-group input,
.representative-form .form-group textarea,
.representative-form .form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 1rem;
  transition: var(--transition);
  background-color: #fff;
}

.representative-form .form-group input:focus,
.representative-form .form-group textarea:focus,
.representative-form .form-group select:focus {
  outline: none;
  border-color: var(--turquoise);
  box-shadow: 0 0 0 3px rgba(0, 169, 165, 0.1);
}

.representative-form .form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.representative-form .radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.representative-form .radio-label {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  background-color: #fff;
}

.representative-form .radio-label:hover {
  border-color: var(--turquoise);
  background-color: #f0f9ff;
}

.representative-form .radio-label input[type="radio"] {
  margin-right: 0.75rem;
  width: 18px;
  height: 18px;
  accent-color: var(--turquoise);
}

.representative-form .radio-label input[type="radio"]:checked + span {
  font-weight: 600;
  color: var(--turquoise);
}

.representative-form .radio-label input[type="radio"]:checked {
  accent-color: var(--turquoise);
}

/* Стили для кнопки отправки */
.representative-form button[type="submit"] {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 1rem;
  box-shadow: var(--shadow-md);
}

.representative-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: var(--gradient-secondary);
}

.representative-form button[type="submit"]:active {
  transform: translateY(0);
}

/* Стили для строки с двумя полями */
.representative-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.representative-form .form-row .form-group {
  margin-bottom: 0;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .representative-form .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .representative-form .radio-group {
    gap: 0.5rem;
  }

  .representative-form .radio-label {
    padding: 0.5rem;
    font-size: 0.9rem;
  }

  .representative-form button[type="submit"] {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}

/* Улучшение адаптивности изображений */
img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.gallery-item img,
.jury-image img,
.mentor-image img,
.story-photo img,
.chairman-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn--representative {
    width: 100%;
    max-width: 300px;
  }

  .representative-modal {
    margin: 5% auto;
    max-height: 95vh;
  }

  .radio-group {
    flex-direction: column;
  }

  .radio-label {
    width: 100%;
    justify-content: center;
  }

  /* Улучшение отображения изображений на мобильных */
  .gallery-item {
    aspect-ratio: 1;
  }

  .jury-image,
  .mentor-image {
    aspect-ratio: 1;
    min-height: 200px;
  }

  .story-photo {
    aspect-ratio: 16/9;
    min-height: 150px;
  }

  .chairman-photo {
    aspect-ratio: 3/4;
    min-height: 250px;
  }
}

@media (max-width: 480px) {
  .representative-modal {
    margin: 2% auto;
    padding: 1rem;
  }

  .modal-subtitle {
    font-size: 0.9rem;
  }

  .radio-label {
    padding: 0.75rem;
    font-size: 0.9rem;
  }
}

/* Специальные стили для изображения jury2 на мобильных устройствах */
@media (max-width: 768px) {
  .jury-image-jury2 {
    object-position: center 10% !important;
  }
}

@media (max-width: 480px) {
  .jury-image-jury2 {
    object-position: center 5% !important;
  }
}

/* Jury Slider Styles */
.jury-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 2rem;
}

.jury-slider-container {
  position: relative;
  width: 100%;
  height: auto;
}

.jury-slide {
  display: flex;
  gap: 2rem;
  width: 50%;
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.5s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.jury-slide.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
}

.jury-slide .jury-member {
  flex: 1;
  min-width: 0;
}

.jury-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  margin-bottom: 30px;
}

.jury-nav-btn {
  background: var(--gradient-primary);
  border: none;
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
}

.jury-nav-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
  background: var(--gradient-secondary);
}

.jury-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.jury-dots {
  display: flex;
  gap: 0.5rem;
}

.jury-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: var(--light-gray);
  cursor: pointer;
  transition: all 0.3s ease;
}

.jury-dot:hover {
  background: var(--turquoise);
  transform: scale(1.2);
}

.jury-dot.active {
  background: var(--turquoise);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .jury-slide {
    flex-direction: column;
    gap: 1.5rem;
  }

  .jury-slide .jury-member {
    width: 100%;
  }

  .jury-navigation {
    margin-top: 2rem;
    gap: 1rem;
  }

  .jury-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .jury-dot {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .jury-slider-container {
    width: 300%;
  }

  .jury-slide {
    width: 33.333%;
  }

  .jury-navigation {
    flex-direction: row;
    gap: 1rem;
  }

  .jury-nav-btn {
    width: 35px;
    height: 35px;
  }
}

/* Range Group Styles */
.range-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.range-group label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

.range-group input[type="range"] {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #e2e8f0;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.range-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--turquoise);
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.range-group input[type="range"]::-webkit-slider-thumb:hover {
  background: var(--navy);
  transform: scale(1.1);
}

.range-group input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--turquoise);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.range-group input[type="range"]::-moz-range-thumb:hover {
  background: var(--navy);
  transform: scale(1.1);
}

.range-group input[type="range"]:focus {
  outline: none;
}

.range-group input[type="range"]:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px rgba(0, 169, 165, 0.3);
}

.range-group input[type="range"]:focus::-moz-range-thumb {
  box-shadow: 0 0 0 3px rgba(0, 169, 165, 0.3);
}

/* Range value display */
.range-group label::after {
  content: attr(data-value);
  font-size: 0.875rem;
  color: var(--turquoise);
  font-weight: 600;
  margin-top: 0.25rem;
}

@media (max-width: 768px) {
  .range-group {
    gap: 0.75rem;
  }

  .range-group label {
    font-size: 0.9rem;
  }

  .range-group input[type="range"] {
    height: 5px;
  }

  .range-group input[type="range"]::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
  }

  .range-group input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
  }
}

/* 🔧 Скрываем все элементы с ошибками */
.form-message.error,
.form-group .error-message,
.form-group input.invalid + .error-message,
.form-group textarea.invalid + .error-message,
.form-group select.invalid + .error-message {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* 🔧 Убираем красную обводку у полей с ошибками */
.form-group input.invalid,
.form-group textarea.invalid,
.form-group select.invalid {
  border-color: var(--turquoise) !important;
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1) !important;
}

/* Стили для анкеты участника */
.discount-note {
  font-size: 0.8em;
  color: #666;
  font-style: italic;
  display: block;
  margin-top: 2px;
}

.payment-section {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
}

.payment-note {
  margin-bottom: 15px;
  color: #495057;
  font-size: 0.9em;
}

.checkbox-section h4 {
  margin-bottom: 10px;
  color: #333;
  font-size: 1em;
  font-weight: 600;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.9em;
  color: #495057;
  min-width: 200px;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #10b981;
}

.checkbox-label:hover {
  color: #10b981;
}

/* Стили для range полей */
.range-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.range-group label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9em;
  color: #495057;
}

.range-group input[type="range"] {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #dee2e6;
  outline: none;
  -webkit-appearance: none;
}

.range-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #10b981;
  cursor: pointer;
}

.range-group input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #10b981;
  cursor: pointer;
  border: none;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .checkbox-group {
    flex-direction: column;
    gap: 10px;
  }
  
  .checkbox-label {
    min-width: auto;
  }
  
  .form-row {
    flex-direction: column;
  }
  
  .payment-section {
    padding: 15px;
  }
}

/* Стили для уведомления о документе */
.document-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  max-width: 400px;
  animation: slideInRight 0.3s ease-out;
}

.notification-content {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.notification-content i {
  color: #856404;
  font-size: 1.2em;
  margin-top: 2px;
}

.notification-content span {
  color: #856404;
  font-size: 0.9em;
  line-height: 1.4;
  flex: 1;
}

.notification-close {
  background: none;
  border: none;
  color: #856404;
  font-size: 1.5em;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  margin-left: 10px;
}

.notification-close:hover {
  color: #533f03;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .document-notification {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }
}

/* Дополнительные стили для обновленной формы */
.form-group label {
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  display: block;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group input[type="number"],
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row .form-group {
  flex: 1;
}

/* Стили для чекбоксов */
.checkbox-section {
  margin-bottom: 25px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e9ecef;
}

.checkbox-section h4 {
  color: #495057;
  margin-bottom: 15px;
  font-size: 1.1em;
  font-weight: 600;
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #dee2e6;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.95em;
}

.checkbox-label:hover {
  background: #f8f9fa;
  border-color: #10b981;
}

.checkbox-label input[type="checkbox"]:checked + span {
  color: #10b981;
  font-weight: 600;
}

/* Стили для программы выступления */
.performance-program {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #e9ecef;
}

.program-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  align-items: center;
}

.program-number {
  background: #10b981;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
}

.program-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

/* Стили для соглашений */
.agreement {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  margin: 20px 0;
}

.agreement .checkbox-label {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.95em;
  line-height: 1.5;
}

/* Документы для льготных категорий */
.special-doc-group {
  margin-top: 12px;
  padding: 12px;
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
}

.special-doc-label {
  display: block;
  margin-bottom: 8px;
  color: #475569;
  font-size: 0.9em;
}

/* Стили для контактной информации */
.contact-info {
  background: #e3f2fd;
  border: 1px solid #bbdefb;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
}

.contact-info p {
  margin: 8px 0;
  color: #1976d2;
}

.contact-info a {
  color: #1976d2;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 15px;
  }
  
  .checkbox-group {
    grid-template-columns: 1fr;
  }
  
  .program-row {
    flex-direction: column;
    align-items: stretch;
  }
  
  .program-number {
    align-self: center;
  }
  
  .checkbox-section {
    padding: 15px;
  }
  
  .performance-program {
    padding: 15px;
  }
}

/* Проверка подписок */
.subscription-check {
  background: #e3f2fd;
  border: 1px solid #bbdefb;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
}
.subscription-title {
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: #1976d2;
}
.subscription-note {
  color: #1565c0;
  margin-bottom: 15px;
}
.subscription-links {
  display: grid;
  gap: 15px;
}
.subscription-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.subscription-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1976d2;
  text-decoration: none;
  font-weight: 600;
}
.subscription-link:hover {
  text-decoration: underline;
}

/* Взнос за участие */
.fee-section {
  background: #f8f9fa;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
}
.fee-title {
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: #0f172a;
}
.fee-note {
  color: #475569;
  margin-bottom: 10px;
}
.fee-rules, .fee-discounts {
  margin: 0 0 10px 18px;
  color: #334155;
}
.fee-amount-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 12px 0 15px;
}
.fee-amount-label { color: #334155; }
.fee-amount { font-weight: 800; color: #0f172a; font-size: 1.25rem; }
.fee-actions { margin-bottom: 15px; }
.participant-fee-qr { display: flex; align-items: center; justify-content: center; min-height: 200px; background: #fff; border: 1px dashed #cbd5e1; border-radius: 8px; }
.fee-confirm { margin-top: 15px; display: grid; gap: 10px; }
.fee-receipt label { display: block; margin-bottom: 6px; color: #334155; }

/* Trusted partners section */
.trusted-partners {
  padding: 60px 0;
  background: #f6faf9;
}

.trusted-partners .section-header h2 {
  text-align: center;
  color: #0f172a;
}

.trusted-partners__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px 40px;
  align-items: center;
  justify-items: center;
  margin-top: 30px;
}

.trusted-partners__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%);
  opacity: 0.9;
  transition: transform .2s ease, filter .2s ease, opacity .2s ease;
}

.trusted-partners__item:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-3px);
}

.trusted-partners__logo {
  max-width: 140px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 1200px) {
  .trusted-partners__grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 992px) {
  .trusted-partners__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .trusted-partners__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .trusted-partners__logo {
    max-width: 110px;
  }
}

@media (max-width: 480px) {
  .trusted-partners__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trusted-partners {
    padding: 40px 0;
  }
}

/* Эксперты проекта */
.experts-section {
  padding: 60px 0;
  background: #ffffff;
}

.experts-section .section-header h2 {
  text-align: center;
  color: #0f172a;
}

.experts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
  justify-items: center;
}

.expert-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  transition: all .3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  width: 100%;
  max-width: 280px;
  position: relative;
}

.expert-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: #10b981;
}

.expert-image {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}

.expert-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.1) 100%);
  z-index: 1;
}

.expert-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.expert-card:hover .expert-image img {
  transform: scale(1.05);
}

.expert-info {
  padding: 20px 16px;
  text-align: center;
}

.expert-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.expert-desc {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.4;
  margin: 0;
}

/* Кнопка "Стать экспертом" */
.expert-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  padding: 20px 0;
}

.expert-application-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: none;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 12px;
  cursor: pointer;
  transition: all .3s ease;
  box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: none;
  letter-spacing: 0.02em;
}

.expert-application-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.4);
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.expert-application-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.3);
}

.expert-application-btn i {
  font-size: 1rem;
}

/* Адаптивность */
@media (max-width: 1200px) {
  .experts-grid { 
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
  }
}

@media (max-width: 992px) {
  .experts-grid { 
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .expert-card {
    max-width: 250px;
  }
}

@media (max-width: 768px) {
  .experts-grid { 
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
  }
  
  .expert-card {
    max-width: 220px;
  }
  
  .expert-info {
    padding: 16px 12px;
  }
  
  .expert-name {
    font-size: 1rem;
  }
  
  .expert-desc {
    font-size: 0.85rem;
  }
  
  .expert-cta {
    margin-top: 40px;
  }
  
  .expert-application-btn {
    padding: 14px 28px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .experts-grid { 
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .expert-card {
    max-width: 180px;
  }
  
  .expert-info {
    padding: 12px 10px;
  }
  
  .expert-name {
    font-size: 0.9rem;
  }
  
  .expert-desc {
    font-size: 0.8rem;
  }
  
  .expert-application-btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}

/* Дополнительные опции в анкете */
.additional-options {
  margin: 24px 0 16px;
  background-color: #f8fafc;
  border-radius: 12px;
  padding: 16px;
  border: 1px dashed #10b981;
}

.additional-options h4 {
  font-size: 1.1rem;
  color: #0f172a;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.additional-options h4 i {
  color: #10b981;
  font-size: 1.2rem;
}

.option-item {
  margin-bottom: 10px;
}

.option-item .checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
}

.option-item input[type="checkbox"] {
  margin-top: 3px;
}

@media (max-width: 768px) {
  .additional-options {
    padding: 12px;
    margin: 20px 0 14px;
  }
  
  .additional-options h4 {
    font-size: 1rem;
    margin-bottom: 12px;
  }
  
  .option-item .checkbox-label {
    font-size: 0.9rem;
  }
}

/* Team Page Styles */
.page-header {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 120px 0 80px;
  text-align: center;
}

.page-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--white);
}

.page-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.main-team {
  padding: 80px 0;
  background: var(--white);
}

.team-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.team-member {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid #e2e8f0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 0 0 250px;
  max-width: 250px;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.member-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1rem;
  border: 3px solid var(--turquoise);
  box-shadow: var(--shadow-md);
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.team-member:hover .member-photo img {
  transform: scale(1.05);
}

.member-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.member-role {
  color: var(--text-dark);
  line-height: 1.5;
  font-size: 0.9rem;
}

.regional-representatives {
  padding: 80px 0;
}

.representatives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.representative-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.representative-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.representative-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 4px solid var(--turquoise);
  box-shadow: var(--shadow-md);
}

.representative-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.representative-card:hover .representative-photo img {
  transform: scale(1.05);
}

.representative-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}

.representative-description {
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.representative-region {
  display: inline-block;
  background: var(--gradient-secondary);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.other-representatives {
  padding: 80px 0;
  background: var(--light-gray);
}

.representatives-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.representative-item {
  background: var(--white);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
  transition: var(--transition);
}

.representative-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.representative-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
}

/* Team Page Responsive */
@media (max-width: 768px) {
  .page-title {
    font-size: 2rem;
  }
  
  .page-subtitle {
    font-size: 1rem;
  }
  
  .team-grid {
    flex-direction: column;
    align-items: center;
  }
  
  .team-member {
    flex: none;
    max-width: 100%;
    width: 100%;
    max-width: 300px;
  }
  
  .representatives-grid {
    grid-template-columns: 1fr;
  }
  
  .representatives-list {
    grid-template-columns: 1fr;
  }
  
  .team-member,
  .representative-card {
    padding: 1.5rem;
  }
  
  .member-photo,
  .representative-photo {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
  }
  
  .member-name,
  .representative-name {
    font-size: 1.3rem;
  }
}
