/* css/main.css */
:root {
    --primary-color: #0056b3; /* Корпоративный синий как у интеграторов */
    --secondary-color: #f4f6f8;
    --text-color: #333333;
    --light-text: #666666;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
}

nav a:hover, nav a.active {
    color: var(--primary-color);
}

/* Footer Styles */
footer {
    background: #2c3e50;
    color: var(--white);
    padding: 40px 0;
    margin-top: auto;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-col h4 {
    margin-bottom: 15px;
    color: #bdc3c7;
}

.footer-col p, .footer-col a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
}

/* Common Layout Utilities */
.page-header {
    background: var(--secondary-color);
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section {
    padding: 40px 0;
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 4px;
    transition: box-shadow 0.3s;
    background: var(--white);
}

.card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 15px;
    font-weight: 600;
}

.btn:hover {
    background: #004494;
}

/* Vendors List Style */
.vendors-list {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.vendor-tag {
    background: #eef2f7;
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 600;
}