/* Global Styles */
:root {
    /* Color Palette */
    --color-primary: #7b2ff7;
    --color-secondary: #ff5c8d;
    --color-accent1: #c9ff30;
    --color-accent2: #00fcbf;
    --color-dark: #222;
    --color-light: #fff;
    --gradient-main: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    --gradient-accent: linear-gradient(45deg, var(--color-accent1), var(--color-accent2));
    
    /* Typography */
    --font-main: 'Montserrat', Arial, sans-serif;
    --font-heading: 'Montserrat', Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-light);
    overflow-x: hidden;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    text-align: center;
    width: 100%;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
}

h2:hover:after {
    width: 100px;
}

/* Возвращаем обычное выравнивание для h2 внутри страниц политик */
.legal-content h2 {
    text-align: left;
    width: auto;
    display: block;
}

.legal-content h2:after {
    left: 0;
    transform: none;
}

.legal-content h2:hover:after {
    width: 60px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    z-index: -1;
    transition: all 0.4s ease;
}

.btn:hover:before {
    left: 0;
    transform: skewX(-15deg);
}

.btn-primary {
    background: var(--gradient-main);
    color: var(--color-light);
    box-shadow: 0 4px 15px rgba(123, 47, 247, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(123, 47, 247, 0.5);
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-light);
}

/* Header & Navigation */
.main-header {
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
}

.logo a {
    text-decoration: none;
    color: var(--color-primary);
    position: relative;
    display: inline-block;
    padding: 0 5px;
}

.logo a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.logo a:hover:before {
    transform: scaleX(1);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.main-nav li a {
    text-decoration: none;
    color: var(--color-dark);
    font-weight: 600;
    padding: 5px 10px;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav li a:before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.main-nav li a:hover {
    color: var(--color-primary);
}

.main-nav li a:hover:before {
    transform: scaleX(1);
}

.nav-cta {
    background: var(--gradient-main);
    color: var(--color-light) !important;
    padding: 8px 20px !important;
    border-radius: 30px;
    transition: all 0.3s ease !important;
}

.nav-cta:before {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(123, 47, 247, 0.3);
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    color: var(--color-light);
    padding: 150px 0 150px;
    position: relative;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Затемняющий оверлей поверх фонового изображения */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(123, 47, 247, 0.85), rgba(255, 92, 141, 0.85));
    z-index: 1;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 2;  /* Поверх затемняющего слоя */
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Скрываем отдельный div с изображением, так как оно теперь фоновое */
.hero-image {
    display: none;
}



.hero-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: var(--color-light);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image:before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--color-accent1);
    z-index: -1;
    animation: borderPulse 3s infinite alternate;
}

@keyframes borderPulse {
    0% {
        border-color: var(--color-accent1);
    }
    100% {
        border-color: var(--color-accent2);
    }
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02) rotate(1deg);
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.services-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(123, 47, 247, 0.05) 0%, rgba(0, 252, 191, 0.05) 100%);
    z-index: -1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--color-light);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-main);
    transition: height 0.3s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card:hover:before {
    height: 100%;
    opacity: 0.05;
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--color-light);
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(123, 47, 247, 0.3);
    position: relative;
    overflow: hidden;
}

.service-icon:before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    left: -120%;
    top: -60%;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon:before {
    left: 60%;
}

.service-card h3 {
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.service-card p {
    color: #666;
}

/* Advantages Section */
.advantages-section {
    padding: 100px 0;
    background: var(--color-light);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.advantage-item {
    position: relative;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
    background: #fff;
}

.advantage-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.advantage-item:hover:before {
    width: 100%;
    opacity: 0.05;
}

.advantage-image {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.advantage-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.advantage-item:hover .advantage-image img {
    transform: scale(1.05);
}

.advantage-item h3 {
    position: relative;
    margin-bottom: 15px;
    z-index: 1;
}

.advantage-item p {
    position: relative;
    color: #666;
    z-index: 1;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.testimonials-section:before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(201, 255, 48, 0.1) 0%, rgba(201, 255, 48, 0) 70%);
    z-index: 0;
}

.testimonials-slider {
    margin-top: 50px;
    display: flex;

    -webkit-overflow-scrolling: touch;
    gap: 30px;
    padding-bottom: 30px;
    max-width: 980px;
    margin: 0 auto;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial {
    scroll-snap-align: start;
    flex-shrink: 0;
    width: 300px;
    background: var(--color-light);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    text-align: center; /* Центрируем содержимое отзывов */
}

.testimonial:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial:before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    text-align: center; /* Центрируем кавычки */
    font-size: 80px;
    color: rgba(123, 47, 247, 0.1);
    font-family: serif;
    z-index: -1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 700;
    color: var(--color-primary);
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: var(--color-light);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.faq-item {
    position: relative;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.faq-item:hover {
    background: rgba(123, 47, 247, 0.02);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.faq-item h3 {
    margin-bottom: 15px;
    position: relative;
    padding-right: 30px;
}

.faq-item h3:after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.faq-item:hover h3:after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-item p {
    color: #666;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.faq-item:hover p {
    max-height: 200px;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.contact-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(123, 47, 247, 0.05) 0%, rgba(255, 92, 141, 0.05) 100%);
    z-index: 0;
}

.contact-content {
    display: flex;
    gap: 50px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.contact-form {
    flex: 1;
    background: var(--color-light);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: fadeInLeft 1s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(123, 47, 247, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 14px;
}

.checkbox-group a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    animation: fadeInRight 1s ease-out;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.info-item {
    background: var(--color-light);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.info-item h3 {
    color: var(--color-primary);
    margin-bottom: 10px;
}

.contact-image {
    margin-top: 30px;
}

.contact-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-image img:hover {
    transform: scale(1.02);
}

/* Footer */
.main-footer {
    background: var(--color-dark);
    color: var(--color-light);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.main-footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-main);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-about h3,
.footer-contact h3,
.footer-links h3 {
    color: var(--color-accent2);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-about h3:after,
.footer-contact h3:after,
.footer-links h3:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-accent);
}

.footer-about p {
    opacity: 0.8;
}

.footer-contact ul,
.footer-links ul {
    list-style: none;
}

.footer-contact ul li,
.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: var(--color-light);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-links ul li a:before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    transition: transform 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--color-accent1);
}

.footer-links ul li a:hover:before {
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.7;
    margin-bottom: 0;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: var(--color-dark);
    color: var(--color-light);
    padding: 20px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: bottom 0.5s ease;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin-bottom: 0;
    flex: 1;
}

.cookie-content a {
    color: var(--color-accent2);
    text-decoration: none;
}

.cookie-content a:hover {
    text-decoration: underline;
}

/* Thank You Page */
.thankyou-section {
    padding: 150px 0 150px;
    background: var(--gradient-main);
    color: var(--color-light);
  
    display: flex;
    align-items: center;
}

.thankyou-content {
    max-width: 600px;
    text-align: center;
    color: var(--color-dark) !important;
    margin: 0 auto 50px;
    background-color: var(--color-light);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    70% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.thankyou-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.thankyou-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.thankyou-image {
    max-width: 500px;
    margin: 0 auto;
    animation: fadeIn 1s ease-out 0.5s both;
}

.thankyou-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Legal Pages */
.legal-section {
    padding: 150px 0 100px;
}

.legal-section h1 {
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.legal-section h1:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 3px;
    background: var(--gradient-main);
}

.legal-content {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.legal-content h2 {
    color: var(--color-primary);
    margin-top: 30px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content ul,
.legal-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.legal-content ul li,
.legal-content ol li {
    margin-bottom: 10px;
}

.legal-footer {
    text-align: center;
}

/* Form Errors */
.form-errors {
    background: rgba(255, 92, 141, 0.1);
    border-left: 4px solid var(--color-secondary);
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.error-message {
    color: var(--color-secondary);
    font-weight: 500;
    margin-bottom: 8px;
}

.error-message:last-child {
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-image {
        width: 45%;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-section {
        padding: 120px 0 80px;
    }
    
    .hero-content {
        width: 100%;
        text-align: center;
        margin-bottom: 50px;
    }
    
    .hero-image {
        position: relative;
        width: 80%;
        margin: 0 auto;
        top: auto;
        right: auto;
        transform: none;
        animation: floatImage 3s ease-in-out infinite alternate;
    }
    
    @keyframes floatImage {
        0% {
            transform: translateY(0);
        }
        100% {
            transform: translateY(10px);
        }
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .services-grid,
    .advantages-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .menu-icon {
        display: block;
        width: 30px;
        height: 22px;
        position: relative;
    }
    
    .menu-line {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--color-dark);
        position: absolute;
        left: 0;
        transition: all 0.3s ease;
    }
    
    .menu-line:nth-child(1) {
        top: 0;
    }
    
    .menu-line:nth-child(2) {
        top: 50%;
        transform: translateY(-50%);
    }
    
    .menu-line:nth-child(3) {
        bottom: 0;
    }
    
    .menu-toggle:checked ~ .menu-icon .menu-line:nth-child(1) {
        transform: rotate(45deg);
        top: 10px;
    }
    
    .menu-toggle:checked ~ .menu-icon .menu-line:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked ~ .menu-icon .menu-line:nth-child(3) {
        transform: rotate(-45deg);
        bottom: 10px;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--color-light);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .menu-toggle:checked ~ .main-nav {
        max-height: 400px;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    .main-nav li {
        width: 100%;
    }
    
    .main-nav li a {
        display: block;
        padding: 10px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .service-card,
    .advantage-item,
    .faq-item,
    .contact-form,
    .legal-content {
        padding: 20px;
    }
    
    .testimonials-slider {
        padding-left: 20px;
    }
    
    .testimonial {
        width: 280px;
        padding: 20px;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
} 