/* ===== ГЛОБАЛЬНЫЕ СТИЛИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --text: #ffffff;
    --accent: rgba(255, 140, 0, 0.4);
}

/* ===== HTML ===== */
html {
    min-height: 100%;
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow-x: hidden;
}

html::-webkit-scrollbar {
    display: none;
}

/* ===== BODY ===== */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #000;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 18px;
    overflow-x: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body::-webkit-scrollbar {
    display: none;
}

/* ===== ССЫЛКИ И ИЗОБРАЖЕНИЯ ===== */
a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

/* ===== WRAPPER И CONTAINER ===== */
.wrapper {
    flex: 1 0 auto;
    background: radial-gradient(circle at top center, rgba(255, 140, 0, 0.8) 0%, rgba(255, 140, 0, 0) 20%), #000;
    max-width: 100%;
}

.container {
    max-width: 1600px;
    width: 98%;
    margin: 0 auto;
    box-sizing: border-box;
}

/* ===== HEADER ===== */
header {
    padding: 50px 0;
}

header nav {
    float: right;
    width: 50%;
}

header nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    z-index: 2;
    position: relative;
}

header nav ul li {
    display: inline-block;
}

header nav ul li a {
    color: #fff;
    font-size: 18px;
}

/* ===== LOGO И SUBTITLE ===== */
.logo {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
}

.subtitle {
    margin-top: 5px;
    font-size: 14px;
    font-weight: 300;
    color: #cfcfcf;
    text-transform: lowercase;
}

/* ===== ССЫЛКИ - СОСТОЯНИЯ ===== */
a,
a:visited {
    color: #ffffff;
}

a:hover,
a:focus {
    color: #e6e6e6;
    outline: none;
    box-shadow: none;
}

/* ===== REVEAL АНИМАЦИЯ ===== */
.reveal {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== АКЦИИ ===== */
.aktsii {
    font-family: "Akt", sans-serif;
}

.aktsii__title {
    margin: 0 auto;
    padding: 50px 0;
    font-size: 80px;
    font-weight: 900;
}

.aktsiya__title {
    display: inline-block;
    font-size: 28px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease;
}

.aktsiya__title:hover {
    color: #ff8c00;
}

.aktsiya-item {
    font-size: 24px;
    margin-bottom: 30px;
}

.aktsiya__description {
    opacity: 0;
    max-height: 0;
    transform: translateY(20px);
    overflow: hidden;
    transition: opacity 0.35s ease, transform 0.35s ease, max-height 0.35s ease;
}

.aktsiya-item.active .aktsiya__description {
    opacity: 1;
    max-height: 400px;
    transform: translateY(0);
    padding: 18px 16px;
    margin-top: 14px;
    background: rgba(255, 140, 0, 0.08);
    border-radius: 10px;
}

.aktsiya__description p {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.95);
}

/* ===== FOOTER (ПОДВАЛ) ===== */
footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    column-gap: 40px;
    row-gap: 8px;
    max-width: 1600px;
    width: 98%;
    margin: 100px auto 0;
}
.footer.container {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
    max-width: none;
    margin: 0;
}

.footer-logo {
    font-family: "Akt", sans-serif;
    font-weight: 900;
    font-size: 30px;
    color: var(--text);
}

.footer-subtitle {
    font-family: "Akt", sans-serif;
    font-weight: 300;
    font-size: 14px;
    color: var(--text);
}

.footer-info {
    display: inline-block;
    vertical-align: middle;
}

.footer-social {
    display: inline-block;
    vertical-align: middle;
    margin: 0 0 0 50px;
    padding: 0;
}

.footer-social li {
    list-style: none;
    margin-right: 10px;
    font-weight: 800;
    font-size: 15px;
}

.footer-social li a {
    transition: all 500ms ease;
}

.footer-social li a:hover {
    color: #ff9b2d;
}

.footer-social ul {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.footer-email,
.footer-time,
.footer-inn,
.footer-oferta,
.footer-nav {
    min-width: 0;
}

.footer-email {
    grid-column: 1;
    grid-row: 2;
    text-decoration: underline;
    text-decoration-color: var(--text);
    text-decoration-thickness: 1px;
    font-family: "Akt", sans-serif;
    font-weight: 500;
}

.footer-time {
    grid-column: 1;
    grid-row: 3;
    font-family: "Akt", sans-serif;
    font-weight: 300;
    font-size: 14px;
}

.footer-inn {
    grid-column: 1;
    grid-row: 4;
    margin-top: 20px;
}

.footer-inn span {
    display: block;
    opacity: 0.5;
    font-family: "Akt", sans-serif;
    font-weight: 300;
    margin-top: 5px;
    font-size: 12px;
}

.footer-oferta {
    grid-column: 2;
    grid-row: 4;
    margin-top: 20px;
    font-family: "Akt", sans-serif;
    font-weight: 300;
    font-size: 14px;
    opacity: 0.5;
    max-width: 360px;
}

.footer-nav {
    grid-column: 2;
    grid-row: 2 / 4;
    align-self: start;
    opacity: 0.5;
}

.footer-nav a {
    font-family: "Akt", sans-serif;
}

.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: clamp(16px, 3vw, 100px);
}

.footer-nav li {
    list-style: none;
}

/* ===== МЕДИА ЗАПРОСЫ ===== */

/* Большие экраны - 992px и ниже */
@media (max-width: 992px) {
    header {
        padding: 30px 0;
    }

    .logo {
        font-size: 40px;
    }

    header nav {
        float: none;
        width: 100%;
        margin-top: 10px;
    }

    header nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 24px;
    }

    .aktsii__title {
        font-size: 56px;
        padding: 36px 0;
    }

    footer {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto auto auto auto auto;
    }

    .footer.container {
        grid-row: 1;
    }

    .footer-email {
        grid-column: 1;
        grid-row: 2;
    }

    .footer-time {
        grid-column: 1;
        grid-row: 3;
    }

    .footer-inn {
        grid-column: 1;
        grid-row: 4;
    }

    .footer-oferta {
        grid-column: 1;
        grid-row: 5;
        max-width: 100%;
    }

    .footer-nav {
        grid-column: 1;
        grid-row: 6;
        align-self: start;
    }

    .footer-nav ul {
        flex-wrap: wrap;
        gap: 16px;
    }
}

/* Средние экраны - 768px и ниже */
@media (max-width: 768px) {
    body {
        min-height: auto;
    }

    .wrapper {
        flex: 0 1 auto;
    }

    header nav ul {
        flex-wrap: nowrap;
        gap: clamp(6px, 2vw, 20px);
    }

    header nav ul li a {
        font-size: clamp(11px, 3.2vw, 16px);
        white-space: nowrap;
    }

    .aktsii__title {
        font-size: 44px;
    }

    .aktsiya-item {
        font-size: 20px;
    }
}

/* Мобильные устройства - 600px и ниже */
@media (max-width: 600px) {
    html,
    body {
        font-size: 16px;
    }

    .container {
        width: 95%;
    }

    header {
        padding: 18px 0;
    }

    .logo {
        font-size: 36px;
    }

    .subtitle {
        font-size: 12px;
    }

    .aktsii__title {
        font-size: 40px;
        padding: 30px 0;
    }

    .aktsiya-item {
        font-size: 18px;
        margin-bottom: 18px;
    }
}

/* Очень маленькие экраны - 480px и ниже */
@media (max-width: 480px) {
    header {
        padding: 20px 0;
    }

    .logo {
        font-size: 28px;
    }

    .subtitle {
        display: none;
    }

    .container {
        width: 96%;
    }
}

/* Устройства без hover */
@media (hover: none) {
    a:hover,
    a:focus,
    .aktsiya__title:hover,
    .footer-social li a:hover {
        color: inherit !important;
        background: none !important;
        border-color: transparent !important;
        transform: none !important;
        box-shadow: none !important;
        opacity: 1 !important;
    }
}