* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f0e6;
    color: #2d3e2b;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ШАПКА */
.header {
    background: #2d6a4f;
    color: white;
    padding: 1.5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.header h1 {
    font-size: 2rem;
    letter-spacing: 1px;
}

.header p {
    opacity: 0.9;
    margin-top: 5px;
}

/* НАВИГАЦИЯ */
.nav-bar {
    background: #1b4332;
    padding: 0.8rem 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.nav-link {
    background: transparent;
    border: none;
    color: #d8f3dc;
    padding: 8px 20px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 30px;
    transition: 0.2s;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
}

.nav-link:hover {
    background: #40916c;
    color: white;
}

.nav-link.active {
    background: #ffb703;
    color: #1b4332;
    font-weight: bold;
}

/* ОСНОВНОЙ КОНТЕНТ */
.main-content {
    flex: 1;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    width: 100%;
}

.page-card {
    background: white;
    border-radius: 28px;
    padding: 2rem 2rem 2.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.page-title {
    font-size: 1.8rem;
    color: #1b4332;
    border-left: 5px solid #ffb703;
    padding-left: 18px;
    margin-bottom: 1.5rem;
}

/* стили для секций внутри страницы "Сведения" */
.info-section {
    margin-bottom: 2rem;
}
.info-section h3 {
    color: #1b4332;
    margin: 1.5rem 0 0.8rem 0;
    font-size: 1.3rem;
    border-bottom: 2px solid #e9e0cf;
    padding-bottom: 5px;
}
.info-list {
    list-style: none;
    padding-left: 0;
}
.info-list li {
    margin: 8px 0;
    padding-left: 18px;
    border-left: 3px solid #ffb703;
}
.sub-list {
    list-style: disc;
    margin-top: 6px;
    margin-left: 25px;
    padding-left: 0;
}
.sub-list li {
    border-left: none;
    padding-left: 0;
    list-style: disc;
}

/* цитата */
.quote {
    background: #e9f5e9;
    padding: 1.5rem;
    border-radius: 20px;
    font-style: italic;
    margin: 1.2rem 0;
    border-left: 4px solid #2d6a4f;
}

.quote h4 {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-style: normal;
}

.author {
    text-align: right;
    margin-top: 10px;
    font-weight: 500;
    color: #52796f;
}

.content-img {
    text-align: center;
    margin: 1.5rem 0;
}

.content-img img {
    max-width: 100%;
    border-radius: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.download-area {
    background: #eef2e6;
    padding: 1.2rem 1.5rem;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 1.8rem;
}

.download-btn {
    background: #ff9f1c;
    border: none;
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: bold;
    color: #2d3e2b;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.2s;
    text-decoration: none;
    display: inline-block;
}

.download-btn:hover {
    background: #e88500;
    transform: scale(0.97);
}

.contact-row {
    margin: 15px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.contact-label {
    font-weight: 700;
    width: 110px;
    color: #2d6a4f;
}

/* ПОДВАЛ */
.footer {
    background: #1e2f1c;
    color: #e2e0d4;
    margin-top: 2rem;
    padding: 2rem 2rem 1.5rem;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-col h4 {
    color: #ffb703;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin: 8px 0;
}

.footer-col a {
    color: #ddd6c5;
    text-decoration: none;
    transition: 0.2s;
}

.footer-col a:hover {
    color: #ffb703;
    text-decoration: underline;
}

.footer-copyright {
    text-align: center;
    padding-top: 1.5rem;
    font-size: 0.8rem;
    border-top: 1px solid #3e5038;
    margin-top: 1rem;
    grid-column: 1/-1;
}

.legal-links {
    margin-top: 0.5rem;
}
.legal-links li {
    margin: 10px 0;
}
.legal-links a {
    font-size: 0.9rem;
}

@media (max-width: 700px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .download-area {
        flex-direction: column;
        align-items: flex-start;
    }
    .contact-label {
        width: 100%;
    }
}