﻿.page-how {
    background-color: var(--site-bg, var(--bg));
}
    /* ===== The section-intro ===== */

    .page-how .section-intro {
        position: relative;
        width: 100%;
        height: 760px;
        background-image: url('/images/pages/how-intro-bg.png');
        background-size: cover;
        background-position: center bottom;
        background-repeat: no-repeat;
        padding: 60px 0;
    }

    .page-how .section-intro .content-container {
        height: 232px;
        padding-right: 580px;
        gap: 24px;
        display: block;
        padding-top: 210px;
    }

    .page-how .section-intro h1 {
        line-height: 1.2;
    }

    .page-how .section-intro p {
        line-height: 1.4;
        margin-top: 16px;
        margin-bottom: 16px;
    }

    .page-how .section-intro .intro-child {
        position: absolute;
        bottom: 0;
        right: calc((100vw - 1200px) / 2 - 70px);
        pointer-events: none; 
        user-select: none;
        max-width: none;
    }

    /* ===== The Simple Science ===== */

    .page-how .section-simple-science {
        padding-bottom: 60px;
    }
    
    .page-how .section-simple-science p {
        line-height: 1.3;
        margin-bottom: 4px;
    }

    .page-how .section-simple-science h2 {
        margin-bottom: 6px;
    }
    .page-how .section-simple-science h3 {
        margin-top: 10px;
        margin-bottom: 6px;
    }

    .page-how .title {
        text-align: center;
    }
    .page-how .two-cards {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 36px;
        text-align: left;
        margin: 50px auto;
    }
        .page-how .two-cards .card {
            display: flex;
            align-items: flex-start;
            gap: 20px;
        }

            .page-how .two-cards .card .card-image {
                flex-shrink: 0;
            }
            .page-how .two-cards .card .card-content {
                display: flex;
                flex-direction: column;
            }

    /* ===== Hardware Section ===== */
    .page-how .section-hardware {
        position: relative;
        width: 100%;
        background: #0F466A; 
        overflow: hidden;
        padding: 60px 0;
        display: flex;
        justify-content: center; /* content-container по центру */
    }

        /* накладываемый векторный слой (вторым слоем, повернуть -10deg) */
        .page-how .section-hardware .hardware-vector {
            position: absolute;
            top: 50%;
            left: 50%;
            height: auto;
            width: 100%;
            transform: translateX(-50%) rotate(-10deg) scale(1.1);
            pointer-events: none;
            z-index: 1;
        }

        /* центрированный контейнер с фиксированной шириной, как на home */
        .page-how .section-hardware .content-container {
            position: relative;
            z-index: 3;
                }

        /* Заголовки сверху — три текстовки */
        .page-how .section-hardware .hardware-title {
            margin-bottom: 18px;
            text-align: center;
            line-height: 1.3;
            margin: 20px;
        }


        .page-how .section-hardware p {
            line-height: 1.3;
            margin-bottom: 14px;
            padding: 4px;
        }

        .page-how .section-hardware h2 {
            margin-bottom: 6px;
        }

        .page-how .section-hardware h3 {
            margin-top: 10px;
            margin-bottom: 6px;
        }


        /* Сетка: 3 колонки × 2 ряда */
        .page-how .section-hardware .hardware-grid {
            display: grid;
            grid-template-columns: 28% 28% 44%;
            grid-template-rows: repeat(2, 1fr);
            gap: 24px;
            height: 540px; /* оставляем место для карточек в верхней части секции */
            margin-bottom: 20px;
        }

        .page-how .section-hardware .feature-card {
            background: rgba(255,255,255,1);
            color: #113F56;
            border: 4px solid rgba(27,27,27,0.06);
            border-radius: 16px;
            box-shadow: 0 10px 30px rgba(2,6,23,0.06);
            padding: 20px;
            display: flex;
            flex-direction: column;
            gap: 16px;
            align-items: flex-start;
            justify-content: flex-start;
        }
            .page-how .section-hardware .feature-card h4 {
                text-align:center;
                
            }

            .page-how .section-hardware .feature-image {
                display: flex;
                align-items: center;
                justify-content: center;
                overflow: hidden;
            }
            .page-how .section-hardware .feature-image img {
                object-fit: cover;
            }

        .page-how .section-hardware .buttons-group {
            text-align: left;
            justify-content: flex-start;
            gap: 16px;
        }
        .page-how .section-hardware .btn.large {
            background: #14B5D1;
            padding: 10px 10px;
            color: var(--text-dark-gray2);
            border-radius: 24px;
            text-align: center;
           
        }


/* ===== Process Section ===== */
.page-how .section-process {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #0F466A;
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    min-height: 608px;
}
/*  (слой 2) */
    .page-how .section-process .blue-triangle-bg {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: auto;
        object-fit: cover;
        z-index: 1;
        pointer-events: none;
        object-fit: contain;
        z-index: 1;
        pointer-events: none;
    }


    .page-how .section-process .content-container {
        position: relative;
        z-index: 3;

    }

    .page-how .section-process .title {
        text-align: center;
       
        margin-bottom: 40px;
    }

    /* Сетка карточек */
    .page-how .section-process .process-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .page-how .section-process .process-card {
        position: relative;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(32px);
        border-radius: 16px;
        padding: 24px;
        box-shadow: 0 10px 30px rgba(2,6,23,0.06);


        border: 4px solid rgba(27, 27, 27, 0.1);
        /*padding-top: 70px;*/ /* место для бейджа */
        text-align: left;
    }

        .page-how .section-process .process-card .card-badge {
            position: absolute;
            top: -4px;
            left: -4px;
            background: rgba(240,90,40,0.9);
            padding: 12px 24px;
            border-top-left-radius: 16px;
            border-bottom-right-radius: 12px;
            z-index: 2;
        }

        .page-how .section-process .process-card .card-title {
            margin-top: 36px; /* чтобы не перекрывал бэйдж */
        }

        .page-how .section-process .process-card p {
            margin-top: 8px;
            margin-bottom: 20px;
        }


    /* ===== FAQ Section ===== */










    .page-how .section-faq .faq-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin: 50px auto;
    }

    .page-how .section-faq .faq-question {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #fff;
        padding: 16px 20px;
        border-radius: 8px;
        border: none;
        cursor: pointer;
        text-align: left;
    }

    /* стрелка */
    .page-how .section-faq .faq-arrow {
        width: 24px;
        height: 24px;
        background-image: var(--icon-arrow);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        transition: transform 0.2s ease;
    }

    .page-how .section-faq .faq-answer {
        display: none;
    }
    .page-how .section-faq .faq-answer-inner ul.faq-bullets {
        list-style-type: disc;
        padding-left: 20px;
        margin: 8px 0; 
    }
       

    .page-how .section-faq .faq-answer-inner {
        background: #fff;
        padding: 16px 20px;
        border-radius: 0 0 8px 8px;
        margin-top: 5px;
    }

    /* открытый элемент */
    .page-how .section-faq .faq-item.open .faq-answer {
        display: block;
        line-height: 1.3;
    }

    .page-how .section-faq .faq-item.open .faq-arrow {
        transform: rotate(90deg);
    }

    .page-how .section-faq .faq-item.open .faq-question {
        border-radius: 8px 8px 0 0 !important; 
    }

    /* вопрос становится оранжевым*/
    .page-how .section-faq .faq-item.open .faq-question-text {
        color: #F05A28;
    }


    /* ===== Ready to Start Section ===== */

    .page-how .section-ready {
        position: relative;
        width: 100%;
        height: 477px;
        background-image: url('/images/pages/how-ready-bg.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        overflow: hidden;
    }

        /* ребёнок слева от контент-контейнера */
        .page-how .section-ready .how-ready-child {
            position: absolute;
            bottom: 0;
            left: calc((100vw - 1200px) / 2 - 70px);
            pointer-events: none;
            user-select: none;
        }

        .page-how .section-ready .content-container {
            height: 232px;
            padding-left: 360px;
            gap: 24px;
            display: block;
            padding-top: 140px;
        }

        .page-how .section-ready p {
            margin-top: 14px;
            margin-bottom: 36px;
        }


        .page-how .section-ready .buttons-group {
            text-align: left;
            justify-content: flex-start;
            gap: 16px;
        }

        .page-how .section-ready .btn {
            padding: 14px 30px;
            border-radius: 24px;
        }
