:root {
  /* Пастельная цветовая схема */
  --primary-color: #6a89cc;
  --primary-light: #8ea4d2;
  --primary-dark: #4a69bd;
  --secondary-color: #f6b93b;
  --secondary-light: #fad390;
  --secondary-dark: #e58e26;
  --accent-color: #e55039;
  --accent-light: #fa8072;
  --accent-dark: #b83227;
  
  /* Нейтральные цвета */
  --light-color: #f5f6fa;
  --light-gray: #dcdde1;
  --medium-gray: #7f8fa6;
  --dark-gray: #353b48;
  --dark-color: #2f3640;
  
  /* Фоновые цвета */
  --bg-light: #f8f9fb;
  --bg-dark: #2c3e50;
  --bg-card: #ffffff;
  
  /* Градиенты */
  --gradient-primary: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-light), var(--secondary-dark));
  --gradient-accent: linear-gradient(135deg, var(--accent-light), var(--accent-dark));
  
  /* Тени */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 10px 20px rgba(0, 0, 0, 0.05);
  --shadow-btn: 0 4px 15px rgba(106, 137, 204, 0.3);
  
  /* Анимации */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* Радиусы */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Размеры и отступы */
  --container-padding: 1.5rem;
  --section-spacing: 5rem;
  --card-padding: 1.5rem;
  --header-height: 70px;
}

/* Базовые стили */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Archivo Black', sans-serif;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-medium);
}

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

img {
  max-width: 100%;
  height: auto;
}

/* Контейнеры и секции */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: 4rem 0;
  position: relative;
}

.section.has-background-light {
  background-color: var(--light-color);
}

/* Хедер и навигация */
.header {
  position: relative;
}

.navbar {
  background-color: var(--bg-card);
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition-medium), box-shadow var(--transition-medium);
}

.navbar-item {
  color: var(--dark-gray);
  font-weight: 500;
  transition: color var(--transition-fast);
}

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

.navbar-burger {
  color: var(--dark-color);
}

.navbar.is-fixed-top {
  padding: 0.5rem 0;
}

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

.hero.is-fullheight-with-navbar {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
}

.hero-body {
  position: relative;
  z-index: 2;
}

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

.hero .title.is-1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero .subtitle.is-3 {
  font-size: 1.75rem;
  margin-bottom: 2rem;
  font-weight: 400;
}

/* Кнопки */
.button {
  transition: transform var(--transition-bounce), box-shadow var(--transition-medium), background-color var(--transition-fast);
  font-weight: 500;
  border-radius: var(--radius-md);
  letter-spacing: 0.5px;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-btn);
}

.button:active {
  transform: translateY(-1px);
}

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

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

.button.is-large {
  font-size: 1.25rem;
  padding: 0.75em 1.5em;
}

/* Карточки */
.card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

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

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

.card .title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Сервисные карточки */
.service-card .card-content {
  padding: 2rem;
}

.service-card .title {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

/* Карточки историй успеха */
.success-card .card-content {
  padding: 2rem;
}

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

/* Карточки сообщества */
.community-card {
  margin-bottom: 2rem;
}

.community-card .card-image {
  max-height: 240px;
}

/* Карточки новостей */
.news-card .card-image {
  max-height: 200px;
}

.news-card .is-size-7 {
  color: var(--medium-gray);
}

/* Карточки событий */
.event-card .card-image {
  max-height: 180px;
}

.event-card .is-size-7 {
  color: var(--medium-gray);
  font-weight: 600;
}

/* Карточки ресурсов */
.resource-card {
  padding: 1.5rem;
  height: 100%;
}

.resource-card a {
  color: var(--primary-dark);
  transition: color var(--transition-fast);
}

.resource-card a:hover {
  color: var(--accent-color);
}

/* Статистика */
.stat-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 2rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  height: 100%;
  transition: transform var(--transition-medium);
}

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

.stat-number {
  font-family: 'Archivo Black', sans-serif;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-title {
  font-size: 1rem;
  color: var(--medium-gray);
  font-weight: 500;
}

/* Карьера */
.job-listings {
  margin-top: 2rem;
}

.job-item {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.job-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.testimonial-card {
  height: 100%;
}

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

.testimonial-card .content p {
  font-style: italic;
  color: var(--medium-gray);
}

/* Контактная форма */
.contact-form-card {
  padding: 2rem;
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.info-item {
  margin-bottom: 2rem;
}

.info-item h3 {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.info-item h3 i {
  margin-right: 0.5rem;
  color: var(--primary-color);
}

.map-container {
  width: 100%;
  height: 450px;
  position: relative;
  overflow: hidden;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Футер */
.footer {
  background-color: var(--dark-color);
  color: var(--light-gray);
  padding: 4rem 0 2rem;
}

.footer .title {
  color: white;
  margin-bottom: 1.5rem;
}

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

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

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

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

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

.social-links {
  margin-top: 1.5rem;
}

.social-links a {
  color: var(--light-gray);
  margin-right: 1rem;
  transition: color var(--transition-fast);
}

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

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

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

/* Страница успеха */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

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

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

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

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

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}

/* Медиа-запросы */
@media screen and (max-width: 1023px) {
  .hero .title.is-1 {
    font-size: 2.5rem;
  }
  
  .hero .subtitle.is-3 {
    font-size: 1.5rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

@media screen and (max-width: 768px) {
  .hero .title.is-1 {
    font-size: 2rem;
  }
  
  .hero .subtitle.is-3 {
    font-size: 1.25rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .footer {
    padding: 3rem 0 1.5rem;
  }
  
  .card-content {
    padding: 1.25rem;
  }
  
  .contact-form-card {
    padding: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  .hero .title.is-1 {
    font-size: 1.75rem;
  }
  
  .hero .subtitle.is-3 {
    font-size: 1.1rem;
  }
  
  .button.is-large {
    font-size: 1rem;
  }
  
  .stat-card {
    padding: 1.5rem 1rem;
  }
  
  .stat-number {
    font-size: 1.75rem;
  }
}

/* Утилиты */
.read-more {
  font-weight: 500;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  transition: color var(--transition-medium);
}

.read-more:after {
  content: "→";
  margin-left: 0.35em;
  transition: transform var(--transition-medium);
}

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

.read-more:hover:after {
  transform: translateX(4px);
}

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

#acceptCookies {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

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