:root {
  /* Основные цвета */
  --primary-color: #2A3B4C;
  --secondary-color: #445566;
  --accent-color: #667788;
  --dark-accent: #334455;
  --light-accent: #8899AA;

  /* Нейтральные цвета */
  --dark: #222222;
  --medium-dark: #444444;
  --medium: #666666;
  --medium-light: #888888;
  --light: #EEEEEE;
  --white: #FFFFFF;
  
  /* Фоновые цвета */
  --bg-primary: rgba(255, 255, 255, 0.85);
  --bg-secondary: rgba(245, 245, 245, 0.75);
  --bg-dark: rgba(42, 59, 76, 0.8);
  
  /* Гласморфизм */
  --glass-blur: 10px;
  --glass-opacity: 0.8;
  --glass-border: 1px solid rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  
  /* Нео-брутализм */
  --brutalism-shadow: 4px 4px 0px var(--dark);
  --brutalism-border: 2px solid var(--dark);
  
  /* Типографика */
  --heading-font: 'Poppins', sans-serif;
  --body-font: 'Work Sans', sans-serif;
  
  /* Размеры и отступы */
  --container-width: 1200px;
  --section-spacing: 5rem;
  --card-spacing: 1.5rem;
  --border-radius: 10px;
  --button-radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  color: var(--dark);
  background-color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: var(--medium-dark);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-color);
}

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

/* Контейнер */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

/* Заголовок секции */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
}

.section-header p {
  font-size: 1.2rem;
  color: var(--medium);
  max-width: 700px;
  margin: 0 auto;
}

/* Гласморфизм */
.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.glass-panel {
  background: var(--bg-secondary);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: var(--border-radius);
  padding: 3rem 0;
  margin: 2rem 0;
}

.glass-card {
  background: var(--bg-primary);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: var(--border-radius);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Нео-брутализм */
.brutalism-button {
  background-color: var(--white);
  border: var(--brutalism-border);
  box-shadow: var(--brutalism-shadow);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brutalism-button:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px var(--dark);
}

/* Кнопки */
.cta-button,
.submit-button,
.modal-button,
.cookie-button,
button,
input[type="submit"] {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: var(--button-radius);
  font-family: var(--heading-font);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  font-size: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover,
.submit-button:hover,
.modal-button:hover,
.cookie-button:hover,
button:hover,
input[type="submit"]:hover {
  background-color: var(--dark-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.glass-button {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: background-color 0.3s ease, padding 0.3s ease;
}

.header.scrolled {
  padding: 0.5rem 0;
  background: rgba(42, 59, 76, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-family: var(--heading-font);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 2rem;
}

.nav-menu a {
  color: var(--white);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--white);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--white);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  color: var(--white);
}

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

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.intro {
  padding: 5rem 0;
}

.intro-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.intro-text {
  flex: 1;
}

.intro-image {
  flex: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
}

.intro-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
  display: block;
  margin: 0 auto;
}

.intro-image:hover img {
  transform: scale(1.03);
}

/* Methodology Section */
.methodology {
  position: relative;
  overflow: hidden;
}

.methodology-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.methodology-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.step-card {
  position: relative;
  padding: 2rem;
}

.step-number {
  font-family: var(--heading-font);
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  opacity: 0.15;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.methodology-image {
  text-align: center;
}

.methodology-image img {
  max-width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--glass-shadow);
  margin: 0 auto;
}

/* Criteria Section */
.criteria {
  padding: 5rem 0;
}

.criteria-content {
  max-width: 900px;
  margin: 0 auto;
}

.criteria-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.criteria-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.criteria-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
}

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

.criteria-details {
  flex: 1;
}

.criteria-details h3 {
  margin-bottom: 0.75rem;
}

/* Resources Section */
.resources {
  position: relative;
}

.resources-content {
  margin-top: 2rem;
}

.resources-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.resource-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

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

.resource-link {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
  align-self: flex-start;
}

.resource-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

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

/* Gallery Section */
.gallery {
  padding: 5rem 0;
}

.gallery-slider {
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
}

.gallery-track {
  display: flex;
  transition: transform 0.5s ease;
}

.gallery-item {
  flex: 0 0 100%;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.image-container {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-caption {
  text-align: center;
}

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

.gallery-prev,
.gallery-next {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

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

/* Sustainability Section */
.sustainability {
  position: relative;
}

.sustainability-content {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.sustainability-image {
  flex: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
}

.sustainability-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.sustainability-image:hover img {
  transform: scale(1.03);
}

.sustainability-text {
  flex: 1;
}

.sustainability-features {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.feature {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature h4 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.feature p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Behind the Scenes Section */
.behind-scenes {
  padding: 5rem 0;
}

.behind-scenes-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.behind-scenes-text {
  padding-right: 2rem;
}

.accordion {
  width: 100%;
}

.accordion-item {
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.accordion-header {
  padding: 1.25rem;
  background-color: var(--light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.accordion-content {
  padding: 0 1.25rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
  padding: 1.25rem;
  max-height: 300px;
}

/* Contact Section */
.contact {
  position: relative;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.contact-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.contact-map {
  margin-top: 2rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
}

.contact-map img {
  width: 100%;
  height: auto;
  display: block;
}

.contact-form-container {
  padding: 2rem;
}

.contact-form-container h3 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--button-radius);
  font-family: var(--body-font);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-logo {
  flex: 1 1 300px;
}

.footer-logo h3 {
  color: var(--white);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.footer-links {
  flex: 2 1 600px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-links-column {
  flex: 1 1 150px;
}

.footer-links-column h4 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

.footer-links-column ul {
  list-style: none;
}

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

.footer-links-column a {
  color: var(--light);
  transition: color 0.3s ease;
}

.footer-links-column a:hover {
  color: var(--white);
}

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

.social-links a {
  color: var(--light);
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: var(--medium-light);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
}

.modal-content {
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--medium);
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: var(--dark);
}

.modal-content h2 {
  margin-bottom: 1rem;
}

.modal-content p {
  margin-bottom: 1.5rem;
}

.modal-button {
  display: inline-block;
}

/* Cookie Consent */
.cookie-consent {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(42, 59, 76, 0.95);
  color: var(--white);
  padding: 1rem;
  z-index: 1999;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
}

.cookie-content p {
  margin-bottom: 0;
  margin-right: 1.5rem;
  color: var(--white);
}

.cookie-button {
  flex-shrink: 0;
  background-color: var(--white);
  color: var(--primary-color);
}

.cookie-button:hover {
  background-color: var(--light);
}

/* Стили для страницы success.html */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
}

.success-content {
  text-align: center;
  padding: 3rem;
  max-width: 600px;
  width: 90%;
  border-radius: var(--border-radius);
  background: var(--bg-primary);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
}

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

.success-content p {
  margin-bottom: 2rem;
}

.back-button {
  display: inline-block;
}

/* Стили для страниц privacy.html и terms.html */
.page-content {
  padding-top: 120px;
  padding-bottom: 3rem;
}

.page-content .container {
  max-width: 800px;
}

.page-content h1 {
  margin-bottom: 2rem;
}

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

.page-content p {
  margin-bottom: 1.25rem;
}

.page-content ul, 
.page-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.page-content li {
  margin-bottom: 0.5rem;
}

/* Анимации при прокрутке */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Медиа-запросы */
@media (max-width: 1024px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.25rem;
  }
  
  .sustainability-content,
  .behind-scenes-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .intro-content {
    flex-direction: column;
    gap: 2rem;
  }
  
  .methodology-steps {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s ease;
  }
  
  .nav-menu.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  
  .nav-menu li {
    margin: 0 0 1.5rem 0;
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  
  .criteria-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .criteria-icon {
    margin-bottom: 1rem;
  }
  
  .footer-links {
    gap: 1.5rem;
  }
  
  .footer-links-column {
    flex: 1 1 100%;
  }
  
  .cookie-content {
    flex-direction: column;
  }
  
  .cookie-content p {
    margin-right: 0;
    margin-bottom: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  .contact-details {
    grid-template-columns: 1fr;
  }
  
  .gallery-item {
    padding: 0;
  }
  
  .methodology-steps {
    grid-template-columns: 1fr;
  }
  
  .resources-list {
    grid-template-columns: 1fr;
  }
  
  .step-number {
    font-size: 2.5rem;
  }
  
  .sustainability-features {
    grid-template-columns: 1fr;
  }
}

/* Утилиты */
.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.my-1 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.my-2 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.my-3 {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Дополнительные стили для mobile-menu-toggle */
.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}