:root {
  /* Триадная цветовая схема - основные цвета */
  --primary-color: #ff7e67; /* Оранжево-розовый */
  --secondary-color: #00b8a9; /* Бирюзовый */
  --tertiary-color: #704fff; /* Фиолетовый */
  
  /* Оттенки основных цветов */
  --primary-dark: #e86753;
  --primary-light: #ffb4a8;
  --secondary-dark: #009b8f;
  --secondary-light: #7fefe5;
  --tertiary-dark: #5a3fcc;
  --tertiary-light: #a394ff;
  
  /* Нейтральные цвета */
  --dark: #1a1a1a;
  --gray-dark: #333333;
  --gray: #666666;
  --gray-light: #e0e0e0;
  --light: #f9f9f9;
  
  /* Цвета текста */
  --text-dark: #222222;
  --text-light: #ffffff;
  
  /* Размеры и переходы */
  --border-radius: 0;
  --box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.8);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Отступы */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
}

/* Базовые стили */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Rubik', sans-serif;
  color: var(--text-dark);
  background-color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

a {
  color: var(--tertiary-color);
  transition: all var(--transition-fast);
  text-decoration: none;
}

a:hover {
  color: var(--tertiary-dark);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius);
}

.title, .subtitle {
  font-family: 'Manrope', sans-serif;
  margin-bottom: var(--spacing-md);
  position: relative;
}

.title.is-1 {
  font-size: 3.5rem;
  letter-spacing: -0.02em;
}

.title.is-2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.title.is-2::after {
  content: '';
  display: block;
  width: 60px;
  height: 6px;
  background-color: var(--primary-color);
  margin: var(--spacing-sm) auto 0;
}

.title.is-3 {
  font-size: 2rem;
}

.title.is-4 {
  font-size: 1.5rem;
}

.title.is-5 {
  font-size: 1.25rem;
}

/* Контейнеры и секции */
.section {
  padding: var(--spacing-xl) 0;
  position: relative;
}

.container {
  padding: 0 var(--spacing-md);
}

/* Шапка и навигация */
.header {
  background-color: var(--light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all var(--transition-normal);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar {
  padding: var(--spacing-sm) 0;
  transition: all var(--transition-normal);
}

.navbar-brand {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -0.03em;
}

.navbar-item {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  transition: all var(--transition-fast);
  position: relative;
}

.navbar-item:after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: all var(--transition-normal);
}

.navbar-item:hover:after {
  width: 100%;
}

.navbar-burger {
  height: 3.5rem;
  width: 3.5rem;
}

.navbar-burger span {
  height: 2px;
  background-color: var(--primary-color);
  transition: all var(--transition-fast);
}

/* Герой секция */
.hero {
  position: relative;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: var(--text-light);
  overflow: hidden;
  margin-top: 3.5rem;
}

.hero-body {
  padding: var(--spacing-xl) 0;
  z-index: 2;
  position: relative;
}

.hero .title, .hero .subtitle {
  color: var(--text-light);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-description {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: var(--spacing-md);
  color: var(--text-light);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-stats {
  display: flex;
  justify-content: space-around;
  padding: var(--spacing-md);
  background: rgba(0, 0, 0, 0.7);
  border-radius: var(--border-radius);
}

.stat-item {
  text-align: center;
  padding: var(--spacing-sm);
}

.stat-number {
  font-family: 'Manrope', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Кнопки и интерактивные элементы */
.button {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--border-radius);
  transition: all var(--transition-fast);
  box-shadow: var(--box-shadow);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0px rgba(0, 0, 0, 0.8);
}

.button:active {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.8);
}

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

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

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

.button.is-outlined:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}

input, textarea, select {
  border-radius: var(--border-radius) !important;
  border: 2px solid var(--gray-light) !important;
  box-shadow: var(--box-shadow) !important;
  transition: all var(--transition-fast) !important;
  background-color: var(--light) !important;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--tertiary-color) !important;
  box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.8) !important;
  transform: translate(-2px, -2px);
}

/* Карточки */
.card {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: all var(--transition-normal);
  background-color: var(--light);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--dark);
}

.card:hover {
  transform: translate(-5px, -5px);
  box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.8);
}

.card-image {
  overflow: hidden;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all var(--transition-slow);
}

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

.card-content {
  padding: var(--spacing-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Секция миссии */
.mission-section {
  background-color: var(--light);
}

.mission-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
}

.mission-image {
  flex: 1;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  border: 2px solid var(--dark);
}

.mission-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.mission-text {
  flex: 1;
  padding: var(--spacing-md);
  background-color: var(--light);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  border: 2px solid var(--dark);
}

.mission-text p {
  margin-bottom: var(--spacing-sm);
}

/* Секция курсов/цен */
.pricing-section {
  background-color: var(--light);
}

.pricing-card {
  position: relative;
  overflow: hidden;
}

.pricing-card.featured {
  transform: scale(1.05);
  border: 2px solid var(--primary-color);
}

.pricing-card.featured:before {
  content: 'Popular';
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 0.5rem 1rem;
  z-index: 1;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.price {
  font-family: 'Manrope', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--tertiary-color);
  margin: var(--spacing-sm) 0;
}

/* Секция блога */
.blog-section {
  background-color: var(--light);
}

.blog-card {
  display: flex;
  flex-direction: column;
}

.blog-date {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: var(--spacing-xs);
}

.blog-card .title {
  margin-bottom: var(--spacing-sm);
}

.blog-card p {
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
}

.blog-card .button {
  align-self: flex-start;
}

/* Секция с ресурсами */
.resources-section {
  background-color: var(--secondary-light);
  color: var(--text-dark);
}

.resource-card {
  height: 100%;
  text-align: center;
}

.resource-card .title {
  color: var(--secondary-dark);
}

.resource-card .button {
  margin: 0.5rem;
}

/* Секция отзывов */
.testimonials-section {
  background-color: var(--light);
}

.testimonial-card {
  text-align: center;
}

.testimonial-card .card-image {
  margin: -50px auto 20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary-color);
  box-shadow: var(--box-shadow);
}

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

.testimonial-text {
  font-style: italic;
  margin-bottom: var(--spacing-sm);
  position: relative;
}

.testimonial-text:before, .testimonial-text:after {
  content: '"';
  font-size: 2rem;
  color: var(--primary-light);
  line-height: 0;
  position: relative;
}

.testimonial-author {
  font-weight: 700;
  color: var(--tertiary-color);
  margin-bottom: 0.2rem;
}

.testimonial-position {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: var(--spacing-sm);
}

.rating {
  color: var(--primary-color);
  font-size: 1.2rem;
}

/* Секция проектов */
.case-studies-section {
  background-color: var(--tertiary-light);
  color: var(--text-dark);
}

.case-study-card .card-content {
  background-color: var(--light);
}

.case-study-card .title {
  color: var(--tertiary-dark);
}

/* Секция наград */
.awards-section {
  background-color: var(--light);
}

.awards-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
}

.awards-image {
  flex: 1;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  border: 2px solid var(--dark);
}

.awards-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.awards-text {
  flex: 1;
  padding: var(--spacing-md);
  background-color: var(--light);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  border: 2px solid var(--dark);
}

.awards-list {
  margin-top: var(--spacing-sm);
  list-style-type: none;
  padding-left: 0;
}

.awards-list li {
  margin-bottom: var(--spacing-sm);
  padding-left: 1.5rem;
  position: relative;
}

.awards-list li:before {
  content: '✓';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Секция календаря событий */
.calendar-section {
  background-color: var(--light);
}

.event-card {
  height: 100%;
}

.event-date {
  display: inline-block;
  background-color: var(--tertiary-color);
  color: var(--text-light);
  padding: 0.3rem 0.8rem;
  margin-bottom: var(--spacing-sm);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 0;
}

.event-card .title {
  margin-bottom: var(--spacing-sm);
}

.event-card p {
  margin-bottom: var(--spacing-xs);
}

.event-card .button {
  margin-top: var(--spacing-sm);
}

/* Секция контактов */
.contact-section {
  background-color: var(--secondary-light);
  color: var(--text-dark);
}

.contact-form-container {
  background-color: var(--light);
  padding: var(--spacing-md);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  border: 2px solid var(--dark);
}

.contact-info {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.contact-map {
  flex: 1;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  border: 2px solid var(--dark);
}

.contact-map img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.contact-details {
  flex: 1;
  padding: var(--spacing-md);
  background-color: var(--light);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  border: 2px solid var(--dark);
}

.contact-item {
  margin-bottom: var(--spacing-md);
}

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

.contact-item h3 {
  margin-bottom: var(--spacing-xs);
  color: var(--tertiary-color);
}

.contact-social h3 {
  margin-bottom: var(--spacing-sm);
}

.social-links {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.social-links a {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  text-decoration: none;
  color: var(--primary-color);
  transition: all var(--transition-fast);
}

.social-links a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Футер */
.footer {
  background-color: var(--dark);
  color: var(--text-light);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: var(--spacing-md);
  color: var(--primary-color);
  position: relative;
}

.footer-title:after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
  margin-top: var(--spacing-xs);
}

.footer p {
  color: var(--gray-light);
  margin-bottom: var(--spacing-md);
}

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

.footer-links li {
  margin-bottom: var(--spacing-xs);
}

.footer-links a {
  color: var(--gray-light);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-social {
  margin-top: var(--spacing-md);
  display: flex;
  gap: var(--spacing-sm);
}

.footer-social a {
  color: var(--gray-light);
  font-weight: 700;
  transition: all var(--transition-fast);
  text-decoration: none;
  margin-right: var(--spacing-sm);
}

.footer-social a:hover {
  color: var(--primary-color);
}

.footer-subscribe {
  margin-top: var(--spacing-sm);
}

.footer-bottom {
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

/* Страница успешной отправки */
.success-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: var(--spacing-md);
}

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

.success-page .title {
  color: var(--secondary-color);
  margin-bottom: var(--spacing-sm);
}

.success-page .button {
  margin-top: var(--spacing-md);
}

/* Страницы Privacy и Terms */
.content-page {
  padding-top: 100px; /* Для отступа от фиксированного хедера */
}

.content-page .container {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-md);
}

.content-page h1 {
  margin-bottom: var(--spacing-lg);
  color: var(--tertiary-color);
}

.content-page h2 {
  margin: var(--spacing-lg) 0 var(--spacing-md);
  color: var(--tertiary-dark);
}

.content-page p, .content-page ul, .content-page ol {
  margin-bottom: var(--spacing-md);
}

.content-page strong {
  color: var(--tertiary-color);
}

/* Cookie consent */
#cookieConsent {
  border-top: 3px solid var(--primary-color);
}

#acceptCookies {
  border-radius: var(--border-radius);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--transition-fast);
}

#acceptCookies:hover {
  background-color: var(--primary-dark);
}

/* Отзывчивый дизайн */
@media screen and (min-width: 769px) {
  .mission-content, .awards-content {
    flex-direction: row;
  }
  
  .card-image img {
    height: 220px;
  }
}

@media screen and (max-width: 768px) {
  .title.is-1 {
    font-size: 2.5rem;
  }
  
  .title.is-2 {
    font-size: 2rem;
  }
  
  .hero-stats {
    flex-direction: column;
  }
  
  .stat-item {
    margin-bottom: var(--spacing-sm);
  }
  
  .mission-content, .awards-content {
    gap: var(--spacing-lg);
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .contact-info {
    margin-top: var(--spacing-lg);
  }
}

@media screen and (max-width: 480px) {
  .title.is-1 {
    font-size: 2rem;
  }
  
  .title.is-2 {
    font-size: 1.75rem;
  }
  
  .hero-body {
    padding: var(--spacing-lg) 0;
  }
  
  .buttons {
    flex-direction: column;
  }
  
  .button.is-large {
    width: 100%;
    margin-bottom: var(--spacing-sm);
  }
}

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

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

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

/* Микроанимации */
.button, .card, .navbar-item, input, textarea, select {
  position: relative;
  overflow: hidden;
}

.button:after, .card:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.button:hover:after, .card:hover:after {
  transform: translateX(0);
}

/* Параллакс эффекты */
.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Добавляем стили для read more ссылок */
.read-more {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  color: var(--tertiary-color);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  margin-top: var(--spacing-sm);
  position: relative;
  padding-right: 20px;
}

.read-more:after {
  content: '→';
  position: absolute;
  right: 0;
  transition: all var(--transition-fast);
}

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

.read-more:hover:after {
  right: -5px;
}