:root {
    --primary-color: #4a7eb9;       /* Основной цвет - приглушённый голубой */
    --primary-dark: #3a6ea5;        /* Тёмный вариант */
    --primary-light: #a8c6e0;       /* Светлый вариант */
    --primary-extra-light: #e1ebf5;  /* Очень светлый */
    --background-light: #f5f8fa;     /* Фоновый светлый */
    --background-blue: #e6f0f8;      /* Голубоватый фон */
    --text-color: #4a5568;           /* Основной цвет текста */
    --text-light: #718096;           /* Светлый текст */
    --white: #ffffff;                /* Чистый белый */
    --border-color: #dae1e7;         /* Цвет границ */
    --shadow-color: rgba(74, 126, 185, 0.1); /* Цвет теней */
}


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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.block {
    padding: 50px 0;
    border-bottom: 1px solid var(--border-color);
}

.block:last-child {
    border-bottom: none;
}

h1, h2, h3 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.about-company {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.company-logo {
    width: 200px;
    height: 200px;
    background-color: var(--primary-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    max-width: none;
    max-height: none;
}


.requisites {
    background-color: var(--background-light);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    line-height: 1.8;
}

.requisites p {
    margin-bottom: 0.8rem;
}

.payment-notes {
    display: flex;
    gap: 1.5rem;
}

.payment-column {
    flex: 1;
    background-color: var(--background-blue);
    padding: 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.payment-column:hover {
    transform: translateY(-5px);
}

.payment-column h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-light);
}

.payment-column p {
    margin-bottom: 0.8rem;
    padding-left: 0.5rem;
}

.user-agreement {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: 8px;
    max-height: 400px;
    overflow-y: auto;
    line-height: 1.7;
}

.user-agreement h3 {
    margin: 1.5rem 0 1rem;
    color: var(--primary-dark);
}

.user-agreement p {
    margin-bottom: 0.8rem;
}

footer {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

footer p {
    margin-bottom: 0.5rem;
    color: var(--white);
}

@media (max-width: 768px) {
    .about-company, .payment-notes {
        flex-direction: column;
    }

    .company-logo {
        margin-bottom: 2rem;
    }

    .payment-column {
        margin-bottom: 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
    }

    .requisites, .user-agreement {
        padding: 1.5rem;
    }
}

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

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s;
}

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

.main-nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.main-nav a:hover:after {
    width: 100%;
}


html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 80px;
}
