
*,
*::before,
*::after {
    box-sizing: border-box;
}

body.page {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #050509;
    color: #f5f5f5;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}


.section-title {
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
    margin: 0 0 2rem;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    margin: 0.8rem auto 0;
    background: linear-gradient(90deg, #ff003c, #ff5400);
}


.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button_primary {
    background: radial-gradient(circle at top left, #ff003c, #ff5400);
    box-shadow: 0 0 20px rgba(255, 0, 60, 0.5);
    color: #fff;
}

.button_primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 30px rgba(255, 0, 60, 0.7);
}

.button_outline {
    background: transparent;
    border-color: #ff003c;
    color: #fff;
}

.button_outline:hover {
    background: rgba(255, 0, 60, 0.1);
}

.button_small {
    padding: 0.4rem 0.9rem;
    font-size: 0.8rem;
}

.button_filter {
    border-radius: 999px;
    border: 1px solid #444;
    background: rgba(255, 0, 60, 0.5);
}

.button_filter.is-active,
.button_filter:hover {
    border-color: #ff003c;
    box-shadow: 0 0 12px rgba(255, 0, 60, 0.5);
}

.page_catalog .product-card__button {
    background: #ff003c;
    color: #ffffff;
    border: 1px solid #ff003c;
    box-shadow: 0 0 15px rgba(255, 0, 60, 0.6);
}

.page_catalog .product-card__button:hover {
    background: #ff1f4f;
    border-color: #ff1f4f;
    box-shadow: 0 0 20px rgba(255, 0, 60, 0.8);
    transform: translateY(-1px);
}

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(5, 5, 9, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header__top {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header__logo-text {
    font-weight: 800;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #ffffff;
}


.header__burger {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 0.25rem;
}

.header__burger-line {
    width: 22px;
    height: 2px;
    background-color: #f5f5f5;
    border-radius: 999px;
}


.nav__list {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav__link {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #ddd;
    position: relative;
}

.nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff003c, #ff5400);
    transition: width 0.2s ease;
}

.nav__link:hover::after {
    width: 100%;
}


.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem 3rem;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.hero__title {
    font-size: clamp(2.2rem, 3vw, 3rem);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.hero__subtitle {
    margin: 0 0 1.5rem;
    max-width: 30rem;
    color: #c6c6d8;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero__image-wrapper {
    position: relative;
}

.hero__image-wrapper::before {
    content: "";
    position: absolute;
    inset: 10%;
    border-radius: 24px;
    background: radial-gradient(circle at top left, rgba(255, 0, 60, 0.3), transparent 55%);
    filter: blur(8px);
    z-index: -1;
}

.hero__image {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
}


.advantages {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
}

.advantages__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.advantages__item {
    padding: 1.5rem;
    background: radial-gradient(circle at top left, rgba(255, 0, 60, 0.25), rgba(12, 12, 20, 1));
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.advantages__title {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
}

.advantages__text {
    margin: 0;
    font-size: 0.95rem;
    color: #d2d2e0;
}


.catalog {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
}

.catalog__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.catalog__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.catalog__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: #11101a;
    border-radius: 18px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 25px rgba(255, 0, 60, 0.35);
    border-color: rgba(255, 0, 60, 0.7);
}

.product-card__image-wrapper {
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.product-card__title {
    margin: 0;
    font-size: 1rem;
}

.product-card__specs {
    margin: 0;
    font-size: 0.85rem;
    color: #b9b9cf;
}

.product-card__bottom {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.product-card__price {
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
}


.about {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
}

.about__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
}

.about__paragraph {
    color: #d2d2e0;
    margin: 0 0 0.9rem;
}

.about__features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.about__feature {
    background: #11101a;
    border-radius: 16px;
    padding: 1rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.about__feature-number {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: #ff3355;
}

.about__feature-label {
    font-size: 0.8rem;
    color: #c1c1d6;
}


.contacts {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
}

.contacts__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: flex-start;
}

.contacts__text {
    margin-top: 0;
    color: #d2d2e0;
}

.contacts__list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    font-size: 0.95rem;
}

.contacts__item + .contacts__item {
    margin-top: 0.3rem;
}


.form {
    background: #11101a;
    border-radius: 18px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.form__title {
    margin: 0 0 1rem;
    font-size: 1.1rem;
}

.form__field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 0.9rem;
}

.form__label {
    font-size: 0.85rem;
    color: #c1c1d6;
}

.form__input,
.form__textarea {
    background: #080713;
    border-radius: 10px;
    border: 1px solid #333249;
    padding: 0.6rem 0.75rem;
    color: #f5f5ff;
    font-size: 0.9rem;
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: #ff003c;
    box-shadow: 0 0 10px rgba(255, 0, 60, 0.5);
}

.form__success-message {
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: #5be08a;
    min-height: 1.2em;
}


.contacts__map-wrapper {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    min-height: 280px;
}

.contacts__map {
    width: 100%;
    height: 100%;
    min-height: 280px;
}


.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.2rem 1rem;
    background: #050509;
}

.footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.footer__copy {
    margin: 0;
    font-size: 0.85rem;
    color: #9c9cb2;
}

.footer__nav {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
}

.footer__link {
    color: #d0d0e5;
}



@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .advantages__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .about__inner {
        grid-template-columns: 1fr;
    }

    .about__features {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .contacts__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header__burger {
        display: flex;
    }

    .header__nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #050509;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
    }

    .header__nav.nav_open {
        max-height: 200px;
    }

    .nav__list {
        flex-direction: column;
        padding: 0.5rem 1rem 1rem;
        gap: 0.75rem;
    }

    .hero {
        padding-top: 2rem;
    }

    .advantages__list {
        grid-template-columns: 1fr;
    }

    .catalog__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about__features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .catalog__grid {
        grid-template-columns: 1fr;
    }

    .about__features {
        grid-template-columns: 1fr;
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }
}
