:root {
  /* Основная цветовая палитра */
  --primary-color: #00d1b2;
  --primary-dark: #00a589;
  --primary-light: #61ede2;
  --secondary-color: #ff6b6b;
  --secondary-dark: #e85555;
  --secondary-light: #ff9e9e;
  --accent-color: #ffbe0b;
  --accent-dark: #e5aa00;
  --accent-light: #ffd54f;
  
  /* Нейтральные цвета */
  --dark: #222222;
  --dark-medium: #444444;
  --medium: #777777;
  --light-medium: #bbbbbb;
  --light: #f5f5f5;
  --white: #ffffff;
  
  /* Функциональные цвета */
  --success: #48c774;
  --warning: #ffdd57;
  --danger: #f14668;
  --info: #3298dc;
  
  /* Тени */
  --shadow-small: 0 2px 5px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 5px 15px rgba(0, 0, 0, 0.15);
  --shadow-large: 0 10px 25px rgba(0, 0, 0, 0.2);
  
  /* Радиусы скругления */
  --radius-small: 4px;
  --radius-medium: 8px;
  --radius-large: 16px;
  --radius-full: 999px;
  
  /* Переходы и анимации */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Шрифты */
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Nunito', sans-serif;
}

/* ================ БАЗОВЫЕ СТИЛИ ================ */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

p {
  margin-bottom: 1.5rem;
}

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

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

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

/* ================ УТИЛИТЫ ================ */
.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0 !important;
}

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

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

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

.mt-4 {
  margin-top: 1rem !important;
}

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

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

.mr-3 {
  margin-right: 0.75rem !important;
}

.pb-6 {
  padding-bottom: 1.5rem !important;
}

.pt-6 {
  padding-top: 1.5rem !important;
}

/* ================ КНОПКИ ================ */
.button {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all var(--transition-normal);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-small);
  text-transform: uppercase;
}

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

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

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

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

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

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

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

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

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

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

/* ================ НАВИГАЦИЯ ================ */
.navbar {
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-small);
  padding: 10px 0;
}

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

.navbar-item {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  transition: all var(--transition-normal);
}

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

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

.navbar-burger span {
  background-color: var(--dark);
  height: 2px;
}

@media (max-width: 1023px) {
  .navbar-menu {
    background-color: var(--white);
    box-shadow: var(--shadow-medium);
  }
  
  .navbar-item {
    text-align: center;
    padding: 0.75rem 0;
  }
}

/* ================ HERO СЕКЦИЯ ================ */
.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 209, 178, 0.3), rgba(255, 107, 107, 0.3));
  z-index: 1;
}

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

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

.hero .title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

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

.hero-foot {
  position: relative;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 1rem 0;
}

.hero-foot .heading,
.hero-foot .title {
  color: var(--white);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* ================ WORKSHOPS СЕКЦИЯ ================ */
.workshop-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  border: none;
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

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

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

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

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

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

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

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

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  margin-right: 10px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch + label {
  cursor: pointer;
  color: var(--dark-medium);
}

/* ================ INNOVATION СЕКЦИЯ ================ */
.has-background-primary-light {
  background-color: rgba(0, 209, 178, 0.1) !important;
}

.content h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.content ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.content ul li {
  margin-bottom: 0.75rem;
}

.content ul li strong {
  color: var(--dark);
}

.stats-widget {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  background-color: var(--white);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-small);
  transition: all var(--transition-normal);
}

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

.stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--dark-medium);
  margin-top: 0.5rem;
}

/* ================ RESOURCES СЕКЦИЯ ================ */
.resource-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: none;
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  transition: all var(--transition-normal);
}

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

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

.resource-links li {
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.5rem;
}

.resource-links li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.resource-links a {
  color: var(--dark-medium);
  transition: all var(--transition-normal);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
}

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

/* ================ TESTIMONIALS СЕКЦИЯ ================ */
.has-background-info-light {
  background-color: rgba(50, 152, 220, 0.1) !important;
}

.testimonial-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: none;
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  transition: all var(--transition-normal);
}

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

.testimonial-card .media {
  align-items: center;
}

.testimonial-card .media-left .image {
  overflow: hidden;
  border-radius: 50%;
  border: 3px solid var(--primary-color);
}

.testimonial-card .content {
  flex-grow: 1;
}

.testimonial-card .stars {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-top: 1rem;
}

/* ================ CONTACT СЕКЦИЯ ================ */
.contact-form .field {
  margin-bottom: 1.5rem;
}

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

.contact-form .input,
.contact-form .textarea,
.contact-form .select select {
  border-radius: var(--radius-medium);
  border: 2px solid var(--light-medium);
  box-shadow: none;
  transition: all var(--transition-normal);
}

.contact-form .input:focus,
.contact-form .textarea:focus,
.contact-form .select select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 1px var(--primary-light);
}

.contact-form .input::placeholder,
.contact-form .textarea::placeholder {
  color: var(--medium);
}

.contact-form .checkbox {
  display: flex;
  align-items: center;
}

.contact-form .checkbox input[type="checkbox"] {
  margin-right: 0.5rem;
  cursor: pointer;
}

.contact-form .checkbox a {
  text-decoration: underline;
}

.contact-info-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: none;
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.benefits-list li .icon {
  margin-right: 0.75rem;
  margin-top: 0.25rem;
}

.contact-direct {
  background-color: rgba(0, 209, 178, 0.1);
  padding: 1rem;
  border-radius: var(--radius-medium);
}

.contact-direct p {
  margin-bottom: 0.5rem;
}

.contact-direct p:first-child {
  color: var(--dark);
  font-weight: 600;
}

/* ================ FOOTER ================ */
.footer {
  background-color: var(--dark) !important;
  padding: 4rem 1.5rem 2rem;
}

.footer .title,
.footer .subtitle {
  color: var(--white);
}

.footer p {
  margin-bottom: 1rem;
}

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

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

.footer-links a {
  color: var(--light);
  transition: all var(--transition-normal);
  position: relative;
  padding-left: 0;
}

.footer-links a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-normal);
}

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

.footer-links a:hover::before {
  width: 100%;
}

.social-links a {
  color: var(--light);
  transition: all var(--transition-normal);
  margin-right: 1rem;
  font-weight: 600;
}

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

/* ================ SUCCESS PAGE ================ */
.success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

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

.success-page .title {
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.success-page .subtitle {
  color: var(--dark-medium);
  margin-bottom: 2rem;
  max-width: 600px;
}

/* ================ PRIVACY & TERMS PAGES ================ */
.page-content {
  padding-top: 100px;
  padding-bottom: 4rem;
}

.page-content .title {
  color: var(--dark);
  margin-bottom: 2rem;
}

.page-content .content {
  color: var(--dark-medium);
}

.page-content h3 {
  color: var(--primary-color);
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.page-content ul, .page-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.page-content ul li, .page-content ol li {
  margin-bottom: 0.75rem;
}

/* ================ COOKIE CONSENT ================ */
#cookieConsent {
  background-color: rgba(0, 0, 0, 0.9);
  color: var(--white);
  padding: 20px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: none;
  text-align: center;
}

#cookieConsent p {
  margin-bottom: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

/* ================ АДАПТИВНОСТЬ ================ */
@media screen and (max-width: 768px) {
  .hero .title {
    font-size: 2.5rem;
  }
  
  .hero .subtitle {
    font-size: 1.25rem;
  }
  
  .section {
    padding: 3rem 1.5rem;
  }
  
  .columns {
    margin-left: 0;
    margin-right: 0;
  }
  
  .column {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  
  .hero-foot {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .hero .title {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1.1rem;
  }
  
  .buttons.is-centered {
    flex-direction: column;
  }
  
  .buttons.is-centered .button {
    width: 100%;
    margin: 0.5rem 0;
  }
}

/* ================ АНИМАЦИИ ================ */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn var(--transition-normal);
}

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

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

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* ================ ПАРАЛЛАКС ================ */
.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* ================ МИКРОИНТЕРАКЦИИ ================ */
.input:focus, .textarea:focus, .select select:focus {
  animation: pulseGlow 1.5s infinite alternate;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 209, 178, 0.2);
  }
  100% {
    box-shadow: 0 0 0 10px rgba(0, 209, 178, 0);
  }
}

.button:active {
  animation: buttonPress 0.2s forwards;
}

@keyframes buttonPress {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}