/* ========== RESET & DEFAULTS ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    color: #1a1a1a;
    line-height: 1.6;
}

/* ========== HEADER ========== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: white;
    border-bottom: 1px solid #e0e0e0;
}

.logo {
    font-size: 14px;
    font-weight: 700;
}

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

.nav a {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 14px;
}

.nav a[aria-current] {
    color: #1e3a8a;
    font-weight: 600;
}

.phone {
    color: #1e3a8a;
    font-weight: 600;
}

/* ========== SECTIONS ========== */
.section {
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
}

.about-desc {
    margin-bottom: 15px;
    border: 2px solid #c0c0c0;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0px 5px rgba(0,0,0,0.1);
}

.about-desc h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e3a8a;
}

.about-desc p {
    font-size: 16px;
    line-height: 1.6;
    color: #666666;
}

/* ========== CARDS GRID (3 COLUMNS) ========== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.card {
    background: #f5f5f5;
    border: 2px solid #c0c0c0;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
}

.card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e3a8a;
}

.card p {
    font-size: 16px;
    line-height: 1.6;
    color: #666666;
}

.icon {
    font-size: 48px;
    margin-bottom: 15px;
}

/* ========== VALUES GRID (2 COLUMNS) ========== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.value-item {
    background: white;
    border-left: 4px solid #1e3a8a;
    padding: 25px;
    border-radius: 4px;
}

.value-item h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.value-item p {
    font-size: 15px;
    line-height: 1.5;
    color: #666666;
}

/* ========== PROCESS STEPS (4 COLUMNS) ========== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.step {
    background: #e8eaed;
    padding: 30px 20px;
    text-align: center;
    border-radius: 8px;
}

.step-num {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: #1e3a8a;
    color: white;
    border-radius: 50%;
    line-height: 50px;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 15px;
}

.step h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.step p {
    font-size: 14px;
    color: #666666;
}

/* ========== TEAM BLOCK ========== */
.team-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: #f5f5f5;
    padding: 50px;
    border-radius: 8px;
    margin: 60px 0;
}

.team-image {
    background: #d4d4d4;
    height: 300px;
    border-radius: 8px;
}

.team-text h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.team-text p {
    font-size: 16px;
    line-height: 1.7;
    color: #666666;
    margin-bottom: 15px;
}

/* ========== FOOTER CTA SECTION ========== */
.section-footer {
    background: #e8eaed;
    background-image: url("/frontend/icons/z-image-turbo_00211_.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    text-align: center;
    padding: 60px 40px;
    border-radius: 8px;
    margin: 60px 40px;
}

.section-footer h2 {
    margin-bottom: 20px;
}

.section-footer p {
    font-size: 18px;
    color: #666666;
    margin-bottom: 25px;
}

.our-section {
    background-image: url("/frontend/icons/z-image-turbo_00223_.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    border-radius: 20px;
}

.section h2 {
    color: white;
    background-color: #223982;
    border-radius: 20px;
}

/* ========== BUTTON ========== */
.btn {
    display: inline-block;
    background: #1e3a8a;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    margin-top: 30px;
    transition: background 0.3s;
}

.btn:hover {
    background: #152e5f;
}

/* ========== RESPONSIVE ========== */

/* планшеты и ниже */
@media (max-width: 1024px) {
    .section {
        padding: 60px 30px;
    }

    .section-footer {
        margin: 40px 20px;
        padding: 50px 30px;
    }

    .team-block {
        padding: 40px 30px;
        gap: 30px;
    }
}

/* мобильные */
@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .nav {
        flex-basis: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .phone {
        font-size: 14px;
    }

    .section {
        padding: 50px 20px;
    }

    .section h2 {
        font-size: 32px;
        text-align: center;
        padding: 10px 15px;
    }

    .about-desc {
        padding: 20px;
    }

    .grid-3,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-block {
        grid-template-columns: 1fr;
        padding: 35px 20px;
        margin: 40px 0;
    }

    .team-image {
        height: 240px;
    }

    .section-footer {
        margin: 40px 15px;
        padding: 40px 20px;
        border-radius: 6px;
        background-size: cover;
    }

    .section-footer p {
        font-size: 16px;
    }

    .btn {
        width: 100%;
        max-width: 320px;
    }
}

/* очень маленькие экраны */
@media (max-width: 480px) {
    .header {
        padding: 10px 15px;
    }

    .logo {
        font-size: 13px;
    }

    .nav {
        gap: 10px;
    }

    .nav a {
        font-size: 13px;
    }

    .section {
        padding: 40px 15px;
    }

    .section h2 {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .card,
    .value-item,
    .step {
        padding: 20px 15px;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .team-block {
        padding: 25px 15px;
        border-radius: 6px;
    }

    .team-text h3 {
        font-size: 24px;
    }

    .team-text p {
        font-size: 14px;
    }

    .section-footer {
        margin: 30px 10px;
        padding: 30px 15px;
    }

    .section-footer p {
        font-size: 15px;
    }
}