/* Общие стили и переменные */
:root {
    /* Цвета */
    --primary-bg: #000000;
    --secondary-bg: rgba(21, 20, 25, 1);
    --card-bg: rgba(15.51, 15.10, 17.16, 1);
    --accent-color: rgba(229, 190, 127, 1);
    --text-secondary: rgba(157, 144, 124, 1);
    --border-color: rgba(208, 190, 162, 1);
    --button-bg: rgba(230, 165, 65, 1);


    /* Размеры */
    --container-width: 1680px;
    --section-padding: 200px 120px 0;
    --card-border-radius: 12px;
    --button-height: 50px;
}

/* Общие стили для секций */
.section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.section__container {
    width: var(--container-width);
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    padding: 0 20px;
}

.section__title {
    margin: 0 0 clamp(60px, 8vh, 120px) 0;
    line-height: 1.2;
    font-size: clamp(40px, 2vw, 52px);
    color: var(--accent-color);
    text-align: center;
    max-width: 80%;
    font-family: var(--font-semi);
}

/* Общие стили для карточек */
.card {
    position: relative;
    border-radius: var(--card-border-radius);
    background: linear-gradient(90deg,
            rgba(15.51, 15.10, 17.16, 0) 0%,
            var(--card-bg) 48%,
            rgba(16, 15, 17, 0) 100%);
    border: 1px solid rgba(208, 190, 162, 0.2);
    overflow: hidden;
}

.card__content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: clamp(20px, 3vh, 40px) clamp(16px, 2vw, 32px);
    box-sizing: border-box;
    position: relative;
}

.card__content::before,
.card__content::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            rgba(208, 190, 162, 0) 0%,
            var(--border-color) 48%,
            rgba(208, 190, 162, 0) 100%);
}

.card__content::before {
    top: 0;
}

.card__content::after {
    bottom: 0;
}

.card__title {
    font-size: clamp(24px, 2.5vw, 32px);
    color: var(--accent-color);
    margin: 0 0 clamp(8px, 1vh, 16px) 0;
    font-family: var(--font-secondary);
    font-weight: bold;
    line-height: 1.2;
}

.card__description {
    font-size: clamp(16px, 1.5vw, 24px);
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
    font-family: var(--font-secondary);
    text-align: center;
}

/* Общие стили для кнопок */
.button {
    width: clamp(120px, 104px + 5vw, 200px);
    height: clamp(36px, 34.2px + 0.5625vw, 45px);
    flex-shrink: 0;
    box-sizing: border-box;
    background: linear-gradient(90deg,
            rgba(43.19, 41.73, 49.04, 1),
            rgba(27, 26, 31, 1) 100%);
    border: 1px solid var(--border-color);
    border-radius: 2px;
    color: var(--accent-color);
    font-size: clamp(12px, 10.5px + 0.46875vw, 14px);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Reaver-Bold", sans-serif;
    text-transform: uppercase;
}

.button:hover {
    opacity: 0.7;
    box-shadow: 0 6px 20px rgba(208, 190, 162, 0.4);
}

.button--primary {
    background: var(--button-bg);
    box-shadow: 0px 0px 38px 0px rgba(244, 177, 74, 0.36);
    color: #ffffff;
}

.button--primary:hover {
    background: rgba(244, 177, 74, 1);
    box-shadow: 0px 0px 45px 0px rgba(244, 177, 74, 0.5);
}

/* Контейнер для кнопок */
.buttons-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.buttons-container .button {
    margin: 0;
}


/* Мобильное меню */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50vh;
    background: rgba(16, 15, 17, 0.98);
    z-index: 2000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--accent-color);
    font-size: 30px;
    cursor: pointer;
}

.mobile-menu__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu__list a {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 24px;
    font-family: var(--font-secondary);
    transition: color 0.3s ease;
}

.mobile-menu__list a:hover {
    color: #ffffff;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--accent-color);
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

/* Адаптивность */
@media (max-width: 480px) {
    .section__container {
        padding: 0 10px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .section__container {
        padding: 0 15px;
    }

    .buttons-container {
        flex-direction: column;
        gap: 15px;
    }

    .buttons-container .button {
        width: 100%;
        max-width: 300px;
    }
}