* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 30px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    gap: 30px;
    width: 1200px;
    margin: 20px auto;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(100, 116, 139, 0.1);
}

.header_left {
    display: flex;
    align-items: center;
    gap: 50px;
}

.logo img {
    height: 55px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

nav ul li a {
    text-decoration: none;
    color: #334155;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #f97316, #fb923c);
    transition: width 0.3s ease;
    border-radius: 2px;
}

nav ul li a:hover::after {
    width: 100%;
}

.search_form {
    flex: 1;
    max-width: 450px;
    margin-left: 20px;
    position: relative;
}

.search_form input {
    padding: 12px 20px 12px 25px;
    border-radius: 10px;
    border: 2px solid rgba(249, 115, 22, 0.2);
    outline: none;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    font-size: 15px;
    text-align: left;
    color: #1e293b;
}

.search_form input:focus {
    border-color: #f97316;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.15);
    transform: translateY(-1px);
}

.search_form input::placeholder {
    color: #94a3b8;
    font-size: 14px;
}

.header_right {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.contact_block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.phone {
    font-size: 19px;
    font-weight: bold;
    color: #f97316;
    text-decoration: none;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
}

.phone:hover {
    color: #fb923c;
}

.work_time {
    font-size: 13px;
    color: #64748b;
    background: rgba(255, 255, 255, 0.8);
    padding: 2px 8px;
    border-radius: 20px;
}

.header_btn {
    margin-top: 8px;
    text-decoration: none;
    background: linear-gradient(135deg, #f97316, #fb923c);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
    border: none;
    cursor: pointer;
}

.header_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.35);
    background: linear-gradient(135deg, #fb923c, #fdba74);
}

@media (max-width: 1250px) {
    header {
        width: 95%;
        padding: 12px 20px;
        gap: 20px;
        margin: 15px auto;
    }
    
    .header_left {
        gap: 30px;
    }
    
    nav ul {
        gap: 25px;
    }
    
    .search_form {
        max-width: 350px;
    }
}

@media (max-width: 968px) {
    header {
        flex-wrap: wrap;
        gap: 15px;
        border-radius: 15px;
    }
    
    .header_left {
        flex: 1;
    }
    
    .search_form {
        order: 3;
        max-width: 100%;
        margin-left: 0;
        flex-basis: 100%;
    }
    
    .header_right {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    header {
        padding: 12px 15px;
    }
    
    .header_left {
        gap: 20px;
    }
    
    .logo img {
        height: 45px;
    }
    
    nav ul {
        gap: 20px;
    }
    
    nav ul li a {
        font-size: 16px;
    }
    
    .phone {
        font-size: 16px;
    }
    
    .work_time {
        font-size: 11px;
    }
    
    .header_btn {
        padding: 8px 18px;
        font-size: 13px;
    }
}

@media (max-width: 580px) {
    .header_left {
        width: 100%;
        justify-content: space-between;
    }
    
    .header_right {
        width: 100%;
        justify-content: center;
    }
    
    .contact_block {
        align-items: center;
        width: 100%;
    }
    
    nav ul {
        gap: 15px;
    }
    
    nav ul li a {
        font-size: 14px;
    }
}

footer {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    margin-top: 60px;
    padding: 50px 0 20px 0;
}

.footer_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.footer_column h3 {
    color: #1e293b;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer_column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #f97316, #fb923c);
    border-radius: 3px;
}

.footer_column p {
    color: #475569;
    line-height: 1.6;
    font-size: 14px;
    margin-top: 15px;
}

.contact_info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact_info div {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #475569;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.contact_info div:hover {
    transform: translateX(5px);
}

.contact_info div span:first-child {
    font-weight: 600;
    color: #1e293b;
    min-width: 70px;
}

.contact_info div span:last-child {
    color: #64748b;
}

.footer_bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 20px 20px 0;
    border-top: 1px solid rgba(100, 116, 139, 0.2);
    text-align: center;
}

.footer_bottom p {
    color: #64748b;
    font-size: 13px;
}

@media (max-width: 768px) {
    footer {
        padding: 40px 0 20px 0;
        margin-top: 40px;
    }
    
    .footer_container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer_column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact_info div {
        justify-content: center;
    }
    
    .contact_info div:hover {
        transform: translateX(0);
    }
    
    .footer_bottom {
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .footer_container {
        padding: 0 15px;
        gap: 30px;
    }
    
    .footer_column h3 {
        font-size: 18px;
    }
    
    .contact_info div {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .contact_info div span:first-child {
        min-width: auto;
    }
    
    .footer_bottom p {
        font-size: 11px;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    position: relative;
    background: white;
    margin: 50px auto;
    max-width: 500px;
    width: 90%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
    overflow: hidden;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background: linear-gradient(135deg, #f97316, #fb923c);
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.modal-header h3 {
    font-size: 24px;
    margin: 0;
    font-weight: 600;
}

.modal-close {
    font-size: 32px;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    transform: rotate(90deg);
    color: #ffe4cc;
}

.modal-body {
    padding: 30px 25px;
}

.modal-description {
    color: #64748b;
    margin-bottom: 25px;
    font-size: 14px;
    text-align: center;
}

.modal-form .form-group {
    margin-bottom: 20px;
}

.modal-form label {
    display: block;
    margin-bottom: 8px;
    color: #1e293b;
    font-weight: 500;
    font-size: 14px;
}

.modal-form input,
.modal-form select,
.modal-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.modal-form textarea {
    resize: vertical;
    min-height: 80px;
}

.modal-form .checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-form .checkbox input {
    width: auto;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.modal-form .checkbox label {
    margin: 0;
    font-size: 12px;
    cursor: pointer;
    color: #64748b;
}

.btn_submit_modal {
    width: 100%;
    background: linear-gradient(135deg, #f97316, #fb923c);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn_submit_modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.btn_submit_modal:active {
    transform: translateY(0);
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1100;
    display: none;
    animation: slideInRight 0.3s ease;
    max-width: 400px;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification-content {
    background: white;
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-left: 4px solid;
}

.notification.success .notification-content {
    border-left-color: #10b981;
}

.notification.error .notification-content {
    border-left-color: #ef4444;
}

.notification-icon {
    font-size: 24px;
}

.notification-content h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #1e293b;
}

.notification-content p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

.notification-close {
    cursor: pointer;
    font-size: 20px;
    color: #94a3b8;
    transition: color 0.3s ease;
    margin-left: auto;
}

.notification-close:hover {
    color: #1e293b;
}

@media (max-width: 768px) {
    .modal-content {
        margin: 20px auto;
        width: 95%;
    }
    
    .modal-header h3 {
        font-size: 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .notification {
        left: 20px;
        right: 20px;
        max-width: none;
    }
}