@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

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

:root {
    --bg-main: #f5f2eb;
    --header: #4a4a4a;
    --accent: #6bbe23;
    --text: #1a1a1a;
}

/* === ШИРОКИЙ КОНТЕЙНЕР === */
.container-wide {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px;
}

/* Плавное расширение по брейкпоинтам Bootstrap */
@media (min-width: 576px)  { .container-wide { max-width: 540px; } }
@media (min-width: 768px)  { .container-wide { max-width: 720px; } }
@media (min-width: 992px)  { .container-wide { max-width: 960px; } }
@media (min-width: 1200px) { .container-wide { max-width: 1140px; } }
@media (min-width: 1400px) { .container-wide { max-width: 1800px; } }

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-main);
    color: var(--text);
    margin: 0;
    padding: 0;
}

/* HEADER */
.navbar.navbar-custom {
    background-color: var(--header);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff !important;
}

/* NAV LINKS */
.nav-link-accent {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link-accent:hover {
    color: var(--accent) !important;
}

/* Подчеркивание при наведении */
.nav-link-accent::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-link-accent:hover::after {
    width: 100%;
}

/* Активная ссылка (текущая страница) */
.nav-link-accent.active {
    color: var(--accent) !important;
}

.nav-link-accent.active::after {
    width: 100%;
}

/* Иконки соцсетей */
.navbar .bi {
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.navbar .bi:hover {
    color: var(--accent) !important;
}

/* Кнопки языков */
.btn-language {
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: #fff !important;
}

.btn-language:hover {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
}

.btn-language.active {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
}

/* LINKS */
a {
    text-decoration: none;
}

/* ACCENT BUTTON */
.btn-accent {
    background-color: var(--accent);
    color: #fff;
    border: none;
}

.btn-accent:hover {
    background-color: #5aa91f;
}

/* BORDERS / ACCENTS */
.border-accent {
    border-color: var(--accent) !important;
}






/* === СЕКЦИИ === */
section {
    scroll-margin-top: 80px; /* отступ для якорных ссылок при фиксированном хедере */
}

.section-title {
    position: relative;
    display: inline-block;
    font-weight: 700;
    color: var(--text);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px;
}

/* === КАРТОЧКИ ПРЕИМУЩЕСТВ === */
.feature-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--accent);
}

.feature-icon {
    font-size: 2rem;
    line-height: 1;
}

/* === ТЕКСТ === */
.about-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text);
}

.what-is p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* === КНОПКА АКЦЕНТ (если ещё нет) === */
.btn-accent {
    background-color: var(--accent);
    color: #fff;
    border: none;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-accent:hover {
    background-color: #5aa91f;
    color: #fff;
    transform: translateY(-2px);
}

.btn-accent:active {
    transform: translateY(0);
}

/* === АДАПТИВ === */
@media (max-width: 768px) {
    .section-title::after {
        width: 40px;
    }
    
    .feature-card {
        text-align: center;
    }
    
    .about-text p,
    .what-is p {
        font-size: 1rem;
    }
}