:root {
  /* Основная цветовая палитра */
  --primary-color: #3b82f6;
  --primary-color-dark: #2563eb;
  --primary-color-light: #60a5fa;
  --secondary-color: #10b981;
  --secondary-color-dark: #059669;
  --secondary-color-light: #34d399;
  --accent-color: #f59e0b;
  --accent-color-dark: #d97706;
  --accent-color-light: #fbbf24;
  
  /* Нейтральные цвета */
  --dark-text: #222222;
  --medium-text: #4b5563;
  --light-text: #ffffff;
  --background-light: #f9fafb;
  --background-medium: #f3f4f6;
  --background-dark: #1f2937;
  
  /* Градиенты */
  --primary-gradient: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  --secondary-gradient: linear-gradient(135deg, var(--secondary-color), var(--secondary-color-dark));
  --accent-gradient: linear-gradient(135deg, var(--accent-color), var(--accent-color-dark));
  --card-gradient: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  --hero-gradient: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.4));
  
  /* Тени */
  --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --button-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --hover-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Скругления */
  --border-radius-sm: 0.25rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 1rem;
  
  /* Переходы */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.7s cubic-bezier(0.65, 0, 0.35, 1);
  
  /* Размеры контейнеров */
  --container-padding: 2rem;
  --section-spacing: 5rem;
}

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

html {
  scroll-behavior: smooth;
}

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

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

.title {
  font-weight: 700;
}

p {
  margin-bottom: 1.5rem;
}

section {
  padding: 5rem 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Кнопки */
.button.is-primary {
  background: var(--primary-gradient);
  color: var(--light-text);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: var(--button-shadow);
  border: none;
  font-weight: 500;
}

.button.is-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--hover-shadow);
  background: linear-gradient(135deg, var(--primary-color-light), var(--primary-color));
}

.button.is-light {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary-color-dark);
  border: none;
  font-weight: 500;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.gradient-button {
  background: var(--primary-gradient);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.gradient-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--hover-shadow);
  background: linear-gradient(135deg, var(--primary-color-light), var(--primary-color));
}

/* Анимации */
.animate-element {
  opacity: 0;
  transform: translateY(20px);
}

/* Навигация */
.navbar {
  transition: background-color var(--transition-medium);
  backdrop-filter: blur(10px);
}

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

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

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

.navbar-burger:hover {
  background-color: transparent;
}

/* Hero секция */
.hero {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--light-text);
  position: relative;
}

.hero-body {
  z-index: 2;
  position: relative;
}

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

/* Секция услуг */
.services-section {
  background-color: var(--background-light);
}

.service-card {
  background-color: white;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

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

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

.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: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-card .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.service-card .description {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Секция преимуществ */
.features-section {
  background-color: var(--background-medium);
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('image/texture-bg.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.05;
  z-index: 0;
}

.feature-card {
  background-color: white;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 1;
}

.feature-icon {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-content {
  padding: 2rem;
}

/* Секция статистики */
.statistics-section {
  background: var(--primary-gradient);
  color: var(--light-text);
  position: relative;
  overflow: hidden;
}

.statistics-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('image/pattern-overlay.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.1;
  z-index: 0;
}

.statistics-section .title,
.statistics-section .subtitle {
  color: var(--light-text);
  position: relative;
  z-index: 1;
}

.stat-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform var(--transition-medium);
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--light-text);
  display: inline-block;
}

.stat-symbol {
  font-size: 2rem;
  font-weight: 700;
  color: var(--light-text);
  margin-left: 0.25rem;
  display: inline-block;
}

.stat-description {
  font-size: 1.25rem;
  color: var(--light-text);
}

/* Секция партнеров */
.partners-section {
  background-color: var(--background-light);
}

.partner-card {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  background-color: white;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-medium);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.partner-card:hover {
  transform: translateY(-5px);
}

.partner-card img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
  object-fit: contain;
}

.partner-name {
  font-weight: 500;
  margin-bottom: 0;
}

/* Секция ресурсов */
.resources-section {
  background-color: white;
}

.resource-card {
  background-color: var(--background-light);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  box-shadow: var(--card-shadow);
  height: 100%;
  transition: transform var(--transition-medium);
}

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

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

.resource-list li {
  margin-bottom: 1rem;
}

.resource-list a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
  display: inline-block;
  position: relative;
}

.resource-list a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-fast);
}

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

.resource-list a:hover::after {
  width: 100%;
}

/* Секция галереи */
.gallery-section {
  background-color: var(--background-medium);
}

.gallery-card {
  background-color: white;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  height: 100%;
  transition: transform var(--transition-medium);
  display: flex;
  flex-direction: column;
}

.gallery-card:hover {
  transform: translateY(-5px);
}

.gallery-card .card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

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

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

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

/* Секция устойчивого развития */
.sustainability-section {
  background-color: white;
  position: relative;
  overflow: hidden;
}

.sustainability-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('image/eco-texture.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.05;
  z-index: 0;
}

.sustainability-image {
  height: 100%;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

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

.sustainability-content {
  padding: 2rem;
  background-color: white;
  border-radius: var(--border-radius-md);
  box-shadow: var(--card-shadow);
  height: 100%;
  position: relative;
  z-index: 1;
}

.sustainability-list {
  list-style-type: none;
  padding-left: 1.5rem;
}

.sustainability-list li {
  position: relative;
  margin-bottom: 1rem;
}

.sustainability-list li::before {
  content: "•";
  color: var(--secondary-color);
  font-weight: bold;
  display: inline-block;
  width: 1.5rem;
  margin-left: -1.5rem;
}

/* Секция кейс-стади */
.case-studies-section {
  background-color: var(--background-medium);
}

.case-study-card {
  background-color: white;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  height: 100%;
  transition: transform var(--transition-medium);
  display: flex;
  flex-direction: column;
}

.case-study-card:hover {
  transform: translateY(-5px);
}

.case-study-card .card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

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

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

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

.case-study-description {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.case-study-results {
  background-color: var(--background-light);
  padding: 1rem;
  border-radius: var(--border-radius-sm);
  border-left: 4px solid var(--primary-color);
}

/* Секция инноваций */
.innovation-section {
  background-color: white;
  position: relative;
  overflow: hidden;
}

.innovation-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('image/tech-pattern.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.05;
  z-index: 0;
}

.innovation-content {
  padding: 2rem;
  background-color: white;
  border-radius: var(--border-radius-md);
  box-shadow: var(--card-shadow);
  height: 100%;
  position: relative;
  z-index: 1;
}

.innovation-image {
  height: 100%;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

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

.innovation-list {
  list-style-type: none;
  padding-left: 1.5rem;
}

.innovation-list li {
  position: relative;
  margin-bottom: 1rem;
}

.innovation-list li::before {
  content: "•";
  color: var(--primary-color);
  font-weight: bold;
  display: inline-block;
  width: 1.5rem;
  margin-left: -1.5rem;
}

/* Секция портфолио */
.portfolio-section {
  background-color: var(--background-light);
}

.portfolio-card {
  background-color: white;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  height: 100%;
  transition: transform var(--transition-medium);
  display: flex;
  flex-direction: column;
}

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

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

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

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

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

.portfolio-role {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 1rem;
}

.portfolio-description {
  flex-grow: 1;
}

/* Контактная секция */
.contact-section {
  background-color: white;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('image/contact-pattern.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.05;
  z-index: 0;
}

.contact-info {
  background-color: var(--background-light);
  padding: 2rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--card-shadow);
  height: 100%;
  position: relative;
  z-index: 1;
}

.contact-form {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--card-shadow);
  height: 100%;
  position: relative;
  z-index: 1;
}

.contact-form .input,
.contact-form .textarea,
.contact-form .select select {
  border: 1px solid #e5e7eb;
  border-radius: var(--border-radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-form .input:focus,
.contact-form .textarea:focus,
.contact-form .select select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

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

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

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

.footer .title {
  color: white;
}

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

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

.footer-links a {
  color: #e5e7eb;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: white;
}

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

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

.footer-social a {
  color: #e5e7eb;
  text-decoration: none;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
}

.footer-social a:hover {
  color: white;
}

.copyright {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #e5e7eb;
}

/* Страница успешной отправки */
.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;
  padding: 3rem;
  background-color: white;
  border-radius: var(--border-radius-md);
  box-shadow: var(--card-shadow);
}

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

/* Дополнительные страницы */
.page-content {
  padding-top: 100px; /* Для страниц privacy и terms */
  min-height: calc(100vh - 400px); /* Минус высота хедера и футера */
}

.page-content .container {
  background-color: white;
  padding: 3rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--card-shadow);
}

/* Медиа-запросы */
@media (max-width: 1023px) {
  .hero .title {
    font-size: 2.5rem !important;
  }
  
  .hero .subtitle {
    font-size: 1.5rem !important;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .stat-symbol {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero .title {
    font-size: 2rem !important;
  }

  .navbar.is-fixed-top {
    position: relative !important;
  }

  .navbar-burger {
    display: none !important;
  }

  body {
    padding-top: 0 !important;
  }
  
  .hero .subtitle {
    font-size: 1.25rem !important;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .stat-card {
    margin-bottom: 1.5rem;
  }
  
  .sustainability-image,
  .innovation-image {
    margin-bottom: 2rem;
  }
  
  .contact-info {
    margin-bottom: 2rem;
  }
}

/* Cookie consent */
#cookie-consent {
  background-color: rgba(0,0,0,0.85);
  color: white;
  padding: 15px;
  text-align: center;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

#cookie-accept {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 8px 16px;
  margin-top: 10px;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color var(--transition-fast);
}

#cookie-accept:hover {
  background-color: #45a049;
}

/* Читать далее ссылки */
.read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: color var(--transition-fast);
}

.read-more::after {
  content: "→";
  margin-left: 0.5rem;
  transition: transform var(--transition-fast);
}

.read-more:hover {
  color: var(--primary-color-dark);
}

.read-more:hover::after {
  transform: translateX(4px);
}

.columns:not(.is-desktop) {
  flex-wrap: wrap;
}