 /* Фиксированные CSS-переменные со случайными значениями */
 :root {
     --primary-color: #5e35b1;
     --secondary-color: #3949ab;
     --accent-color: #ff7043;
     --bg-color: #f8f1ff;
     --text-color: #333;
     --font-main: 'Helvetica Neue', Arial, sans-serif;
     --font-headings: 'Montserrat', sans-serif;
 }

 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     transition: all 0.3s ease;
 }

 body {
     font-family: var(--font-main);
     color: var(--text-color);
     background-color: #f5f5f5;
     line-height: 1.6;
     overflow-x: hidden;
     background-image: linear-gradient(to right, rgba(0, 0, 0, 0.05) 1px, transparent 1px),
         linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
     background-size: 20px 20px;
 }

 header {
     background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
     padding: 1.5rem;
     position: fixed;
     width: 100%;
     z-index: 1000;
     backdrop-filter: blur(10px);
     box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
     border-bottom: 2px solid var(--accent-color);
 }

 .header-container {
     display: flex;
     justify-content: space-between;
     align-items: center;
     max-width: 1200px;
     margin: 0 auto;
 }

 .logo {
     font-family: var(--font-headings);
     font-weight: 700;
     font-size: 1.8rem;
     color: var(--accent-color);
     text-decoration: none;
     letter-spacing: 2px;
     transform: skewX(-10deg);
 }

 nav ul {
     display: flex;
     list-style: none;
 }

 nav ul li {
     margin-left: 2rem;
 }

 nav ul li a {
     color: white;
     text-decoration: none;
     font-weight: 600;
     padding: 0.5rem 1rem;
     border-radius: 20px;
     border: 1px solid rgba(255, 255, 255, 0.3);
 }

 nav ul li a:hover {
     color: var(--accent-color);
     background-color: rgba(255, 255, 255, 0.1);
 }

 .burger {
     display: none;
     cursor: pointer;
 }

 .burger div {
     width: 25px;
     height: 3px;
     background-color: white;
     margin: 5px;
     transition: all 0.3s ease;
 }

 /* Hero Section */
 .hero {
     height: 100vh;
     display: flex;
     align-items: center;
     padding: 0 2rem;
     background: url('../img/1.jpg') center/cover;
     position: relative;
     overflow: hidden;
 }

 .hero::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.4);
 }

 .hero-content {
     position: relative;
     z-index: 1;
     max-width: 800px;
     margin: 0 auto;
     text-align: center;
     padding: 2rem;
     background: rgba(0, 0, 0, 0.6);
     backdrop-filter: blur(10px);
     border-radius: 20px;
     border: 1px solid rgba(255, 255, 255, 0.2);
 }

 .hero h1 {
     font-family: var(--font-headings);
     font-size: 3.5rem;
     margin-bottom: 1rem;
     color: white;
     text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
     line-height: 1.2;
 }

 .hero p {
     font-size: 1.2rem;
     margin-bottom: 2rem;
     color: white;
 }

 .btn {
     display: inline-block;
     padding: 0.8rem 2rem;
     background-color: var(--accent-color);
     color: white;
     text-decoration: none;
     border-radius: 30px;
     font-weight: bold;
     border: none;
     cursor: pointer;
     transition: all 0.3s ease;
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
 }

 .btn:hover {
     transform: translateY(-3px);
     box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
 }

 /* Sections */
 section {
     padding: 6rem 2rem;
     position: relative;
 }

 .section-title {
     font-family: var(--font-headings);
     font-size: 2.5rem;
     margin-bottom: 2rem;
     text-align: center;
     color: var(--accent-color);
     position: relative;
 }

 .section-title::after {
     content: '';
     position: absolute;
     bottom: -10px;
     left: 50%;
     transform: translateX(-50%);
     width: 100px;
     height: 3px;
     background-color: var(--accent-color);
 }

 /* About Section */
 .about-container {
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
     align-items: center;
     gap: 2rem;
     max-width: 1200px;
     margin: 0 auto;
 }

 .about-text {
     flex: 1;
     min-width: 300px;
     padding: 2rem;
     background: rgba(255, 255, 255, 0.9);
     border-radius: 20px;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
 }

 .about-image {
     flex: 1;
     min-width: 300px;
     height: 400px;
     background: url('../img/2.jpg') center/cover;
     border-radius: 20px;
     transform: rotate(3deg);
     box-shadow: 10px 10px 0 var(--accent-color);
 }

 /* Services Section */
 .services {
     background-color: var(--primary-color);
     background-image: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 20%);
 }

 .services-container {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 2rem;
     max-width: 1200px;
     margin: 0 auto;
 }

 .service-card {
     background: white;
     padding: 2rem;
     border-radius: 20px;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
     text-align: center;
     transition: all 0.3s ease;
     border: 1px solid var(--accent-color);
 }

 .service-card:hover {
     transform: translateY(-10px);
     box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
 }

 .service-icon {
     font-size: 3rem;
     margin-bottom: 1rem;
     color: var(--accent-color);
 }

 .service-card h3 {
     font-family: var(--font-headings);
     margin-bottom: 1rem;
     color: var(--accent-color);
 }

 /* Testimonials */
 .testimonials-container {
     max-width: 800px;
     margin: 0 auto;
     position: relative;
 }

 .testimonial {
     background: white;
     padding: 2rem;
     border-radius: 20px;
     margin-bottom: 2rem;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
     position: relative;
 }

 .testimonial::before {
     content: '"';
     font-size: 5rem;
     position: absolute;
     top: -20px;
     left: 10px;
     color: rgba(0, 0, 0, 0.1);
     font-family: serif;
 }

 .testimonial-author {
     display: flex;
     align-items: center;
     margin-top: 1rem;
 }

 .author-image {
     width: 50px;
     height: 50px;
     border-radius: 50%;

     margin-right: 1rem;
 }

 .testimonial:nth-child(1) .author-image {
     background: url('../img/5.avif') center/cover;
 }

 .testimonial:nth-child(2) .author-image {
     background: url('../img/3.avif') center/cover;
 }

 /* FAQ Section */
 .faq {
     background-color: var(--secondary-color);
     background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, transparent 100%);
 }

 .faq-container {
     max-width: 800px;
     margin: 0 auto;
 }

 .faq-item {
     margin-bottom: 1rem;
     border: 1px solid rgba(255, 255, 255, 0.2);
     border-radius: 10px;
     overflow: hidden;
 }

 .faq-question {
     padding: 1.5rem;
     background: rgba(0, 0, 0, 0.1);
     cursor: pointer;
     display: flex;
     justify-content: space-between;
     align-items: center;
     font-weight: bold;
     color: white;
 }

 .faq-answer {
     padding: 0 1.5rem;
     max-height: 0;
     overflow: hidden;
     transition: max-height 0.3s ease;
     background: rgba(255, 255, 255, 0.9);
 }

 .faq-item.active .faq-answer {
     padding: 1.5rem;
     max-height: 500px;
 }

 /* Contact Form */
 .contact-form {
     max-width: 600px;
     margin: 0 auto;
     background: white;
     padding: 2rem;
     border-radius: 20px;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
 }

 .form-group {
     margin-bottom: 1.5rem;
 }

 .form-group label {
     display: block;
     margin-bottom: 0.5rem;
     font-weight: bold;
 }

 .form-group input,
 .form-group textarea {
     width: 100%;
     padding: 0.8rem;
     border: 1px solid #ddd;
     border-radius: 5px;
     background: rgba(255, 255, 255, 0.8);
     border-bottom: 2px solid var(--accent-color);
 }

 .form-group textarea {
     height: 150px;
     resize: vertical;
 }

 /* Pricing */
 .pricing-container {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 2rem;
     max-width: 1200px;
     margin: 0 auto;
 }

 .pricing-card {
     background: white;
     padding: 2rem;
     border-radius: 20px;
     text-align: center;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
     position: relative;
     overflow: hidden;
     border: 1px solid var(--accent-color);
 }

 .pricing-card.popular {
     transform: scale(1.05);
     border: 2px solid var(--accent-color);
 }

 .popular-badge {
     position: absolute;
     top: 0;
     right: 0;
     background-color: var(--accent-color);
     color: white;
     padding: 0.5rem 1rem;
     font-size: 0.8rem;
     font-weight: bold;
     transform: rotate(45deg) translate(25%, -50%);
     transform-origin: center;
     width: 120px;
     text-align: center;
 }

 .price {
     font-size: 3rem;
     font-weight: bold;
     margin: 1rem 0;
     color: var(--accent-color);
 }

 .price span {
     font-size: 1rem;
     font-weight: normal;
 }

 .pricing-features {
     list-style: none;
     margin: 2rem 0;
 }

 .pricing-features li {
     margin-bottom: 0.5rem;
     position: relative;
     padding-left: 1.5rem;
 }

 .pricing-features li::before {
     content: '✓';
     position: absolute;
     left: 0;
     color: var(--accent-color);
     font-weight: bold;
 }

 /* Team Section */
 .team-container {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     gap: 2rem;
     max-width: 1200px;
     margin: 0 auto;
 }

 .team-member {
     text-align: center;
     background: white;
     padding: 2rem;
     border-radius: 20px;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
 }

 .member-image {
     width: 150px;
     height: 150px;
     border-radius: 50%;
     margin: 0 auto 1rem;

     border: 3px solid var(--accent-color);
 }

 .team-member:nth-child(1) .member-image {
     background: url('../img/1.avif') center/cover;
 }

 .team-member:nth-child(2) .member-image {
     background: url('../img/4.avif') center/cover;
 }

 .team-member:nth-child(3) .member-image {
     background: url('../img/2.avif') center/cover;
 }

 .member-social {
     display: flex;
     justify-content: center;
     gap: 1rem;
     margin-top: 1rem;
 }

 .member-social a {
     color: var(--text-color);
     font-size: 1.2rem;
 }

 /* Blog Preview */
 .blog-container {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 2rem;
     max-width: 1200px;
     margin: 0 auto;
 }

 .blog-card {
     background: white;
     border-radius: 20px;
     overflow: hidden;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
 }

 .blog-card:nth-child(1) .blog-image {
     height: 200px;
     background: url('../img/3.jpg') center/cover;
 }

 .blog-card:nth-child(2) .blog-image {
     height: 200px;
     background: url('../img/4.jpg') center/cover;
 }

 .blog-card:nth-child(3) .blog-image {
     height: 200px;
     background: url('../img/5.jpg') center/cover;
 }

 .blog-content {
     padding: 1.5rem;
 }

 .blog-date {
     font-size: 0.8rem;
     color: #777;
     margin-bottom: 0.5rem;
 }

 .blog-card h3 {
     margin-bottom: 1rem;
 }

 .blog-card p {
     margin-bottom: 1.5rem;
 }

 .read-more {
     color: var(--accent-color);
     text-decoration: none;
     font-weight: bold;
 }

 /* Footer */
 footer {
     background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
     color: white;
     padding: 4rem 2rem 2rem;
 }

 .footer-container {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
     gap: 2rem;
     max-width: 1200px;
     margin: 0 auto;
 }

 .footer-logo {
     font-family: var(--font-headings);
     font-size: 1.8rem;
     margin-bottom: 1rem;
     color: white;
 }

 .footer-links h3 {
     margin-bottom: 1rem;
     font-size: 1.2rem;
 }

 .footer-links ul {
     list-style: none;
 }

 .footer-links li {
     margin-bottom: 0.5rem;
 }

 .footer-links a {
     color: rgba(255, 255, 255, 0.7);
     text-decoration: none;
 }

 .footer-links a:hover {
     color: white;
 }

 .social-links {
     display: flex;
     gap: 1rem;
     margin-top: 1rem;
 }

 .social-links a {
     color: white;
     font-size: 1.5rem;
 }

 .copyright {
     text-align: center;
     margin-top: 3rem;
     padding-top: 1.5rem;
     border-top: 1px solid rgba(255, 255, 255, 0.1);
     color: rgba(255, 255, 255, 0.7);
     font-size: 0.9rem;
 }

 /* Cookie Consent */
 .cookie-consent {
     position: fixed;
     bottom: 0;
     left: 0;
     right: 0;
     background: rgba(0, 0, 0, 0.9);
     color: white;
     padding: 1rem 2rem;
     display: flex;
     flex-wrap: wrap;
     justify-content: space-between;
     align-items: center;
     z-index: 1000;
     transform: translateY(100%);
     transition: transform 0.3s ease;
 }

 .cookie-consent.show {
     transform: translateY(0);
 }

 .cookie-text {
     flex: 1;
     min-width: 300px;
     margin-right: 2rem;
     margin-bottom: 1rem;
 }

 .cookie-buttons {
     display: flex;
     gap: 1rem;
 }

 .cookie-btn {
     padding: 0.5rem 1.5rem;
     border: none;
     border-radius: 20px;
     cursor: pointer;
     font-weight: bold;
 }

 .cookie-accept {
     background-color: var(--accent-color);
     color: white;
 }

 .cookie-decline {
     background-color: transparent;
     color: white;
     border: 1px solid white;
 }

 /* Modal */
 .modal {
     position: fixed;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background-color: rgba(0, 0, 0, 0.8);
     display: flex;
     justify-content: center;
     align-items: center;
     z-index: 1001;
     opacity: 0;
     pointer-events: none;
     transition: opacity 0.3s ease;
 }

 .modal.show {
     opacity: 1;
     pointer-events: all;
 }

 .modal-content {
     background-color: white;
     padding: 2rem;
     border-radius: 20px;
     max-width: 500px;
     width: 90%;
     text-align: center;
     position: relative;
     transform: translateY(-20px);
     transition: all 0.3s ease;
 }

 .modal.show .modal-content {
     transform: translateY(0);
 }

 .close-modal {
     position: absolute;
     top: 10px;
     right: 10px;
     font-size: 1.5rem;
     cursor: pointer;
     background: none;
     border: none;
 }

 /* Animations */
 @keyframes float {

     0%,
     100% {
         transform: translateY(0);
     }

     50% {
         transform: translateY(-20px);
     }
 }

 @keyframes pulse {

     0%,
     100% {
         transform: scale(1);
     }

     50% {
         transform: scale(1.05);
     }
 }

 @keyframes shake {

     0%,
     100% {
         transform: translateX(0);
     }

     25% {
         transform: translateX(-5px);
     }

     75% {
         transform: translateX(5px);
     }
 }

 @keyframes random-movement {
     0% {
         transform: translate(0, 0) rotate(0deg);
     }

     25% {
         transform: translate(10px, -15px) rotate(5deg);
     }

     50% {
         transform: translate(-5px, 10px) rotate(-3deg);
     }

     75% {
         transform: translate(15px, 5px) rotate(2deg);
     }

     100% {
         transform: translate(0, 0) rotate(0deg);
     }
 }

 .floating {
     animation: float 6s ease-in-out infinite;
 }

 .pulse {
     animation: pulse 3s ease infinite;
 }

 .shake {
     animation: shake 0.5s ease infinite;
 }

 .random-movement {
     animation: random-movement 8s linear infinite;
 }

 /* Decorative elements */
 .decorative-circle {
     position: absolute;
     width: 200px;
     height: 200px;
     border-radius: 50%;
     background: radial-gradient(circle, var(--accent-color), transparent);
     opacity: 0.3;
     z-index: -1;
     animation: random-movement 15s linear infinite;
 }

 .decorative-line {
     position: absolute;
     height: 2px;
     background: linear-gradient(to right, transparent, var(--accent-color), transparent);
     z-index: -1;
     animation: random-movement 10s linear infinite;
 }

 /* Responsive */
 @media (max-width: 768px) {
     nav ul {
         position: fixed;
         top: 80px;
         left: 0;
         width: 100%;
         background-color: var(--primary-color);
         flex-direction: column;
         align-items: center;
         padding: 2rem 0;
         clip-path: circle(0px at 90% -10%);
         transition: all 0.5s ease-out;
         pointer-events: none;
     }

     nav ul.open {
         clip-path: circle(1000px at 90% -10%);
         pointer-events: all;
     }

     nav ul li {
         margin: 1rem 0;
     }

     .burger {
         display: block;
     }

     .burger.active div:nth-child(1) {
         transform: rotate(-45deg) translate(-5px, 6px);
     }

     .burger.active div:nth-child(2) {
         opacity: 0;
     }

     .burger.active div:nth-child(3) {
         transform: rotate(45deg) translate(-5px, -6px);
     }

     .hero h1 {
         font-size: 2.5rem;
     }

     .hero p {
         font-size: 1rem;
     }

     .section-title {
         font-size: 2rem;
     }

     .footer-container {
         grid-template-columns: 1fr;
     }

     .cookie-text {
         min-width: 100%;
         margin-right: 0;
         margin-bottom: 1rem;
     }

     .cookie-buttons {
         width: 100%;
         justify-content: center;
     }
 }