:root {
    --bg-page: #F0F2F5;       /* Цвет фона "ушей" на очень широких экранах */
    --bg-card: #FFFFFF;       /* Белый фон контента */
    --accent-acid: #ec4755;   /* Кислотный желтый */
    --text-main: #0F0F0F;     /* Черный текст */
    --text-gray: #555555;
    --black: #000000;
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --radius-main: 24px;
    --radius-small: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-page);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.5;
    min-height: 100vh;
}

/* ОСНОВНОЙ КОНТЕЙНЕР СТРАНИЦЫ */
.page__container {
    max-width: 1400px;
    margin: 0 auto; /* Центрируем по горизонтали */
    background-color: var(--bg-card);
    /* Тень только по бокам */
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.05);
    /* Убираем скругления, чтобы сайт касался верха и низа экрана */
    border-radius: 0;
    overflow: hidden;
    position: relative;
    min-height: 100vh;
}

/* --- ШАПКА --- */
.header {
    background-color: var(--accent-acid);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky; 
    top: 0; 
    z-index: 100;
    box-shadow: 0 4px 15px rgba(51, 51, 51, 0.3);
}

.header__logo { 
    font-family: var(--font-heading); 
    font-weight: 700; 
    font-size: 24px; 
    text-transform: uppercase; 
    z-index: 102; 
}

.header__nav { display: flex; gap: 30px; }

.header__link { 
    text-decoration: none; 
    color: var(--text-main); 
    font-weight: 500; 
    font-size: 16px; 
    transition: opacity 0.2s; 
}
.header__link:hover { opacity: 0.6; }

/* Бургер (скрыт на ПК) */
.burger-btn { 
    display: none; 
    background: none; 
    border: none; 
    cursor: pointer; 
    z-index: 102; 
    width: 30px; 
    height: 30px; 
    position: relative; 
}
.burger-btn span { 
    display: block; 
    width: 100%; 
    height: 3px; 
    background: var(--black); 
    margin-bottom: 5px; 
    transition: 0.3s; 
}

/* --- HERO БЛОК --- */
.hero {
    position: relative; 
    min-height: 800px; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    text-align: center;
    padding: 60px 40px;
    /* ФОНОВОЕ ИЗОБРАЖЕНИЕ ИЗ ФАЙЛА */
    background-image: url('img/bg.png');
    background-size: cover; 
    background-position: center;
}

.hero__overlay { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    /* Градиент чтобы текст читался */
    background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0.2) 100%); 
    z-index: 1; 
}

.hero__content { position: relative; z-index: 2; max-width: 900px; }

.hero__title { 
    font-family: var(--font-heading); 
    font-size: 80px; 
    line-height: 0.9; 
    font-weight: 700; 
    margin-bottom: 30px; 
    text-transform: uppercase; 
    word-wrap: break-word; 
}

.hero__subtitle { 
    font-size: 24px; 
    font-weight: 500;
    padding: 10px; 
    display: inline-block; 
    backdrop-filter: blur(5px); 
}

/* --- ОБЩИЕ СТИЛИ СЕКЦИЙ --- */
.section { padding: 80px 40px; border-top: 1px solid #EEEEEE; }

.section__title { 
    font-family: var(--font-heading); 
    font-size: 40px; 
    margin-bottom: 40px; 
    text-transform: uppercase; 
    font-weight: 700;
    text-align: center; 
}

/* --- О ПРОДУКТЕ --- */
.about__grid { 
    display: flex; 
    flex-direction: column; 
    gap: 40px; 
    align-items: center; 
}

.about__text { 
    font-size: 20px; 
    line-height: 1.6; 
    margin-bottom: 20px; 
    max-width: 900px; 
    text-align: center; 
}

/* СЛАЙДЕР */
.slider-simple { 
    width: 100%; 
    max-width: 900px; 
    margin: 0 auto; 
    position: relative; 
    border-radius: var(--radius-small); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.15); 
}

.slider-simple__container { 
    position: relative; 
    height: 500px; 
    background: #FFFFFF; 
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-small);
}

.slider-simple__img { 
    width: 100%; height: 100%; 
    object-fit: contain; 
    display: block; 
    padding: 20px 70px; 
    transition: opacity 0.3s ease-in-out; 
}
.slider-simple__img.fade { opacity: 0.5; }

.slider-btn { 
    position: absolute; top: 50%; transform: translateY(-50%); 
    width: 50px; height: 50px; 
    background-color: var(--accent-acid); 
    border: none; border-radius: 50%; 
    cursor: pointer; 
    display: flex; align-items: center; justify-content: center; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
    transition: 0.2s; z-index: 10; 
}
.slider-btn:hover { background-color: #fff; transform: translateY(-50%) scale(1.1); }
.slider-btn svg { width: 24px; height: 24px; stroke: var(--black); }
.slider-btn--prev { left: 15px; }
.slider-btn--next { right: 15px; }

.slider-dots { 
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); 
    display: flex; gap: 10px; 
}
.slider-dot { 
    width: 10px; height: 10px; 
    background: #DDD; 
    border-radius: 50%; 
    cursor: pointer; transition: 0.2s; 
}
.slider-dot.active { background: var(--black); transform: scale(1.3); }

/* --- ПРЕИМУЩЕСТВА --- */
.features__list { 
    list-style: none; 
    display: flex; flex-wrap: wrap; gap: 20px; 
    justify-content: center; 
}

.features__item { 
    display: flex; align-items: center; gap: 15px; 
    background: #FAFAFA; padding: 15px 25px; 
    border-radius: 50px; border: 1px solid #E0E0E0; 
}

/* Иконки теперь без обертки, стилизуем сам SVG */
.features__icon {
    width: 32px;
    height: 32px;
    border-radius: 13px;
    stroke: var(--black);
}

/* --- ОБЛАСТИ ПРИМЕНЕНИЯ --- */
.scopes__grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 20px; 
}

.scopes__card { 
    padding: 30px; 
    background: #FAFAFA; 
    border: 1px solid #E0E0E0; 
    border-radius: var(--radius-small); 
    font-family: var(--font-heading); 
    font-weight: 700; 
    font-size: 18px; 
    text-align: center; 
    transition: 0.2s;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    height: 100%;
}

.scopes__img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
}

/* --- ПАРТНЕРЫ --- */
.partners__wrapper {
    display: flex;
    justify-content: center;
}

.partners__list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 900px;
    width: 100%;
}

.partners__item {
    display: flex;
    gap: 30px;
    align-items: center;
    text-align: left;
}

.partners__logo-box {
    width: 180px; 
    height: 100px; 
    background: transparent; 
    display: flex; align-items: center; justify-content: center; 
    border-radius: var(--radius-small); 
    border: 1px solid #EEE; 
    flex-shrink: 0;
    padding: 10px;
}

.partners__logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* --- КОНТАКТЫ --- */
.contacts__grid { 
    display: grid; grid-template-columns: 1fr 1fr; 
    background: #FAFAFA; border-radius: 0; overflow: hidden; 
}

.contacts__info { padding: 60px; }

.contacts__value { 
    font-size: 24px; font-weight: 700; margin-bottom: 15px; 
    word-wrap: break-word; 
}

.footer { 
    background: var(--black); color: #fff; padding: 30px; text-align: center; 
}

/* ========================================= */
/* АДАПТИВ (МОБИЛЬНАЯ ВЕРСИЯ) */
/* ========================================= */
@media (max-width: 992px) {
    .page__container { box-shadow: none; }
    
    .header { padding: 15px 20px; border-radius: 0; position: fixed; width: 100%; }
    .header__logo { font-size: 18px; }
    .burger-btn { display: block; }
    
    .header__nav {
        position: fixed; top: 0; right: 0; width: 100%; height: 100vh;
        background: rgba(255,255,255,0.98); 
        flex-direction: column; justify-content: center; align-items: center; gap: 40px;
        transform: translateX(100%); transition: transform 0.3s ease; z-index: 101;
    }
    .header__nav.active { transform: translateX(0); }
    .header__link { font-size: 24px; font-weight: 700; color: var(--black); }

    .hero { padding: 100px 20px 60px; min-height: auto; }
    .hero__title { font-size: 42px; line-height: 1.1; margin-bottom: 20px; }
    .hero__subtitle { font-size: 18px; padding: 5px 10px; }
    .hero__content { width: 100%; }

    .section { padding: 60px 20px; }
    .section__title { font-size: 32px; }
    .about__text { font-size: 16px; }
    
    .slider-simple__container { height: 300px; }
    .slider-simple__img { padding: 10px 40px; }
    .slider-btn { width: 40px; height: 40px; }

    .partners__item { flex-direction: column; align-items: center; text-align: center; }
    
    .contacts__grid { grid-template-columns: 1fr; }
    .contacts__info { padding: 40px 20px; } 
    .contacts__value { font-size: 20px; }
    .contacts__map-wrapper iframe { height: 400px; }
}
