:root {
  /* Основная цветовая палитра */
  --primary-color: #536DFE;
  --primary-dark: #304FFE;
  --primary-light: #8C9EFF;
  --secondary-color: #FF9800;
  --secondary-dark: #F57C00;
  --secondary-light: #FFB74D;
  
  /* Нейтральные цвета */
  --neutral-100: #FFFFFF;
  --neutral-200: #F5F5F5;
  --neutral-300: #E0E0E0;
  --neutral-400: #BDBDBD;
  --neutral-500: #9E9E9E;
  --neutral-600: #757575;
  --neutral-700: #616161;
  --neutral-800: #424242;
  --neutral-900: #212121;
  
  /* Функциональные цвета */
  --success: #4CAF50;
  --warning: #FFC107;
  --error: #F44336;
  --info: #2196F3;
  
  /* Тени для нейроморфизма */
  --neumorphic-light: 6px 6px 12px rgba(0, 0, 0, 0.1);
  --neumorphic-dark: -6px -6px 12px rgba(255, 255, 255, 0.8);
  --neumorphic-pressed: inset 4px 4px 8px rgba(0, 0, 0, 0.1), inset -4px -4px 8px rgba(255, 255, 255, 0.8);
  
  /* Радиусы скругления */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Переходы и анимации */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Шрифты */
  --font-heading: 'Inter', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  
  /* Z-индексы */
  --z-navbar: 1000;
  --z-dropdown: 1010;
  --z-modal: 1050;
  --z-toast: 1060;
}

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

body {
  font-family: var(--font-body);
  color: var(--neutral-800);
  background-color: var(--neutral-200);
  line-height: 1.6;
  overflow-x: hidden;
}

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

p {
  margin-bottom: 1.5rem;
}

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

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

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

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

.section {
  padding: 5rem 0;
  position: relative;
}

.neumorphic-card {
  background-color: var(--neutral-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--neumorphic-light), var(--neumorphic-dark);
  padding: 2rem;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.neumorphic-card:hover {
  transform: translateY(-5px);
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.1), -8px -8px 16px rgba(255, 255, 255, 0.8);
}

.neumorphic-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--neumorphic-light);
  transition: transform var(--transition-normal);
  width: 100%;
  object-fit: cover;
}

.neumorphic-image:hover {
  transform: scale(1.02);
}

.neumorphic-button {
  background-color: var(--neutral-200);
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--neumorphic-light), var(--neumorphic-dark);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.neumorphic-button:hover {
  transform: translateY(-2px);
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.1), -8px -8px 16px rgba(255, 255, 255, 0.8);
}

.neumorphic-button:active {
  transform: translateY(0);
  box-shadow: var(--neumorphic-pressed);
}

.neumorphic-input, .neumorphic-textarea, .neumorphic-select select {
  background-color: var(--neutral-200);
  border: none;
  border-radius: var(--radius-md);
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.1), inset -2px -2px 5px rgba(255, 255, 255, 0.8);
  padding: 1rem;
  transition: box-shadow var(--transition-fast);
}

.neumorphic-input:focus, .neumorphic-textarea:focus, .neumorphic-select select:focus {
  outline: none;
  box-shadow: inset 3px 3px 7px rgba(0, 0, 0, 0.1), inset -3px -3px 7px rgba(255, 255, 255, 0.8);
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* ======= Навигация ======= */
.navbar {
  background-color: var(--neutral-100);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: background-color var(--transition-normal);
}

.navbar.is-transparent {
  background-color: transparent;
  box-shadow: none;
}

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

.navbar-burger {
  transition: transform var(--transition-fast);
}

.navbar-burger:hover {
  transform: scale(1.05);
}

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

.hero::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.3));
  z-index: 1;
}

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

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

/* ======= Секция Services ======= */
.services-section {
  background-color: var(--neutral-100);
}

.services-section .card-image {
  height: 250px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

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

/* ======= Секция Process ======= */
.process-section {
  background-color: var(--neutral-200);
  position: relative;
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--primary-color);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: var(--radius-sm);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  width: 100%;
  display: flex;
  justify-content: center;
}

.timeline-marker {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--primary-color);
  border-radius: 50%;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  box-shadow: 0 0 0 4px var(--neutral-200), 0 0 0 8px rgba(83, 109, 254, 0.2);
}

.timeline-content {
  width: 45%;
  margin-left: 55%;
  position: relative;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 0;
  margin-right: 55%;
}

/* ======= Секция About ======= */
.about-section {
  background-color: var(--neutral-100);
}

/* ======= Секция Sustainability ======= */
.sustainability-section {
  background-color: var(--neutral-200);
  position: relative;
}

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

.sustainability-section .container {
  position: relative;
  z-index: 1;
}

/* ======= Секция Resources ======= */
.resources-section {
  background-color: var(--neutral-100);
}

.resources-section .card-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.resources-section .button {
  align-self: flex-start;
}

/* ======= Секция Testimonials ======= */
.testimonials-section {
  background-color: var(--neutral-200);
  position: relative;
}

.custom-slider {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
}

.slider-container {
  display: flex;
  transition: transform var(--transition-slow);
  width: 100%;
}

.slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  transition: transform var(--transition-normal);
  transform: translateX(0);
}

.testimonial-content {
  text-align: center;
  max-width: 800px;
}

.testimonial-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  box-shadow: var(--neumorphic-light);
}

.testimonial-text {
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-text::before,
.testimonial-text::after {
  content: '"';
  font-size: 2rem;
  color: var(--primary-light);
  position: absolute;
}

.testimonial-text::before {
  top: -20px;
  left: -15px;
}

.testimonial-text::after {
  bottom: -40px;
  right: -15px;
}

.testimonial-author {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.testimonial-location {
  color: var(--neutral-600);
}

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

.prev-btn,
.next-btn {
  background-color: var(--neutral-200);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  margin: 0 0.5rem;
  cursor: pointer;
  box-shadow: var(--neumorphic-light), var(--neumorphic-dark);
  transition: all var(--transition-normal);
}

.prev-btn:hover,
.next-btn:hover {
  transform: translateY(-2px);
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.1), -8px -8px 16px rgba(255, 255, 255, 0.8);
}

.prev-btn:active,
.next-btn:active {
  transform: translateY(0);
  box-shadow: var(--neumorphic-pressed);
}

/* ======= Секция Success Stories ======= */
.success-stories-section {
  background-color: var(--neutral-100);
}

.success-stories-section .card-image {
  height: 300px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.success-stories-section .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.success-stories-section .card:hover .card-image img {
  transform: scale(1.05);
}

/* ======= Секция Insights ======= */
.insights-section {
  background-color: var(--neutral-200);
}

.insights-section .card-image {
  height: 250px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

/* ======= Секция Contact ======= */
.contact-section {
  background-color: var(--neutral-100);
  position: relative;
}

.contact-info {
  height: 100%;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.contact-info ul li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.contact-info ul li strong {
  margin-right: 0.5rem;
}

.map-container {
  height: 300px;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--neumorphic-light);
}

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-form-container {
  height: 100%;
}

/* ======= Footer ======= */
.footer {
  background-color: var(--neutral-800);
  color: var(--neutral-300);
  padding: 4rem 0 2rem;
}

.footer .title {
  color: var(--neutral-100);
}

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

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

.footer a {
  color: var(--neutral-400);
  transition: color var(--transition-fast);
}

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

.social-links a {
  display: inline-block;
  margin-right: 1rem;
  color: var(--neutral-400);
  transition: color var(--transition-fast);
}

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

/* ======= Страница успешной отправки ======= */
.success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  text-align: center;
}

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

/* ======= Страницы Privacy и Terms ======= */
.page-content {
  padding-top: 100px;
  min-height: calc(100vh - 300px);
}

/* ======= Медиа-запросы ======= */
@media screen and (max-width: 1023px) {
  .timeline::before {
    left: 30px;
  }
  
  .timeline-marker {
    left: 30px;
    transform: none;
  }
  
  .timeline-content {
    width: calc(100% - 80px);
    margin-left: 80px;
  }
  
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 80px;
    margin-right: 0;
  }
}

@media screen and (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }
  
  h1.title.is-1 {
    font-size: 2.5rem;
  }
  
  h2.title.is-2 {
    font-size: 2rem;
  }
  
  .testimonial-text {
    font-size: 1rem;
  }
  
  .testimonial-text::before,
  .testimonial-text::after {
    font-size: 1.5rem;
  }
  
  .card, .neumorphic-card {
    margin-bottom: 2rem;
  }
}

@media screen and (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  h1.title.is-1 {
    font-size: 2rem;
  }
  
  h2.title.is-2 {
    font-size: 1.75rem;
  }
  
  .hero-body {
    padding: 3rem 1rem;
  }
  
  .neumorphic-card {
    padding: 1.5rem;
  }
}

/* ======= Адаптивная типографика ======= */
@media screen and (min-width: 1024px) {
  html {
    font-size: 18px;
  }
  
  h1.title.is-1 {
    font-size: 3.5rem;
  }
  
  h2.title.is-2 {
    font-size: 2.5rem;
  }
  
  h3.title.is-4 {
    font-size: 1.5rem;
  }
}

@media screen and (min-width: 1440px) {
  html {
    font-size: 20px;
  }
  
  .container {
    max-width: 1320px;
  }
  
  h1.title.is-1 {
    font-size: 4rem;
  }
  
  h2.title.is-2 {
    font-size: 3rem;
  }
}