:root {
  /* Основная палитра */
  --primary-color: #3e8ed0;
  --primary-dark: #2c6ba5;
  --primary-light: #68a5d9;
  
  /* Акцентные цвета */
  --accent-color: #5662f6;
  --accent-dark: #3a42d5;
  --accent-light: #7c85f8;
  
  /* Монохромная схема */
  --dark: #1a1a2e;
  --medium-dark: #263042;
  --medium: #424656;
  --medium-light: #7e8491;
  --light: #e6e9f0;
  --white: #ffffff;
  
  /* Неоморфизм */
  --shadow-light: rgba(255, 255, 255, 0.5);
  --shadow-dark: rgba(0, 0, 0, 0.2);
  --surface: #f0f4f8;
  --surface-light: #f7fafc;
  
  /* Типографика */
  --heading-font: 'Roboto', sans-serif;
  --body-font: 'Lato', sans-serif;
  
  /* Анимации */
  --transition-speed: 0.3s;
  --transition-timing: ease-in-out;
}

/* Глобальные стили */
html {
  scroll-behavior: smooth;
}

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

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

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

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

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

/* Неоморфизм */
.neomorph {
  background: var(--surface);
  border-radius: 20px;
  box-shadow: 
    8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
}

.neomorph-inset {
  background: var(--surface);
  border-radius: 20px;
  box-shadow: 
    inset 6px 6px 12px var(--shadow-dark),
    inset -6px -6px 12px var(--shadow-light);
}

.neomorph-flat {
  background: var(--surface);
  border-radius: 20px;
  box-shadow: 
    2px 2px 4px var(--shadow-dark),
    -2px -2px 4px var(--shadow-light);
}

/* Кнопки */
.button {
  transition: all var(--transition-speed) var(--transition-timing);
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

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

.button.is-primary:hover {
  background-color: var(--primary-dark);
}

.button.is-rounded {
  border-radius: 30px;
}

.button.is-large {
  padding: 1.25rem 2rem;
  font-size: 1.1rem;
}

.button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: transform 0.6s, opacity 0.6s;
}

.button:hover::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* Header */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

.header.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar {
  padding: 1rem 0;
}

.navbar-item {
  font-weight: 600;
  color: var(--medium);
  transition: color var(--transition-speed) var(--transition-timing);
}

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

.navbar-brand h1 {
  margin-bottom: 0;
  font-weight: 700;
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  position: relative;
  margin-top: 60px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.hero-body {
  padding: 6rem 1.5rem;
  display: flex;
  align-items: center;
}

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

.hero p {
  font-size: 1.2rem;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* Services Section */
.section {
  padding: 5rem 1.5rem;
}

.card {
  height: 100%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-speed) var(--transition-timing),
              box-shadow var(--transition-speed) var(--transition-timing);
  display: flex;
  flex-direction: column;
}

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

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

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

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

.card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background-color: var(--white);
}

.card .title {
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.card .subtitle {
  color: var(--medium-light);
  margin-bottom: 1.5rem;
}

.card .content {
  flex-grow: 1;
}

.statistical-widget {
  display: flex;
  justify-content: space-around;
  margin-top: 2rem;
  padding: 1rem;
  background-color: var(--light);
  border-radius: 10px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--medium);
}

/* Vision Section */
.vision-image-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.toggle-container {
  margin-top: 2rem;
}

.toggles {
  margin-top: 1rem;
}

.toggle-item {
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
  background-color: var(--white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.toggle-header {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--white);
  cursor: pointer;
  transition: background-color var(--transition-speed) var(--transition-timing);
}

.toggle-header:hover {
  background-color: var(--light);
}

.toggle-title {
  margin: 0;
  font-weight: 600;
  font-size: 1.1rem;
}

.toggle-switch {
  width: 20px;
  height: 20px;
  position: relative;
}

.toggle-switch::before, 
.toggle-switch::after {
  content: '';
  position: absolute;
  background-color: var(--primary-color);
  transition: transform var(--transition-speed) var(--transition-timing);
}

.toggle-switch::before {
  width: 100%;
  height: 2px;
  top: 9px;
  left: 0;
}

.toggle-switch::after {
  width: 2px;
  height: 100%;
  left: 9px;
  top: 0;
  transform-origin: center;
}

.toggle-item.active .toggle-switch::after {
  transform: scaleY(0);
}

.toggle-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  padding: 0 1.5rem;
}

.toggle-item.active .toggle-content {
  max-height: 200px;
  padding: 0 1.5rem 1.5rem;
}

/* History Section */
.timeline-container {
  margin-top: 2rem;
}

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

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  height: 100%;
  width: 2px;
  background: var(--primary-color);
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 2.5rem;
}

.timeline-date {
  position: absolute;
  left: 0;
  top: 0;
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-content {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.timeline-content h4 {
  margin-bottom: 0.5rem;
  color: var(--dark);
}

/* Clientele Section */
.clientele .card {
  text-align: center;
}

.clientele .card-image {
  height: 300px;
}

.clientele .card-content {
  padding: 2rem;
}

.clientele .card-content h3 {
  margin-bottom: 0.25rem;
}

.clientele .card-content p.subtitle {
  margin-bottom: 1.5rem;
  font-style: italic;
}

/* Resources Section */
.resources .card {
  height: 100%;
}

.resources .card-content {
  padding: 2rem;
}

.resources .card-content h3 {
  margin-bottom: 1.5rem;
}

.resources .card-content ul {
  list-style-type: none;
  padding-left: 0;
}

.resources .card-content ul li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--light);
}

.resources .card-content ul li:last-child {
  border-bottom: none;
}

.resources .card-content ul li a {
  display: inline-block;
  position: relative;
  color: var(--primary-color);
  padding-left: 1rem;
}

.resources .card-content ul li a::before {
  content: '→';
  position: absolute;
  left: 0;
  transition: transform var(--transition-speed) var(--transition-timing);
}

.resources .card-content ul li a:hover::before {
  transform: translateX(5px);
}

/* Sustainability Section */
.sustainability-stats {
  margin-top: 3rem;
}

.stat-box {
  background: white;
  border-radius: 15px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: block;
}

.stat-description {
  font-size: 1rem;
  color: var(--medium);
  line-height: 1.4;
}

/* Blog Section */
.blog .card {
  height: 100%;
}

.blog .card-image {
  height: 220px;
}

.blog .card-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog .title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.blog .subtitle {
  font-size: 0.9rem;
  color: var(--medium-light);
  margin-bottom: 1rem;
}

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

.blog .button {
  align-self: flex-start;
}

/* Contact Section */
.contact-form-container {
  background-color: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info-container {
  background-color: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.faq-container {
  margin-top: 2rem;
}

.faq-item {
  margin-bottom: 1.5rem;
}

.faq-question {
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  cursor: pointer;
  position: relative;
  padding-left: 1.5rem;
}

.faq-question::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  transition: transform var(--transition-speed) var(--transition-timing);
  font-size: 0.8rem;
}

.faq-question.active::before {
  transform: rotate(90deg);
}

.faq-answer {
  padding: 0.5rem 0 0.5rem 1.5rem;
  color: var(--medium);
}

.input, .textarea, .select select {
  border-color: var(--light);
  box-shadow: none;
  transition: border-color var(--transition-speed) var(--transition-timing),
              box-shadow var(--transition-speed) var(--transition-timing);
}

.input:focus, .textarea:focus, .select select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 1px var(--primary-light);
}

.label {
  font-weight: 600;
  color: var(--medium-dark);
}

/* Footer */
.footer {
  background-color: var(--medium-dark);
  color: var(--light);
  padding: 4rem 1.5rem 2rem;
}

.footer .title {
  color: white;
  margin-bottom: 1.5rem;
}

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

.footer ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

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

.footer ul li a {
  color: var(--light);
  transition: color var(--transition-speed) var(--transition-timing);
}

.footer ul li a:hover {
  color: white;
  text-decoration: underline;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.social-links a {
  color: var(--light);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all var(--transition-speed) var(--transition-timing);
}

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

.newsletter .input {
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
}

.newsletter .input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter .button {
  background-color: var(--primary-color);
  border: none;
  color: white;
}

.copyright {
  color: var(--medium-light);
  font-size: 0.9rem;
}

/* Success Page */
.success-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  background-color: var(--light);
}

.success-container {
  text-align: center;
  max-width: 600px;
  padding: 3rem;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.success-container h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.success-container p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--medium);
}

/* Privacy & Terms Pages */
.terms-page, .privacy-page {
  padding-top: 120px;
  padding-bottom: 4rem;
}

.terms-page .content, .privacy-page .content {
  background-color: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Media Queries */
@media screen and (max-width: 1023px) {
  .navbar-menu {
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-item {
    text-align: center;
  }
  
  .hero-body {
    padding: 4rem 1rem;
  }
  
  .section {
    padding: 4rem 1rem;
  }
  
  .contact-form-container, 
  .contact-info-container {
    padding: 2rem;
    margin-bottom: 2rem;
  }
}

@media screen and (max-width: 768px) {
  h2.title.is-2 {
    font-size: 2rem;
  }
  
  .hero .title.is-1 {
    font-size: 2.5rem;
  }
  
  .hero .subtitle.is-3 {
    font-size: 1.5rem;
  }
  
  .timeline::before {
    left: 15px;
  }
  
  .timeline-item {
    padding-left: 50px;
  }
  
  .timeline-date {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }
  
  .card-image {
    height: 200px;
  }
  
  .card-content {
    padding: 1.5rem;
  }
  
  .toggle-header {
    padding: 1.2rem;
  }
  
  .toggle-title {
    font-size: 1rem;
  }
  
  .footer {
    padding: 3rem 1rem 2rem;
  }
}

/* Animation classes */
.fade-in {
  animation: fadeIn 1s ease-in-out;
}

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

.slide-up {
  animation: slideUp 1s ease-in-out;
}

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

/* AOS Animation Enhancements */
[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

/* JavaScript Hooks */
.toggle-item.active .toggle-header {
  background-color: var(--light);
}

.js-scroll-trigger {
  cursor: pointer;
}

/* Leer más button */
.read-more {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  position: relative;
  padding-right: 1.5rem;
}

.read-more::after {
  content: '→';
  position: absolute;
  right: 0;
  transition: transform var(--transition-speed) var(--transition-timing);
}

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

/* Utility Classes */
.has-shadow {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.has-radius {
  border-radius: 15px;
  overflow: hidden;
}

.is-centered-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}