/* --- Общие настройки --- */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* --- Сброс базовых стилей --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--color-text-dark);
    background-color: var(--color-bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

body.no-scroll {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- Утилитарные классы --- */
.link-primary {
    color: var(--color-primary);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.link-primary:hover {
    color: var(--color-primary-hover);
    text-decoration: none;
}

.mb-40 { margin-bottom: 40px; }
.mb-80 { margin-bottom: 80px; }
.mt-neg-30 { margin-top: -30px; }
.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }
.mt-10 { margin-top: 10px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }
.mb-15 { margin-bottom: 15px; }
.mb-10 { margin-bottom: 10px; }
.ml-10 { margin-left: 10px; }
.fs-14 { font-size: 14px; }
.fs-18 { font-size: 18px; }
.fs-24 { font-size: 24px; }
.fs-26 { font-size: 26px; }
.fw-700 { font-weight: 700; }
.text-primary { color: var(--color-primary); }
.text-light { color: var(--color-bg-light); }

/* Ссылки на темном фоне */
.link-light {
    color: var(--color-bg-light);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px dashed rgba(255,255,255,0.5);
    transition: border-bottom-color 0.3s ease, opacity 0.3s ease;
}

.link-light:hover {
    color: var(--color-bg-light);
    border-bottom-color: transparent;
    opacity: 0.8;
}

/* --- Общие классы для секций --- */
.section-padding {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 40px 0;
    }
}

.section-title {
    font-size: 36px;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 50px;
    color: var(--color-text-dark);
}

.section-bg-light {
    background-color: var(--color-bg-alt);
}

.notes-list {
    list-style-type: none;
    padding-left: 0;
    margin: 10px 0;
}

.notes-list li {
    margin-bottom: 5px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}