:root {
  /* Нейтральная цветовая схема с биоморфными акцентами */
  --primary-color: #4a6670;
  --primary-dark: #344b54;
  --primary-light: #607d89;
  --secondary-color: #a2b3bd;
  --accent-color: #8fad88;
  --accent-dark: #728a6c;
  --accent-light: #accea6;
  --background-light: #f5f7f8;
  --background-dark: #e0e4e7;
  --text-dark: #333333;
  --text-medium: #5a5a5a;
  --text-light: #ffffff;
  --error-color: #e57373;
  --success-color: #81c784;
  --warning-color: #ffb74d;
  --border-radius: 12px;
  --border-radius-sm: 6px;
  --border-radius-lg: 20px;
  --card-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  --transition-fast: 0.3s ease;
  --transition-slow: 0.5s ease;
  --bio-shape-1: 70% 30% 70% 30% / 30% 70% 30% 70%;
  --bio-shape-2: 60% 40% 60% 40% / 40% 60% 40% 60%;
  --bio-shape-3: 50% 50% 50% 50% / 50% 50% 50% 50%;
}

/* Основные стили */
html, body {
  font-family: 'Roboto', sans-serif;
  color: var(--text-dark);
  scroll-behavior: smooth;
  background-color: var(--background-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .title, .subtitle {
  font-family: 'Archivo Black', sans-serif;
  color: var(--text-dark);
  line-height: 1.3;
}

a {
  color: var(--primary-color);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

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

p {
  margin-bottom: 1.5rem;
  color: var(--text-medium);
}

/* Глобальные стили кнопок */
.button, button, input[type="submit"] {
  transition: all var(--transition-fast);
  border-radius: var(--border-radius-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.button:hover, button:hover, input[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.button:active, button:active, input[type="submit"]:active {
  transform: translateY(0);
}

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

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

.button.is-outlined.is-white {
  color: var(--text-light);
  border-color: var(--text-light);
}

.button.is-outlined.is-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.bio-button {
  border-radius: var(--bio-shape-2);
  transition: border-radius var(--transition-slow), background-color var(--transition-fast);
}

.bio-button:hover {
  border-radius: var(--bio-shape-1);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color var(--transition-fast);
  padding: 0.5rem 0;
}

.header .navbar {
  background-color: transparent;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.logo {
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.8rem;
  color: var(--primary-color);
  margin: 0;
  transition: color var(--transition-fast);
}

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

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

.navbar-menu.is-active {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.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;
  transition: transform 1s ease;
  z-index: -1;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
  z-index: 0;
}

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

.hero .title, .hero .subtitle {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .title {
  font-size: 3.5rem;
  letter-spacing: -0.5px;
}

.hero .subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  z-index: 1;
  opacity: 0.8;
}

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

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

.section .title {
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section .title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 25%;
  width: 50%;
  height: 4px;
  background: var(--accent-color);
  border-radius: 2px;
}

/* Карточки услуг */
.service-card, .testimonial-card, .resource-card {
  height: 100%;
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: white;
  margin-bottom: 2rem;
}

.service-card:hover, .testimonial-card:hover, .resource-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

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

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

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

.service-card:hover .image-container img,
.testimonial-card:hover .image-container img,
.resource-card:hover .image-container img {
  transform: scale(1.1);
}

.card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.card-content h3 {
  margin-bottom: 1rem;
}

.card-content p {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Vision Section */
.vision-section {
  position: relative;
  overflow: hidden;
  color: var(--text-light);
}

.vision-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  transition: transform 0.5s ease;
}

.vision-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
  z-index: 0;
}

.vision-content {
  position: relative;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
}

.vision-content .title, 
.vision-content p {
  color: var(--text-dark);
}

.progress-indicators {
  margin-top: 3rem;
}

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

.progress-item h4 {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background-color: var(--background-dark);
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: var(--accent-color);
  width: 0;
  transition: width 1.5s ease-out;
  border-radius: 5px;
}

.progress-text {
  position: absolute;
  right: 0;
  top: -25px;
  font-weight: 600;
  color: var(--accent-dark);
}

/* Clientele Section */
.client-slider {
  position: relative;
  padding: 2rem 0;
}

.testimonial-card .image-container {
  height: 200px;
  width: 200px;
  border-radius: 50%;
  margin: 1.5rem auto;
  border: 5px solid var(--background-light);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-card .image-container img {
  border-radius: 50%;
}

.slider-controls {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.prev-button, .next-button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 0 0.5rem;
  cursor: pointer;
  transition: background-color var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.prev-button:hover, .next-button:hover {
  background-color: var(--primary-dark);
}

.slider-dots {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  margin: 0 0.5rem;
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.dot.active, .dot:hover {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

/* Resources Section */
.resources-section {
  background-color: var(--background-light);
}

.resource-card .button {
  align-self: center;
  width: auto;
}

/* Behind the Scenes Section */
.behind-scenes-section {
  background-color: white;
}

.behind-scenes-gallery {
  margin-top: 3rem;
}

.behind-scenes-gallery .image-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 200px;
}

/* FAQ Section */
.faq-section {
  background-color: var(--background-light);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  background-color: white;
}

.faq-question {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
}

.faq-question .icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-question {
  background-color: var(--primary-color);
}

.faq-item.active .faq-question h3,
.faq-item.active .faq-question .icon {
  color: white;
}

.faq-item.active .icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-item.active .faq-answer {
  padding: 1.5rem;
  border-top: 1px solid var(--background-dark);
}

/* Contact Section */
.contact-section {
  background-color: white;
}

.contact-info {
  padding: 2rem;
  background-color: var(--background-light);
  border-radius: var(--border-radius);
  height: 100%;
}

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

.contact-item h3 {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.contact-item p {
  margin-bottom: 0;
}

form .field {
  margin-bottom: 1.5rem;
}

form .label {
  font-weight: 500;
  color: var(--text-medium);
}

form .input, form .textarea, form .select select {
  border-radius: var(--border-radius-sm);
  border: 2px solid var(--background-dark);
  transition: border-color var(--transition-fast);
}

form .input:focus, form .textarea:focus, form .select select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(74, 102, 112, 0.2);
}

form .button {
  margin-top: 1rem;
}

/* Footer */
.footer {
  background-color: var(--primary-dark);
  padding: 4rem 1.5rem;
  color: var(--text-light);
}

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

.footer p, .footer a {
  color: rgba(255, 255, 255, 0.8);
}

.footer a:hover {
  color: white;
}

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

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

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.social-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--transition-fast);
  font-weight: 500;
}

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

.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);
}

.newsletter .input:focus {
  border-color: white;
}

.copyright {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

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

.success-content {
  max-width: 600px;
  background-color: white;
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--card-shadow);
}

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

/* Content Pages (Privacy, Terms) */
.content-page {
  padding-top: 100px;
  min-height: 100vh;
}

.content-page .container {
  max-width: 900px;
  padding: 2rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
}

.content-page h2 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.content-page h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 15px 0;
  z-index: 9999;
  transform: translateY(100%);
  animation: slideUp 0.5s forwards;
}

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

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

  .vision-content {
    padding: 2rem;
  }
  
  .contact-info, form {
    margin-bottom: 2rem;
  }
}

@media screen and (max-width: 768px) {
  .hero-content {
    padding: 6rem 0;
  }
  
  .hero .title {
    font-size: 2rem;
  }
  
  .section .title {
    font-size: 1.8rem;
  }
  
  .footer {
    text-align: center;
  }
  
  .footer .column {
    margin-bottom: 2rem;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .faq-question h3 {
    font-size: 1rem;
  }
  
  .behind-scenes-gallery .image-container {
    height: 150px;
    margin-bottom: 1rem;
  }
}

/* Биоморфные формы и детали */
.bio-shape {
  border-radius: var(--bio-shape-1);
  transition: border-radius var(--transition-slow);
}

.bio-shape:hover {
  border-radius: var(--bio-shape-2);
}

/* Анимации при прокрутке */
.fade-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-up.active {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 1s ease;
}

.fade-in.active {
  opacity: 1;
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 1s ease, transform 1s ease;
}

.slide-in-left.active {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.slide-in-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Дополнительные утилиты */
.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0 !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;
}

.mt-0 {
  margin-top: 0 !important;
}

.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;
}

.is-hidden {
  display: none !important;
}