html {
    height: 100%;
}

body {
    margin: 0;
    font-family: 'Courier New', Courier, monospace, sans-serif;
    font-size: 14px;
    color: #2d3033;
    background-color: #fff;
    position: relative;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    padding-top: 100px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6,
ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: hidden;
}

.cf:before, .cf:after {
    content: " ";
    display: table;
}
.cf:after {
    clear: both;
}
.cf {
    *zoom: 1;
}

/* Header */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 25px rgba(0,0,0,0.1);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 3px solid #ffdd10;
}

.header__logo {
    font-size: 26px;
    font-weight: 800;
    color: #34495e;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Menu */
.menu {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.menu > li {
    position: relative;
    background: linear-gradient(135deg, #34495e, #2d3033);
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 15px rgba(52,73,94,0.3);
}

.menu > li > a {
    display: block;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 14px 24px;
    transition: all 0.4s ease;
    border-radius: 8px;
}

.menu > li:hover {
    background: linear-gradient(135deg, #ffdd10, #fff);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255,221,16,0.4);
}

.menu > li:hover > a {
    color: #34495e;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(52,73,94,0.3);
}



/* Contacts */
.contacts {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(52,73,94,0.92), rgba(255,221,16,0.15)),
                url('Images/yellow-tools-frame-with-copy-space.png') no-repeat center / cover;
    padding: 120px 20px 80px;
    text-align: center;
    position: relative;
}

.contacts__inner {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(15px);
    padding: 60px 40px;
    border-radius: 25px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
    border: 3px solid rgba(255,221,16,0.3);
}

.contacts__title {
    font-size: clamp(48px, 8vw, 72px);
    color: #34495e;
    font-weight: 900;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.contacts__title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, #ffdd10, #34495e);
    border-radius: 3px;
}

.contacts__text {
    font-size: clamp(20px, 4vw, 28px);
    color: #2d3033;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255,255,255,0.7);
    border-radius: 15px;
    border-left: 6px solid #ffdd10;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2d3033 0%, #1a1f26 100%);
    color: #fff;
}

.footer__inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 80px 20px;
}

.footer__block {
    text-align: center;
}

.footer__title {
    margin-bottom: 25px;
    font-size: 16px;
    font-weight: 800;
    color: #ffdd10;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer__text {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
}

.footer__text p,
.footer__text div {
    margin-bottom: 15px;
}

.copyright {
    padding: 30px 20px;
    background: #1a1f26;
    text-align: center;
    border-top: 2px solid #ffdd10;
}

.copyright__text {
    font-size: 14px;
    color: #ccc;
}

.copyright__text span {
    color: #ffdd10;
    font-weight: 700;
}

/* Кнопка наверх */
.footer-up {
    position: fixed;
    bottom: 35px;
    right: 30px;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    cursor: pointer;
    background: linear-gradient(135deg, #ffdd10, #fff);
    border: 6px solid #34495e;
    box-shadow: 0 12px 35px rgba(255,221,16,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 20px;
    font-weight: bold;
    color: #34495e;
}

.footer-up:hover {
    transform: scale(1.2) rotate(360deg);
    box-shadow: 0 20px 50px rgba(255,221,16,0.6);
}

/* Адаптивность */
@media (max-width: 991px) {
    body {
        padding-top: 90px;
    }
    
    .header__inner {
        padding: 15px 0;
    }
    
    .contacts {
        padding: 100px 15px 60px;
        min-height: 70vh;
    }
    
    .contacts__inner {
        padding: 40px 25px;
    }
    
    .footer__inner {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-up {
        width: 65px;
        height: 65px;
        bottom: 25px;
        right: 25px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .contacts__inner {
        padding: 30px 20px;
        margin: 0 10px;
    }
    
    .contacts__title {
        font-size: 36px;
    }
    
    .contacts__text {
        font-size: 20px;
        padding: 20px;
    }
    
    .footer-up {
        width: 60px;
        height: 60px;
        right: 20px;
        bottom: 20px;
    }
}
