* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #1a4d3a;
    color: #ffffff;
    min-height: 100vh;
}

li {
    list-style-type: none;
}

.container {
    width: 100%;
    padding: 0 30px 60px;
}

/* Верхний хедер */
.top-header {
    padding: 20px 0;
}

.top-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    margin-top: 30px;
}

.tel {
    color: #ff8c42;
}



.top-header-left {
    color: rgb(154, 154, 154);
}

.top-header-right {
    color: #ff8c42;
}

/* Основной контент */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 80px 0;
    min-height: calc(100vh - 100px);
}

.main-title {
    font-size: 170px;
    font-weight: bold;
    line-height: 0.5;
    margin-bottom: 80px;
    color: #ffffff;
    letter-spacing: -8px;
}


.divider-line {
    width: 100%;
    height: 1px;
    background-color: #ffffff;
    margin-bottom: 40px;
    margin-top: 50px;
}

.bottom-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.bottom-content>*:first-child {
    flex: 1;
}

.bottom-content>*:last-child {
    flex: 1.8;
}

.title-line {
    display: flex;
    align-items: center;
    gap: 0;
}

.title-line:last-child {
    margin-left: 30px;
    position: relative;
    z-index: 2;
}

.title-line-text {
    position: relative;
    z-index: 2;
}

.orange-one {
    position: absolute;
    left: 75px;
    top: 70px;
    transform: translateY(-50%);
    width: 87px;
    height: 85px;
    background-color: #ff8c42;
    z-index: 1;
}

.arrow-icon {
    width: 90px;
    height: 90px;
    fill: #ff8c42;
    margin-left: -8px;
    margin-right: -8px;
    vertical-align: middle;
    display: inline-block;
}

.subtitle {
    font-size: 32px;
    color: #ff8c42;
    line-height: 1.3;
}

.description {
    font-size: 42px;
    line-height: 1.3;
    color: #ffffff;
    font-weight: 400;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .main-title {
        font-size: 90px;
    }

    .top-header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-top: 0;
    }

    .arrow-icon {
        width: 70px;
        height: 70px;
    }

    .description {
        font-size: 36px;
    }

    .subtitle {
        font-size: 28px;
    }

    .page-section-wrapper,
    .page-approaches-wrapper {
        gap: 200px;
    }

    .page-content-wrapper {
        gap: 120px;
    }

    .page-section-header,
    .page-about-header {
        padding-top: 30px;
    }

    .page-section-content,
    .page-about-content {
        padding-top: 0px;
        padding-bottom: 0px;
    }

    .page-approaches-main {
        margin-left: 80px;
        max-width: 85%;
    }

    .page-care-category-wrapper {
        gap: 200px;
    }

    .page-family-category-wrapper {
        gap: 200px;
    }

    .page-info-category-wrapper {
        gap: 200px;
    }

    .orange-one {
        width: 38px;
        height: 45px;
        left: 40px;
        top: 37px;
    }
}

@media (max-width: 968px) {
    .bottom-content {
        flex-direction: column;
        gap: 40px;
    }

    .main-title {
        font-size: 70px;
    }

    .arrow-icon {
        width: 55px;
        height: 55px;
    }

    .description {
        font-size: 30px;
    }

    .subtitle {
        font-size: 24px;
    }

    .top-header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        word-break: break-all;
        white-space: pre-line;
    }

    .page-section-header,
    .page-about-header {
        padding-top: 24px;
    }

    .page-content-wrapper>*:first-child {
        width: 100%;
    }

    .page-section-wrapper>*:first-child,
    .page-approaches-wrapper>*:first-child {
        width: 100%;
    }

    .page-approaches-main {
        margin-left: 0;
        max-width: 100%;
    }

    .page-approaches-wrapper {
        gap: 40px;
    }

    .page-conditions-left {
        width: 100%;
    }

    .page-care-category-wrapper>*:first-child {
        width: 100%;
    }

    .page-family-category-wrapper>*:first-child {
        width: 100%;
    }

    .page-info-category-wrapper>*:first-child {
        max-width: 100%;
    }

    .orange-one {
        width: 26px;
        height: 35px;
        left: 31px;
        top: 29px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 20px;
    }

    .orange-one {
        width: 14px;
        height: 27px;
        left: 22px;
        top: 20px;
    }

    .main-title {
        font-size: 50px;
    }

    .arrow-icon {
        width: 40px;
        height: 40px;
    }

    .description {
        font-size: 24px;
    }

    .subtitle {
        font-size: 20px;
    }

    .top-header-content {
        font-size: 12px;
        word-break: break-all;
        white-space: pre-line;
    }

    .page-section-header,
    .page-about-header {
        padding-top: 20px;
        padding-bottom: 16px;
    }

    .page-section-wrapper,
    .page-approaches-wrapper {
        gap: 24px;
    }

    .page-content-wrapper {
        gap: 24px;
    }

    .page-approaches-main {
        margin-left: 0;
    }

    .page-section-subtitle {
        margin-top: 12px;
    }

    .page-section-title {
        margin-top: 12px;
    }

    .page-conditions-subtitle-main {
        margin-top: 12px;
    }

    .page-section-list {
        max-width: 100%;
    }

    .page-conditions-facilities {
        max-width: 100%;
    }
}

/* Стили для секций */
.page-about-section,
.page-services-section,
.page-approaches-section,
.page-conditions-section,
.page-care-section,
.page-resocialization-section,
.page-family-section,
.page-info-section,
.page-achievements-section,
.page-contacts-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 3px;
}

/* Общие стили для секций */

.page-section-header,
.page-about-header {
    padding: 20px 0;
    padding-top: 40px;
}

.page-section-divider,
.page-about-divider {
    width: 100%;
    height: 1px;
    margin-top: 20px;
    margin-bottom: 0;
    background-color: rgba(255, 255, 255, 0.3);
}

.page-about-divider {
    background-color: #ffffff;
}

.page-section-content,
.page-about-content {
    flex: 1;
    display: flex;
    align-items: flex-start;
}

.page-about-content {
    padding-bottom: 0;
}

.page-section-wrapper,
.page-approaches-wrapper {
    display: flex;
    gap: 350px;
    align-items: flex-start;
    width: 100%;
}

.page-section-wrapper>*:first-child,
.page-approaches-wrapper>*:first-child {
    width: 200px;
    flex-shrink: 0;
}

.page-section-wrapper>*:last-child,
.page-approaches-wrapper>*:last-child {
    flex: 1;
}

.page-section-subtitle {
    font-size: 32px;
    color: #ff8c42;
    font-weight: 400;
    line-height: 1.3;
    width: 100%;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin: 0;
    padding: 0;
    align-self: flex-start;
    margin-top: 17px;
}

.page-services-section,
.page-approaches-section {
    white-space: nowrap;
}

.page-section-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 675px;
}

.page-section-item {
    font-size: 24px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 400;
}

.page-section-item-last {
    font-size: 24px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    padding: 20px 0;
    border-bottom: none;
    font-weight: 400;
}

.page-about-section {
    background-color: #2a2a2a;
}

.page-about-divider {
    background-color: #ffffff;
    margin-top: 20px;
    margin-bottom: 0;
}

.page-content-wrapper {
    display: flex;
    gap: 200px;
    align-items: flex-start;
    width: 100%;
}

.page-content-wrapper>*:first-child {
    width: 200px;
    flex-shrink: 0;
}

.page-content-wrapper>*:last-child {
    flex: 1;
}

.page-section-title {
    font-size: 32px;
    color: #ff8c42;
    font-weight: 400;
    line-height: 1;
    margin: 0;
    padding: 0;
    margin-top: 17px;
}

/* Общий класс для основных заголовков секций */
.main-text {
    font-size: 72px;
    font-weight: 400;
    line-height: 1;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    padding: 0;
    text-wrap-mode: wrap;
}

.page-description {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.page-description-main-text {
    font-size: 70px;
    max-width: 1285px;
    margin: 0;
    padding: 0;
    line-height: 1;
}

.sub-text {
    font-size: 24px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    max-width: 460px;
}

.page-description-certificate {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

@media (max-width: 968px) {
    .page-content-wrapper {
        flex-direction: column;
        gap: 60px;
    }

    .page-section-title {
        font-size: 28px;
    }

    .page-description-main-text {
        font-size: 20px;
        max-width: 100%;
    }

    .sub-text {
        font-size: 24px;
    }

    .page-description-certificate {
        font-size: 12px;
    }
}

@media (max-width: 640px) {
    .page-content-wrapper {
        gap: 40px;
    }

    .page-section-title {
        font-size: 24px;
    }

    .page-description-main-text {
        font-size: 18px;
        max-width: 100%;
    }

    .sub-text {
        font-size: 14px;
    }

    .page-description-certificate {
        font-size: 11px;
    }
}

/* Стили для секции "С чем мы работаем" */
.page-services-section {
    background-color: #2a2a2a;
}

.page-services-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 0;
    padding-top: 0;
    align-self: flex-start;
}

@media (max-width: 1200px) {
    .main-text {
        font-size: 42px;
    }

    .page-description-main-text {
        font-size: 42px;
        max-width: 100%;
    }

    .page-section-item,
    .page-section-item-last {
        font-size: 22px;
        word-break: break-all;
        white-space: pre-line;
    }
}

@media (max-width: 968px) {

    .page-section-wrapper,
    .page-approaches-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .page-section-subtitle {
        font-size: 28px;
    }

    .main-text {
        font-size: 36px;
    }

    .page-description-main-text {
        font-size: 36px;
        max-width: 100%;
    }

    .page-section-item,
    .page-section-item-last {
        font-size: 20px;
        padding: 18px 0;
    }
}

@media (max-width: 640px) {

    .page-section-wrapper,
    .page-approaches-wrapper {
        gap: 30px;
    }

    .page-section-subtitle {
        font-size: 24px;
    }

    .main-text {
        font-size: 28px;
    }

    .page-description-main-text {
        font-size: 28px;
        max-width: 100%;
    }

    .page-section-item,
    .page-section-item-last {
        font-size: 18px;
        padding: 16px 0;
    }
}

/* Стили для секции "Наши подходы и программы" */
.page-approaches-section {
    background-color: #2a2a2a;
}

.page-approaches-wrapper {
    gap: 200px;
}

.page-approaches-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 70%;
    margin-left: 150px;
    margin-top: 0;
    padding-top: 0;
    align-items: flex-start;
    align-self: flex-start;
}

.page-approaches-bottom {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
    text-wrap-mode: wrap;
}

.page-approaches-bottom-text {
    font-size: 24px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.page-approaches-plus {
    font-size: 32px;
    color: #ff8c42;
    font-weight: 400;
    flex-shrink: 0;
}

@media (max-width: 1200px) {
    .page-approaches-bottom-text {
        font-size: 22px;
    }

    .page-approaches-plus {
        font-size: 28px;
    }
}

@media (max-width: 968px) {
    .page-approaches-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .page-approaches-bottom-text {
        font-size: 20px;
    }

    .page-approaches-plus {
        font-size: 24px;
        align-self: center;
    }
}

@media (max-width: 640px) {
    .page-approaches-bottom {
        gap: 12px;
    }

    .page-approaches-bottom-text {
        font-size: 18px;
    }

    .page-approaches-plus {
        font-size: 20px;
    }
}

/* Стили для секции "Где и в каких условиях проходит помощь" */
.page-conditions-section {
    background-color: #2a2a2a;
}

.page-conditions-left {
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: flex-start;
    width: 200px;
    flex-shrink: 0;
}

.page-conditions-subtitle-main {
    font-size: 32px;
    color: #ff8c42;
    font-weight: 400;
    line-height: 1.3;
    align-self: flex-start;
    margin-top: 17px;
}

.page-conditions-subtitle-secondary {
    font-size: 24px;
    color: #ff8c42;
    font-weight: 400;
    line-height: 1.3;
    margin-top: auto;
}

.page-conditions-right {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.page-conditions-main-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-self: flex-start;
}

.page-conditions-facilities {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    max-width: 650px;
}

.page-conditions-facility-item {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.page-conditions-slash {
    font-size: 20px;
    color: #ff8c42;
    font-weight: 400;
}

@media (max-width: 1200px) {
    .page-conditions-facility-item {
        font-size: 18px;
    }

    .page-conditions-slash {
        font-size: 18px;
    }
}

@media (max-width: 968px) {
    .page-conditions-left {
        gap: 40px;
    }

    .page-conditions-subtitle-main {
        font-size: 28px;
    }

    .page-conditions-subtitle-secondary {
        font-size: 22px;
    }

    .page-conditions-facilities {
        gap: 8px;
    }

    .page-conditions-facility-item {
        font-size: 18px;
    }

    .page-conditions-slash {
        font-size: 18px;
    }
}

@media (max-width: 640px) {
    .page-conditions-left {
        gap: 30px;
    }

    .page-conditions-subtitle-main {
        font-size: 24px;
    }

    .page-conditions-subtitle-secondary {
        font-size: 20px;
    }

    .page-conditions-facilities {
        gap: 6px;
    }

    .page-conditions-facility-item {
        font-size: 16px;
    }

    .page-conditions-slash {
        font-size: 16px;
    }
}

/* Стили для секции "Питание и режим дня" */
.page-care-section {
    background-color: #2a2a2a;
}

.page-care-wrapper {
    width: 100%;
}

.page-care-categories {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.page-care-category {
    width: 100%;
}

.page-care-category-wrapper {
    display: flex;
    gap: 450px;
    align-items: flex-start;
}

.page-care-category-title {
    font-size: 32px;
    color: #ff8c42;
    font-weight: 400;
    line-height: 1.3;
    padding-top: 15px;
}

.page-care-category-content {
    width: 100%;
}


@media (max-width: 968px) {
    .page-care-category-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .page-care-categories {
        gap: 50px;
    }

    .page-care-category-title {
        font-size: 28px;
    }
}

@media (max-width: 640px) {
    .page-care-category-wrapper {
        gap: 30px;
    }

    .page-care-categories {
        gap: 40px;
    }

    .page-care-category-title {
        font-size: 24px;
    }
}

/* Стили для секции "Ресоциализация и сопровождение" */
.page-resocialization-section {
    background-color: #2a2a2a;
}

.page-resocialization-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 0;
    padding-top: 0;
}

@media (max-width: 968px) {
    .page-resocialization-subtitle {
        font-size: 28px;
    }
}

@media (max-width: 640px) {
    .page-resocialization-subtitle {
        font-size: 24px;
    }
}

/* Стили для секции "Работа с родственниками и дополнительные услуги" */
.page-family-section {
    background-color: #333333;
}

.page-family-wrapper {
    width: 100%;
}

.page-family-categories {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.page-family-category {
    width: 100%;
}

.page-family-category-wrapper {
    display: flex;
    gap: 350px;
    align-items: flex-start;
}

.page-family-category-wrapper>*:first-child {
    width: 200px;
    flex-shrink: 0;
}

.page-family-category-wrapper>*:last-child {
    flex: 1;
}

.page-family-category-title {
    font-size: 32px;
    color: #ff8c42;
    font-weight: 400;
    line-height: 1.3;
}

.page-family-category-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}



@media (max-width: 968px) {
    .page-family-category-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .page-family-categories {
        gap: 50px;
    }

    .page-family-category-title {
        font-size: 28px;
    }
}

@media (max-width: 640px) {
    .page-family-category-wrapper {
        gap: 30px;
    }

    .page-family-categories {
        gap: 40px;
    }

    .page-family-category-title {
        font-size: 24px;
    }
}

/* Стили для секции "О нас и география работы" */
.page-info-section {
    background-color: #2a2a2a;
}

.page-info-wrapper {
    width: 100%;
}

.page-info-categories {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.page-info-category {
    width: 100%;
}

.page-info-category-wrapper {
    display: flex;
    gap: 450px;
    align-items: flex-start;
}

.content {
    gap: 135px
}

.page-info-category-wrapper>*:first-child {
    max-width: 400px;
    flex-shrink: 0;
}

.page-info-category-wrapper>*:last-child {
    flex: 1;
}

.page-info-category-title {
    font-size: 32px;
    color: #ff8c42;
    font-weight: 400;
    line-height: 1.3;
}

.page-info-category-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}



@media (max-width: 968px) {
    .page-info-category-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .page-info-categories {
        gap: 50px;
    }

    .page-info-category-title {
        font-size: 28px;
    }
}

@media (max-width: 640px) {
    .page-info-category-wrapper {
        gap: 30px;
    }

    .page-info-categories {
        gap: 40px;
    }

    .page-info-category-title {
        font-size: 24px;
    }
}

/* Стили для секции "Достижения" */
.page-achievements-section {
    background-color: #2a2a2a;
}

.page-achievements-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-self: flex-start;
}

.page-achievements-project {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

@media (max-width: 968px) {
    .page-achievements-subtitle {
        font-size: 28px;
    }
}

@media (max-width: 640px) {
    .page-achievements-subtitle {
        font-size: 24px;
    }
}

/* Стили для секции "Контакты" */
.page-contacts-section {
    background-color: #1a4d3a;
}

.page-contacts-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-self: flex-start;
}

@media (max-width: 968px) {
    .page-contacts-subtitle {
        font-size: 28px;
    }
}

@media (max-width: 640px) {
    .page-contacts-subtitle {
        font-size: 24px;
    }
}

@media (max-width: 1835px) {
    .page-section-list {
        word-break: break-all;
        white-space: pre-line;
    }
}