/* Reset & base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Шрифт Involve */
@font-face {
    font-family: 'Involve';
    src: url('../fonts/Involve/TTF/Involve-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Involve';
    src: url('../fonts/Involve/TTF/Involve-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Involve';
    src: url('../fonts/Involve/TTF/Involve-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Involve';
    src: url('../fonts/Involve/TTF/Involve-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Involve';
    src: url('../fonts/Involve/TTF/Involve-Oblique.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

body {
    font-family: 'Involve', 'Roboto', sans-serif;
    line-height: 1.5;
    color: #1E1E2F;
    background-color: #FFFFFF;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

:root {
    --green: #007A4A;
    --dark-blue: #12145A;
    --light-blue: #ADDFFF;
    --light-green: #77BC62;
    --white: #FFFFFF;
    --gray-light: #F5F5FA;
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Header */
.site-header {
    background: var(--dark-blue);
    padding: 8px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    display: flex;
    justify-content: center;     /* центрируем содержимое */
    align-items: center;
    position: relative;          /* для бургера, если понадобится */
}
.logo-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}
.logo-link {
    display: flex;
    align-items: center;
    transition: transform 0.2s ease;
}
.logo-link:hover {
    transform: scale(1.05);
}
.logo-img {
    max-height: 45px;
    width: auto;
    display: block;
}
.main-menu {
    display: flex;
    list-style: none;
    gap: 28px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
}
.main-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
}
.main-menu a:hover,
.main-menu .current-menu-item a {
    border-bottom-color: var(--light-green);
    color: var(--light-green);
}
.mobile-menu-toggle {
    display: none;          /* на десктопе не показываем */
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
/* Hero секция */
.hero {
    padding: 30px 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}
/* .hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
} */
 .hero-content {
    display: flex;
    align-items: flex-start;  /* вместо center — текст будет сверху */
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
} 

/* .hero-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
    flex-wrap: wrap;
} */
.hero-text {
    flex: 1;
        max-width: 550px;        /* ограничиваем ширину текста */
     padding-left: 50px;  
         /* отступ слева (можно 30px или 40px) */ 
}
.hero-title {
    font-size: 3.2rem;
    font-weight: bold;
    color: var(--dark-blue);
    line-height: 1.2;
    margin-bottom: 24px;
}
.hero-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #2C2C3A;
    margin-bottom: 32px;
    max-width: 500px;
}
/* .hero-logo img {
    max-width: 180px;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.1));
} */
.button-center-wrapper {
    text-align: center;
    margin-top: 20px; /* по желанию */
}
/* Кнопки */
.btn-primary {

    background: var(--green);
    color: white;
    padding: 12px 32px;
    border-radius: 40px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    background: #0a5e3a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--green);
    color: var(--green);
    padding: 8px 20px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
}
.btn-outline:hover {
    background: var(--green);
    color: white;
}
.btn-small {
    background: var(--green);
    color: white;
    padding: 6px 16px;
    border-radius: 40px;
    text-decoration: none;
    display: inline-block;
    font-size: 0.85rem;
    transition: var(--transition);
}
.btn-small:hover {
  
    background: #0a5e3a;
}
.btn-light {
    background: var(--light-green);
    color: var(--dark-blue);
    padding: 12px 32px;
    border-radius: 40px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
}
.btn-light:hover {
    background: #8fd07a;
    transform: scale(1.02);
}

/* About short */

.about-grid {
    display: flex;
    align-items: stretch;
    gap: 10px;
    flex-wrap: wrap;
}
.about-photos {
    flex: 0 0 540px;
    position: relative;
    min-height: 460px;
    border-radius: 50px;
    overflow: visible;
    background-image: url('../images/pattern5.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.about-photos .photo {
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
    border: 5px solid white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-photos .photo:hover {
    transform: scale(1.05);
    z-index: 10;
}
.about-photos .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-photos .p1 {
    width: 250px;
    height: 250px;
    top: 210px;
    left: 10px;
    z-index: 3;
}
.about-photos .p2 {
    width: 300px;
    height: 300px;
    top: 10px;
    right: 10px;
    z-index: 2;
}
.about-photos .p3 {
    width: 260px;
    height: 260px;
    bottom: 10px;
    left: 50%;
    margin-left: -15px;
    z-index: 1;
}
.about-photos .p3:hover {
    transform: scale(1.05);
}
.about-short {
    padding: 40px 0 50px;
    background: transparent;
    transition: background-color 0.6s ease;
}
.about-short.with-bg {
    background-color: var(--light-blue);
}
.about-heading {
    text-align: center;
    font-size: 2.2rem;
    color: var(--dark-blue);
    margin-bottom: 20px;
}
.about-heading span {
    color: var(--green);
}
.about-text {
    flex: 1;
    min-width: 300px;
    padding-left: 20px;
    margin-top: -20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.about-demo {
    margin-top: 20px;
    padding: 24px;
    background: rgba(255,255,255,0.7);
    border-radius: 20px;
    border-left: 5px solid var(--green);
    font-size: 1rem;
    line-height: 1.6;
}
.about-demo p {
    margin-bottom: 12px;
}
.about-demo p:last-child {
    margin-bottom: 0;
}

/* News & Projects grids */
.latest-news, .projects-short {
    padding: 80px 0;
}
.latest-news {
    background: var(--gray-light);
}
.projects-short {
    background: white;
}
h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 48px;
    color: var(--dark-blue);
}
.news-grid, .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.news-item, .project-item {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    padding-bottom: 20px;
}
.news-item:hover, .project-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.15);
}
.news-img img, .project-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.news-item h3, .project-item h3 {
    padding: 16px 20px 8px;
    font-size: 1.3rem;
}
.news-item h3 a {
    text-decoration: none;
    color: var(--dark-blue);
}
.date {
    padding: 0 20px;
    font-size: 0.85rem;
    color: #6B6B7A;
    display: block;
}
.news-item p, .project-item p {
    padding: 0 20px;
    margin: 12px 0 20px;
    color: #3A3A4A;
}
.news-item .btn-outline, .project-item .btn-small {
    margin-left: 20px;
    margin-bottom: 20px;
}

/* Mentor intro */
.mentor-intro {
    display: flex;
    gap: 24px;
    margin-top: 24px;
    margin-bottom: 20px;
    background-color: var(--light-blue);
    border-radius: 20px;
    padding: 24px 36px;
    min-height: 320px;
    align-items: flex-start;
}
.mentor-intro__main {
    flex: 1;
    margin-top: -10px;
}
.mentor-intro__main p {
    margin: 0 10px 14px;
    line-height: 1.75;
    color: #2C2C3A;
    font-size: 1.05rem;
}
.mentor-intro__main p:last-child {
    margin-bottom: 0;
}
.mentor-intro__highlight {
    flex: 0 0 380px;
    background: white;
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border-left: 4px solid var(--green);
}
.mentor-intro__highlight h3 {
    font-size: 1.1rem;
    color: var(--dark-blue);
    margin: 0 0 16px;
}
.mentor-intro__highlight ol {
    margin: 0;
    padding-left: 20px;
}
.mentor-intro__highlight li {
    margin-bottom: 12px;
    line-height: 1.6;
    color: #3A3A4A;
    font-size: 0.95rem;
}
.mentor-intro__highlight li:last-child {
    margin-bottom: 0;
}

/* Mentor cards */
.mentors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}
.mentor-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #f8faff 0%, #eef4ff 100%);
    border: 1px solid rgba(0, 122, 74, 0.08);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.mentor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
    border-color: rgba(0, 122, 74, 0.2);
}
.mentor-card__photo {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--gray-light);
}
.mentor-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.mentor-card:hover .mentor-card__photo img {
    transform: scale(1.05);
}
.mentor-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-green) 100%);
}
.mentor-card__info {
    flex: 1;
    min-width: 0;
}
.mentor-card__name {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin: 0 0 6px;
    line-height: 1.3;
}
.mentor-card__position {
    font-size: 0.9rem;
    color: var(--green);
    margin: 0 0 8px;
    font-weight: 500;
}
.mentor-card__expert {
    font-size: 0.85rem;
    color: #5A5A6A;
    margin: 0;
    line-height: 1.4;
}
.mentor-card__expert strong {
    color: #3A3A4A;
}
.mentor-card__vk {
    display: inline-block;
    margin-top: 8px;
    padding: 5px 14px;
    background: var(--dark-blue);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}
.mentor-card__vk:hover {
    background: #1e2070;
    transform: scale(1.05);
}

/* Coming soon */
.coming-soon {
    text-align: center;
    padding: 80px 20px;
}
.coming-soon__icon {
    color: var(--green);
    margin-bottom: 24px;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}
.coming-soon__title {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 16px;
}
.coming-soon__text {
    font-size: 1.1rem;
    color: #5A5A6A;
    margin-bottom: 32px;
    line-height: 1.6;
}
.coming-soon__btn {
    display: inline-block;
    background: var(--green);
    color: white;
    padding: 12px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s ease, transform 0.2s ease;
}
.coming-soon__btn:hover {
    background: #0a5e3a;
    transform: translateY(-2px);
}

/* CTA секция */
.cta {
    padding: 0;
    background-color: var(--dark-blue);
    text-align: center;
    background-repeat: repeat;
    background-size: auto;
    background-blend-mode: overlay;
    min-height: 0;
}
.cta-content h2 {
    color: white;
    margin-bottom: 16px;
}
.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    font-size: 1.1rem;
}

/* Footer */
.site-footer {
    background: var(--dark-blue);
    color: white;
    padding: 48px 0 0;
    text-align: center;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 16px;
    color: white;
}
.footer-address {
    margin: 0;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
}
.footer-contacts {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-contacts li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.8);
}
.footer-contacts li:last-child {
    margin-bottom: 0;
}
.footer-contacts svg {
    flex-shrink: 0;
    opacity: 0.7;
}
.footer-contacts a {
    color: white;
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-contacts a:hover {
    color: var(--light-green);
}
.footer-social {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-social li {
    margin-bottom: 10px;
}
.footer-social li:last-child {
    margin-bottom: 0;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}
.footer-social a:hover {
    color: var(--light-green);
}
.footer-social svg {
    opacity: 0.8;
}
.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}
.footer-bottom p {
    margin: 0;
}
/* Фотографии в hero-секции */
/* .hero-photos {
    position: relative;
    width: 550px;
    height: 400px;
    flex-shrink: 0;
    margin: 0 auto;
} */
 /* .hero-photos {
    position: relative;
    width: 550px;
    height: 500px;           /* увеличено по вертикали 
    flex-shrink: 0;
    margin: 20px 0 0 -30px; /* сдвиг вниз (20px) и влево (-30px) 
    border-radius: 60px;
    overflow: hidden;       /* чтобы фото не вылезали за скруглённые края 
    background-image: url('../images/pattern2.png');
    background-repeat: repeat;
    background-size: 120px;
    background-color: var(--light-blue);
    background-blend-mode: overlay;
} */
.hero-photos {
    position: relative;
    width: 550px;
    height: 480px;
    flex-shrink: 0;
    margin-top: -20px;
    border-radius: 60px;
    overflow: hidden;
    background-image: url('../images/pattern45.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}
.hero-photos .photo {
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
    border: 4px solid white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-photos .photo:hover {
    transform: scale(1.05);
    z-index: 10;
}
.hero-photos .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Первое фото (самое большое, слева вверху) */
.photo-1 {
    width: 280px;
    height: 280px;
    top: 20px;
    left: 10px;
    z-index: 3;
}
/* Второе фото (среднее, справа по центру) */
.photo-2 {
    width: 240px;
    height: 240px;
    top: 60px;
    right: 10px;
    z-index: 2;
}
/* Третье фото (поменьше, слева внизу) */
.photo-3 {
    width: 200px;
    height: 200px;
    top: 270px;
    left: 185px;
    z-index: 1;
}
/* ===== Адаптивность ===== */

/* Планшеты (до 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    .hero-title {
        font-size: 2.6rem;
    }

    /* Hero фото */
    .hero-photos {
        width: 460px;
        height: 400px;
    }
    .photo-1 { width: 230px; height: 230px; top: 10px; left: 10px; }
    .photo-2 { width: 210px; height: 210px; top: 15px; right: 10px; }
    .photo-3 { width: 180px; height: 180px; top: 200px; left: 140px; }

    /* About фото */
    .about-photos {
        flex: 0 0 480px;
        min-height: 440px;
    }
    .about-photos .p1 { width: 210px; height: 210px; top: 10px; left: 10px; }
    .about-photos .p2 { width: 240px; height: 240px; top: 10px; right: 10px; }
    .about-photos .p3 { width: 220px; height: 220px; top: 210px; left: 50%; margin-left: -20px; }

    .main-menu {
        gap: 18px;
    }
    .main-menu a {
        font-size: 0.85rem;
    }
    h2 {
        font-size: 1.8rem;
    }
}

/* Планшеты / маленькие десктопы (до 900px) */
@media (max-width: 900px) {
    .main-menu {
        gap: 14px;
    }
    .main-menu a {
        font-size: 0.8rem;
    }

    /* Hero фото */
    .hero-photos {
        width: 380px;
        height: 360px;
    }
    .photo-1 { width: 195px; height: 195px; top: 8px; left: 8px; }
    .photo-2 { width: 175px; height: 175px; top: 12px; right: 8px; }
    .photo-3 { width: 155px; height: 155px; top: 175px; left: 110px; }

    /* About фото */
    .about-photos {
        flex: 0 0 420px;
        min-height: 380px;
    }
    .about-photos .p1 { width: 185px; height: 185px; top: 10px; left: 10px; }
    .about-photos .p2 { width: 210px; height: 210px; top: 10px; right: 10px; }
    .about-photos .p3 { width: 195px; height: 195px; top: 185px; left: 50%; margin-left: -15px; }
}

/* Планшеты вертикально (до 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    /* Header — бургер */
    .header-inner {
        justify-content: space-between;
    }
    .logo-menu-wrapper {
        justify-content: flex-start;
    }
    .main-navigation {
        display: none;
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        background: var(--dark-blue);
        padding: 20px;
        z-index: 999;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }
    .main-navigation.active {
        display: block;
    }
    .main-navigation .main-menu {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .main-navigation .main-menu a {
        white-space: normal;
        font-size: 1rem;
    }
    .mobile-menu-toggle {
        display: block;
        position: static;
        transform: none;
    }
    .logo-img {
        max-height: 35px;
    }

    /* Hero — колонка + фото */
    .hero {
        padding: 20px 0 30px;
    }
    .hero-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .hero-text {
        max-width: 100%;
        padding-left: 0;
        padding-bottom: 10px;
    }
    .hero-title {
        font-size: 2rem;
        margin-bottom: 16px;
    }
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
        max-width: 100%;
        text-align: center;
    }
    .button-center-wrapper {
        text-align: center;
    }
    .hero-photos {
        width: 320px;
        height: 300px;
        margin-top: 10px;
        border-radius: 40px;
    }
    .photo-1 { width: 155px; height: 155px; top: 8px; left: 8px; }
    .photo-2 { width: 140px; height: 140px; top: 10px; right: 8px; }
    .photo-3 { width: 125px; height: 125px; top: 155px; left: 90px; }

    /* About — колонка + фото */
    .about-short {
        padding: 40px 0 50px;
    }
    .about-grid {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .about-photos {
        order: 2;
        flex: 0 0 auto;
        width: 280px;
        height: 280px;
        min-height: auto;
        margin: 0 auto;
        border-radius: 40px;
        overflow: hidden;
    }
    .about-photos .p1 { width: 120px; height: 120px; top: 10px; left: 8px; }
    .about-photos .p2 { width: 130px; height: 130px; top: 10px; right: 8px; }
    .about-photos .p3 { width: 120px; height: 120px; top: 130px; left: 50%; margin-left: -60px; }
    .about-heading {
        font-size: 1.8rem;
    }
    .about-text {
        order: 1;
    }
    .about-demo {
        text-align: left;
    }

    /* News */
    .latest-news {
        padding: 50px 0;
    }
    h2 {
        font-size: 1.6rem;
        margin-bottom: 32px;
    }
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Mentors */
    .mentor-intro {
        flex-direction: column;
        padding: 24px;
    }
    .mentor-intro__highlight {
        flex: none;
    }
    .mentors-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .mentor-card {
        padding: 16px;
    }
    .mentor-card__photo {
        width: 100px;
        height: 100px;
    }

    /* CTA */
    .cta {
        padding: 50px 0;
    }

    /* Coming soon */
    .coming-soon {
        padding: 60px 16px;
    }
    .coming-soon__title {
        font-size: 1.6rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    .footer-contacts li {
        justify-content: center;
    }
    .footer-social {
        display: flex;
        justify-content: center;
        gap: 24px;
    }
    .footer-social li {
        margin-bottom: 0;
    }
}

/* Мобильные (до 600px) */
@media (max-width: 600px) {
    .hero-title {
        font-size: 1.7rem;
    }
    .hero-subtitle {
        font-size: 0.9rem;
    }

    /* Hero фото */
    .hero-photos {
        width: 260px;
        height: 250px;
        border-radius: 35px;
    }
    .photo-1 { width: 130px; height: 130px; top: 6px; left: 6px; }
    .photo-2 { width: 115px; height: 115px; top: 8px; right: 6px; }
    .photo-3 { width: 105px; height: 105px; top: 125px; left: 75px; }

    /* About фото */
    .about-photos {
        width: 240px;
        height: 250px;
        border-radius: 35px;
    }
    .about-photos .p1 { width: 105px; height: 105px; top: 8px; left: 6px; }
    .about-photos .p2 { width: 115px; height: 115px; top: 8px; right: 6px; }
    .about-photos .p3 { width: 110px; height: 110px; top: 115px; left: 50%; margin-left: -55px; }
    .about-short {
        padding: 30px 0;
    }
    .about-demo {
        padding: 16px;
        border-radius: 16px;
    }

    .btn-primary {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
    .btn-outline {
        padding: 6px 16px;
        font-size: 0.85rem;
    }

    .news-item h3 {
        font-size: 1.1rem;
    }
    .news-img img {
        height: 180px;
    }

    /* Mentors */
    .mentor-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .mentor-card__photo {
        width: 140px;
        height: 140px;
    }
    .mentor-card__name {
        font-size: 1.1rem;
    }

    /* Coming soon */
    .coming-soon {
        padding: 50px 16px;
    }
    .coming-soon__title {
        font-size: 1.4rem;
    }
    .coming-soon__text {
        font-size: 1rem;
    }
}

/* Очень маленькие экраны (до 400px) */
@media (max-width: 400px) {
    .site-header {
        padding: 5px 0;
    }
    .mobile-menu-toggle {
        font-size: 22px;
    }
    .logo-img {
        max-height: 28px;
    }
    .hero-title {
        font-size: 1.4rem;
    }
    .hero-subtitle {
        font-size: 0.85rem;
    }

    /* Hero фото */
    .hero-photos {
        width: 220px;
        height: 210px;
        border-radius: 28px;
    }
    .photo-1 { width: 110px; height: 110px; top: 5px; left: 5px; }
    .photo-2 { width: 100px; height: 100px; top: 6px; right: 5px; }
    .photo-3 { width: 90px; height: 90px; top: 105px; left: 65px; }

    /* About фото */
    .about-photos {
        width: 200px;
        height: 210px;
        border-radius: 25px;
    }
    .about-photos .p1 { width: 90px; height: 90px; top: 6px; left: 5px; }
    .about-photos .p2 { width: 100px; height: 100px; top: 6px; right: 5px; }
    .about-photos .p3 { width: 95px; height: 95px; top: 100px; left: 50%; margin-left: -47px; }
    .about-heading {
        font-size: 1.5rem;
    }
    h2 {
        font-size: 1.4rem;
        margin-bottom: 24px;
    }
    .latest-news {
        padding: 35px 0;
    }
    .news-img img {
        height: 160px;
    }
}