/* Основные переменные для цветов */
:root {
    --primary-color: #2563eb;
    --secondary-color: #f3f6fc;
    --accent-color: #60a5fa;
    --text-color: #1a1a1a;
    --border-radius: 12px;
    --shadow: 0 4px 24px 0 rgba(37, 99, 235, 0.08);
    --transition: 0.2s cubic-bezier(.4,0,.2,1);
    --background-gradient: linear-gradient(135deg, #e0e7ff 0%, #f3f6fc 100%);
}

body {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    background: var(--background-gradient);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.main-content {
    max-width: 800px;
    margin: 40px auto;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 40px 32px;
    animation: fadeIn 0.8s;
}

h1, h2 {
    color: var(--primary-color);
    margin-top: 0;
    letter-spacing: 0.5px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

ul li {
    background: var(--secondary-color);
    margin-bottom: 12px;
    padding: 14px 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px 0 rgba(37,99,235,0.04);
    font-size: 1.08rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background var(--transition), box-shadow var(--transition);
}

ul li::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
    margin-right: 10px;
}

ul li:hover {
    background: #e0e7ff;
    box-shadow: 0 4px 16px 0 rgba(37,99,235,0.10);
}

section {
    margin-bottom: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: var(--secondary-color);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px 0 rgba(37,99,235,0.04);
}

.contact-form label {
    font-weight: 500;
    color: var(--primary-color);
}

.contact-form input,
.contact-form textarea {
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: var(--border-radius);
    font-size: 1rem;
    background: #fff;
    transition: border var(--transition), box-shadow var(--transition);
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border: 1.5px solid var(--primary-color);
    box-shadow: 0 0 0 2px #2563eb22;
}

.contact-form button {
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: var(--border-radius);
    padding: 12px 0;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition), box-shadow var(--transition);
    box-shadow: 0 2px 8px 0 rgba(37,99,235,0.08);
}

.contact-form button:hover {
    background: var(--accent-color);
    box-shadow: 0 4px 16px 0 rgba(37,99,235,0.12);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px);}
    to { opacity: 1; transform: translateY(0);}
}

/* Уникальный стиль для header */
header {
    position: static;
    width: 100%;
    background: linear-gradient(90deg, #2563eb 0%, #60a5fa 100%);
    box-shadow: 0 4px 24px 0 rgba(37,99,235,0.10);
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
    padding-bottom: 8px;
    z-index: 100;
    animation: headerFadeIn 1s;
}

@keyframes headerFadeIn {
    from { opacity: 0; transform: translateY(-30px);}
    to { opacity: 1; transform: translateY(0);}
}

header .logo {
    display: flex;
    align-items: center;
    justify-content: center; /* Центрируем логотип */
    padding: 22px 48px 10px 48px;
}

header .logo h1 {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin: 0;
    text-shadow: 0 2px 12px #2563eb55;
    background: none; /* Убираем градиент */
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    text-align: center;
}

header nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 10px;
}

header nav ul {
    display: flex;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Кнопки меню — чёрный текст, убираем точки */
header nav ul {
    display: flex;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}

header nav ul li {
    background: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

header nav ul li a {
    color: #111 !important;
    background: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 10px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    position: relative;
    z-index: 1;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px 0 #2563eb11;
    display: flex;
    align-items: center;
}

/* Активная кнопка Home */
header nav ul li.active a,
header nav ul li a.active {
    background: var(--primary-color);
    color: #fff !important;
    box-shadow: 0 2px 16px 0 #2563eb44;
    pointer-events: none;
}

@media (max-width: 600px) {
    .main-content {
        padding: 18px 6px;
    }
    h1 {
        font-size: 1.5rem;
    }
    h2 {
        font-size: 1.1rem;
    }
}

@media (max-width: 700px) {
    header .logo {
        padding: 12px 12px 6px 12px;
    }
    header .logo h1 {
        font-size: 1.2rem;
    }
    header nav ul {
        gap: 12px;
    }
    header nav ul li a {
        font-size: 0.98rem;
        padding: 6px 10px;
    }
}