:root {
  /* Монохромная цветовая схема */
  --primary-color: #3273dc;
  --primary-dark: #1a56b3;
  --primary-light: #5e90e5;
  --primary-lighter: #edf2fd;
  
  --secondary-color: #209cee;
  --secondary-dark: #0d7ac0;
  --secondary-light: #55b6f3;
  
  --dark-color: #222222;
  --dark-medium: #444444;
  --medium-color: #666666;
  --light-medium: #999999;
  --light-color: #f5f5f5;
  
  --success-color: #23d160;
  --warning-color: #ffdd57;
  --danger-color: #ff3860;
  
  /* Параметры стекла */
  --glass-background: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: rgba(0, 0, 0, 0.1);
  
  /* Параметры анимаций */
  --bounce-timing: cubic-bezier(0.5, 1.5, 0.5, 0.8);
  --smooth-timing: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Базовые стили */
html, body {
  font-family: 'Nunito', sans-serif;
  color: var(--dark-color);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .title, .subtitle {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  color: var(--dark-color);
}

.title.is-1, .title.is-2 {
  margin-bottom: 1.5rem;
  position: relative;
}

.title.is-1::after, .title.is-2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

p {
  line-height: 1.8;
  margin-bottom: 1rem;
  color: var(--dark-medium);
}

a {
  color: var(--primary-color);
  transition: all 0.3s var(--smooth-timing);
}

a:hover {
  color: var(--primary-dark);
}

.container {
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 1.5rem;
}

/* Биоморфные формы */
.biomorphic {
  border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
}

/* Гласморфизм */
.glass-card {
  background: var(--glass-background);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: 0 4px 30px var(--glass-shadow);
  padding: 2rem;
  transition: transform 0.3s var(--bounce-timing), box-shadow 0.3s var(--smooth-timing);
}

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

/* Кнопки */
.button {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s var(--bounce-timing);
}

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

.button:active {
  transform: translateY(0);
}

.button.is-primary {
  background-color: var(--primary-color);
}

.button.is-primary:hover {
  background-color: var(--primary-dark);
}

.button.is-outlined {
  border: 2px solid var(--primary-color);
}

.button.is-light {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
}

.button.is-light:hover {
  background-color: #fff;
}

/* Навигация */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  z-index: 30;
  transition: all 0.3s var(--smooth-timing);
}

.navbar-item {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark-color);
  transition: color 0.3s var(--smooth-timing);
}

.navbar-item:hover {
  color: var(--primary-color);
}

.navbar-burger {
  height: 4.25rem;
}

.navbar-burger span {
  height: 2px;
  width: 20px;
  left: calc(50% - 10px);
  background-color: var(--dark-color);
}

/* Hero секция */
.hero {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
  z-index: 1;
}

.hero-body {
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 100vh;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.hero .title, .hero .subtitle, .hero p {
  color: #FFFFFF;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Миссия */
.mission-section {
  background-color: var(--primary-lighter);
  position: relative;
  overflow: hidden;
}

.mission-section::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: var(--primary-light);
  opacity: 0.1;
  border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
  z-index: 0;
}

.mission-section::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: var(--primary-light);
  opacity: 0.1;
  border-radius: 37% 63% 46% 54% / 48% 55% 45% 52%;
  z-index: 0;
}

.stat-widget {
  text-align: center;
  padding: 1.5rem;
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s var(--bounce-timing);
}

.stat-widget:hover {
  transform: translateY(-5px);
}

.stat-widget h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-widget p {
  font-size: 1rem;
  color: var(--medium-color);
  margin: 0;
}

/* Проекты */
.projects-section {
  position: relative;
  background-color: #fff;
}

.projects-section .glass-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.projects-section .card-image {
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.image-container {
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 1rem;
  width: 100%;
  text-align: center;
}

.image-container img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s var(--smooth-timing);
}

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

.card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-content .title {
  margin-top: 0;
}

/* Внешние ресурсы */
.external-resources-section {
  background-color: var(--primary-lighter);
  position: relative;
  overflow: hidden;
}

.external-resources-section::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 10%;
  width: 200px;
  height: 200px;
  background: var(--primary-light);
  opacity: 0.1;
  border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
  z-index: 0;
}

.resource-card {
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.resource-card .title {
  margin-bottom: 1rem;
}

/* Команда */
.team-section {
  background-color: #fff;
  position: relative;
}

.team-section .glass-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team-section .card-image {
  width: 100%;
  margin-bottom: 1.5rem;
}

.team-section .image-container {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 10px;
}

.team-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--smooth-timing);
}

.team-section .glass-card:hover img {
  transform: scale(1.05);
}

/* Инструкторы */
.instructors-section {
  background-color: var(--primary-lighter);
  position: relative;
}

.instructors-section .glass-card {
  height: 100%;
}

.instructors-section .card-image {
  overflow: hidden;
  border-radius: 10px;
  height: 100%;
}

.instructors-section .image-container {
  height: 100%;
  width: 100%;
}

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

/* Клиенты */
.clientele-section {
  background-color: #fff;
}

.testimonial-card {
  height: 100%;
}

.testimonial-card .media-left {
  margin-right: 1rem;
}

.testimonial-card .image {
  overflow: hidden;
  border-radius: 50%;
}

.testimonial-card img {
  width: 64px;
  height: 64px;
  object-fit: cover;
}

.testimonial-card .title, .testimonial-card .subtitle {
  margin-bottom: 2.5rem;
}

.testimonial-card .content {
  margin-top: 1rem;
  font-style: italic;
}

/* FAQ */
.faq-section {
  background-color: var(--primary-lighter);
  position: relative;
  overflow: hidden;
}

.faq-section::before {
  content: "";
  position: absolute;
  bottom: -100px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: var(--primary-light);
  opacity: 0.1;
  border-radius: 37% 63% 46% 54% / 48% 55% 45% 52%;
  z-index: 0;
}

.faq-container {
  width: 100%;
}

.faq-item {
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  transition: all 0.3s var(--smooth-timing);
}

.faq-question:hover {
  background: rgba(255, 255, 255, 1);
}

.faq-question h3 {
  margin: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  transition: max-height 0.3s var(--smooth-timing), padding 0.3s var(--smooth-timing);
}

.faq-item.is-active .faq-question {
  border-radius: 10px 10px 0 0;
  background: white;
}

.faq-item.is-active .faq-answer {
  max-height: 500px;
  padding: 1.5rem;
  border-radius: 0 0 10px 10px;
  background: white;
}

.faq-item.is-active .icon i {
  transform: rotate(180deg);
}

.icon i {
  transition: transform 0.3s var(--smooth-timing);
}

/* Контакт */
.contact-section {
  background-color: #fff;
  position: relative;
}

.contact-form-card, .contact-info-card {
  height: 100%;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-info-item .icon {
  margin-right: 1rem;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.contact-info-item p:first-child {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-info-item p:last-child {
  margin-bottom: 0;
}

.map-container {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-container img {
  width: 100%;
  height: auto;
}

.contact-form-card .field {
  margin-bottom: 1.5rem;
}

.contact-form-card .input, .contact-form-card .textarea, .contact-form-card .select {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  transition: all 0.3s var(--smooth-timing);
}

.contact-form-card .input:focus, .contact-form-card .textarea:focus, .contact-form-card .select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(50, 115, 220, 0.25);
}

.contact-form-card .label {
  font-weight: 600;
  color: var(--dark-medium);
}

/* Футер */
.footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 5rem 1.5rem 3rem;
}

.footer .title {
  color: white;
}

.footer p {
  color: var(--light-medium);
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--light-medium);
  transition: color 0.3s var(--smooth-timing);
}

.footer-links a:hover {
  color: white;
}

.social-links a {
  color: var(--primary-light);
  margin-right: 1rem;
  transition: color 0.3s var(--smooth-timing);
}

.social-links a:hover {
  color: white;
}

.newsletter-form .input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.newsletter-form .input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.footer-bottom p {
  color: var(--light-medium);
  font-size: 0.9rem;
}

/* Модальное окно */
.modal-content {
  max-width: 600px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
}

.modal-content .glass-card {
  margin: 0;
  border-radius: 0;
}

.modal-close-button {
  margin-top: 1.5rem;
}

/* Успех отправки */
.success-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: var(--primary-lighter);
  text-align: center;
  padding: 2rem;
}

.success-container {
  max-width: 600px;
}

.success-icon {
  font-size: 5rem;
  color: var(--success-color);
  margin-bottom: 2rem;
}

/* Страницы политики и условий */
.policy-page, .terms-page {
  padding-top: 100px;
  min-height: 100vh;
}

.policy-content, .terms-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

/* Адаптивность */
@media screen and (max-width: 1023px) {
  .navbar-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  }
  
  .hero-content {
    padding: 1.5rem;
  }
  
  .hero .title.is-1 {
    font-size: 2.5rem;
  }
  
  .hero .subtitle.is-3 {
    font-size: 1.5rem;
  }
  
  .section {
    padding: 4rem 1rem;
  }
}

@media screen and (max-width: 768px) {
  .hero .title.is-1 {
    font-size: 2rem;
  }
  
  .hero .subtitle.is-3 {
    font-size: 1.25rem;
  }
  
  .title.is-2 {
    font-size: 1.75rem;
  }
  
  .section {
    padding: 3rem 1rem;
  }
  
  .glass-card {
    padding: 1.5rem;
  }
  
  .stat-widget {
    margin-bottom: 1rem;
  }
  
  .contact-info-card {
    margin-top: 2rem;
  }
}

/* Cookie consent */
#cookie-consent {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#accept-cookies {
  transition: all 0.3s var(--bounce-timing);
}

#accept-cookies:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Читать далее ссылки */
.read-more {
  display: inline-block;
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
  position: relative;
  padding-right: 20px;
  transition: all 0.3s var(--smooth-timing);
}

.read-more::after {
  content: "→";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s var(--bounce-timing);
}

.read-more:hover {
  color: var(--primary-dark);
}

.read-more:hover::after {
  transform: translate(5px, -50%);
}

/* Анимации при прокрутке */
[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

/* Дополнительные утилиты */
.has-text-shadow {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.has-box-shadow {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.is-rounded {
  border-radius: 10px;
}

.is-circle {
  border-radius: 50%;
}

.overflow-hidden {
  overflow: hidden;
}