@font-face {
    font-family: 'Anton';
    font-display: swap;
    src: url('../deVis-fonts/deVis-anton.woff2') format("woff2");
}

@font-face {
    font-family: 'Roboto Condensed';
    font-display: swap;
    src: url('../deVis-fonts/deVis-robotocondensed.woff2') format("woff2");
}

@font-face {
    font-family: 'Home Video';
    font-display: swap;
    src: url('../deVis-fonts/deVis-homevideo.woff2') format("woff2");
}

/* --- БАЗОВЫЕ СТИЛИ --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #C0C0C0;
    color: #000000;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 120%;
    letter-spacing: 0.04em;
}

/* Заголовки */
h1,
h2 {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 100%;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Основной контейнер */
.container {
    max-width: 1320px;
    margin: 0 auto;
    width: 100%;
}

.container-header {
    max-width: 1340px;
    margin: 0 auto;
    width: 100%;
}

.container-spec {
    max-width: 1140px;
    margin: 0 auto;
    width: 100%;
}

.container-w-down {
    max-width: 1016px;
    margin: 0 auto;
    width: 100%;
}

/* Правило для секций */
section {
    padding: 40px 10px 0px 10px;
    background-color: #C0C0C0;
}

/* Уникальная рамка из ТЗ */
.win-border {
    box-shadow: inset -8px -8px 0px 0px #FFFFFF,
        inset 8px 8px 0px 0px #868A8E,
        inset -7px -7px 0px 0px #C3C7CB,
        inset 7px 7px 0px 0px #C3C7CB,
        inset -2px -2px 0px 0px #868A8E,
        inset 1px 1px 0px 0px #FFFFFF,
        inset -1px -1px 0px 0px #000000;
    background-color: #C0C0C0;
    border: 1px solid #000000;
}

/* Классическая кнопка Win95 (выпуклая, как на 2 картинке) */
.win-button {
    width: 120px;
    background-color: #C0C0C0;
    border: none;
    /* Белый блик сверху и слева, черная и серая тени снизу и справа */
    box-shadow:
        inset 1px 1px 0px 0px #FFFFFF,
        inset -1px -1px 0px 0px #000000,
        inset -2px -2px 0px 0px #818181;
    padding: 3px 4px;
    cursor: pointer;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
    font-weight: 400;
    display: inline-flex;
    line-height: 1;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: #151410;
}

/* Эффект нажатия (кнопка вдавливается) */
.win-button:active {
    box-shadow:
        inset 1px 1px 0px 0px #000000,
        inset 2px 2px 0px 0px #818181,
        inset -1px -1px 0px 0px #FFFFFF;
}

/* Окно (синяя шапка) */
.window-header {
    background-color: #000080;
    color: #FFFFFF;
    padding: 4px 8px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    border: none;
    border-bottom: 7px solid #868A8E;
}

.window-controls {
    display: flex;
    gap: 2px;
}

.win-panel-border {
    border: none;
    background-color: #C0C0C0;
    box-shadow: inset -8px -8px 0px 0px #868A8E, inset 8px 8px 0px 0px #868A8E, inset -7px -7px 0px 0px #C3C7CB, inset 7px 7px 0px 0px #C3C7CB, inset -2px -2px 0px 0px #868A8E, inset 1px 1px 0px 0px #868A8E, inset -1px -1px 0px 0px #000000;

    /* МАГИЯ ЗДЕСЬ: Отступаем 8px со всех сторон, 
               чтобы внутренние фоны не перекрывали рамку! */
    padding: 8px;
}

/* HEADER */
header {
    padding: 20px 10px 0px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: Home Video;
    font-weight: 400;
    font-style: Regular;
    font-size: 24px;
    line-height: 1;
    text-transform: uppercase;
    color: #181818;
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 0px;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.burger-btn {
    display: none;
    background: none;
    border: none;
    font-size: 40px;
    cursor: pointer;
}

/* SECTION 1: HERO */
.hero-inner {
    position: relative;
    min-height: 500px;
    padding: 0;
    /* Убираем padding, чтобы не было конфликтов с рамкой */
    background-color: #C0C0C0;
    box-shadow:
        inset -8px -8px 0px 0px #868A8E,
        inset 8px 8px 0px 0px #868A8E,
        inset -7px -7px 0px 0px #C3C7CB,
        inset 7px 7px 0px 0px #C3C7CB,
        inset -2px -2px 0px 0px #868A8E,
        inset 1px 1px 0px 0px #868A8E,
        inset -1px -1px 0px 0px #000000;
    overflow: hidden;
}

.hero-img {
    position: absolute;
    top: 8px;
    left: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    object-fit: cover;
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 20px;
    right: 20px;
    /* Отступ от правого края */
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Выравниваем текст ПО ЛЕВОМУ КРАЮ, как на макете */
    text-align: left;
    color: #FFFFFF;
    max-width: 500px;
    gap: 10px;
    /* Ограничиваем ширину текста */
}

.hero-content-work {
    position: absolute;
    padding: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Выравниваем текст ПО ЛЕВОМУ КРАЮ, как на макете */
    text-align: left;
    color: #FFFFFF;
    max-width: 500px;
    gap: 10px;
    /* Ограничиваем ширину текста */
}

.hero-content h1 {
    /* Мягкая тень вместо жесткой черной обводки */
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.hero-content p {
    font-size: 24px;
    font-family: Roboto Condensed;
    font-weight: 400;
    letter-spacing: 4%;
    line-height: 1;
}

.hero-content-work h1 {
    /* Мягкая тень вместо жесткой черной обводки */
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.hero-content-work p {
    font-size: 24px;
    font-family: Roboto Condensed;
    font-weight: 400;
    letter-spacing: 4%;
    line-height: 1;
}

.win-button-hero {
    background-color: #FFFFFFCC;
    border: none;
    box-shadow:
        inset 2px 2px 0px 0px #DFDFDF,
        inset -2px -2px 0px 0px #7F7F7F,
        inset 1px 1px 0px 0px #FFFFFF,
        inset -1px -1px 0px 0px #000000;
    padding: 10px 40px;
    cursor: pointer;
    font-family: Anton;
    font-weight: 400;
    font-size: 24px;
    letter-spacing: 4%;
    text-align: center;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    line-height: 1;
    align-items: center;
    text-decoration: none;
    color: #181818;
}

.win-button-hero:hover {
    background: gainsboro;
}

.hero-tech {
    position: absolute;
    bottom: 20px;
    /* Подняли выше, чтобы не залезало на рамку */
    left: 20px;
    /* Отодвинули от левого края */
    font-family: Home Video;
    font-weight: 400;
    font-style: Regular;
    font-size: 90px;
    text-transform: uppercase;
    z-index: 2;
    color: #FFFFFF;
    line-height: 1;
}

.hero-tech-work {
    position: absolute;
    bottom: 20px;
    /* Подняли выше, чтобы не залезало на рамку */
    right: 20px;
    /* Отодвинули от левого края */
    font-family: Home Video;
    font-weight: 400;
    font-style: Regular;
    font-size: 90px;
    text-transform: uppercase;
    z-index: 2;
    color: #FFFFFF;
    line-height: 1;
}

/* SECTION 2: ABOUT */
.about-content {
    display: flex;
    padding: 20px;
    gap: 10px;
    justify-content: space-between;
    background-color: #FFFFFF;
    margin: 2px;
}

.about-icon {
    width: 100px;
    height: 100px;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 1080px;
}

.about-text p {
    font-family: Roboto Condensed;
    font-weight: 400;
    font-style: Regular;
    font-size: 32px;
    line-height: 1.2;
    color: #181818;
}

.about-text h2 {
    font-family: Roboto Condensed;
    font-weight: 400;
    font-style: Regular;
    font-size: 32px;
    line-height: 1.2;
    color: #181818;
}

.window-controls li {
    line-height: 1;
}

/* SECTION 3: NUMBERS */
.numbers-inner {
    background-color: #111111;
    color: #FFFFFF;
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
    text-align: left;
}

.stat-item h2 {
    font-family: Anton;
    font-weight: 400;
    font-style: Regular;
    font-size: 70px;
    line-height: 1;
    text-transform: uppercase;
}

.stat-item p {
    font-size: 20px;
    color: #C0C0C0;
}

.numbers-title-bar {
    background-color: #FFFFFF;
    padding: 10px 40px;
}

/* SECTION 4: SERVICES */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.service-card {
    background-color: #FFFFFF;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    border: none;
}

.service-card-header h2 {
    font-family: Roboto Condensed;
    font-weight: 400;
    font-style: Regular;
    font-size: 24px;
    color: #181818;
    text-transform: capitalize;
}

.service-card-header {
    display: flex;
    align-items: flex-end;
    gap: 16px;
}

.service-sub {
    font-family: Roboto Condensed;
    font-weight: 400;
    font-style: Regular;
    font-size: 20px;
    color: #181818;
}

.services-cta {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
    gap: 20px;
    align-items: flex-start;
}

.services-cta p {
    font-family: Roboto Condensed;
    font-weight: 400;
    font-style: Regular;
    font-size: 24px;
    color: #181818;
}

/* SECTION 5: PORTFOLIO (SLIDER) */
#portfolio {
    padding: 40px 0;
    /* Отступы для самой секции сверху и снизу */
    overflow: hidden;
    /* Защита от появления нижнего скролла на всем сайте */
}

.portfolio-header {
    margin-bottom: 20px;
}

.slider-wrapper {
    position: relative;
}

.slider-container {
    display: flex;
    gap: 20px;
    /* Расстояние между карточками */
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Firefox */
    padding-bottom: 20px;

    /* 🔥 МАГИЯ ВЫХОДА ЗА ПРАВЫЙ КРАЙ КОНТЕЙНЕРА 🔥 */
    /* Левый край остается внутри контейнера 1320px, а правый вытягивается до конца экрана */
    margin-right: calc(50% - 50vw);
    padding-right: calc(50vw - 50% + 20px);
}

.slider-container::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari */
}

.portfolio-card {
    /* Жестко фиксируем ширину. Если контейнер 1320px, 3 карточки по ~410-420px + отступы идеально в него влезут */
    flex: 0 0 480px;

    scroll-snap-align: start;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
}

.portfolio-card-content {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.portfolio-card-content p {
    font-family: Roboto Condensed;
    font-weight: 400;
    font-style: Regular;
    font-size: 24px;
    line-height: 1;
    color: #272727;
}

.portfolio-card-content h2 {
    font-family: Anton;
    font-weight: 400;
    font-style: Regular;
    font-size: 40px;
    text-transform: uppercase;
    line-height: 1.4;
}

.down-bl h2 {
    font-family: Roboto Condensed;
    font-weight: 700;
    font-style: Bold;
    font-size: 24px;
    color: #272727;
    text-transform: capitalize;
    padding-bottom: 10px;
}

.down-bl p {
    font-family: Roboto Condensed;
    font-weight: 400;
    font-style: Regular;
    font-size: 24px;
    line-height: 1;
    color: #272727;
}

.slider-controls {
    display: flex;
    justify-content: flex-end;
    /* Кнопки будут выровнены по правому краю контейнера 1320px */
    align-items: center;
    gap: 10px;
}

.slider-controls button {
    display: flex;
    border: none;
}

/* SECTION 6: TESTIMONIALS */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.testim-card {
    background-color: #FFFFFF;
    padding: 20px;
}

.testim-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    font-family: Roboto Condensed;
    font-weight: 400;
    font-style: Regular;
    font-size: 22px;
    color: #181818;
    align-items: flex-end;
    line-height: 1;
}

.testim-date {
    font-family: Roboto Condensed;
    font-weight: 400;
    font-style: Regular;
    font-size: 20px;
    color: #656565;
    line-height: 1;
    margin-bottom: 40px;
}

.testim-card p {
    font-family: Roboto Condensed;
    font-weight: 400;
    font-style: Regular;
    font-size: 20px;
    line-height: 1.2;
    color: #181818;
}

.big-quote {
    text-align: center;
    margin-top: 20px;
    padding: 0 20px;
}

.big-quote h2 {
    font-family: Anton;
    font-weight: 400;
    font-style: Regular;
    font-size: 48px;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    color: #181818;
}

/* SECTION 7: CTA BANNER */
.cta-banner {
    background-color: #87CEEB;
    /* Заглушка для неба */
    padding: 40px 20px;
    display: flex;
    gap: 20px;
    position: relative;
    overflow: hidden;
    justify-content: center;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.7;
    border: 5px solid gray;
}

.cta-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    gap: 20px;

}

.container-sky {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.cta-content h2 {
    font-family: Anton;
    font-weight: 400;
    font-size: 40px;
    line-height: 1.2;
    text-transform: uppercase;
}

/* FOOTER */
footer {
    background-color: #181818;
    color: #FFFFFF;
    padding: 30px 20px 20px 20px;
    margin-top: 40px;
    font-size: 20px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.col-1 {
    width: 100%;
    max-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.col-1 h2 {
    font-family: Roboto Condensed;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 1;
    text-transform: uppercase;
    color: #FFFFFF;
    padding-bottom: 8px;
}

.col-1 p {
    font-family: Roboto Condensed;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 1;
    color: #FFFFFF;
}

.col-2 h2 {
    font-family: Roboto Condensed;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 1;
    text-transform: uppercase;
    color: #FFFFFF;
}

.col-2 p {
    font-family: Roboto Condensed;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 1;
    color: #FFFFFF;
}

.col-2 {
    width: 100%;
    max-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.col-3 {
    width: 100%;
    max-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.list-fot {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.col-3 h2 {
    font-family: Roboto Condensed;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 1;
    text-transform: uppercase;
    color: #FFFFFF;
    padding-bottom: 8px;
}

.list-fot li {
    line-height: 1;
}

.list-fot li a {
    font-family: Roboto Condensed;
    font-weight: 500;
    font-style: Medium;
    font-size: 14px;
    line-height: 1;
    color: #FFFFFF;
    text-decoration: none;
}

.footer-logo {
    font-family: Home Video;
    font-weight: 400;
    font-style: Regular;
    font-size: 96px;
    line-height: 1.2;
    text-transform: uppercase;
    text-align: center;
}

.footer-bottom {
    font-family: Roboto Condensed;
    font-weight: 400;
    font-style: Regular;
    font-size: 12px;
    color: #FFFFFF99;
    text-align: center;
    line-height: 1;
    padding-top: 24px;
}

/* АДАПТИВ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .portfolio-card {
        min-width: calc(50% - 10px);
    }

    body {
        font-size: 24px;
    }

    .footer-logo {
        font-size: 50px;
    }
}

@media (max-width: 768px) {

    .burger-btn {
        display: flex;
        line-height: 1;
    }

    .main-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 10px;
        background: #C0C0C0;
        padding: 20px;
        border: 2px solid #000;
        z-index: 100;
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav ul {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }


    .about-content {
        flex-direction: column;
    }

    .numbers-inner {
        flex-wrap: wrap;
        gap: 40px;
        text-align: center;
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-card {
        min-width: 100%;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
    }


    .hero-tech {
        font-size: 50px;
    }
}

.window-controls li {
    display: flex;
    line-height: 1;
}

#portfolio .container {
    padding: 10px;
}

.btn-sl-per {
    display: flex;
    align-items: center;
    gap: 40px;
}

@media (max-width: 600px) {
    .logo {
        font-size: 15px;
    }

    section {
        padding: 20px 10px 0px 10px;
        background-color: #C0C0C0;
    }

    .hero-content {
        position: absolute;
        right: auto;
        top: auto;
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        color: #FFFFFF;
        max-width: 500px;
        gap: 10px;
        padding: 20px;
    }

    .hero-tech {
        font-size: 32px;
    }

    .window-header img {
        width: 16px;
    }

    .about-text {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
        max-width: 1080px;
        align-items: flex-start;
        text-align: left;
    }

    .about-icon {
        width: 60px;
        height: 60px;
    }

    .about-text p {
        font-size: 20px;
    }

    .stat-item h2 {
        font-family: Anton;
        font-weight: 400;
        font-style: Regular;
        font-size: 32px;
        line-height: 1;
        text-transform: uppercase;
        text-align: left;
    }

    .stat-item p {
        font-family: Roboto Condensed;
        font-weight: 400;
        font-style: Regular;
        font-size: 14px;
        line-height: 1;
        color: #FFFFFF;
        padding-top: 13px;
    }

    .numbers-inner {
        padding: 20px;
    }

    .service-sub {
        font-size: 16px;
    }

    .service-card-header h2 {
        font-size: 20px;
    }

    .slider-container {
        display: flex;
        gap: 20px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        padding-bottom: 20px;
        margin-right: auto;
        padding-right: auto;
    }



    .portfolio-card {
        width: 100%;
    }

    .portfolio-card {
        flex: 0 0 320px;
    }

    .slider-controls {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 10px;
        flex-direction: column;
    }

    .big-quote h2 {
        font-size: 36px;
    }

    .cta-banner {
        padding: 20px;
        align-items: center;
    }

    .cta-content {
        position: relative;
        z-index: 2;
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .footer-grid {
        display: flex;
        justify-content: space-between;
        gap: 40px;
        margin-bottom: 20px;
        flex-direction: column;
    }

    .footer-logo {
        font-size: 24px;
    }

    .footer-bottom {
        font-size: 12px;
    }
}

.title-block-ab {
    font-family: Anton !important;
    font-weight: 400 !important;
    font-style: Regular;
    font-size: 48px !important;
    line-height: 1;
    text-transform: uppercase;
    color: #272727 !important;
}

.str-txt {
    font-family: Roboto Condensed !important;
    font-weight: 700 !important;
    font-style: Bold !important;
    font-size: 24px !important;
    line-height: 1 !important;
    color: #272727 !important;
}

.block-list {
    list-style: disc;
    padding-left: 25px;
}

.block-list li {
    font-family: Roboto Condensed;
    font-weight: 400;
    font-style: Regular;
    font-size: 24px;
    line-height: 1;
    color: #272727;
}

/* --- СЕКЦИЯ ДЕМО-ИГРЫ --- */

/* Главное окно (белый фон, выпуклая рамка) */
.demo-window {
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
}

/* Шапка с текстом */
.demo-header {
    padding: 20px 40px;
}

.demo-title {
    color: #181818;
    margin-bottom: 10px;
    /* Шрифт Anton и uppercase подтянутся из ваших базовых стилей h2 */
}

.demo-subtitle {
    color: #272727;
    font-family: Roboto Condensed;
    font-weight: 400;
    font-style: Regular;
    font-size: 24px;
    line-height: 1;
}

/* Серая область вокруг игры */
.demo-body {
    background-color: #C0C0C0;
}


/* Изображение / iFrame игры */
.demo-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Красная предупреждающая плашка */
.demo-warning-bar {
    background-color: #FF4B4B;
    padding: 20px;
    text-align: center;
}

.demo-warning-text {
    font-size: 22px;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.2;
}

/* Адаптив для демо-секции на мобильных устройствах */
@media (max-width: 600px) {
    .demo-header {
        padding: 20px 15px 15px 15px;
    }

    .demo-subtitle {
        font-size: 20px;
    }

    .demo-warning-text {
        font-size: 16px;
    }

    .demo-warning-bar {
        padding: 12px 10px;
    }
}

/* Настройки секции с игрой (правая колонка) */
.demo-section {
    flex: 1;
    /* Игра занимает все оставшееся место (55%) */
    display: flex;
    align-items: center;
    /* Центрируем игру по вертикали относительно зеленого блока */
    justify-content: center;
}

/* --- Контейнер самой игры (адаптивный 16:9) --- */
.block-game {
    position: relative;
    width: 100%;
    /* Ограничитель, чтобы игра не становилась гигантской на больших экранах */
    margin: 0 auto;
    padding-bottom: 56.25%;
    /* Пропорция 16:9 */
    height: 0;
    overflow: hidden;
    /* Легкая тень, чтобы выделить игру */
}

.block-game iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    /* Убираем стандартную рамку iframe */
}


/* --- СЕКЦИИ COMPLIANCE И DISCLAIMER --- */
.compliance-section {
    padding: 40px 10px 0px 10px;
    /* Отступы как у других секций */
    background-color: #C0C0C0;
}

.compliance-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    /* Отступ между двумя блоками */
}



/* Темный блок с контентом внутри рамки */
.compliance-inner {
    background-color: #181818;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

/* Текстовые стили */
.compliance-title {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    font-size: 40px;
    line-height: 1;
    text-transform: uppercase;
    color: #FFFFFF;
    margin: 0;
}

.compliance-text {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.2;
    color: #FFFFFF;
    margin: 0;
    max-width: 1000px;
}

.compliance-text br {
    display: block;
    /* Оставляем жесткие переносы строк для ПК */
}

/* Контейнер для логотипов в нижнем блоке */
.compliance-logos {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* --- АДАПТИВ ДЛЯ COMPLIANCE БЛОКОВ --- */
@media (max-width: 768px) {
    .compliance-inner {
        padding: 30px 15px;
    }

    .compliance-title {
        font-size: 32px;
    }

    .compliance-text {
        font-size: 20px;
    }

    /* На мобильных устройствах убираем принудительные переносы строк,
       чтобы текст распределялся плавно по ширине экрана */
    .compliance-text br {
        display: none;
    }

    .compliance-logos {
        gap: 20px;
    }

    .hero-tech-work {
        font-size: 32px;
    }
}

@media (max-width: 1024px) {
    .compliance-logos {
        display: flex;
        align-items: center;
        gap: 20px;
        flex-direction: column;
        justify-content: center;
    }
}


/* --- СЕКЦИЯ КОНТАКТНОЙ ФОРМЫ --- */
.contact-section {
    padding: 60px 10px;
    background-color: #C0C0C0;
}

/* Заголовки формы */
.contact-title {
    font-family: 'Anton', sans-serif;
    font-size: 48px;
    text-align: center;
    color: #181818;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.contact-footer-title {
    font-family: 'Anton', sans-serif;
    font-size: 48px;
    line-height: 1.2;
    text-align: center;
    color: #181818;
    margin-top: 40px;
    max-width: 1162px;
    margin-left: auto;
    margin-right: auto;
    text-transform: uppercase;
}

/* Контейнер самой формы */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
    /* Центрируем форму на странице */
}

/* Строка для Name и Email (в один ряд на ПК) */
.form-row {
    display: flex;
    gap: 30px;
}

/* Группа: Label + Input */
.form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    /* Чтобы поля Name и Email занимали по 50% */
    gap: 5px;
}

.form-group label {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 20px;
    color: #181818;
    line-height: 1;
}

/* Стили вдавленных полей ввода (Win95 Input) */
.win-input {
    background-color: #FFFFFF;
    border: none;
    padding: 8px 10px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 20px;
    color: #000000;
    outline: none;
    /* Тень, создающая эффект вдавленности вглубь экрана */
    box-shadow:
        inset -1px -1px 0px 0px #FFFFFF,
        inset 1px 1px 0px 0px #000000,
        inset 2px 2px 0px 0px #868A8E;
}

.win-input:focus {
    background-color: #FFFFFF;
}

/* Текстовое поле */
textarea.win-input {
    resize: vertical;
    /* Разрешаем растягивать только вниз */
    min-height: 100px;
}

/* Обертка для кнопки, чтобы выровнять её по центру */
.button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

/* Специфичная кнопка для формы */
.contact-submit-btn {
    padding: 10px 40px;
    font-size: 24px;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    /* Жирный текст, как на картинке */
}

/* Сообщение об успешной отправке */
.success-message {
    text-align: center;
    color: #000080;
    /* Темно-синий, в стиле интерфейса */
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 24px;
    margin-top: 20px;
    display: none;
    /* Скрыто по умолчанию */
}

/* --- АДАПТИВ ДЛЯ ФОРМЫ --- */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        /* На телефонах поля друг под другом */
        gap: 20px;
    }

    .contact-title {
        font-size: 32px;
        margin-bottom: 25px;
    }

    .contact-footer-title {
        font-size: 28px;
        margin-top: 40px;
    }
}





/* --- СЕКЦИЯ COOKIE POLICY --- */
.policy-section {
    padding: 40px 10px;
    background-color: #C0C0C0;
}

/* Главный заголовок секции */
.policy-main-title {
    font-family: 'Anton', sans-serif;
    font-size: 48px;
    color: #181818;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* Белое окно с текстом */
.policy-window {
    background-color: #FFFFFF;
    padding: 20px;

}

/* Текстовые стили внутри документа */
.policy-window p,
.policy-window li {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.3;
    color: #272727;
}

/* Отступы для обычных абзацев */
.policy-window p {
    margin-bottom: 15px;
}

/* Дата обновления (жирный текст) */
.policy-date {
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    color: #181818;
}

/* Подзаголовки внутри текста (What are cookies? и т.д.) */
.policy-subheading {
    font-weight: 700 !important;
    margin-top: 30px;
    margin-bottom: 5px !important;
    color: #181818;
}

/* Список */
.policy-list {
    list-style-type: disc;
    padding-left: 30px;
    margin-bottom: 15px;
}

.policy-list li {
    margin-bottom: 5px;
}

/* Нижний слоган под документом */
.policy-footer-title {
    font-family: 'Anton', sans-serif;
    font-size: 48px;
    line-height: 1.2;
    text-align: center;
    color: #181818;
    margin-top: 40px;
    text-transform: uppercase;
}

/* --- АДАПТИВ ДЛЯ COOKIE POLICY --- */
@media (max-width: 768px) {
    .policy-main-title {
        font-size: 36px;
    }

    .policy-window {
        padding: 20px;
    }

    .policy-window p,
    .policy-window li,
    .policy-subheading {
        font-size: 18px;
    }

    .policy-footer-title {
        font-size: 28px;
        margin-top: 40px;
    }
}