/* ========== СБРОС И БАЗОВЫЕ НАСТРОЙКИ ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    color: #e2e8f0;
    background: #0b0f19;
    line-height: 1.65;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
    transition: filter 0.3s ease;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ========== КОНТЕЙНЕР — ТЕПЕРЬ ПРОСТОРНЕЕ ========== */
.container {
    max-width: 1600px;
    width: 90%;
    margin: 0 auto;
    padding: 0 40px;
}

/* На совсем широких экранах — ещё больше воздуха */
@media (min-width: 1800px) {
    .container {
        max-width: 1800px;
        padding: 0 60px;
    }
}

/* На планшетах — умеренные отступы */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
}

/* На телефонах — минимальные отступы */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
        width: 100%;
    }
}

.section {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }
}

/* ========== ТИПОГРАФИКА И ОФОРМЛЕНИЕ СЕКЦИЙ ========== */
.section__header {
    text-align: center;
    margin-bottom: 60px;
}

.section__tag {
    display: inline-block;
    background: rgba(0, 153, 255, 0.1);
    color: #0099ff;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 18px;
    border: 1px solid rgba(0, 153, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 153, 255, 0.15);
}

.section__title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

@media (max-width: 768px) {
    .section__title {
        font-size: 2.2rem;
    }
}

.section__desc {
    max-width: 700px;
    margin: 0 auto;
    color: #94a3b8;
    font-size: 1.1rem;
}

/* ========== ШАПКА (HEADER) ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    transition: all 0.3s ease;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: none;
    width: 100%;
    padding: 0 50px;
}

@media (max-width: 768px) {
    .header__inner {
        padding: 0 20px;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo__img {
    height: 90px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 153, 255, 0.3));
    transition: transform 0.3s ease;
}

.logo__img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .logo__img {
        height: 40px;
    }
}

.logo__icon svg {
    display: block;
    filter: drop-shadow(0 0 8px rgba(0, 153, 255, 0.6));
}

.logo__text {
    font-weight: 900;
    font-size: 1.5rem;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.logo__accent {
    color: #0099ff;
    text-shadow: 0 0 10px rgba(0, 153, 255, 0.4);
}

.nav__list {
    display: flex;
    gap: 42px;
}

.nav__link {
    color: #cbd5e1;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 4px 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #0099ff;
    transition: width 0.3s ease;
}

.nav__link:hover::after {
    width: 100%;
}

.nav__link:hover, .nav__link.active-page {
    color: #ffffff;
}

.nav__link.active-page::after {
    width: 100%;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-weight: 700;
    font-size: 0.85rem;
}

.lang-switch__item {
    transition: color 0.3s ease;
}

.lang-switch__item.active {
    color: #0099ff;
}

.lang-switch__item:hover {
    color: #ffffff;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.burger span {
    display: block;
    width: 26px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ========== ПЕРВЫЙ ЭКРАН (HERO) ========== */
.hero {
    min-height: 100vh;
    width: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(0, 153, 255, 0.15) 0%, rgba(11, 15, 25, 0) 50%), url('https://images.unsplash.com/photo-1518156677180-95a2893f3e9f?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 15, 25, 0.98) 0%, rgba(11, 15, 25, 0.8) 60%, rgba(11, 15, 25, 0.95) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    padding-top: 120px;
    padding-bottom: 80px;
}

.hero__badge {
    display: inline-block;
    background: rgba(0, 153, 255, 0.08);
    color: #0099ff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(0, 153, 255, 0.25);
    margin-bottom: 30px;
    box-shadow: 0 0 20px rgba(0, 153, 255, 0.1);
}

.hero__title {
    font-size: 4.5rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

@media (max-width: 1024px) {
    .hero__title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hero__title {
        font-size: 2.5rem;
    }
}

.hero__accent {
    color: #0099ff;
    text-shadow: 0 0 15px rgba(0, 153, 255, 0.3);
}

.hero__subtitle {
    font-size: 1.25rem;
    color: #94a3b8;
    max-width: 650px;
    margin-bottom: 40px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero__subtitle {
        font-size: 1.1rem;
    }
}

.hero__btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn {
    display: inline-block;
    padding: 16px 38px;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    cursor: pointer;
}

.btn--primary {
    background: #0099ff;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 153, 255, 0.3);
}

.btn--primary:hover {
    background: #0088e5;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 153, 255, 0.5);
}

.btn--outline {
    border: 2px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.02);
}

.btn--outline:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
}

.hero__stats {
    display: flex;
    gap: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 40px;
    max-width: fit-content;
}

@media (max-width: 768px) {
    .hero__stats {
        flex-direction: column;
        gap: 30px;
    }
}

.stat__num {
    font-size: 2.6rem;
    font-weight: 900;
    color: #ffffff;
    display: block;
    line-height: 1;
    margin-bottom: 6px;
    background: linear-gradient(135deg, #ffffff 0%, #0099ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat__label {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ========== КАРТОЧКИ УСЛУГ (SERVICES) ========== */
.services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

@media (max-width: 768px) {
    .services__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.service-card {
    background: #111726;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 153, 255, 0.25);
    box-shadow: 0 20px 40px rgba(0, 153, 255, 0.08);
}

.service-card__img-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .service-card__img-wrapper {
        height: 240px;
    }
}

.service-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-card__img {
    transform: scale(1.06);
    filter: brightness(1.1);
}

.service-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #111726, transparent 80%);
}

.service-card__icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: #ffffff;
    background: #0099ff;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 153, 255, 0.4);
}

.service-card__body {
    padding: 36px;
}

@media (max-width: 768px) {
    .service-card__body {
        padding: 28px;
    }
}

.service-card__title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
}

.service-card__text {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.65;
}

.service-card__list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.service-card__list li {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    color: #cbd5e1;
    font-weight: 600;
}

/* ========== О НАС (ABOUT) ========== */
.about {
    background: #0e1322;
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

@media (max-width: 1024px) {
    .about__grid {
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .about__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.about__img-wrap {
    position: relative;
}

.about__img {
    border-radius: 28px;
    width: 100%;
    height: 480px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .about__img {
        height: 380px;
    }
}

.about__exp-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: #0099ff;
    color: #ffffff;
    padding: 24px 32px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 153, 255, 0.3);
}

.about__exp-num {
    font-size: 3rem;
    font-weight: 900;
    display: block;
    line-height: 1;
}

.about__exp-text {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.9;
}

.about__text {
    color: #94a3b8;
    margin-bottom: 24px;
    font-size: 1.05rem;
    line-height: 1.65;
}

.about__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

@media (max-width: 480px) {
    .about__features {
        grid-template-columns: 1fr;
    }
}

.about__feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #cbd5e1;
}

.about__feature-icon {
    font-size: 1rem;
    color: #0099ff;
    background: rgba(0, 153, 255, 0.1);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

/* ========== СТРАНИЦА ПРОДУКЦИИ & ХЕРО ========== */
.products-hero {
    background: linear-gradient(180deg, #0b0f19 0%, #0e1322 100%);
    padding: 180px 0 80px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

@media (max-width: 768px) {
    .products-hero {
        padding: 140px 0 50px;
    }
}

.products-hero__title {
    font-size: 3.8rem;
    font-weight: 900;
    color: #ffffff;
    margin-top: 18px;
    letter-spacing: -1px;
}

@media (max-width: 768px) {
    .products-hero__title {
        font-size: 2.5rem;
    }
}

.products-hero__subtitle {
    color: #94a3b8;
    font-size: 1.2rem;
    margin-top: 16px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.products-category {
    margin-bottom: 90px;
}

.products-category:last-child {
    margin-bottom: 0;
}

.products-category__title {
    font-size: 2rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 40px;
    padding-bottom: 16px;
    border-bottom: 3px solid #0099ff;
    display: inline-block;
}

@media (max-width: 768px) {
    .products-category__title {
        font-size: 1.6rem;
    }
}

.products-grid__inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

@media (max-width: 1024px) {
    .products-grid__inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .products-grid__inner {
        grid-template-columns: 1fr;
    }
}

/* КАРТОЧКА ТОВАРА */
.product-card {
    background: #111726;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 153, 255, 0.25);
    box-shadow: 0 20px 40px rgba(0, 153, 255, 0.08);
}

.product-card__img-wrap {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.product-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card__img-wrap img {
    transform: scale(1.06);
}

.product-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #0099ff;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 6px 18px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 153, 255, 0.3);
}

.product-card__body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

@media (max-width: 768px) {
    .product-card__body {
        padding: 26px;
    }
}

.product-card__body h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.35;
}

.product-card__body > p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 22px;
    line-height: 1.6;
}

.product-card__specs {
    list-style: none;
    padding: 0;
    margin: 0 0 26px 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.product-card__specs li {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 0.8rem;
    color: #cbd5e1;
    font-weight: 600;
}

.product-card__body .btn {
    margin-top: auto;
}

/* ========== КОНТАКТЫ (CONTACT) ========== */
.contact {
    background: #0b0f19;
}

.contact__card {
    background: #111726;
    border-radius: 28px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

@media (max-width: 1024px) {
    .contact__card {
        padding: 45px;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .contact__card {
        grid-template-columns: 1fr;
        padding: 30px;
        gap: 40px;
    }
}

.section__tag--light {
    background: rgba(0, 153, 255, 0.08);
    color: #0099ff;
}

.section__title--light {
    color: #ffffff;
}

.contact__desc {
    color: #94a3b8;
    margin-bottom: 40px;
    font-size: 1.05rem;
    line-height: 1.65;
}

.contact__items {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact__item {
    display: flex;
    align-items: center;
    gap: 18px;
}

.contact__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 153, 255, 0.08);
    border: 1px solid rgba(0, 153, 255, 0.15);
    width: 52px;
    height: 52px;
    border-radius: 14px;
}

.contact__label {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.contact__value {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.15rem;
    transition: color 0.3s ease;
}

.contact__value:hover {
    color: #0099ff;
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 36px;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .contact__form {
        padding: 28px;
    }
}

.form-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
}

.input {
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #0b0f19;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.input:focus {
    outline: none;
    border-color: #0099ff;
    box-shadow: 0 0 15px rgba(0, 153, 255, 0.15);
}

.input::placeholder {
    color: #475569;
}

/* ========== ФУТЕР (FOOTER) ========== */
.footer {
    background: #090c14;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 50px 0;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 20px;
}

@media (max-width: 768px) {
    .footer__inner {
        flex-direction: column;
        text-align: center;
    }
}

.footer__back {
    color: #0099ff;
    font-weight: 700;
    transition: opacity 0.3s ease;
}

.footer__back:hover {
    opacity: 0.8;
}

/* ========== МОБИЛЬНОЕ МЕНЮ ========== */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    .nav.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #0e1322;
        padding: 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    .nav.active .nav__list {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
    .lang-switch {
        display: none;
    }
    .burger {
        display: flex;
    }
}