/* =========================================================
   СТРАНИЦА «ОБО МНЕ»
   ========================================================= */

.about-page {
    overflow: hidden;
    background: #f7f5ef;
    color: #173f3a;
}

.about-container {
    width: min(100% - 40px, 1180px);
    margin-inline: auto;
}


/* Первый экран */

.about-hero {
    position: relative;
    padding: 82px 0 96px;
}

.about-hero::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -160px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: rgba(206, 168, 91, 0.13);
    filter: blur(14px);
}

.about-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(48px, 8vw, 105px);
}

.about-photo-wrap {
    position: relative;
}

.about-photo {
    display: block;
    width: 100%;
    aspect-ratio: 0.88;
    object-fit: cover;
    object-position: center top;
    border-radius: 42px;
    box-shadow: 0 28px 65px rgba(18, 63, 57, 0.18);
}

.about-photo-note {
    position: absolute;
    right: -28px;
    bottom: 30px;
    max-width: 210px;
    padding: 15px 19px;
    border: 1px solid rgba(18, 63, 57, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    color: #173f3a;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.45;
    box-shadow: 0 14px 36px rgba(18, 63, 57, 0.13);
}

.about-eyebrow {
    display: block;
    margin-bottom: 15px;
    color: #b68a36;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.about-intro h1 {
    margin: 0 0 25px;
    color: #123f39;
    font-size: clamp(42px, 5.3vw, 72px);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.about-intro p {
    margin: 0 0 17px;
    color: #60736e;
    font-size: 17px;
    line-height: 1.72;
}

.about-intro .about-lead {
    color: #294e48;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.55;
}

.about-primary-button,
.about-youtube-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 13px;
    padding: 14px 24px;
    border-radius: 999px;
    background: #124c43;
    color: #fff;
    font-size: 15px;
    font-weight: 850;
    text-decoration: none;
    transition: transform 0.18s ease, background 0.18s ease,
        box-shadow 0.18s ease;
}

.about-primary-button:hover,
.about-youtube-button:hover {
    transform: translateY(-2px);
    background: #0d5b4e;
    box-shadow: 0 12px 25px rgba(18, 76, 67, 0.2);
}


/* Подход */

.about-method-section {
    padding: 92px 0;
    background: #fff;
}

.about-section-heading {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.about-section-heading > span {
    display: block;
    margin-bottom: 10px;
    color: #b68a36;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.about-section-heading h2,
.about-youtube-text h2,
.about-final-card h2 {
    margin: 0 0 17px;
    color: #123f39;
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.about-section-heading p,
.about-youtube-text p,
.about-final-card p {
    margin: 0;
    color: #667872;
    font-size: 17px;
    line-height: 1.65;
}

.about-method-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.about-method-card {
    min-height: 210px;
    padding: 27px;
    border: 1px solid rgba(18, 63, 57, 0.1);
    border-radius: 24px;
    background: #f7faf8;
}

.about-method-number {
    display: block;
    margin-bottom: 30px;
    color: #b68a36;
    font-size: 13px;
    font-weight: 900;
}

.about-method-card h3 {
    margin: 0 0 10px;
    color: #173f3a;
    font-size: 24px;
}

.about-method-card p {
    margin: 0;
    color: #647670;
    font-size: 15px;
    line-height: 1.62;
}


/* YouTube */

.about-youtube-section {
    padding: 92px 0;
}

.about-youtube-card {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: center;
    gap: clamp(36px, 7vw, 90px);
    padding: clamp(34px, 6vw, 72px);
    border-radius: 34px;
    background: #123f39;
    box-shadow: 0 25px 60px rgba(18, 63, 57, 0.18);
}

.about-youtube-icon {
    display: grid;
    place-items: center;
    width: 170px;
    height: 170px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 52px;
    text-indent: 8px;
}

.about-youtube-text h2,
.about-youtube-text p {
    color: #fff;
}

.about-youtube-text p {
    max-width: 735px;
    margin-bottom: 12px;
    opacity: 0.76;
}

.about-youtube-button {
    background: #fff;
    color: #123f39;
}

.about-youtube-button:hover {
    background: #f5ead4;
    color: #123f39;
}


/* Социальные сети */

.about-social-section {
    padding: 20px 0 100px;
}

.about-section-heading-small {
    max-width: 620px;
}

.about-social-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.about-social-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 15px;
    min-height: 92px;
    padding: 18px;
    border: 1px solid rgba(18, 63, 57, 0.11);
    border-radius: 20px;
    background: #fff;
    color: #173f3a;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.about-social-card:hover {
    transform: translateY(-3px);
    border-color: rgba(18, 76, 67, 0.28);
    box-shadow: 0 15px 32px rgba(18, 63, 57, 0.09);
}

.about-social-mark {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: #edf5f2;
    color: #125347;
    font-size: 13px;
    font-weight: 900;
}

.about-social-copy {
    display: grid;
    gap: 4px;
}

.about-social-copy strong {
    font-size: 17px;
}

.about-social-copy small {
    color: #73827e;
    font-size: 13px;
}

.about-social-arrow {
    color: #b68a36;
    font-size: 21px;
}


/* Финальный блок */

.about-final-section {
    padding: 0 0 100px;
}

.about-final-card {
    padding: clamp(45px, 7vw, 82px) 25px;
    border: 1px solid rgba(182, 138, 54, 0.18);
    border-radius: 34px;
    background: linear-gradient(135deg, #f3eee2, #fff 62%);
    text-align: center;
}

.about-final-greek {
    display: block;
    margin-bottom: 14px;
    color: #b68a36;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-weight: 700;
}

.about-final-card p {
    max-width: 650px;
    margin: 0 auto;
}


/* Активная ссылка меню */

.main-nav a.is-active {
    color: #123f39;
    background: #f1f6f4;
}


/* Планшеты и телефоны */

@media (max-width: 850px) {
    .about-hero {
        padding: 52px 0 72px;
    }

    .about-hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-photo-wrap {
        width: min(100%, 520px);
        margin: 0 auto;
    }

    .about-intro {
        max-width: 680px;
        margin: 0 auto;
        text-align: center;
    }

    .about-method-grid,
    .about-social-grid {
        grid-template-columns: 1fr;
    }

    .about-method-card {
        min-height: 0;
    }

    .about-youtube-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-youtube-icon {
        width: 115px;
        height: 115px;
        margin: 0 auto;
        font-size: 38px;
    }

    .about-youtube-text p {
        margin-inline: auto;
    }
}

@media (max-width: 600px) {
    .about-container {
        width: min(100% - 28px, 1180px);
    }

    .about-hero {
        padding-top: 32px;
    }

    .about-photo {
        border-radius: 27px;
    }

    .about-photo-note {
        right: 13px;
        bottom: 13px;
        max-width: 180px;
        padding: 12px 14px;
        font-size: 12px;
    }

    .about-intro h1 {
        font-size: clamp(38px, 12vw, 52px);
    }

    .about-intro p,
    .about-section-heading p,
    .about-youtube-text p,
    .about-final-card p {
        font-size: 15px;
    }

    .about-intro .about-lead {
        font-size: 18px;
    }

    .about-method-section,
    .about-youtube-section {
        padding: 68px 0;
    }

    .about-social-section {
        padding-bottom: 72px;
    }

    .about-final-section {
        padding-bottom: 72px;
    }

    .about-youtube-card,
    .about-final-card {
        border-radius: 26px;
    }

    .about-primary-button,
    .about-youtube-button {
        width: 100%;
        box-sizing: border-box;
    }
}
