:root {
  /* Основные цвета */
  --primary-color: #3a7bd5;
  --primary-dark: #2c5aa7;
  --primary-light: #6fa1e9;
  
  /* Акцентные цвета */
  --accent-color: #ee5522;
  --accent-dark: #c73e0e;
  --accent-light: #ff7744;
  
  /* Нейтральные цвета */
  --dark-color: #1a2a3a;
  --dark-color-light: #2d3b4d;
  --light-color: #f7f9fc;
  --gray-light: #e0e6ed;
  --gray-medium: #a0a8b8;
  --gray-dark: #5c6a7d;
  
  /* Градиенты */
  --primary-gradient: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  --accent-gradient: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  --dark-gradient: linear-gradient(135deg, var(--dark-color), var(--dark-color-light));
  
  /* Тени для неоморфизма */
  --shadow-small: 3px 3px 6px rgba(0, 0, 0, 0.1), -3px -3px 6px rgba(255, 255, 255, 0.7);
  --shadow-medium: 5px 5px 10px rgba(0, 0, 0, 0.1), -5px -5px 10px rgba(255, 255, 255, 0.7);
  --shadow-large: 8px 8px 16px rgba(0, 0, 0, 0.1), -8px -8px 16px rgba(255, 255, 255, 0.7);
  --shadow-inset: inset 2px 2px 5px rgba(0, 0, 0, 0.1), inset -2px -2px 5px rgba(255, 255, 255, 0.7);
  
  /* Скругления */
  --border-radius-small: 5px;
  --border-radius-medium: 10px;
  --border-radius-large: 20px;
  --border-radius-circle: 50%;
  
  /* Переходы */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Размеры */
  --container-max-width: 1200px;
  --header-height: 80px;
  --footer-height: auto;
}

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

html {
  scroll-behavior: smooth;
}

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

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

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

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

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

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

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

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

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

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

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

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

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

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

.py-1 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-2 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-3 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-4 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.py-5 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.px-1 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-2 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-3 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-4 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.px-5 {
  padding-left: 3rem;
  padding-right: 3rem;
}

/* Секции */
section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

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

.section-header p {
  font-size: 1.2rem;
  color: var(--gray-dark);
}

/* Кнопки */
.btn {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-medium);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--transition-medium);
  border: none;
  outline: none;
  box-shadow: var(--shadow-small);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.btn:active {
  transform: translateY(1px);
  box-shadow: var(--shadow-inset);
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  color: white;
}

.btn-secondary {
  background: var(--light-color);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
}

.btn-accent {
  background: var(--accent-gradient);
  color: white;
}

.btn-accent:hover {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent-color));
  color: white;
}

/* Карточки */
.card {
  background: var(--light-color);
  border-radius: var(--border-radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-small);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

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

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

.card-content {
  padding: 1.5rem;
  flex-grow: 1;
  width: 100%;
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all var(--transition-medium);
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo h1 {
  font-size: 1.75rem;
  margin-bottom: 0;
  color: var(--primary-color);
  transition: color var(--transition-fast);
}

.logo:hover h1 {
  color: var(--primary-dark);
}

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

.desktop-nav li {
  margin-left: 1.5rem;
}

.desktop-nav a {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark-color);
  transition: color var(--transition-fast);
  position: relative;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: width var(--transition-medium);
}

.desktop-nav a:hover {
  color: var(--primary-color);
}

.desktop-nav 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 {
  width: 100%;
  height: 2px;
  background-color: var(--dark-color);
  border-radius: var(--border-radius-small);
  transition: all var(--transition-fast);
}

.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background: var(--light-color);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-medium);
  padding: 1rem 0;
}

.mobile-nav.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav li {
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid var(--gray-light);
}

.mobile-nav li:last-child {
  border-bottom: none;
}

.mobile-nav a {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark-color);
  transition: color var(--transition-fast);
  display: block;
}

.mobile-nav a:hover {
  color: var(--primary-color);
}

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

.hero-content {
  max-width: 700px;
  text-align: center;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  border-radius: var(--border-radius-large);
}

.hero-content h2 {
  font-size: 3rem;
  color: white;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Services Section */
.services {
  background-color: var(--light-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  height: 100%;
}

/* Case Studies Section */
.case-studies {
  background: linear-gradient(135deg, #f5f7fa, #e6edf5);
}

.accordion-container {
  max-width: 900px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: 1rem;
  border-radius: var(--border-radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-small);
  background: white;
}

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

.accordion-header h3 {
  font-size: 1.25rem;
  margin: 0;
}

.accordion-icon {
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform var(--transition-medium);
}

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

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
  border-top: 1px solid var(--gray-light);
}

.accordion-item.active .accordion-content {
  max-height: 1000px;
}

.case-study-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
}

.case-study-image {
  width: 100%;
  border-radius: var(--border-radius-medium);
  overflow: hidden;
}

.case-study-text ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

/* Gallery Section */
.gallery {
  background-color: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  border-radius: var(--border-radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-small);
  transition: transform var(--transition-medium);
}

.gallery-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-medium);
}

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

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

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

/* External Resources Section */
.external-resources {
  background: linear-gradient(135deg, #e6edf5, #f5f7fa);
}

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

.resource-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  text-align: center;
  background: white;
  border-radius: var(--border-radius-medium);
  box-shadow: var(--shadow-small);
  transition: transform var(--transition-medium);
}

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

.resource-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.resource-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.resource-link {
  margin-top: auto;
  padding-top: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  position: relative;
}

.resource-link:after {
  content: '→';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-40%);
  opacity: 0;
  transition: all var(--transition-medium);
}

.resource-link:hover:after {
  right: -25px;
  opacity: 1;
}

/* Testimonials Section */
.testimonials {
  background: url('image/testimonial-bg.jpg') center center/cover no-repeat;
  background-attachment: fixed;
  position: relative;
}

.testimonials:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
}

.testimonials .container {
  position: relative;
}

.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-slide {
  padding: 1rem;
  display: none;
}

.testimonial-slide.active {
  display: block;
}

.testimonial-card {
  background: white;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-medium);
  padding: 2rem;
  text-align: center;
}

.testimonial-card .card-image {
  width: 120px;
  height: 120px;
  border-radius: var(--border-radius-circle);
  margin: 0 auto 1.5rem;
}

.rating {
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--gray-dark);
  line-height: 1.8;
}

.client-name {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.client-info {
  color: var(--gray-medium);
}

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

.prev-btn, .next-btn {
  background: var(--light-color);
  color: var(--primary-color);
  border: none;
  border-radius: var(--border-radius-circle);
  width: 40px;
  height: 40px;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-small);
  transition: all var(--transition-fast);
}

.prev-btn:hover, .next-btn:hover {
  background: var(--primary-color);
  color: white;
}

/* Behind the Scenes Section */
.behind-scenes {
  background: linear-gradient(135deg, #f5f7fa, #e6edf5);
}

.scenes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.scene-item.full-width {
  grid-column: 1 / -1;
}

.scene-item .card {
  height: 100%;
}

.scene-item .card-image {
  height: 300px;
}

/* Contact Section */
.contact {
  background: white;
}

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

.info-card {
  background: var(--light-color);
  border-radius: var(--border-radius-medium);
  padding: 2rem;
  box-shadow: var(--shadow-small);
  margin-bottom: 2rem;
}

.info-card h3 {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.info-item {
  margin-bottom: 1.25rem;
}

.info-item strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--dark-color);
}

.info-item p {
  margin-bottom: 0.5rem;
  color: var(--gray-dark);
}

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

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

.form-card h3 {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--gray-light);
  border-radius: var(--border-radius-small);
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  transition: border var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(58, 123, 213, 0.2);
  outline: none;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.checkbox-label input {
  margin-right: 0.5rem;
  width: auto;
}

/* Footer */
.footer {
  background: var(--dark-gradient);
  color: white;
  padding-top: 4rem;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column h3 {
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-column h3:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background: var(--accent-color);
}

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

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

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

.footer-links a {
  color: var(--gray-light);
  transition: color var(--transition-fast);
}

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

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

.social-links a {
  color: var(--light-color);
  transition: color var(--transition-fast);
  font-weight: bold;
  position: relative;
}

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

.social-links a:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: var(--accent-light);
  transition: width var(--transition-medium);
}

.social-links a:hover:after {
  width: 100%;
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin-bottom: 0;
  color: var(--gray-medium);
  font-size: 0.9rem;
}

/* Success Page */
.success-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  background: linear-gradient(135deg, #f5f7fa, #e6edf5);
}

.success-content {
  max-width: 600px;
  padding: 3rem;
  background: white;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-medium);
}

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

/* Terms & Privacy Pages */
.page-content {
  padding-top: 100px;
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 4rem;
}

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

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

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

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

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

/* Анимации при прокрутке */
[data-scroll-animation] {
  opacity: 0;
  transition: opacity 0.6s, transform 0.6s;
}

[data-scroll-animation="fade-up"] {
  transform: translateY(30px);
}

[data-scroll-animation="fade-down"] {
  transform: translateY(-30px);
}

[data-scroll-animation="fade-left"] {
  transform: translateX(30px);
}

[data-scroll-animation="fade-right"] {
  transform: translateX(-30px);
}

[data-scroll-animation="zoom-in"] {
  transform: scale(0.95);
}

[data-scroll-animation].show {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Медиа запросы */
@media screen and (max-width: 1024px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.35rem;
  }
  
  .hero-content h2 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.25rem;
  }
  
  .scenes-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .desktop-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .hero-content {
    padding: 1.5rem;
  }
  
  .hero-content h2 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .case-study-grid {
    grid-template-columns: 1fr;
  }
  
  .resources-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 480px) {
  :root {
    --header-height: 60px;
  }
  
  .logo h1 {
    font-size: 1.5rem;
  }
  
  .hero-content h2 {
    font-size: 1.75rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-card .card-image {
    width: 100px;
    height: 100px;
  }
}

html,body{
  overflow-x: hidden;
}
*{
  opacity: 1 !important;
}