:root {
  /* Основная цветовая палитра */
  --primary-color: #7b5c3d;
  --primary-dark: #5a4330;
  --primary-light: #9c7b5a;
  --secondary-color: #3d5a7b;
  --secondary-dark: #2a4056;
  --secondary-light: #5a7b9c;
  --accent-color: #b85c38;
  --accent-dark: #8a4328;
  --accent-light: #d67a56;
  
  /* Нейтральная цветовая схема */
  --neutral-100: #ffffff;
  --neutral-200: #f8f5f2;
  --neutral-300: #e8e2da;
  --neutral-400: #d5cdc3;
  --neutral-500: #ada499;
  --neutral-600: #8c8178;
  --neutral-700: #6b6158;
  --neutral-800: #4a423a;
  --neutral-900: #292420;
  
  /* Тени для объемных элементов UI */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.15);
  --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  
  /* Переходы для анимаций */
  --transition-fast: 0.2s ease-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
  
  /* Скругленные углы */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Отступы */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
}

/* Базовые стили и сброс */
html, body {
  font-family: 'Source Sans Pro', sans-serif;
  color: var(--neutral-800);
  background-color: var(--neutral-200);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .title, .subtitle {
  font-family: 'Playfair Display', serif;
  color: var(--neutral-900);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

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

.section-title {
  position: relative;
  margin-bottom: 2.5rem !important;
  padding-bottom: 1.5rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: var(--radius-full);
}

/* Кнопки */
.button {
  transition: var(--transition-normal);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  border-width: 2px;
}

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

.button.is-light.is-outlined {
  background-color: transparent;
  border-color: var(--neutral-100);
  color: var(--neutral-100);
}

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

.button.is-rounded {
  border-radius: var(--radius-full);
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.header.scrolled {
  padding: 0.5rem 0;
}

.navbar {
  min-height: 4rem;
}

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

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

.logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.logo span {
  color: var(--primary-color);
}

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

/* Hero Section */
.hero {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--neutral-100);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
}

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

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--neutral-100) !important;
}

.hero-subtitle {
  font-size: 1.75rem;
  margin-bottom: 2rem;
  color: var(--neutral-100) !important;
  opacity: 0.9;
}

.hero-description {
  font-size: 1.25rem;
  max-width: 700px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  color: var(--neutral-100) !important;
}

.hero-buttons {
  margin-top: 2rem;
}

/* Methodology Section */
.methodology-section {
  background-color: var(--neutral-200);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.methodology-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  background-color: var(--neutral-100);
  border: none;
}

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

.methodology-card .card-image {
  position: relative;
  overflow: hidden;
}

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

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

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

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

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

.methodology-card p {
  margin-bottom: 0;
  line-height: 1.7;
}

.methodology-toggle {
  margin-top: 4rem;
}

.tabs.is-toggle li.is-active a {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.tabs.is-toggle a {
  border-width: 2px;
  transition: var(--transition-fast);
}

.tab-content {
  padding: 2rem;
  background-color: var(--neutral-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-top: 1.5rem;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.5s ease-out;
}

.tab-pane.is-active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Process Section */
.process-section {
  background-color: var(--neutral-100);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

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

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

.timeline-item {
  padding: 2rem 0;
  position: relative;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--primary-color);
  border: 4px solid var(--neutral-100);
  box-shadow: var(--shadow-sm);
}

.timeline-content {
  width: 100%;
  padding: 0 2rem;
}

.timeline-content .image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 250px;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.timeline-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.timeline-content p {
  line-height: 1.7;
}

/* Resources Section */
.resources-section {
  background-color: var(--neutral-300);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

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

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

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

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

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

.resource-card p {
  color: var(--neutral-700);
  line-height: 1.7;
}

/* Accolades Section */
.accolades-section {
  background-color: var(--neutral-200);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.accolade-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  background-color: var(--neutral-100);
}

.accolade-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.accolade-card .card-image {
  position: relative;
  overflow: hidden;
}

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

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

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

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

.accolade-card .title {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.accolade-card .subtitle {
  font-size: 1rem;
  color: var(--neutral-600);
  margin-bottom: 1rem;
}

.accolade-card p {
  margin-bottom: 0;
  line-height: 1.7;
}

/* Press Section */
.press-section {
  background-color: var(--neutral-100);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.press-card {
  background-color: var(--neutral-200);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  height: 100%;
  transition: var(--transition-normal);
}

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

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

.press-card .media-left {
  margin-right: 1.5rem;
}

.press-card .image-container {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.press-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.press-card .title {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.press-card .subtitle {
  font-size: 1rem;
  color: var(--neutral-600);
  margin-bottom: 1rem;
}

.press-card p {
  color: var(--neutral-700);
  line-height: 1.7;
}

/* FAQ Section */
.faq-section {
  background-color: var(--neutral-300);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.accordion-container {
  background-color: var(--neutral-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid var(--neutral-300);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.accordion-header:hover {
  background-color: var(--neutral-200);
}

.accordion-header .title {
  margin-bottom: 0;
  font-size: 1.25rem;
  color: var(--primary-color);
}

.accordion-header .icon {
  transition: var(--transition-fast);
}

.accordion-item.is-active .accordion-header .icon {
  transform: rotate(45deg);
}

.accordion-content {
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.accordion-item.is-active .accordion-content {
  padding-bottom: 2rem;
}

.accordion-content p {
  line-height: 1.7;
  color: var(--neutral-700);
}

/* Contact Section */
.contact-section {
  background-color: var(--neutral-100);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.contact-form-container {
  background-color: var(--neutral-200);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-info-container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-item {
  background-color: var(--neutral-200);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-info-item .title {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.contact-info-item p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.contact-info-item .image-container {
  height: 250px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.contact-info-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.label {
  color: var(--neutral-800);
  font-weight: 600;
}

.input, .textarea, .select select {
  background-color: var(--neutral-100);
  border: 2px solid var(--neutral-400);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-inset);
  transition: var(--transition-fast);
}

.input:focus, .textarea:focus, .select select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(123, 92, 61, 0.25);
}

.input::placeholder, .textarea::placeholder {
  color: var(--neutral-500);
}

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

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

.footer p {
  color: var(--neutral-400);
  line-height: 1.7;
}

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

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

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

.footer-links a:hover {
  color: var(--neutral-100);
  text-decoration: underline;
}

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

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

.footer-social a {
  color: var(--neutral-400);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
}

.footer-social a:hover {
  color: var(--neutral-100);
}

.footer-bottom {
  border-top: 1px solid var(--neutral-700);
  padding-top: 2rem;
  margin-top: 2rem;
}

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

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

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

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

.success-message {
  margin-bottom: 2rem;
  line-height: 1.7;
  color: var(--neutral-700);
}

/* About, Privacy, Terms Pages */
.page-content {
  padding-top: 100px;
  padding-bottom: 4rem;
}

.content-container {
  background-color: var(--neutral-100);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.content-container h1 {
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.content-container p {
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--neutral-700);
}

/* Utility Classes */
.animate-card {
  opacity: 0;
  transform: translateY(30px);
}

.animate-element {
  opacity: 0;
  transform: translateY(50px);
}

.animate-timeline {
  opacity: 0;
}

/* Media Queries */
@media screen and (max-width: 1023px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .timeline::before {
    left: 40px;
  }
  
  .timeline-marker {
    left: 40px;
  }
  
  .timeline-content {
    padding-left: 80px;
  }
  
  .press-card .media {
    flex-direction: column;
  }
  
  .press-card .media-left {
    margin-right: 0;
    margin-bottom: 1.5rem;
  }
  
  .contact-info-container {
    margin-top: 2rem;
  }
}

@media screen and (max-width: 768px) {
  .section {
    padding: 4rem 1rem;
  }
  
  .hero-body {
    padding-top: 6rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .accordion-header {
    padding: 1.25rem 1.5rem;
  }
  
  .accordion-header .title {
    font-size: 1.1rem;
  }
  
  .accordion-content {
    padding: 0 1.5rem;
  }
  
  .contact-form-container, .contact-info-item {
    padding: 2rem;
  }
}

/* Cookie Consent Styles */
#cookie-consent {
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

#accept-cookies {
  transition: background-color 0.3s ease;
}

#accept-cookies:hover {
  background-color: #2d5cbe;
}

/* Font Awesome icons */
.fas {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
}

.fa-plus::before {
  content: "+";
}