* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Manrope", sans-serif;
}
ol, ul {
    list-style: none;
}

/* Добавляем общий контейнер для контроля ширины */
body {
    width: 100%;
    overflow-x: hidden; /* Убираем горизонтальный скролл */
}

.header {
    width: 100%;
    margin: 5px 0; /* Убираем боковые отступы */
    background-image: url('../images/ecto_logo.jpg');
    background-position: 0 50%;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 200px 0;
    gap: 100px;
    color: white;
}

.logo {
    width: 145px;
}

.nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tabs {
    display: flex;
    gap: 20px;
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
}

.tab {
    cursor: pointer;
    transition: 200ms ease-in-out;
}

.tab:hover {
    text-decoration: 2px underline red;
}

.about {
    width: 80%;
    max-width: 1440px;
    display: flex;
    align-self: flex-start;
    flex-direction: column;
    gap: 30px;
    padding-bottom: 500px;
}

.about_title{
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about_name {
    font-size: 60px;
    font-weight: 900;
    line-height: 66px;
    letter-spacing: -2px;
}

.about_description {
    font-weight: 400;
    font-size: 18px;
}

.main {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.main_about {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-bottom: 200px;
    padding: 100px 200px 0;
}

.main_about_title {
    font-size: 48px;
    font-weight: 900;
    line-height: 54px;
    letter-spacing: -1.5px;
}

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

.main_about_list li {
    padding: 40px;
    background-color: #f8f8f8;
    border-radius: 8px;
    min-height: 250px;
    display: flex;
    align-items: center;
}

.main_about_list li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 20px);
}

.large_container {
    width: 100%;
    background-color: #F4F4F4;
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    padding: 90px 200px 200px;
}

.large_img {
    filter: brightness(100%) contrast(100%) saturate(100%) blur(0px) hue-rotate(0deg);
    max-width: 100%;
    height: auto;
}

.large_text_container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.large_title {
    font-size: 36px;
    font-weight: 900;
    line-height: 42px;
    letter-spacing: -1px;
}

.large_list {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.large_item {
    font-weight: 400;
    color: #7A7A7A;
}

.small_container {
    width: 100%;
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    padding: 90px 200px 200px;
}

.small_img {
    max-width: 100%;
    height: auto;
}

.small_text_container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.small_title {
    font-size: 36px;
    font-weight: 900;
    line-height: 42px;
    letter-spacing: -1px;
}

.small_list {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.small_item {
    font-weight: 400;
    color: #7A7A7A;
}

.pre_footer {
    padding: 90px 200px 200px;
    display: flex;
    gap: 50px;
    justify-content: space-between;
}

.pre_footer_title {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.pre_footer_text {
    color: #7A7A7A;
    font-size: 20px;
}

.pre_footer_logo {
    width: 120px;
}

.pre_footer_info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.pre_footer_info-title {
    font-size: 24px;
    font-weight: 900;
    line-height: 30px;
    letter-spacing: -0.5px;
}

.pre_footer_info-text {
    font-size: 18px;
    line-height: 28px;
    color: #424242;
    font-weight: 600;
}

.footer {
    display: flex;
    background-color: #F4F4F4;
    flex-direction: column;
    width: 100%;
}

.post_footer {
    padding: 23px 200px 24px;
    border-style: solid;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-width: 1px 0 0 0;
    border-color: #80808030;
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    color: #949494;
    width: 100%;
    flex-wrap: wrap;
}

.post_footer_content {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.post_footer_year {
}

.post_footer_name {
    color: #292929;
}

.policy-link {
    color: #424242;
    white-space: nowrap;
}

.post_footer_info {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.footer_legal {
    font-size: 12px;
    color: #999;
    line-height: 1.4;
    text-align: right;
    white-space: nowrap;
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
    .header {
        padding: 20px 100px 0;
        gap: 80px;
    }

    .about {
        padding-bottom: 400px;
    }

    .about_name {
        font-size: 48px;
        line-height: 52px;
    }

    .main_about {
        padding: 80px 100px 0;
        margin-bottom: 150px;
    }

    .main_about_title {
        font-size: 36px;
        line-height: 42px;
    }

    .large_container,
    .small_container {
        padding: 70px 100px 150px;
    }

    .pre_footer {
        padding: 70px 100px 150px;
    }

    .post_footer {
        padding: 23px 100px 24px;
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .header {
        padding: 20px 30px 0;
        gap: 50px;
    }

    .nav {
        flex-direction: column;
        gap: 20px;
    }

    .tabs {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .about {
        width: 90%;
        padding-bottom: 300px;
        gap: 20px;
    }

    .about_name {
        font-size: 36px;
        line-height: 40px;
        letter-spacing: -1px;
    }

    .about_description {
        font-size: 16px;
    }

    .main_about {
        padding: 60px 30px 0;
        margin-bottom: 100px;
        gap: 30px;
    }

    .main_about_title {
        font-size: 28px;
        line-height: 32px;
    }

    .main_about_list {
        display: flex;
        gap: 25px;
        flex-wrap: wrap;
    }

    .main_about_list li:last-child:nth-child(odd) {
        grid-column: auto;
        width: auto;
    }

    .large_container,
    .small_container {
        padding: 50px 30px 100px;
        flex-direction: column;
        gap: 30px;
    }

    .small_container {
        flex-direction: column-reverse;
    }

    .large_title,
    .small_title {
        font-size: 28px;
        line-height: 32px;
    }

    .pre_footer {
        padding: 50px 30px 100px;
        flex-direction: column;
        gap: 40px;
    }

    .pre_footer_title {
        gap: 20px;
    }

    .pre_footer_info {
        gap: 15px;
    }

    .post_footer {
        padding: 20px 30px;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .post_footer_content,
    .post_footer_info {
        justify-content: center;
        text-align: center;
    }

    .footer_legal {
        text-align: center;
        white-space: normal;
        line-height: 1.5;
    }
}

/* Адаптивность для маленьких мобильных устройств */
@media (max-width: 480px) {
    .header {
        padding: 15px 20px 0;
        gap: 30px;
    }

    .logo {
        width: 120px;
    }

    .about {
        padding-bottom: 200px;
    }

    .about_name {
        font-size: 28px;
        line-height: 32px;
    }

    .about_description {
        font-size: 14px;
    }

    .main_about {
        padding: 40px 20px 0;
        margin-bottom: 80px;
    }

    .main_about_title {
        font-size: 24px;
        line-height: 28px;
    }

    .large_container,
    .small_container {
        padding: 40px 20px 80px;
    }

    .large_title,
    .small_title {
        font-size: 24px;
        line-height: 28px;
    }

    .pre_footer {
        padding: 40px 20px 80px;
    }

    .pre_footer_logo {
        width: 100px;
    }

    .pre_footer_info-title {
        font-size: 20px;
    }

    .pre_footer_info-text {
        font-size: 16px;
    }

    .post_footer {
        padding: 15px 20px;
    }

    .footer_legal {
        font-size: 11px;
    }
}