/**
 * БФ «Ева» — Базовые стили, сброс отступов и типографика
 */

/* ==========================================================================
   Базовый сброс, типографика, контейнеры
   ========================================================================== */

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

html {
    overflow-x: hidden;
    width: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', sans-serif;
    letter-spacing: -0.02em;
    font-weight: 700;
    overflow-wrap: break-word;
    word-break: normal;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 25px;
}

/* ==========================================================================
   Элементы типографики и раскладки
   ========================================================================== */

/* Базовые элементы типографики и раскладки */
.page-container {
    padding-top: 50px;
    padding-bottom: 70px;
}
.page-container--narrow {
    max-width: 960px;
}
.page-container--medium {
    max-width: 1100px;
}
.page-title-main {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-family: 'Manrope', sans-serif;
}
@media (max-width: 600px) {
    .page-title-main {
        font-size: 26px;
        margin-bottom: 14px;
    }
}
.page-lead-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 40px;
}
@media (max-width: 600px) {
    .page-lead-text {
        font-size: 15px;
        margin-bottom: 25px;
    }
}
.page-lead-text--dark {
    color: var(--text-dark);
}
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.breadcrumbs a {
    color: var(--text-light);
    text-decoration: none;
}
.breadcrumbs a:hover {
    color: var(--primary);
}
.breadcrumbs__current {
    color: var(--text-dark);
    font-weight: 600;
}

/* Базовые секции */
.section-title {
    font-size: 42px;
    margin-bottom: 50px;
    color: var(--text-dark);
}
@media (max-width: 600px) {
    .section-title {
        font-size: 26px;
        margin-bottom: 25px;
    }
}

/* ==========================================================================
   Глобальные анимации
   ========================================================================== */

/* Анимации */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Пустые состояния (empty states)
   ========================================================================== */

/* Пустые состояния */
.empty-state-box {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px dashed rgba(0, 0, 0, 0.1);
    margin-bottom: 60px;
}
.empty-state-icon {
    font-size: 40px;
    margin-bottom: 15px;
}
.empty-state-title {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
}
.empty-state-desc {
    color: var(--text-light);
    font-size: 15px;
    max-width: 500px;
    margin: 0 auto;
}
