/* Общие сбросы и настройки */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff;
    color: #0f452e;
	    display: flex;
	    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
}

.top-bar {
    background-color: #0f452e;
    color: #ffffff;
    font-size: 13px;
    padding: 8px 32px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
    font-weight: 500;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-item svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.top-bar-divider {
    width: 1px;
    height: 16px;
    background-color: rgba(255, 255, 255, 0.4);
}

.header {
    background-color: #ffffff;
    padding: 20px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.logo {
    display: block;
}

.logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.nav {
    display: flex;
    gap: 40px;
    font-size: 15px;
    font-weight: 500;
    color: ##0f452e;
}

.nav a {
    color: inherit;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.nav a.active {
    border-color: #0f452e;
    color: #0f452e;
}

.nav a:hover:not(.active) {
    color: #0f452e;
    border-color: #d1d5db;
}

.hero {
    position: relative;
    height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-nonmain {
    position: relative;
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-bar {
    background-color: #0f452e;
    color: #ffffff;
    width: 100%;
    height: 6px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(10, 10, 10, 0.4);
}

.hero-grad-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 96px;
    background: linear-gradient(to bottom, #ffffff, transparent);
}

.hero-grad-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 128px;
    background: linear-gradient(to top, #ffffff, transparent);
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 32px;
}

.hero-content h1 {
    margin-bottom: 40px;
    font-size: 50px;

    position: relative;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 5px;
    
    color: #4A2E1B !important; 
    -webkit-text-stroke: 0;
    text-shadow: none;
    
    filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.hero-content h1::after {
    content: attr(data-text); /* Подтягивает текст из HTML */
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    
    /* Красим только обводку, а внутренность делаем прозрачной */
    color: transparent; 
    -webkit-text-stroke: 4px #62A862; /* Делаем 3px (так как половина уйдет под букву) */
    
    /* Сдвигаем слой НАЗАД, чтобы скрыть внутренние артефакты под коричневым телом */
    z-index: -1; 
}

.hero-content p {
    margin-bottom: 40px;
    font-size: 26px;

    position: relative;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 5px;
    
    /* 1. Настоящие буквы делаем чисто коричневыми БЕЗ обводок */
    color: #4A2E1B !important; 
    -webkit-text-stroke: 0;
    text-shadow: none;
    
    /* 2. Накладываем красивую внешнюю тень */
    filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.hero-content p::after {
    content: attr(data-text); /* Подтягивает текст из HTML */
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    
    /* Красим только обводку, а внутренность делаем прозрачной */
    color: transparent; 
    -webkit-text-stroke: 3px #62A862; /* Делаем 3px (так как половина уйдет под букву) */
    
    /* Сдвигаем слой НАЗАД, чтобы скрыть внутренние артефакты под коричневым телом */
    z-index: -1; 
}

.btn-primary {
    background-color: #0f452e;
    color: #ffffff;
    padding: 14px 40px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 17px;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
    font-family: inherit;
}

.btn-primary:hover {
    opacity: 0.9;
}

.main-content {
    max-width: 1200px;
    margin: -20px auto 0; /* Отрицательный отступ для наезда на картинку */
    padding: 40px 32px;
    display: flex;
    gap: 48px;
    position: relative;
    z-index: 20;
}

.main-content h1 {
    font-size: 20px;
    font-weight: 700;
    color: #0f452e;
    margin-right: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.page-content {
    max-width: 1200px;
	    flex: 1;
    margin: 0 auto 0;
    padding: 40px 32px;
    gap: 48px;
    position: relative;
    z-index: 20;
}


.page-content h1 {
    font-size: 20px;
    font-weight: 700;
    color: #0f452e;
    margin-right: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bg-white { background-color: #ffffff; }
.bg-beige { background-color: #f4f3eb; }

.features-section {
    background-color: #f4f3eb;
    padding: 48px 0;
    margin-top: 0;
}

.features-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.feature-text h4 {
    font-weight: 700;
    color: #0f452e;
    font-size: 14px;
    margin-bottom: 2px;
}

.feature-text p {
    font-size: 13px;
    color: #6b7280;
}

.copy-bar {
    color: #0f452e;
    background-color: #f4f3eb;
    width: 100%;
    font-size: 13px;
    padding: 8px 32px;
    align-items: center;
    gap: 24px;
    font-weight: 500;
}

.copy-bar-item {
    text-align: center;
}

.copy-bar-item svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.copy-bar-divider {
    width: 1px;
    height: 16px;
    background-color: rgba(255, 255, 255, 0.4);
}

/* Перебиваем глобальный сброс * исключительно для списков внутри контента */
.page-content ul, 
.page-content ol {
    list-style-type: disc !important;       /* Возвращаем стандартные круглые буллеты */
    list-style-position: outside !important; /* Точки стоят слева от текста */
    padding-left: 20px !important;           /* Сдвигаем список вправо, возвращая точки на экран */
    margin-top: 15px !important;
    margin-bottom: 30px !important;
}

/* Настраиваем элементы списка, чтобы они не прижимались друг к другу */
.page-content li {
    margin-bottom: 5px !important;
    line-height: 1.6 !important;
    color: #2B2B2B !important;
}

/* Оформляем ссылки на Drive2 */
.page-content a[href*="drive2.ru"] {
    color: #d51d24 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}
.page-content a[href*="drive2.ru"]:hover {
    text-decoration: underline !important;
}
