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

body {
    font-family: 'Times New Roman', Times, serif;
    background: #e6e6e6;
    color: #000;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    padding: 30px 35px 20px 35px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

/* ===== СТРАНИЦЫ ===== */
.page {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px dashed #aaa;
}

.page-2 {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* ===== ШАПКА С ЛОГОТИПАМИ ===== */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #000;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.header-left,
.header-right {
    flex: 0 0 160px;
    text-align: center;
}

.header-center {
    flex: 2;
    text-align: center;
    font-size: 0.8rem;
}

.org-name {
    font-size: 0.75rem;
    line-height: 1.3;
}

.org-short {
    font-size: 1rem;
    margin-top: 3px;
}

.logo {
    max-width: 100%;
    max-height: 75px;
    height: auto;
    width: auto;
}

/* ===== ТРИ КОЛОНКИ ===== */
.three-columns {
    display: flex;
    gap: 25px;
}

.col {
    flex: 1;
    font-size: 0.8rem;
    line-height: 1.5;
    min-width: 0;
}

.col p {
    margin-bottom: 6px;
    text-align: justify;
}

/* ===== КОЛОНКА 1 (ЛЕВАЯ) ===== */
.col-1 h1 {
    font-size: 0.95rem;
    font-weight: normal;
    text-align: center;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.col-1 h2 {
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 4px;
}

.col-1 h3 {
    font-size: 0.8rem;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.col-1 h4 {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2px;
}

.col-1 .date {
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.col-1 .info-title {
    text-align: center;
    font-size: 0.7rem;
    font-weight: bold;
    letter-spacing: 2px;
    margin-top: 5px;
    text-transform: uppercase;
}

.col-1 h5 {
    font-size: 0.9rem;
    font-weight: bold;
    text-align: center;
    letter-spacing: 1px;
    margin: 10px 0 8px 0;
}

/* ===== КОЛОНКА 2 (ЦЕНТРАЛЬНАЯ) ===== */
.col-2 ol {
    padding-left: 20px;
    margin: 8px 0;
}

.col-2 ol li {
    margin-bottom: 4px;
    text-align: justify;
}

.highlight {
    font-weight: bold;
    color: #b22222;
}

/* ===== КОЛОНКА 3 (ПРАВАЯ) ===== */
.col-3 h5 {
    font-size: 0.9rem;
    font-weight: bold;
    margin: 10px 0 8px 0;
    text-align: center;
    letter-spacing: 1px;
}

.col-3 p {
    margin-bottom: 4px;
}

/* ===== ФОРМА ЗАЯВКИ ===== */
.app-form {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.7rem;
    background: #f9f9f9;
    padding: 10px 12px;
    border: 1px dashed #003366;
    border-radius: 3px;
    margin: 8px 0;
    line-height: 1.8;
}

.app-form p {
    font-family: 'Courier New', Courier, monospace;
    margin-bottom: 1px;
}

.download-area {
    text-align: center;
    margin-top: 10px;
}

.download-btn {
    display: inline-block;
    background: #003366;
    color: #fff !important;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-family: 'Times New Roman', Times, serif;
    border-radius: 4px;
    text-decoration: none !important;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
}

.download-btn:hover {
    background: #002244;
    text-decoration: none !important;
}

.small-note {
    font-size: 0.7rem !important;
    margin-top: 6px !important;
}

.small-note a {
    word-break: break-all;
}

a {
    color: #003366;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ===== ПОДВАЛ ===== */
.footer {
    margin-top: 25px;
    padding-top: 12px;
    border-top: 1px solid #ccc;
    text-align: center;
    font-size: 0.7rem;
    color: #555;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 992px) {
    .three-columns {
        flex-direction: column;
        gap: 15px;
    }

    .header-top {
        flex-direction: column;
        text-align: center;
    }

    .header-left,
    .header-right {
        flex: 1 1 auto;
    }

    .header-center {
        margin: 10px 0;
    }

    .col {
        font-size: 0.95rem;
    }

    .app-form {
        font-size: 0.85rem;
    }

    .col-1 h1 {
        font-size: 1.1rem;
    }

    .col-1 h2 {
        font-size: 1.2rem;
    }

    .col-1 h3 {
        font-size: 0.95rem;
    }

    .col-1 h4 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 15px 12px;
    }

    .col {
        font-size: 0.85rem;
    }

    .app-form {
        font-size: 0.7rem;
        padding: 8px 10px;
    }

    .download-btn {
        font-size: 0.9rem;
        padding: 8px 20px;
        width: 100%;
        text-align: center;
    }
}