:root {
  /* Цветовая схема: раздельно-дополнительная */
  --primary: #0a6bcb;
  --primary-light: #3a8ce0;
  --primary-dark: #054e9e;
  --secondary: #e65c00;
  --secondary-light: #ff7d2e;
  --secondary-dark: #cc4000;
  --accent: #7fd12f;
  --accent-light: #9be85c;
  --accent-dark: #66a825;
  --light: #f8f9fa;
  --dark: #212529;
  --gray: #6c757d;
  --gray-light: #e9ecef;
  --gray-dark: #495057;
  
  /* Градиенты */
  --gradient-primary: linear-gradient(45deg, var(--primary), var(--primary-light));
  --gradient-secondary: linear-gradient(45deg, var(--secondary), var(--secondary-light));
  --gradient-accent: linear-gradient(45deg, var(--accent), var(--accent-light));
  
  /* Тени */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
  
  /* Анимации */
  --transition: all 0.3s ease-in-out;
  --transition-slow: all 0.5s ease-in-out;
  --transition-fast: all 0.2s ease-in-out;
  
  /* Скругления */
  --border-radius: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

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

.title, .subtitle {
  margin-bottom: 1.5rem;
}

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

.title.is-2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

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

/* Кнопки */
.button, 
button, 
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: none;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.button:hover, 
button:hover, 
input[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.button:active, 
button:active, 
input[type="submit"]:active {
  transform: translateY(1px);
  box-shadow: var(--shadow-sm);
}

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

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

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

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

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

.button.is-light:hover {
  background: var(--gray-light);
}

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

.buttons {
  display: flex;
  gap: 1rem;
}

.buttons.are-medium .button {
  font-size: 1.25rem;
  padding: 0.75rem 2rem;
}

/* Навигация */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
}

.header.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-lg);
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navbar-brand .title {
  margin-bottom: 0;
  color: var(--primary);
}

.navbar-menu {
  display: flex;
  align-items: center;
}

.navbar-item {
  color: var(--dark);
  padding: 0.5rem 1rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

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

.navbar-burger {
  display: none;
  cursor: pointer;
  height: 3.25rem;
  width: 3.25rem;
  position: relative;
}

.navbar-burger span {
  background-color: var(--dark);
  display: block;
  height: 2px;
  left: calc(50% - 8px);
  position: absolute;
  transform-origin: center;
  transition: var(--transition-fast);
  width: 16px;
}

.navbar-burger span:nth-child(1) {
  top: calc(50% - 6px);
}

.navbar-burger span:nth-child(2) {
  top: calc(50%);
}

.navbar-burger span:nth-child(3) {
  top: calc(50% + 6px);
}

@media screen and (max-width: 1023px) {
  .navbar-burger {
    display: block;
  }

  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: var(--shadow);
    flex-direction: column;
    padding: 1rem;
  }

  .navbar-menu.is-active {
    display: flex;
  }

  .navbar-end {
    width: 100%;
    display: flex;
    flex-direction: column;
  }
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero секция */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
}

.hero-body {
  display: flex;
  align-items: center;
  min-height: 100vh;
  z-index: 1;
  position: relative;
  padding: 4rem 0;
}

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

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

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

/* Карточки услуг */
.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  background-color: white;
}

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

.service-card .card-image {
  width: 100%;
  position: relative;
  overflow: hidden;
}

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

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

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

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

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

.service-card p {
  color: var(--gray-dark);
  flex-grow: 1;
}

/* О нас и Видение */
#ueber-uns, #vision {
  background-color: var(--light);
}

#ueber-uns .image, #vision .image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

#ueber-uns .image:hover, #vision .image:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

#ueber-uns .content, #vision .content {
  color: var(--gray-dark);
}

/* Преимущества */
.advantage-box {
  height: 100%;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

.advantage-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  margin-bottom: 1.5rem;
}

.advantage-box .title {
  color: var(--primary);
  margin-bottom: 1rem;
}

.advantage-box .content {
  color: var(--gray-dark);
  flex-grow: 1;
}

/* Цены и акции */
#preise .table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

#preise .table th, #preise .table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-light);
}

#preise .table th {
  font-weight: bold;
  color: var(--primary);
}

#preise .table td {
  color: var(--gray-dark);
}

#preise .notification {
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

/* Ресурсы */
#resources .card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  background-color: white;
}

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

#resources .card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

#resources .title {
  color: var(--primary);
  margin-bottom: 1rem;
}

#resources p {
  color: var(--gray-dark);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Отзывы */
.review-card {
  height: 100%;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  background-color: white;
  display: flex;
  flex-direction: column;
}

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

.stars {
  color: var(--secondary);
  margin-bottom: 1rem;
}

.review-text {
  font-style: italic;
  color: var(--gray-dark);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
}

.reviewer-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.reviewer-name {
  display: flex;
  flex-direction: column;
}

.reviewer-name strong {
  color: var(--primary);
}

.reviewer-name small {
  color: var(--gray);
}

/* Вебинары */
.webinar-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  background-color: white;
}

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

.webinar-card .card-image {
  width: 100%;
  position: relative;
  overflow: hidden;
}

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

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

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

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

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

.webinar-card .date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray);
  margin-bottom: 1rem;
}

.webinar-card p {
  color: var(--gray-dark);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* За кулисами */
.behind-scenes-gallery {
  margin-top: 2rem;
}

.behind-scenes-gallery .image {
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.behind-scenes-gallery .image:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

/* Галерея */
#gallery .image {
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

#gallery .image:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

/* FAQ */
.faq-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--gray-light);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  cursor: pointer;
  margin-bottom: 1rem;
}

.faq-question .title {
  color: var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-fast);
}

.faq-question:hover .title {
  color: var(--primary-dark);
}

.faq-answer {
  color: var(--gray-dark);
}

/* Контакты */
#kontakt {
  background-color: var(--light);
}

.contact-form .box, .contact-info.box {
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  background-color: white;
  height: 100%;
}

.field {
  margin-bottom: 1.5rem;
}

.label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.input, .textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--gray-light);
  border-radius: var(--border-radius);
  font-family: 'Lato', sans-serif;
  transition: var(--transition-fast);
}

.input:focus, .textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 107, 203, 0.25);
}

.textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-info p {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-info .fas {
  color: var(--primary);
  width: 24px;
}

.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

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

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

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

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

.social-links ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

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

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

.copyright {
  color: var(--gray-light);
  margin-top: 3rem;
}

/* Прогресс-бар */
.progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 9999;
}

.progress-bar {
  height: 100%;
  background: var(--gradient-primary);
  width: 0%;
}

/* Модальное окно */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal.is-active {
  display: flex;
}

.modal-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.modal-card {
  width: 100%;
  max-width: 500px;
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.modal-card-head {
  background-color: var(--primary);
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-card-title {
  color: white;
  font-weight: 600;
  margin-bottom: 0;
}

.delete {
  background-color: transparent;
  border: none;
  cursor: pointer;
  color: white;
  font-size: 1.5rem;
}

.modal-card-body {
  padding: 2rem;
}

.modal-card-foot {
  padding: 1.5rem;
  display: flex;
  justify-content: flex-end;
  background-color: var(--light);
}

/* Success Page */
body.success-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding-top: 0;
}

.success-container {
  text-align: center;
  max-width: 600px;
  padding: 3rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

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

/* Privacy & Terms Pages */
.page-content {
  padding-top: 100px;
}

/* Медиа-запросы для адаптивности */
@media screen and (max-width: 1215px) {
  .container {
    max-width: 960px;
  }
}

@media screen and (max-width: 1023px) {
  .container {
    max-width: 768px;
  }

  .title.is-1 {
    font-size: 2.5rem;
  }

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

  .hero .title.is-1 {
    font-size: 2.5rem;
  }

  .hero .subtitle.is-3 {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  .section {
    padding: 3rem 0;
  }

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

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

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

  .hero .subtitle.is-3 {
    font-size: 1.25rem;
  }

  .columns {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
  }

  .column {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

@media screen and (max-width: 480px) {
  .buttons {
    flex-direction: column;
    width: 100%;
  }

  .buttons .button {
    margin-bottom: 0.5rem;
    width: 100%;
  }
}

/* Дополнительные утилиты */
.mt-1 { margin-top: 0.5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mt-4 { margin-top: 2rem !important; }
.mt-5 { margin-top: 3rem !important; }

.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mb-4 { margin-bottom: 2rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.has-text-centered { text-align: center !important; }
.has-text-white { color: white !important; }

.navbar-burger.is-active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg) !important;
}