/* ========== ГЛОБАЛЬНЫЕ СТИЛИ ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Чтобы паддинги не раздували ширину блоков */
    color: #fff;
}

:root {
    --absolute-white: #fff;
    --grey-08: #141414;
    --grey-10: #1a1a1a;
    --grey-15: #262626;
    --grey-60: #999;
    --purple-60: #703bf7;
}

body {
    background: var(--grey-08);
    font-family: sans-serif; /* Или твой шрифт */
}

/* ========== ГЛАВНЫЙ КОНТЕЙНЕР (СЕТКА) ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ========== MAIN SECTION (Наше путешествие) ========== */
main {
    margin-top: 100px;
    margin-bottom: 50px;
}

.main-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.main-about-left {
    flex: 1;
}

.main-about-left h1 {
    margin-bottom: 14px;
    font-weight: 600;
    font-size: 48px;
    line-height: 1.2;
}

.main-about-left p {
    font-size: 18px;
    line-height: 1.5;
    color: #5d5d5d;
    margin-bottom: 40px;
}

.main-about-content {
    display: flex;
    gap: 20px;
}

.main-about-item {
    border: #d5d5d5 1px solid;
    border-radius: 12px;
    padding: 15px 24px;
    text-decoration: none;
    transition: all 0.4s ease;
}

.main-about-item:hover {
    transform: scale(1.01);
    background-color: #262626;
}

.main-about-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.main-about-right img {
    max-width: 100%;
    height: auto;
}

/* ========== HERO SECTION (Услуги) ========== */
.hero-section {
    padding: 80px 0;
}

.hero-text {
    margin-bottom: 60px;
    border-bottom: 1px solid var(--grey-15);
    padding-bottom: 40px;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-text p {
    color: var(--grey-60);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px;
}

.service-card {
    background: var(--grey-10);
    border: 1px solid var(--grey-15);
    border-radius: 12px;
    padding: 40px;
    position: relative;
    text-align: center;
    transition: all 0.4s ease;
}

.service-card:nth-child(3) {
    grid-column: 1 / span 2;
}

.service-card a {
    text-decoration: none;
}

.icon-box {
    width: 60px;
    height: 60px;
    border: 1px solid var(--purple-60);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 4px var(--grey-10), 0 0 0 5px rgba(112, 59, 247, 0.2);
}

.arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 24px;
    opacity: 0.5;
}

/* ========== VALUES SECTION (Ценности) ========== */
.values {
    padding: 80px 0;
}

.values-container {
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.values-left {
    flex: 0 0 400px;
}

.values-left h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 50px;
}

.values-left p, .values-right p{
    color: #5d5d5d;
}

.values-right {
    flex: 1;
    background: var(--grey-10);
    border: 1px solid var(--grey-15);
    border-radius: 12px;
}

.values-right h2{
    font-size: 20px;
    margin-bottom: 30px;
    margin-top: 20px;
}

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

.values-grid-item {
    padding: 40px;
    border-bottom: 1px solid var(--grey-15);
}

.values-grid-item:nth-child(odd) {
    border-right: 1px solid var(--grey-15);
}

.values-grid-item:nth-last-child(-n+2) {
    border-bottom: none;
}

/* ========== INFO SECTION (Решения) ========== */
/* 
.info {
    padding-bottom: 100px;
}

.info-flex {
    display: flex;
    gap: 60px;
}

.info-left {
    flex: 0 0 400px;
}

.info-left h1 {
    font-size: 48px;
    margin-bottom: 20px;
}


.info-bottom a {
    display: block;
    text-align: center;
    padding: 15px;
    background: var(--grey-08);
    border: 1px solid var(--grey-15);
    border-radius: 10px;
    text-decoration: none;
    margin-top: 20px;
}

.info-right {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.info-card {
    background: var(--grey-10);
    border: 1px solid var(--grey-15);
    border-radius: 12px;
    padding: 30px;
} */

/* ========== АДАПТИВНОСТЬ ========== */
@media (max-width: 1024px) {
    .main-flex, .values-container, .info-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .values-left, .info-left {
        flex: none;
        width: 100%;
    }

    .main-about-right {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .services-grid, .values-grid, .info-right {
        grid-template-columns: 1fr;
    }

    .values-grid-item:nth-child(odd) {
        border-right: none;
    }

    .values-grid-item {
        border-bottom: 1px solid var(--grey-15);
    }
}