.site-container {
    max-width: 900px;
    margin: 0 auto;
    background: #fafdff;
    box-shadow: 0 2px 12px rgba(41,128,185,0.08);
    border-radius: 0 0 16px 16px;
}
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f3f4f6;
    margin: 0;
    padding: 0;
}
header {
    position: relative;
    width: 100%;
    height: 40vw;
    max-height: 514px;
    min-height: 180px;
    margin-top: 5px;
    overflow: hidden;
}
@media (max-width: 600px) {
    header {
        height: 180px;
        min-height: 120px;
    }
}
header::before {
    content: none;
}
.header-img-adaptive {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
    display: block;
}
header::after {
    content: none;
}
header {
    min-height: 220px;
}
main {
    max-width: 900px;
    margin: 48px auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
    margin-bottom: 24px;
}
nav a {
    color: #333;
    font-size: 1.15em;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 6px;
    transition: background 0.2s;
}
nav a:hover {
    background: #e0eafc;
}
section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(41,128,185,0.08);
    padding: 32px 28px;
    margin-bottom: 0;
}
h2 {
    color: #333;
    margin-top: 0;
    font-size: 2em;
}
ul {
    padding-left: 24px;
    font-size: 1.1em;
}
.contacts {
    background: #ffe680;
    border: 2px solid #959ca1;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(41,128,185,0.08);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}
.contacts a {
    color: #333;
    text-decoration: underline;
    font-weight: 500;
}
.contacts strong {
    color: #333;
}
.btn {
    display: inline-block;
    background: #2980b9;
    color: #fff;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    margin-top: 18px;
    transition: background 0.2s;
}
.btn:hover {
    background: #2574a9;
}
footer {
    text-align: center;
    padding: 28px 0;
    color: #333;
    font-size: 1em;
    background: #f1f3f3;
    border-top: 1px solid #cfdef3;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .site-container {
        border-radius: 0;
    }

    nav {
        flex-wrap: wrap;
        gap: 12px;
    }

    nav a {
        font-size: 1em;
        padding: 6px 12px;
    }

    nav span {
        width: 100%;
        text-align: center;
        margin-left: 0 !important;
        margin-top: 8px;
    }

    main {
        margin: 24px auto;
        gap: 20px;
    }

    section {
        padding: 20px 16px;
    }

    h2 {
        font-size: 1.6em;
    }

    #contacts {
        flex-direction: column !important;
        align-items: center !important;
    }

    #contacts > div:last-child {
        display: flex;
        gap: 12px;
        justify-content: center;
        margin-top: 16px;
    }

    #contacts > div:last-child img {
        max-width: 80px !important;
        margin-bottom: 0 !important;
    }

    ul {
        padding-left: 20px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    header {
        height: 200px;
    }

    nav {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    nav a {
        width: 100%;
        text-align: center;
        padding: 10px 16px;
        background: #f5f5f5;
    }

    nav span {
        width: 100%;
        text-align: center;
    }

    section {
        padding: 16px 12px;
    }

    h2 {
        font-size: 1.4em;
    }

    p, li {
        font-size: 0.95em;
    }

    .contacts {
        padding: 16px 12px;
    }
}
