* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    color: #2d3748;
    line-height: 1.6;
    padding: 20px;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    padding: 0;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

/* ===== Стили для header с фоновым изображением ===== */
.main-header {
    margin-bottom: 40px;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.header-background {
    background-image: url('ve.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    min-height: 280px;
}

.header-overlay {
    background: linear-gradient(90deg, 
        rgba(26, 54, 93, 0.85) 0%, 
        rgba(44, 82, 130, 0.78) 30%, 
        rgba(44, 82, 130, 0.65) 100%);
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.header-logo-section {
    display: flex;
    align-items: center;
    gap: 25px;
    flex: 1;
    min-width: 300px;
}

.logo-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.logo-text {
    color: #1a365d;
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 1px;
}

.header-text h1 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.header-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    font-style: italic;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.header-contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 250px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 1rem;
}

.contact-icon {
    font-size: 1.2rem;
    opacity: 0.9;
}

.contact-text {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.header-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.company-slogan {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    max-width: 800px;
}

.slogan-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* ===== Main Content ===== */
main {
    padding: 0 40px 40px;
}

.section-title {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.section-title h2 {
    color: #2d3748;
    font-size: 1.7rem;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.title-icon {
    font-size: 1.4rem;
}

.section-subtitle {
    color: #718096;
    font-size: 1.05rem;
}

/* Documents Header (Desktop) */
.documents-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    padding: 15px 20px;
    background: #f7fafc;
    border-radius: 8px 8px 0 0;
    border: 1px solid #e2e8f0;
    border-bottom: none;
    font-weight: 600;
    color: #2c5282;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Documents List */
.documents-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: #e2e8f0;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.document-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    padding: 25px;
    background: white;
    transition: all 0.3s ease;
    align-items: center;
}

.document-item:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.document-info {
    flex: 1;
}

.doc-title {
    display: flex;
    align-items: center;
    gap: 18px;
}

.doc-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.doc-icon.pdf {
    background-color: #fff5f5;
    color: #c53030;
    border: 2px solid #fed7d7;
}

.doc-icon.excel {
    background-color: #f0fff4;
    color: #276749;
    border: 2px solid #c6f6d5;
}

.doc-icon.doc {
    background-color: #ebf8ff;
    color: #2c5282;
    border: 2px solid #bee3f8;
}

.doc-name {
    font-weight: 600;
    color: #2d3748;
    font-size: 1.15rem;
    margin-bottom: 6px;
    line-height: 1.4;
}

.doc-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: #718096;
    font-size: 0.9rem;
}

.doc-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.doc-date::before {
    content: "📅";
    font-size: 0.9em;
}

.doc-size {
    color: #a0aec0;
    font-weight: 500;
}

/* Download Button */
.document-action {
    flex-shrink: 0;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #2c5282 0%, #1a365d 100%);
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 160px;
    box-shadow: 0 4px 8px rgba(44, 82, 130, 0.2);
    font-size: 0.95rem;
}

.download-btn:hover {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(44, 82, 130, 0.3);
}

.btn-icon {
    font-size: 1.1rem;
}

/* Info Note */
.info-note {
    margin-top: 40px;
    padding: 25px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e6f7ff 100%);
    border-left: 5px solid #2c5282;
    border-radius: 10px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-icon {
    font-size: 1.8rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.info-content h4 {
    color: #2c5282;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.info-content p {
    color: #2d3748;
    margin-bottom: 15px;
    line-height: 1.6;
}

.note-tips {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.tip {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4a5568;
    font-size: 0.9rem;
}

.tip-icon {
    font-size: 1.1rem;
}

.info-note code {
    background-color: #e2e8f0;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #2d3748;
}

/* ===== Footer ===== */
footer {
    margin-top: 50px;
    padding: 35px 40px;
    border-top: 1px solid #e2e8f0;
    background: #f7fafc;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 25px;
}

.footer-section h3 {
    color: #2c5282;
    font-size: 1.1rem;
    margin-bottom: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.address, .work-hours {
    color: #4a5568;
    line-height: 1.7;
}

.address-icon {
    margin-right: 8px;
    font-size: 1.1rem;
}

.quick-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quick-links a {
    color: #4a5568;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

.quick-links a:hover {
    color: #2c5282;
    text-decoration: underline;
}

.footer-copyright {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid #e2e8f0;
    color: #718096;
    font-size: 0.9rem;
}

.copyright-note {
    margin-top: 8px;
    font-size: 0.85rem;
    color: #a0aec0;
}

/* ===== Анимации ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.document-item {
    animation: fadeIn 0.3s ease-out;
}

.document-item:nth-child(1) { animation-delay: 0.1s; }
.document-item:nth-child(2) { animation-delay: 0.2s; }
.document-item:nth-child(3) { animation-delay: 0.3s; }
.document-item:nth-child(4) { animation-delay: 0.4s; }
.document-item:nth-child(5) { animation-delay: 0.5s; }
.document-item:nth-child(6) { animation-delay: 0.6s; }

/* ===== Адаптивность ===== */

/* Адаптивность для header */
@media (max-width: 1200px) {
    .header-text h1 {
        font-size: 2.4rem;
    }
    
    .header-overlay {
        padding: 35px;
    }
}

@media (max-width: 992px) {
    .header-top {
        flex-direction: column;
        gap: 25px;
    }
    
    .header-logo-section {
        width: 100%;
        min-width: auto;
    }
    
    .header-contacts {
        width: 100%;
        min-width: auto;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .contact-item {
        flex: 1;
        min-width: 200px;
    }
    
    .header-background {
        min-height: 320px;
    }
    
    .header-text h1 {
        font-size: 2.2rem;
    }
    
    .document-item {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .document-action {
        width: 100%;
    }
    
    .download-btn {
        width: 100%;
        min-width: auto;
    }
    
    .documents-header {
        display: none;
    }
    
    main {
        padding: 0 30px 30px;
    }
}

@media (max-width: 768px) {
    body {
        padding: 15px;
    }
    
    .container {
        border-radius: 12px;
    }
    
    .header-overlay {
        padding: 25px;
    }
    
    .header-logo-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .header-text h1 {
        font-size: 2rem;
    }
    
    .header-subtitle {
        font-size: 1.1rem;
    }
    
    .company-slogan {
        font-size: 1.1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .header-background {
        min-height: 350px;
    }
    
    .logo-circle {
        width: 70px;
        height: 70px;
    }
    
    .logo-text {
        font-size: 24px;
    }
    
    .doc-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .doc-details {
        flex-direction: column;
        gap: 8px;
    }
    
    .info-note {
        flex-direction: column;
        padding: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .note-tips {
        flex-direction: column;
    }
    
    main {
        padding: 0 25px 25px;
    }
    
    footer {
        padding: 30px 25px;
    }
}

@media (max-width: 576px) {
    body {
        padding: 10px;
    }
    
    .container {
        border-radius: 10px;
    }
    
    .header-overlay {
        padding: 20px;
    }
    
    .header-text h1 {
        font-size: 1.7rem;
    }
    
    .header-subtitle {
        font-size: 1rem;
    }
    
    .header-contacts {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-item {
        min-width: auto;
        width: 100%;
    }
    
    .company-slogan {
        font-size: 1rem;
    }
    
    .header-background {
        min-height: 380px;
    }
    
    .logo-circle {
        width: 60px;
        height: 60px;
    }
    
    .logo-text {
        font-size: 22px;
    }
    
    .section-title h2 {
        font-size: 1.4rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .title-icon {
        align-self: flex-start;
    }
    
    .document-item {
        padding: 18px;
    }
    
    .doc-name {
        font-size: 1.1rem;
    }
    
    .footer-copyright {
        font-size: 0.85rem;
    }
    
    main {
        padding: 0 20px 20px;
    }
    
    footer {
        padding: 25px 20px;
    }
}

@media (max-width: 400px) {
    .header-text h1 {
        font-size: 1.5rem;
    }
    
    .header-subtitle {
        font-size: 0.95rem;
    }
    
    .contact-item {
        font-size: 0.9rem;
    }
    
    .company-slogan {
        font-size: 0.95rem;
    }
    
    .doc-icon {
        width: 42px;
        height: 42px;
    }
}

/* Mobile-only styles */
.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
}

/* Альтернативный вариант фона с более сильным засветлением */
.header-background.alternative {
    background-image: url('ve.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.header-background.alternative::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(26, 54, 93, 0.7) 0%, 
        rgba(44, 82, 130, 0.6) 50%, 
        rgba(255, 255, 255, 0.3) 100%);
    backdrop-filter: blur(5px);
}

.header-background.alternative .header-overlay {
    background: none;
    position: relative;
    z-index: 2;
}