:root {
    --title-color: rgb(18, 124, 124);
    --accent: rgb(34, 104, 109);
    --accent-hover: rgb(24, 84, 88);
}

/* ---------------------------------------------------------------------------------- */

/* Секция home.css - hero */

/* ---------------------------------------------------------------------------------- */

/* Секция home.css - hero */

.hero {
    width: 100%;
    height: 95vh;
    min-height: 500px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 10%;
    padding-right: 5%;
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__text-box {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: 500px;
    max-width: 90%;
}

.hero-title {
    font-size: 52px;
    color: white;
    margin-bottom: 0;
    line-height: 1.2;
}

.hero-text {
    font-size: 20px;
    color: white;
    line-height: 1.5;
}

.btn-cta {
    width: 220px;
    height: 45px;
    background-color: var(--accent);
    border: none;
    border-radius: 20px;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 16px;
}

.btn-cta a{
    color: white;
    text-decoration: none;
}

.btn-cta:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

/* ---------------------------------------------------------------------------------- */

/* Секция home.css - approach */

.approach {
    max-width: 85%;
    height: 500px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.approach__hero-text {
    color: var(--title-color);
}

.approach__hero-title {
    font-size: 34px;
}

.approach__text-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 700px;
    font-size: 16px;
    text-align: center;
    margin-bottom: 35px;
}

.approach__hero-text {
    font-size: 20px;
}

.approach-grid {
    display: flex;
    align-items: center;
    gap: 30px;
}

.approach-card {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 260px;
    text-align: center;
    height: 400px;
}

.card-icon {
    width: 68px;
    height: 68px;
}

/* ---------------------------------------------------------------------------------- */

/* Секция home.css - services */

.services {
    max-width: 85%;
    height: 630px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.services__main-text {
    color: var(--title-color);
    font-size: 26px;
    margin: 0 0 20px 0;
}

.services__main-title {
    margin: 0 0 30px 0;
}

.services-grid {
    display: flex;
    margin-bottom: 80px;
    gap: 20px;
}

.services-card {
    width: 300px;
    height: 350px;
}

.card-image {
    max-width: 250px;
    max-height: 100%;
    border-radius: 30px;
    display: block;
}

.watch-etk,
.watch-etk:visited {
    width: 210px;
    height: 40px;
    background-color: var(--title-color);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: rgb(255, 255, 255);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.watch-etk:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.services-title {
    color: var(--title-color);
}

.services-text {
    max-width: 250px;
}

/* ---------------------------------------------------------------------------------- */

/* Секция home.css - masters */

.masters {
    max-width: 90%;
    height: 400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.description-master {
    width: 200px;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    height: 100%;
}

.masters-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.masters-img {
    width: 200px;
    height: 200px;
    border-radius: 30px;
    margin-right: 10px;
    flex-shrink: 0;
    padding-left: 20px;
}

.masters-card {
    display: flex;
    align-items: center;
    width: 450px;
    background-color: #effffa;
    border-radius: 30px;
    transition: transform 0.3s ease;
    height: 220px;
}

.masters-card:hover {
    transform: scale(1.02);
    background-color: #ffffe3;
}

.masters-watch {
    text-decoration: none;
    color: var(--title-color);
}

.master-name {
    margin: 0;
}

.description-master p {
    font-size: 14px;
}

/* Стилизованная кнопка "Наши мастера" */
.masters-cta,
.masters-cta:visited {
    margin-top: 30px;
    width: 210px;
    height: 45px;
    background-color: var(--title-color);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.masters-cta:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

/* ---------------------------------------------------------------------------------- */

/* Секция home.css - promo-blocks (сертификат и консультация) */

.promo-blocks {
    max-width: 85%;
    margin: 60px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.promo-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 50%;
    height: 340px;
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.promo-card__image {
    width: 45%;
    height: 100%;
    flex-shrink: 0;
    background-color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.promo-card__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    height: 100%;
    flex: 1;
    width: 60%;
    padding: 24px 26px 76px;
    gap: 8px;
    box-sizing: border-box;
}

.promo-card__title {
    margin: 0;
    font-size: 22px;
    color: #1a1a1a;
}

.promo-card__label {
    margin: 0;
    color: rgb(120, 120, 120);
    font-size: 15px;
}

.promo-card__meta {
    margin: 0 0 6px 0;
    color: rgb(120, 120, 120);
    font-size: 15px;
}

.promo-card__text {
    margin: 0;
    color: rgb(80, 80, 80);
    font-size: 15px;
    line-height: 1.5;
}

.promo-card__btn,
.promo-card__btn:visited {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    width: 80%;
    padding: 0 18px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent);
    border-radius: 20px;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.promo-card__btn:hover {
    background-color: var(--accent-hover);
    transform: translateX(-50%) translateY(-2px);
}

@media (max-width: 900px) {
    .promo-blocks {
        max-width: 90%;
    }

    .promo-card {
        width: 85%;
    }
}

/* ---------------------------------------------------------------------------------- */

/* Секция home.css - reviews */

.reviews {
    max-width: 90%;
    height: 340px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.reviews-track {
    display: flex;
    width: 85%;
    transition: transform 0.6s ease-in-out;
}

.review-author {
    padding-top: 10px;
}

.reviews-item {
    margin: 0 auto;
    width: 85%;
    display: none;
}

.slider-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgb(168, 252, 255);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.slider-btn:hover {
    background-color: var(--title-color);
    color: white;
    border-color: var(--title-color);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.reviews-item.active {
    display: block;
    background-color: rgb(255, 250, 245);
    border-radius: 30px;
    padding: 0 20px 0 20px;
    transition: transform 0.6s ease;
}

.reviews-item.active:hover {
    transform: translateX(-5%);
    transform: translateY(-5%);
    box-shadow: 5px 5px 8px rgb(231, 231, 231);
}

.reviews-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-content: space-between;
    width: 75%;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: var(--accent);
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.review-icon {
    font-size: 32px;
    line-height: 1;
    display: inline-block;
}

.review-name {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.review-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid black;
    color: #22686D;
    font-weight: 600;
    font-size: 18px;
    text-transform: uppercase;
    flex-shrink: 0;
}

/* ========================================================================== */
/* АДАПТИВ */
/* ========================================================================== */

/* Планшеты */
@media (max-width: 1200px) {

    .approach {
        height: auto;
        padding: 40px 0;
    }

    .services {
        height: auto;
        padding: 40px 0;
    }

    .services-grid {
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 40px;
    }

    .masters {
        height: auto;
        padding: 40px 0;
    }

    .masters-grid {
        flex-wrap: wrap;
        justify-content: center;
    }

    .masters-card {
        width: 100%;
        max-width: 450px;
    }

    .reviews {
        height: auto;
        padding: 40px 0;
    }

    .reviews-slider {
        width: 90%;
    }
}

@media (max-width: 1024px) {
    .hero {
        padding-left: 5%;
        height: 80vh;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-text {
        font-size: 18px;
    }

    .hero__text-box {
        width: 400px;
    }

    .approach-grid {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .approach-card {
        width: 220px;
        height: 350px;
    }

    .approach__text-box {
        width: 90%;
    }
}

/* Мобильные устройства */
@media (max-width: 768px) {
    .hero {
        height: 70vh;
        padding-left: 5%;
        padding-right: 5%;
        justify-content: center;
        text-align: center;
    }

    .hero__text-box {
        width: 100%;
        align-items: center;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-text {
        font-size: 16px;
    }

    .btn-cta {
        width: 100%;
        max-width: 220px;
    }

    .approach {
        padding: 30px 0;
    }

    .approach__hero-title {
        font-size: 28px;
    }

    .approach__text-box {
        width: 100%;
        padding: 0 15px;
    }

    .approach-grid {
        flex-direction: column;
        align-items: center;
    }

    .approach-card {
        width: 100%;
        max-width: 300px;
        height: auto;
        padding: 20px 0;
    }

    .services {
        padding: 30px 0;
    }

    .services__main-title {
        font-size: 24px;
        text-align: center;
    }

    .services-grid {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin-bottom: 30px;
    }

    .services-card {
        width: 100%;
        max-width: 300px;
        height: auto;
        text-align: center;
    }

    .card-image {
        margin: 0 auto;
        max-width: 100%;
    }

    .services-text {
        max-width: 100%;
    }

    .watch-etk {
        width: 100%;
        max-width: 220px;
    }

    .masters {
        padding: 30px 0;
    }

    .masters-grid {
        flex-direction: column;
        align-items: center;
    }

    .masters-card {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        height: auto;
        padding: 20px;
        text-align: center;
    }

    .masters-img {
        width: 150px;
        height: 150px;
        padding-left: 0;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .description-master {
        width: 100%;
        align-items: center;
    }

    .masters-cta {
        width: 100%;
        max-width: 220px;
    }

    .reviews {
        padding: 30px 0;
    }

    .reviews-slider {
        width: 100%;
        flex-direction: column;
        gap: 15px;
    }

    .reviews-item.active {
        padding: 15px;
        width: 95%;
    }

    .slider-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .reviews-track {
        width: 100%;
    }

    .review-icon-circle {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

    .hero-text {
        font-size: 14px;
    }

    .hero {
        height: 60vh;
    }

    .approach__hero-title {
        font-size: 24px;
    }

    .services__main-title {
        font-size: 20px;
    }

    .services__main-text {
        font-size: 20px;
    }

    .masters-card {
        max-width: 100%;
        padding: 15px;
    }

    .masters-img {
        width: 120px;
        height: 120px;
    }

    .review-name {
        font-size: 15px;
    }

    .review-icon-circle {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
}

/* ========================================================================== */
/* Секция home.css - about (новый блок)                                       */
/* ========================================================================== */

html {
    scroll-behavior: smooth;
}

main img {
    max-width: 100%;
}

.about {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 60px;
    width: min(1240px, 88%);
    height: auto;
    margin: 90px auto;
}

.about__media {
    position: relative;
}

.about-image {
    display: block;
    width: 100%;
    max-width: 660px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(18, 124, 124, 0.18);
}

.about-text__box {
    display: flex;
    flex-direction: column;
    width: auto;
}

.about__title-child {
    margin: 0 0 10px;
    color: var(--title-color);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.about__title {
    margin: 0 0 18px;
    font-size: clamp(28px, 3.2vw, 44px);
    line-height: 1.18;
    color: #1a2626;
}

.about__lead {
    margin: 0 0 26px;
    color: rgb(70, 80, 80);
    font-size: 17px;
    line-height: 1.7;
}

.about__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.about__list-item {
    position: relative;
    padding-left: 28px;
    color: rgb(90, 98, 98);
    font-size: 15px;
    line-height: 1.55;
}

.about__list-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(18, 124, 124, 0.12);
    box-shadow: inset 0 0 0 4px var(--title-color);
}

.about__list-title {
    display: block;
    margin-bottom: 2px;
    color: #1a2626;
    font-weight: 600;
    font-size: 16px;
}

.about__note {
    padding: 18px 22px;
    margin-bottom: 26px;
    border-left: 4px solid var(--title-color);
    border-radius: 0 16px 16px 0;
    background: #effffa;
}

.about__note p {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 600;
    color: #1a2626;
}

.about__note span {
    color: rgb(90, 98, 98);
    font-size: 15px;
}

.about__info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
}

.about__info li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgb(80, 88, 88);
    font-size: 15px;
}

.about__info a {
    color: var(--title-color);
    font-weight: 600;
    text-decoration: none;
}

.about__info a:hover {
    text-decoration: underline;
}

.about__info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(18, 124, 124, 0.09);
    font-size: 15px;
}

.about__actions {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.about__link,
.about__link:visited {
    color: var(--title-color);
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.25s ease, color 0.25s ease;
}

.about__link span {
    display: inline-block;
    margin-left: 8px;
    transition: transform 0.25s ease;
}

.about__link:hover span {
    transform: translateX(6px);
}

.about__btn,
.about__btn:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 28px;
    border-radius: 26px;
    background: var(--accent);
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.about__btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(18, 124, 124, 0.25);
}

/* --- ноутбуки --- */
@media (max-width: 1200px) {
    .about {
        gap: 40px;
        width: 92%;
        margin: 70px auto;
    }

    .about__lead {
        font-size: 16px;
    }
}

/* --- планшеты --- */
@media (max-width: 1024px) {
    .about {
        grid-template-columns: 1fr;
        gap: 34px;
        margin: 56px auto;
    }

    .about__media {
        max-width: 620px;
        margin: 0 auto;
    }

    .about-image {
        aspect-ratio: 16 / 10;
        max-width: 100%;
    }
}

/* --- телефоны --- */
@media (max-width: 768px) {
    .about {
        width: 92%;
        margin: 44px auto;
        gap: 26px;
    }

    .about__list {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about__note {
        padding: 16px 18px;
    }

    .about__actions {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 14px;
    }

    .about__btn {
        width: 100%;
    }

    .about__link {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .about-image {
        border-radius: 20px;
        aspect-ratio: 4 / 3;
    }

    .about__title-child {
        font-size: 13px;
    }

    .about__lead,
    .about__list-item,
    .about__info li {
        font-size: 15px;
    }
}

/* ========================================================================== */
/* Доп. адаптив главной: hero / approach / services / masters / promo         */
/* ========================================================================== */

.hero {
    height: 92vh;
    height: 92svh;
}

.hero-img {
    filter: brightness(0.82);
}

.hero-title {
    font-size: clamp(28px, 4.4vw, 52px);
}

.hero-text {
    font-size: clamp(15px, 1.4vw, 20px);
}

/* Планшеты: сетки в 2 колонки вместо «столбика» */
@media (max-width: 1024px) and (min-width: 641px) {

    .approach-grid,
    .services-grid,
    .masters-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px;
        width: 100%;
    }

    .approach-card,
    .services-card,
    .masters-card {
        width: 100%;
        max-width: none;
        height: auto;
    }

    .card-image,
    .services-text {
        max-width: 100%;
    }

    .masters-card:last-child {
        grid-column: 1 / -1;
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 1024px) {
    .hero {
        height: 72vh;
        height: 72svh;
        min-height: 440px;
    }

    .promo-card {
        width: 100%;
        max-width: 640px;
    }
}

@media (max-width: 640px) {
    .hero {
        height: auto;
        min-height: 78svh;
        padding: 90px 6% 60px;
    }

    .promo-card {
        flex-direction: column;
        height: auto;
    }

    .promo-card__image {
        width: 100%;
        height: 200px;
    }

    .promo-card__content {
        width: 100%;
        padding: 20px 18px 72px;
    }

    .services-card,
    .approach-card,
    .masters-card {
        width: 100%;
        max-width: 340px;
    }
}

/* ========================================================================== */
/* FLUID FIX — убираем жёсткие ширины, ничто не выходит за экран              */
/* (блок идёт последним, поэтому перекрывает всё выше)                        */
/* ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

main {
    width: 100%;
    max-width: 100%;
}

main img,
main video,
main svg {
    max-width: 100%;
    height: auto;
}

/* --- общие обёртки секций: одна резиновая формула --- */
.about,
.approach,
.services,
.masters,
.promo-blocks,
.reviews {
    width: min(1240px, 92%);
    max-width: 100%;
    height: auto;
    margin-inline: auto;
    margin-block: clamp(10px, 2vw, 30px);
    padding-block: clamp(40px, 6vw, 80px);
}

/* --- HERO --- */
.hero {
    width: 100%;
    max-width: 100%;
    padding-inline: clamp(20px, 6vw, 120px);
    overflow: hidden;
}

.hero__text-box {
    width: min(520px, 100%);
    max-width: 100%;
}

/* --- ПОДХОД --- */
.approach__text-box {
    width: min(700px, 100%);
    max-width: 100%;
    padding-inline: 0;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: clamp(16px, 2.5vw, 30px);
    width: 100%;
}

.approach-card {
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 10px 0;
}

/* --- УСЛУГИ --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: clamp(18px, 2.5vw, 28px);
    width: 100%;
    margin-bottom: clamp(28px, 4vw, 60px);
}

.services-card {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.card-images {
    width: 100%;
}

.card-image {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.services-text {
    max-width: 100%;
}

/* --- МАСТЕРА --- */
.masters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(18px, 2.5vw, 30px);
    width: 100%;
}

.masters-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 200px;
    padding: 18px;
}

.masters-img {
    width: clamp(110px, 32%, 180px);
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    flex-shrink: 0;
    padding-left: 0;
    margin: 0;
}

.description-master {
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
    height: auto;
    gap: 6px;
}

.description-master p {
    margin: 0;
    overflow-wrap: anywhere;
}

/* --- ПРОМО --- */
.promo-card {
    width: min(680px, 100%);
    max-width: 100%;
    height: auto;
    min-height: 300px;
}

/* --- ОТЗЫВЫ --- */
.reviews-slider,
.reviews-track {
    width: 100%;
    max-width: 100%;
}

.reviews-item.active {
    width: 100%;
    padding: 20px;
}

.reviews-item.active:hover {
    transform: translateY(-4px);
}

/* --- кнопки и ссылки никогда не шире контейнера --- */
.btn-cta,
.watch-etk,
.masters-cta,
.about__btn,
.promo-card__btn {
    max-width: 100%;
}

/* --- телефоны: карточка мастера в столбик --- */
@media (max-width: 560px) {

    .masters-card {
        flex-direction: column;
        text-align: center;
    }

    .masters-img {
        width: min(150px, 60%);
    }

    .description-master {
        width: 100%;
        align-items: center;
    }

    .services-grid,
    .approach-grid,
    .masters-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .services-card,
    .approach-card {
        max-width: 340px;
    }
}