:root {
  /* Пастельная цветовая схема */
  --primary-color: #8bbabb;
  --primary-dark: #6a9fa0;
  --secondary-color: #f4c9af;
  --secondary-dark: #e8b394;
  --accent-color: #c38d9e;
  --accent-dark: #a97686;
  --light-color: #f8f9fa;
  --dark-color: #333333;
  --text-color: #2d3436;
  --text-light: #ffffff;
  --text-muted: #6c757d;
  --background-light: #f9f7f7;
  --background-medium: #edf2f7;
  --background-dark: #e2e8f0;
  --success-color: #a8df8e;
  --warning-color: #ffd166;
  --error-color: #f76c6c;
  
  /* Тени */
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --box-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
  
  /* Радиусы */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  
  /* Переходы */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Базовые стили */
html, body {
  scroll-behavior: smooth;
  font-family: 'IBM Plex Sans', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .title, .subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: var(--dark-color);
}

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

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

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

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

/* Контейнеры */
.container {
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 1.5rem;
}

/* Кнопки */
.button {
  transition: all var(--transition-normal);
  font-weight: 500;
  letter-spacing: 0.5px;
  border-radius: var(--border-radius-md);
}

.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);
  box-shadow: var(--box-shadow);
  transform: translateY(-2px);
}

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

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

.button.is-rounded {
  border-radius: 2rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Навигация */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar-item {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: var(--text-color);
  transition: color var(--transition-fast);
}

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

.navbar-brand img {
  max-height: 45px;
}

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

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

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

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

.hero .title, 
.hero .subtitle, 
.hero p {
  color: var(--text-light);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.hero .title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease;
}

.hero .subtitle {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1.2s ease;
}

.hero p {
  font-size: 1.25rem;
  max-width: 650px;
  animation: fadeInUp 1.4s ease;
}

.hero .buttons {
  animation: fadeInUp 1.6s ease;
}

/* Сервисы */
.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  background-color: #fff;
}

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

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

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

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

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

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

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

/* Видение */
.section.has-background-light {
  background-color: var(--background-light) !important;
}

/* Отзывы */
.testimonial-card {
  height: 100%;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  background-color: #fff;
}

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

.testimonial-card .media-left img {
  border: 2px solid var(--primary-color);
}

.testimonial-card .title {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.testimonial-card .subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.testimonial-card .content {
  margin-top: 1rem;
  font-style: italic;
}

/* Команда */
.team-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  background-color: #fff;
}

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

.team-card .card-image {
  width: 100%;
  overflow: hidden;
}

.team-card .image-container {
  height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.team-card .card-content {
  padding: 1.5rem;
  flex: 1;
  text-align: center;
}

.team-card .title {
  margin-bottom: 0.5rem;
}

.team-card .subtitle {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Портфолио */
.portfolio-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  background-color: #fff;
}

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

.portfolio-card .card-image {
  width: 100%;
  overflow: hidden;
}

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

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

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

.portfolio-card .card-content {
  padding: 1.5rem;
  flex: 1;
}

.portfolio-card .title {
  margin-bottom: 1rem;
}

/* Внешние ресурсы */
.resource-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  background-color: #fff;
}

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

.resource-card .card-image {
  width: 100%;
  overflow: hidden;
}

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

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

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

.resource-card .card-content {
  padding: 1.5rem;
  flex: 1;
}

.resource-card .title {
  margin-bottom: 1rem;
}

.resource-card ul {
  margin-top: 1rem;
  padding-left: 1.5rem;
}

.resource-card li {
  margin-bottom: 0.5rem;
}

.resource-card a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
  font-weight: 500;
}

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

/* Клиенты */
.column.is-2 figure {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  transition: transform var(--transition-normal);
}

.column.is-2 figure:hover {
  transform: scale(1.1);
}

.column.is-2 img {
  max-height: 80px;
  opacity: 0.7;
  transition: opacity var(--transition-normal);
}

.column.is-2 figure:hover img {
  opacity: 1;
}

/* FAQ */
.faq-item {
  padding: 1.5rem;
  background-color: #fff;
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

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

/* Контакты */
.contact-info {
  background-color: #fff;
  padding: 2rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow);
  height: 100%;
}

.contact-form {
  background-color: #fff;
  padding: 2rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow);
  height: 100%;
}

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

.contact-form .input,
.contact-form .textarea {
  border-color: var(--background-dark);
  transition: border-color var(--transition-fast);
}

.contact-form .input:focus,
.contact-form .textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(139, 186, 187, 0.25);
}

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

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

.footer .title {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

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

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

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

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

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

.footer .social-links {
  margin-top: 1rem;
}

.footer .social-links a {
  margin-right: 1rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
}

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

/* Куки */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 1rem;
  z-index: 9999;
  display: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-content p {
  margin: 0.5rem 1rem 0.5rem 0;
  color: var(--text-light);
}

.cookie-content a {
  color: var(--primary-color);
  text-decoration: underline;
}

.cookie-content .button {
  margin-left: 1rem;
}

/* Страница успеха */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--background-light);
  text-align: center;
}

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

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

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

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

.terms-content, .privacy-content {
  background-color: #fff;
  padding: 3rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow);
}

.terms-content h2, .privacy-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.terms-content p, .privacy-content p {
  margin-bottom: 1.5rem;
}

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

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

/* Адаптивность */
@media screen and (max-width: 768px) {
  .hero .title {
    font-size: 2.5rem;
  }
  
  .hero .subtitle {
    font-size: 1.5rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section {
    padding: 3rem 1rem;
  }
  
  .column.is-2 figure {
    height: 80px;
  }
  
  .column.is-2 img {
    max-height: 60px;
  }
  
  .contact-info, .contact-form {
    margin-bottom: 2rem;
  }
  
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-content .button {
    margin: 1rem 0 0;
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .hero .title {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1.25rem;
  }
  
  .faq-item {
    padding: 1rem;
  }
  
  .contact-info, .contact-form {
    padding: 1.5rem;
  }
}