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

.main_container {
    max-width: 1000px;
    margin: 120px auto 100px;
    padding: 0 20px;
    font-family: "Noto Sans", sans-serif;
    color: #333;
}

/* --- Раздел "О нас" --- */
.about_us {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 80px;
    text-align: left;
}

.about_us .image_1 {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about_us .image_1 img {
    width: 100%;
    max-width: 350px;
    border-radius: 16px;
    object-fit: cover;
}

.about_us-text {
    flex: 2;
}

.about_us-text h1 {
    font-size: 32px;
    font-weight: 700;
    color: #222;
    margin-bottom: 25px;
}

.about_us-text p {
    font-size: 16px;
    font-weight: 500;
    color: #555;
    line-height: 1.6;
}

/* --- Авторский блок (фото слева, текст справа) --- */
.author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 100px;
    text-align: left;
}

.author .image_2 {
    flex: 1;
    display: flex;
    justify-content: center;
}

.author .image_2 img {
    width: 100%;
    max-width: 350px;
    border-radius: 16px;
    object-fit: cover;
}

.author-text {
    flex: 2;
    max-width: 850px;
}

.author-text h1 {
    font-size: 32px;
    font-weight: 700;
    color: #222;
    margin-bottom: 25px;
}

.author-text p {
    font-size: 16px;
    font-weight: 500;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* --- Цитаты --- */
blockquote {
    position: relative;
    font-style: italic;
    font-size: 16px;
    color: #2f8f3f;
    margin: 40px 0;
    padding: 35px 45px 35px 65px;
    background: #f2fff2;
    border-radius: 12px;
}

blockquote::before,
blockquote::after {
    position: absolute;
    color: rgba(97, 212, 101, 0.3);
    font-family: serif;
    font-weight: bold;
    font-size: 60px;
    line-height: 0;
}

blockquote::before {
    content: "“";
    top: 10px;
    left: 25px;
}

blockquote::after {
    content: "”";
    bottom: 15px;
    right: 35px;
}

blockquote.highlight {
    background: linear-gradient(180deg, #f7fff8 0%, #ffffff 100%);
    color: #333;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    padding: 35px 25px;
    border-left: 6px solid #61d465;
}

/* --- Команда --- */
.team-members {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.team-members h1 {
    font-size: 32px;
    font-weight: 700;
    color: #222;
    margin-bottom: 40px;
}

/* Сетка из трёх карточек */
.members {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-items: center;
    align-items: start;
}

/* --- Карточка участника --- */
.profile {
    text-align: center;
    background: #fff;
    border: 2px solid #eeeeee;
    border-radius: 16px;
    padding: 25px 20px;
    width: 90%;
    max-width: 280px;
    position: relative;
}

.profile img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.profile h1 {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.profile p {
    font-size: 15px;
    color: #555;
}

/* Текст под карточками */
.members p {
    grid-column: 1 / -1; /* текст занимает всю ширину под карточками */
    font-size: 16px;
    font-weight: 500;
    color: #444;
    line-height: 1.6;
    max-width: 750px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}


/* --- Основной контент --- */
.about-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.about-content img {
    width: 100%;
    max-width: 700px;
    margin-top: 40px;
    border-radius: 16px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #222;
    margin: 25px 0 25px;
    text-align: center;
}

.about-content p {
    font-size: 16px;
    font-weight: 500;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* --- Meet Author --- */
.meet-author {
    position: relative;
    max-width: 900px;
    margin: 40px auto 10px;
    background: linear-gradient(180deg, #f9fff9 0%, #ffffff 100%);
    border-radius: 24px;
    padding: 60px 40px 80px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* Декоративные элементы */
.meet-author::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle at center, rgba(97, 212, 101, 0.25), transparent 70%);
    z-index: 0;
}

.meet-author::after {
    content: "";
    position: absolute;
    bottom: -120px;
    left: -120px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle at center, rgba(97, 212, 101, 0.15), transparent 70%);
    z-index: 0;
}

.meet-author h1 {
    position: relative;
    z-index: 2;
    font-size: 34px;
    font-weight: 700;
    text-align: left;
    margin-bottom: 60px;
    letter-spacing: 0.5px;
}

/* Блок с фото и текстом */
.meet-author-block {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    background: #fff;
    border-radius: 18px;
    padding: 35px 40px;
}

.meet-author-block .image_3 {
    flex: 1;
    display: flex;
    justify-content: center;
}

.meet-author-block .image_3 img {
    width: 100%;
    max-width: 320px;
    border-radius: 18px;
}

.meet-author-block .text {
    flex: 1;
}

.meet-author-block .text h1 {
    font-size: 26px;
    font-weight: 700;
    color: #48d941;
    margin-bottom: 10px;
}

.meet-author-block .text p {
    font-size: 17px;
    color: #444;
    line-height: 1.7;
    font-weight: 500;
}

/* --- Вопрос-ответ --- */
.question-answer {
    position: relative;
    z-index: 2;
    margin-top: 60px;
    border-top: 2px solid #e7f4e7;
    padding-top: 25px;
}

.qa-item {
    border-bottom: 1px solid #eaeaea;
    padding: 18px 0;
    transition: background 0.3s;
}

.qa-item:hover {
    background: #fafefb;
}

.question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: #1f1f1f;
    cursor: pointer;
    transition: color 0.3s;
}

.question:hover {
    color: #61d465;
}

.answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
}

.qa-item.active .answer {
    max-height: 500px;
}

.answer p {
    font-size: 15.5px;
    color: #555;
    margin-top: 15px;
    line-height: 1.6;
}

.qa-item .question::before {
    content: "▸ ";
    color: #61d465;
    font-weight: bold;
    transition: transform 0.3s;
}

.qa-item.active .question::before {
    content: "▾ ";
}

.mission {
    position: relative;
    max-width: 850px;
    margin: 80px auto 100px;
    background: linear-gradient(180deg, #f9fff9 0%, #ffffff 100%);
    border-radius: 24px;
    padding: 60px 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    text-align: center;
    overflow: hidden;
}

/* Декоративные светлые круги, как в meet-author */
.mission::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -100px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle at center, rgba(97, 212, 101, 0.25), transparent 70%);
    z-index: 0;
}

.mission::after {
    content: "";
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle at center, rgba(97, 212, 101, 0.15), transparent 70%);
    z-index: 0;
}

.mission .section-title {
    position: relative;
    z-index: 2;
    font-size: 32px;
    font-weight: 700;
    color: #222;
    margin-bottom: 30px;
    letter-spacing: 0.3px;
}

.mission p {
    position: relative;
    z-index: 2;
    font-size: 16px;
    font-weight: 500;
    color: #555;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 35px;
}

.mission blockquote.highlight {
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, #f7fff8 0%, #ffffff 100%);
    color: #333;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    padding: 35px 25px;
    border-left: 6px solid #61d465;
    border-radius: 16px;
    margin: 0 auto;
    max-width: 700px;
}

@media (max-width: 1024px) {
    .main_container {
        margin: 100px auto 80px;
        padding: 0 15px;
    }

    .about_us,
    .author {
        gap: 40px;
    }

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

    .meet-author-block {
        flex-direction: column;
        text-align: center;
    }

    .meet-author-block .text h1 {
        text-align: center;
    }

    .meet-author h1 {
        text-align: center;
        margin-bottom: 40px;
    }
}

/* Смартфоны */
@media (max-width: 768px) {
    .about_us,
    .author {
        flex-direction: column;
        text-align: center;
    }

    .about_us .image_1,
    .author .image_2 {
        order: -1;
        margin-bottom: 25px;
    }

    .about_us-text h1,
    .author-text h1,
    .team-members h1,
    .section-title,
    .meet-author h1 {
        font-size: 24px;
    }

    .about_us-text p,
    .author-text p,
    .about-content p {
        font-size: 15px;
    }

    .members {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .profile img {
        width: 150px;
        height: 150px;
    }

    .meet-author-block {
        flex-direction: column;
        padding: 25px;
        gap: 25px;
    }

    .meet-author-block .text h1 {
        font-size: 22px;
    }

    .meet-author-block .text p {
        font-size: 15px;
    }

    blockquote {
        padding: 25px 25px 25px 45px;
        font-size: 15px;
    }

    .mission {
        padding: 40px 25px;
        margin: 60px auto 80px;
    }

    .mission .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .mission p {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .mission blockquote.highlight {
        font-size: 15px;
        padding: 25px 20px;
    }
}

/* Малые экраны */
@media (max-width: 480px) {
    .main_container {
        margin: 80px auto 60px;
    }

    .about_us-text h1,
    .author-text h1,
    .team-members h1,
    .section-title {
        font-size: 20px;
    }

    .profile {
        padding: 20px 15px;
    }

    .profile img {
        width: 130px;
        height: 130px;
    }

    .meet-author {
        padding: 40px 20px 60px;
    }

    .question {
        font-size: 16px;
    }

    .answer p {
        font-size: 14.5px;
    }

    .mission {
        padding: 30px 20px;
        margin: 50px auto 60px;
    }

    .mission .section-title {
        font-size: 20px;
    }

    .mission p {
        font-size: 14.5px;
    }

    .mission blockquote.highlight {
        font-size: 14.5px;
        border-left: 4px solid #61d465;
    }
}



@supports (-webkit-touch-callout: none) {
    .about_us .image_1 img:first-child,
    .author .image_2 img:first-child,
    .meet-author-block .image_3 img:first-child {
        margin-top: calc(-1 * env(safe-area-inset-top)) !important;
        display: block;
    }

    header {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        margin-top: 20px !important;
    }

    main.main_container {
        margin-top: 0 !important;
        padding-top: 0 !important;
        margin-top: 20px !important;
    }
}
