 :root {
   --primary-color: #4a6fa5;
   --secondary-color: #166088;
   --accent-color: #4fc3f7;
   --text-color: #333;
   --light-bg: #f8f9fa;
   --dark-bg: #343a40;
 }

 * {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
   font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
 }

 body {
   color: var(--text-color);
   line-height: 1.6;
   overflow-x: hidden;
 }

 header {
   background-color: var(--primary-color);
   color: white;
   padding: 1rem 0;
   position: fixed;
   width: 100%;
   top: 0;
   z-index: 1000;
   box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
 }

 .header-container {
   display: flex;
   justify-content: space-between;
   align-items: center;
   max-width: 1200px;
   margin: 0 auto;
   padding: 0 2rem;
   width: 100%;
 }

 .logo {
   font-size: 1.5rem;
   font-weight: bold;
   animation: fadeIn 1s ease-in-out;
   color: #fff;
   text-decoration: none;
 }

 nav ul {
   display: flex;
   list-style: none;
 }

 nav ul li {
   margin-left: 1.5rem;
 }

 nav ul li a {
   color: white;
   text-decoration: none;
   font-weight: 500;
   transition: color 0.3s;
   position: relative;
 }

 nav ul li a:hover {
   color: var(--accent-color);
 }

 nav ul li a::after {
   content: '';
   position: absolute;
   width: 0;
   height: 2px;
   bottom: -5px;
   left: 0;
   background-color: var(--accent-color);
   transition: width 0.3s;
 }

 nav ul li a:hover::after {
   width: 100%;
 }

 .burger {
   display: none;
   cursor: pointer;
 }

 .burger div {
   width: 25px;
   height: 3px;
   background-color: white;
   margin: 5px;
   transition: all 0.3s ease;
 }

 main {
   margin-top: 80px;
 }

 section {
   padding: 4rem 2rem;
   max-width: 1200px;
   margin: 0 auto;
 }

 .hero {
   background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/photo-1450101499163-c8848c66ca85.avif');
   background-size: cover;
   background-position: center;
   color: white;
   text-align: center;
   height: 80vh;
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
 }

 .hero h1 {
   font-size: 3rem;
   margin-bottom: 1rem;
   animation: slideInDown 1s ease-in-out;
 }

 .hero p {
   font-size: 1.2rem;
   max-width: 800px;
   margin-bottom: 2rem;
   animation: fadeIn 1.5s ease-in-out;
 }

 .btn {
   display: inline-block;
   background-color: var(--accent-color);
   color: white;
   padding: 0.8rem 1.5rem;
   border-radius: 5px;
   text-decoration: none;
   font-weight: bold;
   transition: all 0.3s;
   animation: pulse 2s infinite;
 }

 .btn:hover {
   background-color: #3da8d8;
   transform: translateY(-3px);
   box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
 }

 h2 {
   font-size: 2.2rem;
   margin-bottom: 2rem;
   color: var(--secondary-color);
   text-align: center;
   position: relative;
 }

 h2::after {
   content: '';
   position: absolute;
   width: 100px;
   height: 3px;
   background-color: var(--accent-color);
   bottom: -10px;
   left: 50%;
   transform: translateX(-50%);
 }

 h3 {
   font-size: 1.5rem;
   margin: 1.5rem 0;
   color: var(--primary-color);
 }

 .about-content {
   display: flex;
   align-items: center;
   gap: 3rem;
 }

 .about-text {
   flex: 1;
 }

 .about-image {
   flex: 1;
   border-radius: 10px;
   overflow: hidden;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
   animation: fadeInRight 1s ease-in-out;
 }

 .about-image img {
   width: 100%;
   height: auto;
   display: block;
   transition: transform 0.5s;
 }

 .about-image:hover img {
   transform: scale(1.05);
 }

 .services-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
   gap: 2rem;
   margin-top: 3rem;
 }

 .service-card {
   background-color: white;
   border-radius: 10px;
   padding: 2rem;
   box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
   transition: all 0.3s;
 }

 .service-card:hover {
   transform: translateY(-10px);
   box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
 }

 .service-card i {
   font-size: 2.5rem;
   color: var(--accent-color);
   margin-bottom: 1rem;
   display: inline-block;
 }

 .gallery {
   background-color: var(--light-bg);
 }

 .gallery-grid {
   display: grid;
   grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
   gap: 1rem;
   margin-top: 2rem;
 }

 .gallery-item {
   position: relative;
   overflow: hidden;
   border-radius: 8px;
   height: 250px;
 }

 .gallery-item img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: transform 0.5s;
 }

 .gallery-item:hover img {
   transform: scale(1.1);
 }

 .gallery-caption {
   position: absolute;
   bottom: 0;
   left: 0;
   right: 0;
   background: rgba(0, 0, 0, 0.7);
   color: white;
   padding: 1rem;
   transform: translateY(100%);
   transition: transform 0.3s;
 }

 .gallery-item:hover .gallery-caption {
   transform: translateY(0);
 }

 .testimonials {
   background-color: var(--dark-bg);
   color: white;
 }

 .testimonials h2 {
   color: white;
 }

 .testimonials h2::after {
   background-color: var(--accent-color);
 }

 .swiper-container {
   width: 100%;
   margin-top: 2rem;
 }

 .testimonial-slide {
   background-color: rgba(255, 255, 255, 0.1);
   padding: 2rem;
   border-radius: 10px;
   text-align: center;
 }

 .testimonial-slide p {
   font-style: italic;
   margin-bottom: 1.5rem;
 }

 .testimonial-author {
   font-weight: bold;
   margin-top: 1rem;
 }

 .faq-item {
   margin-bottom: 1rem;
   border: 1px solid #ddd;
   border-radius: 5px;
   overflow: hidden;
 }

 .faq-question {
   background-color: var(--light-bg);
   padding: 1rem;
   cursor: pointer;
   font-weight: bold;
   position: relative;
 }

 .faq-question::after {
   content: '+';
   position: absolute;
   right: 1rem;
   font-size: 1.2rem;
 }

 .faq-question.active::after {
   content: '-';
 }

 .faq-answer {
   padding: 0 1rem;
   max-height: 0;
   overflow: hidden;
   transition: max-height 0.3s ease-out;
 }

 .faq-answer.show {
   padding: 1rem;
   max-height: 500px;
 }

 .download-form {
   background-color: var(--light-bg);
   padding: 3rem;
   border-radius: 10px;
   max-width: 800px;
   margin: 0 auto;
   box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
 }

 .form-group {
   margin-bottom: 1.5rem;
 }

 .form-group label {
   display: block;
   margin-bottom: 0.5rem;
   font-weight: 500;
 }

 .form-group input,
 .form-group textarea {
   width: 100%;
   padding: 0.8rem;
   border: 1px solid #ddd;
   border-radius: 5px;
   font-size: 1rem;
 }

 .form-group textarea {
   height: 120px;
 }

 .contact-info {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
   gap: 2rem;
   margin-top: 2rem;
 }

 .contact-card {
   background-color: white;
   padding: 2rem;
   border-radius: 10px;
   box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
   text-align: center;
 }

 .contact-card i {
   font-size: 2rem;
   color: var(--accent-color);
   margin-bottom: 1rem;
 }

 footer {
   background-color: var(--dark-bg);
   color: white;
   padding: 3rem 0 1rem;
 }

 .footer-container {
   max-width: 1200px;
   margin: 0 auto;
   padding: 0 2rem;
 }

 .footer-content {
   display: flex;
   justify-content: space-between;
   flex-wrap: wrap;
   margin-bottom: 2rem;
   gap: 50px;
 }

 .footer-section {
   flex: 1;
   min-width: 250px;
   margin-bottom: 1.5rem;
 }

 .footer-section h3 {
   color: white;
   margin-bottom: 1.5rem;
   font-size: 1.2rem;
 }

 .footer-section ul {
   list-style: none;
 }

 .footer-section ul li {
   margin-bottom: 0.5rem;
 }

 .footer-section ul li a {
   color: #ccc;
   text-decoration: none;
   transition: color 0.3s;
 }

 .footer-section ul li a:hover {
   color: var(--accent-color);
 }

 .footer-bottom {
   text-align: center;
   padding-top: 1.5rem;
   border-top: 1px solid rgba(255, 255, 255, 0.1);
 }

 .cookie-banner {
   position: fixed;
   bottom: 0;
   left: 0;
   right: 0;
   background-color: var(--dark-bg);
   color: white;
   padding: 1rem 2rem;
   display: flex;
   justify-content: space-between;
   align-items: center;
   z-index: 1000;
   transform: translateY(100%);
   transition: transform 0.3s ease-out;
 }

 .cookie-banner.show {
   transform: translateY(0);
 }

 .cookie-banner p {
   margin-right: 1rem;
   flex: 1;
 }

 .cookie-banner button {
   background-color: var(--accent-color);
   color: white;
   border: none;
   padding: 0.5rem 1rem;
   border-radius: 5px;
   cursor: pointer;
   transition: background-color 0.3s;
 }

 .cookie-banner button:hover {
   background-color: #3da8d8;
 }

 @keyframes fadeIn {
   from {
     opacity: 0;
   }

   to {
     opacity: 1;
   }
 }

 @keyframes slideInDown {
   from {
     transform: translateY(-50px);
     opacity: 0;
   }

   to {
     transform: translateY(0);
     opacity: 1;
   }
 }

 @keyframes fadeInRight {
   from {
     transform: translateX(50px);
     opacity: 0;
   }

   to {
     transform: translateX(0);
     opacity: 1;
   }
 }

 @keyframes pulse {
   0% {
     transform: scale(1);
   }

   50% {
     transform: scale(1.05);
   }

   100% {
     transform: scale(1);
   }
 }

 @media (max-width: 1000px) {
   nav ul {
     position: fixed;
     top: 71px;
     left: 0;
     width: 100%;
     background-color: var(--primary-color);
     flex-direction: column;
     align-items: center;
     padding: 1rem 0;
     transform: translateY(-150%);
     transition: transform 0.3s ease-in-out;
   }

   nav ul.show {
     transform: translateY(0);
   }

   nav ul li {
     margin: 1rem 0;
   }

   .burger {
     display: block;
   }

   .hero h1 {
     font-size: 2rem;
   }

   .hero p {
     font-size: 1rem;
   }

   .about-content {
     flex-direction: column;
   }

   .footer-content {
     flex-direction: column;
   }

   .footer-section {
     margin-bottom: 2rem;
   }

   .cookie-banner {
     flex-direction: column;
     text-align: center;
   }

   .cookie-banner button {
     margin-top: 1rem;
   }
 }

 /* Бургер анимация */
 .burger.toggle .line1 {
   transform: rotate(-45deg) translate(-5px, 6px);
 }

 .burger.toggle .line2 {
   opacity: 0;
 }

 .burger.toggle .line3 {
   transform: rotate(45deg) translate(-5px, -6px);
 }
 

 @media (max-width:600px) {
  .download-form{
    margin-top: 20px;
    padding: 10px;
  }

  .service-card{
    padding: 10px;
  }
 }

.cookie-banner {
  position: fixed;
  bottom: -100px;
  left: 0;
  right: 0;
  background: #1e293b;
  color: white;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  transition: bottom 0.5s ease;
  z-index: 9999;
}

.cookie-banner.show {
  bottom: 0;
}

.cookie-banner a {
  text-decoration: underline;
  color: #60a5fa; /* var(--accent-color), если определена */
}

.cookie-banner button {
  background-color: #3b82f6;
  border: none;
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.cookie-banner button:hover {
  background-color: #2563eb;
}