/* ===== RESET & BASE ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: #333;
    background: #f5f7fa;
}

/* ===== CONTAINER ===== */
.container {
    width: 90%; max-width: 1000px; margin: 0 auto; padding: 20px;
}

/* ===== NAVIGATION ===== */
.main-nav {
    background: #1a3a8f;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    position: sticky; top: 0; z-index: 100;
}
.main-nav .container {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 20px;
}
.main-nav a {
    color: #fff; text-decoration: none; padding: 18px 15px;
    display: inline-block; font-weight: 500; transition: background 0.2s;
}
.main-nav a:hover { background: rgba(255,255,255,0.1); }
.main-nav a.active { background: rgba(255,255,255,0.15); }
.logo { font-size: 1.1em; letter-spacing: 0.5px; }
.nav-links { display: flex; gap: 5px; }

/* ===== HEADER ===== */
header {
    background: linear-gradient(135deg, #1a3a8f, #2a5bd7);
    color: #fff; padding: 50px 0; text-align: center;
}
header h1 { font-size: 2.2em; margin-bottom: 10px; }
header p { font-size: 1.15em; opacity: 0.9; max-width: 700px; margin: 0 auto; }
.page-header {
    background: linear-gradient(135deg, #1a3a8f, #2a5bd7);
    color: #fff; padding: 35px 0; text-align: center;
}
.page-header h1 { font-size: 1.8em; margin: 0; }

/* ===== SECTIONS ===== */
section {
    background: #fff; margin: 30px 0; padding: 35px;
    border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
h2 {
    color: #1a3a8f; border-bottom: 3px solid #e8edf5;
    padding-bottom: 12px; margin: 0 0 20px; font-size: 1.5em;
}
p { margin: 12px 0; }

/* ===== PRICE TABLE ===== */
.price-table-wrapper { overflow-x: auto; }
.price-table {
    width: 100%; border-collapse: collapse; margin-top: 10px; min-width: 600px;
}
.price-table th, .price-table td {
    border: 1px solid #e0e6ed; padding: 14px 18px; text-align: left;
}
.price-table th {
    background: #f0f4fa; color: #1a3a8f; font-weight: 600;
    font-size: 0.95em;
}
.price-table tr:nth-child(even) { background: #fafbfc; }
.price { font-size: 1.2em; font-weight: 700; color: #1a3a8f; white-space: nowrap; }

/* ===== CONTACTS ===== */
.contacts { list-style: none; padding: 0; }
.contacts li {
    padding: 10px 0; border-bottom: 1px dashed #e8edf5;
    display: flex; flex-wrap: wrap;
}
.contacts li strong { min-width: 200px; color: #555; }
.contacts a { color: #2a5bd7; text-decoration: none; }
.contacts a:hover { text-decoration: underline; }

.requisites {
    background: #f0f7ff; border-left: 4px solid #2a5bd7;
    border-radius: 0 8px 8px 0; padding: 22px; margin-top: 20px;
}
.requisites h3 { color: #1a3a8f; margin-bottom: 12px; font-size: 1.1em; }
.requisites p { margin: 6px 0; font-size: 0.95em; }
.note { color: #666; font-style: italic; font-size: 0.95em; margin-top: 20px; }

/* ===== DOCUMENTS TABLE ===== */
.docs-table {
    width: 100%; border-collapse: collapse; background: #fff;
    border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 30px;
}
.docs-table th {
    background: #1a3a8f; color: #fff; text-align: left;
    padding: 16px 20px; font-weight: 600;
}
.docs-table td {
    padding: 14px 20px; border-bottom: 1px solid #e8edf5; vertical-align: top;
}
.docs-table tr:last-child td { border: none; }
.docs-table tr:nth-child(even) { background: #f8fafd; }
.doc-link {
    display: inline-block; background: #2a5bd7; color: #fff;
    padding: 8px 18px; border-radius: 6px; text-decoration: none;
    font-weight: 500; font-size: 0.9em; white-space: nowrap;
    transition: background 0.2s;
}
.doc-link:hover { background: #1a3a8f; }

/* ===== MOBILE DOCS ===== */
.mobile-docs { display: none; }
.doc-card {
    background: #fff; border-radius: 12px; padding: 22px 24px;
    margin-bottom: 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.doc-card h3 { color: #1a3a8f; margin: 0 0 14px; font-size: 1.1em; }
.doc-card p { margin: 10px 0; }
.doc-card .doc-link { display: block; text-align: center; margin: 8px 0; }

/* ===== FOOTER ===== */
footer {
    background: #1e2a3a; color: #aab; text-align: center;
    padding: 30px; margin-top: 50px; font-size: 0.9em;
}
footer a { color: #88aadd; text-decoration: underline; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .main-nav .container { flex-direction: column; padding: 10px; }
    .main-nav a { padding: 14px; width: 100%; text-align: center; }
    .nav-links { width: 100%; flex-direction: column; }
    header { padding: 35px 0; }
    header h1 { font-size: 1.6em; }
    section { padding: 22px; margin: 20px 0; }
    h2 { font-size: 1.3em; }
    .price-table { min-width: 550px; font-size: 0.9em; }
    .price-table th, .price-table td { padding: 10px 12px; }
    .contacts li strong { min-width: 100%; color: #1a3a8f; }
    .docs-table { display: none; }
    .mobile-docs { display: block; }
    .page-header h1 { font-size: 1.4em; }
    .requisites { padding: 16px; }
}

@media (max-width: 480px) {
    .container { width: 95%; padding: 15px; }
    .price-table { min-width: 450px; }
    header h1 { font-size: 1.3em; }
    .price { font-size: 1em; }
}