:root {
    --orange: #ff7a00;
    --shadow-header: 0 30px 60px rgba(0, 0, 0, 0.2), 0 10px 20px rgba(0, 0, 0, 0.1);
    --shadow-card: 0 15px 45px rgba(0, 0, 0, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', sans-serif; background: #f6f8fc; overflow-x: hidden; }

#bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

.header {
    position: fixed; 
    top: 30px; 
    left: 50%; 
    transform: translateX(-50%);
    width: 96%; 
    max-width: 1600px; 
    height: 95px;
    background: #fff; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 0 50px; 
    border-radius: 20px;
    box-shadow: var(--shadow-header); 
    z-index: 2000;
}

.logo img { height: 85px; width: auto; display: block; }

.menu { display: flex; list-style: none; gap: 40px; }
.menu li { position: relative; list-style: none; }

.menu a {
    text-decoration: none; color: #222; 
    font-weight: 500; font-size: 20px; 
    padding: 8px 0; display: inline-block; position: relative;
}

.menu a::after {
    content: ''; position: absolute; bottom: -2px; left: 0;
    width: 0; height: 3px; background: var(--orange);
    transition: width 0.3s ease;
}
.menu li:hover > a::after, .menu li.active > a::after { width: 100%; }
.menu li:hover > a { color: var(--orange); }

.dropdown-menu {
    position: absolute; top: 100%; left: 0; 
    background: #fff; min-width: 240px; 
    padding: 10px 0; border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15); 
    opacity: 0; visibility: hidden; 
    transition: 0.3s; z-index: 3000; margin-top: 10px;
    list-style: none;
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { padding: 12px 25px; width: 100%; display: block; font-size: 18px; color: #444; }
.dropdown-menu a:hover { background: #fff5ed; color: var(--orange); }
.dropdown-menu a::after { display: none; }

.page-content { 
    display: flex; 
    justify-content: center; 
    padding: 180px 20px 60px; 
}
.card {
    width: 100%; max-width: 1600px; background: #fff; border-radius: 24px;
    padding: 60px; box-shadow: var(--shadow-card); position: relative; z-index: 10;
}

.burger { display: none; font-size: 35px; cursor: pointer; color: var(--orange); }

@media (max-width: 1024px) {
    .burger { display: block; }
    .header { 
        top: 0; 
        width: 100%; 
        border-radius: 0; 
        height: 75px; 
        padding: 0 20px; 
    }
    .logo img { height: 55px; }

    .menu {
        position: fixed; top: 75px; left: 0; width: 100%; background: #fff;
        flex-direction: column; max-height: 0; overflow-y: auto; transition: 0.4s ease-in-out;
        padding: 0; border-top: 1px solid #eee;
    }
    .menu.active { 
        max-height: calc(100vh - 75px); 
        padding-bottom: 10px; 
        box-shadow: 0 20px 40px rgba(0,0,0,0.1); 
    }
    
    .menu li { width: 100%; border-bottom: 1px solid #f8f8f8; list-style: none; }
    .menu a { width: 100%; text-align: center; padding: 15px; font-size: 18px; display: block; }
    
    .dropdown-menu {
        position: static; display: none; opacity: 1; visibility: visible;
        box-shadow: none; width: 100%; background: #fcfcfc; transform: none; padding: 0;
        margin: 0;
    }
    .dropdown.open .dropdown-menu { display: block; }
    .dropdown-menu a { 
        font-size: 16px; 
        color: #666; 
        border-top: 1px solid #eee; 
        padding: 12px; 
        background: #fafafa;
    }
}


.slider { overflow: hidden; margin: 40px 0; background: #fafafa; padding: 25px; border-radius: 15px; }
.track { display: flex; width: calc(250px * 10); animation: slide 20s linear infinite; gap: 50px; }
.track img { height: 45px; filter: grayscale(1); opacity: 0.4; }
@keyframes slide { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-250px * 5)); } }

input, textarea { padding: 15px; border-radius: 10px; border: 1px solid #ddd; width: 100%; margin-bottom: 15px; font-size: 17px; }
.btn { background: var(--orange); color: #fff; border: none; padding: 16px 35px; border-radius: 10px; cursor: pointer; font-weight: bold; font-size: 18px; }
