:root {
  /* Основные цвета и градиенты */
  --primary-color: #2a6b9c;
  --primary-light: #3e86bc;
  --primary-dark: #1a4d78;
  --secondary-color: #d35400;
  --secondary-light: #e67e22;
  --secondary-dark: #a04000;
  --accent-color: #8e44ad;
  --accent-light: #9b59b6;
  --accent-dark: #6c3483;
  
  /* Нейтральные цвета */
  --light-color: #ffffff;
  --dark-color: #333333;
  --text-color: #444444;
  --bg-light: #f9f9f9;
  --bg-dark: #2c3e50;
  
  /* Градиенты */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
  --gradient-hero: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.5));
  --gradient-card: linear-gradient(to right bottom, rgba(255,255,255,0.7), rgba(255,255,255,0.3));
  
  /* Тени */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 16px rgba(0,0,0,0.1);
  
  /* Скругления */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  /* Переходы */
  --transition-fast: all 0.3s ease;
  --transition-medium: all 0.5s ease;
  --transition-slow: all 0.8s ease;
  
  /* Шрифты */
  --font-heading: 'Inter', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--bg-light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

p {
  margin-bottom: 1.5rem;
}

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

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

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

/* Заголовки */
.title.is-1 {
  font-size: 3rem;
  letter-spacing: -0.5px;
}

.title.is-2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  text-align: center;
}

.title.is-2:after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

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

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

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

.subtitle {
  font-family: var(--font-heading);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

/* Кнопки */
.button {
  transition: var(--transition-fast);
  font-weight: 500;
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.button:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: var(--transition-fast);
  z-index: -1;
}

.button:hover:before {
  left: 0;
}

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

.button.is-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.button.is-light {
  background: var(--light-color);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.button.is-light:hover {
  background: var(--primary-light);
  color: var(--light-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.button.is-rounded {
  border-radius: 50px;
}

/* Header & Navigation */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
  padding: 1rem 0;
}

.navbar-brand .title {
  margin-bottom: 0;
}

.navbar-item {
  font-family: var(--font-heading);
  font-weight: 500;
  transition: var(--transition-fast);
  color: var(--dark-color);
  position: relative;
}

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

.navbar-item:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  transition: var(--transition-fast);
}

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

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

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}


.hero-body {
  position: relative;
  z-index: 2;
  padding: 5rem 1.5rem;
}

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

/* Карточки */
.card {
  background-color: var(--light-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition-fast);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

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

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

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

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

.card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

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

/* Секции */
.section {
  padding: 5rem 1.5rem;
  position: relative;
}

.section.has-background-light {
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.section.has-background-light:before {
  content: '';
  position: absolute;
  width: 150%;
  height: 100px;
  background-color: white;
  top: -50px;
  left: -25%;
  transform: rotate(-2deg);
  z-index: 1;
}

.section.has-background-light:after {
  content: '';
  position: absolute;
  width: 150%;
  height: 100px;
  background-color: white;
  bottom: -50px;
  left: -25%;
  transform: rotate(2deg);
  z-index: 1;
}

.section .container {
  position: relative;
  z-index: 2;
}

/* Изображения и галереи */
.image-container {
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.image-container img {
  width: 100%;
  transition: var(--transition-medium);
}

.image-container:hover img {
  transform: scale(1.03);
}

/* Хронология (Timeline) */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline:before {
  content: '';
  position: absolute;
  width: 4px;
  background: var(--gradient-primary);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-item {
  padding: 15px 30px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-marker {
  position: absolute;
  width: 16px;
  height: 16px;
  right: -8px;
  background-color: var(--primary-color);
  border-radius: 50%;
  top: 20px;
  z-index: 1;
}

.timeline-item:nth-child(even) .timeline-marker {
  left: -8px;
}

.timeline-content {
  padding: 20px 30px;
  background-color: white;
  position: relative;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.timeline-content .heading {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: white;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  position: relative;
  background-color: white;
  margin: 0;
  transition: var(--transition-fast);
}

.faq-question:hover {
  background-color: rgba(42, 107, 156, 0.05);
}

.faq-question:after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: var(--transition-fast);
}

.faq-question.active:after {
  content: '-';
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding-bottom: 1.5rem;
}

/* Контактная форма */
.form-container {
  max-width: 600px;
  margin: 0 auto;
}

.input, .textarea {
  border: 2px solid #e0e0e0;
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  transition: var(--transition-fast);
}

.input:focus, .textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(42, 107, 156, 0.2);
}

.label {
  font-weight: 500;
  color: var(--dark-color);
}

/* Карта в контактах */
.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: var(--light-color);
  padding: 4rem 1.5rem 2rem;
  position: relative;
}


.footer .container {
  position: relative;
  z-index: 2;
}

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

.footer a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-fast);
}

.footer a:hover {
  color: var(--light-color);
  text-decoration: underline;
}

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

.footer ul li {
  margin-bottom: 0.5rem;
}

/* Социальные сети в футере */
.social-links {
  display: flex;
  flex-direction: column;
}

.social-links a {
  margin-bottom: 0.5rem;
  display: inline-block;
  transition: var(--transition-fast);
}

.social-links a:hover {
  color: var(--light-color);
  transform: translateX(5px);
}

/* Адаптивность */
@media screen and (max-width: 1023px) {
  .title.is-1 {
    font-size: 2.5rem;
  }
  
  .title.is-2 {
    font-size: 2rem;
  }
  
  .title.is-3 {
    font-size: 1.75rem;
  }
  
  .timeline:before {
    left: 20px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 50px;
    padding-right: 0;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-marker {
    left: 12px;
    right: auto;
  }
  
  .timeline-item:nth-child(even) .timeline-marker {
    left: 12px;
  }
}

@media screen and (max-width: 768px) {
  .section {
    padding: 3rem 1rem;
  }
  
  .hero-body {
    padding: 4rem 1rem;
  }
  
  .title.is-1 {
    font-size: 2rem;
  }
  
  .title.is-2 {
    font-size: 1.75rem;
  }
  
  .navbar-menu {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
  }
  .timeline .timeline-item {
    margin-left: 0;
  }
}

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

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

.success-page .title {
  margin-bottom: 1rem;
}

.success-page .subtitle {
  margin-bottom: 2rem;
}

/* Страницы Privacy и Terms */
.privacy-page, .terms-page {
  padding-top: 100px;
}

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

/* Cookie Consent */
#cookie-consent {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  animation: slideUp 0.5s ease forwards;
}

#accept-cookies {
  transition: var(--transition-fast);
}

#accept-cookies:hover {
  background-color: #3abb67 !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

/* Анимации и эффекты */
.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Стили для about.html, contacts.html и других страниц */
.page-header {
  padding-top: 100px;
  text-align: center;
  margin-bottom: 3rem;
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Улучшения для карточек */
.card {
  text-align: center;
}

.card-image img {
  margin: 0 auto;
}

/* Утилиты */
.has-text-centered {
  text-align: center;
}

.has-text-white {
  color: var(--light-color) !important;
}

.has-text-white-bis {
  color: rgba(255, 255, 255, 0.9) !important;
}

.mt-6 {
  margin-top: 3rem !important;
}

.mb-6 {
  margin-bottom: 3rem !important;
}

.mb-5 {
  margin-bottom: 2.5rem !important;
}

.mb-4 {
  margin-bottom: 2rem !important;
}

.mb-3 {
  margin-bottom: 1.5rem !important;
}

.mb-2 {
  margin-bottom: 1rem !important;
}

.mt-5 {
  margin-top: 2.5rem !important;
}

.is-centered {
  margin-left: auto;
  margin-right: auto;
}

/* Дополнительные улучшения для readability */
.content {
  color: var(--text-color);
}

.content h1, 
.content h2, 
.content h3, 
.content h4, 
.content h5, 
.content h6 {
  color: var(--dark-color);
}

/* Стилизация для информации о вакансиях */
.job-listing {
  background-color: white;
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition-fast);
}

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

.job-title {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.job-location {
  color: var(--text-color);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.job-description {
  margin-bottom: 1.5rem;
}

.apply-button {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 500;
  transition: var(--transition-fast);
  cursor: pointer;
}

.apply-button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

footer strong {
  color: #e0e0e0 !important;
}

footer p {
  margin-bottom: 0;
}