/* Подключение шрифтов TTFirsNeue */
@font-face {
    font-family: 'TTFirsNeue';
    src: url('../fonts/TTFirsNeue-ExtraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TTFirsNeue';
    src: url('../fonts/TTFirsNeue-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TTFirsNeue';
    src: url('../fonts/TTFirsNeue-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TTFirsNeue';
    src: url('../fonts/TTFirsNeue-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TTFirsNeue';
    src: url('../fonts/TTFirsNeue-DemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TTFirsNeue';
    src: url('../fonts/TTFirsNeue-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Reset и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'TTFirsNeue', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #F8F8F8;
}

/* Контейнеры */
.nav__container,
.hero__container,
.about__container,
.services__container,
.reviews__container,
.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Обеспечиваем отступы 20px от краев для всех секций в ПК версии */
@media (min-width: 769px) {
    .services {
        margin: 0 20px;
    }
    
    .about {
        margin: 0;
    }
    
    .reviews {
        margin: 0;
        width: 100%;
    }
}

/* Вертикальная надпись "Посмотреть еще" - скрыта в десктопной версии */
.reviews__more {
    display: none;
}

/* Показываем в мобильной версии */
@media (max-width: 768px) {
    /* Убираем отступы в мобильной версии */
    .about, .services, .faq {
        margin: 0;
    }
    
    .reviews {
        margin: 0;
        width: 100%;
    }
    
    .reviews__more {
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgb(255, 176, 92);
        color: white;
        font-family: 'TTFirsNeue', sans-serif;
        font-weight: 600;
        font-size: 0.9rem;
        writing-mode: vertical-rl;
        text-orientation: mixed;
        min-width: 60px;
        max-width: 80px;
        height: auto;
        min-height: 200px;
        border-radius: 10px;
        margin-left: 1rem;
        flex-shrink: 0;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: none;
        border: 2px solid rgb(255, 176, 92);
        align-self: stretch;
    }
    
    .reviews__more:hover {
        background: #ffc471;
        transform: none;
        box-shadow: none;
        border: 2px solid #ff6a13;
    }
}

.about {
    border-radius: 0;
}

.services {
    background: #f8f9fa;
    border-radius: 15px;
}

.reviews {
    background: #f8f9fa;
    border-radius: 15px;
}

.faq {
    background: white;
    margin: 0;
    border-radius: 0;
}

/* ПК версия - добавляем отступы только для контейнера */
@media (min-width: 769px) {
    .faq__container {
        border-radius: 15px;
        background: white;
    }
    
    .faq {
        background: transparent;
    }
}

/* Header и навигация */
.header {
    background: #ffffff;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Островное состояние header */
.header.island {
    width: auto;
    left: 250px;
    right: 250px;
    margin: 10px 0 20px 0;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Сохраняем стандартные отступы nav__container в островном состоянии */
.header.island .nav__container {
    padding: 0 20px;
}

.nav {
    padding: 1rem 0;
}

.nav__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-image {
    height: 28px;
    width: auto;
    max-width: 120px;
    min-width: 80px;
    max-height: 35px;
    min-height: 20px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    filter: none;
    transform-origin: center;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Убрал hover эффекты для логотипа */

/* Дополнительные правила для качества SVG */
.nav__logo svg {
    max-width: 100%;
    height: auto;
    display: block;
}

.nav__logo img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center;
}

.nav__menu {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.nav__menu a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.nav__menu a:hover {
    color: rgb(255, 176, 92);
}

/* Стили для кнопки "Записаться" */
.nav__cta {
    background: black !important;
    color: white !important;
    border-radius: 8px !important;
    padding: 0.5rem 1.5rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    border: 2px solid transparent !important;
}

.nav__cta:hover {
    background: black !important;
    color: rgb(255, 176, 92) !important;
    transform: translateY(-2px);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav__toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero секция */
.hero {
    background: linear-gradient(135deg, #ffc471 0%, #ffb464 25%, #ffa257 50%, #ff6a13 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: white;
    padding-top: 80px;
}

.hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 0;
}

.hero__title {
    font-family: 'TTFirsNeue', sans-serif;
    font-weight: 700;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero__subtitle {
    font-family: 'TTFirsNeue', sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.4;
}

.hero__cta {
    background: white;
    color: rgb(255, 176, 92);
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    font-family: 'TTFirsNeue', sans-serif;
}

.hero__cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    background: #f8f9fa;
}



/* Секции */
.services, .exam-timer {
    padding: 5rem 0;
}

.about {
    padding: 5rem 0;
    margin-top: 0;
    background: white;
}

.about h2, .services h2, .reviews__title, .faq__title {
    font-family: 'TTFirsNeue', sans-serif;
    font-weight: 600;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.about p {
    text-align: center;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: #666;
    line-height: 1.6;
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-color: rgb(255, 176, 92);
}

.stat-number {
    font-family: 'TTFirsNeue', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: rgb(255, 176, 92);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
    line-height: 1.4;
}

/* Сервисы */
.services {
    background: #f8f9fa;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.service-card h3 {
    color: rgb(255, 176, 92);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}



/* Раздел с таймером экзаменов */
.exam-timer {
    background: white;
    margin: 0;
    border-radius: 0;
}

/* ПК версия - добавляем отступы только для контейнера */
@media (min-width: 769px) {
    .exam-timer {
        background: transparent;
        padding: 0;
    }
}

/* Базовые стили для мобильной версии */
.exam-timer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ПК версия - переопределяем стили контейнера */
@media (min-width: 769px) {
    .exam-timer__container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 5rem 5rem;
        width: 100%;
        border-radius: 15px;
        background: white;
    }
}

.exam-timer__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.exam-timer__left {
    padding-right: 2rem;
}

.exam-timer__title {
    font-family: 'TTFirsNeue', sans-serif;
    font-weight: 600;
    font-size: 2.1rem;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.exam-timer__subtitle {
    font-family: 'TTFirsNeue', sans-serif;
    font-weight: 500;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.exam-timer__list {
    list-style: none;
    margin-bottom: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.exam-timer__list li {
    margin-bottom: 0;
    padding: 0.5rem;
    position: relative;
    font-size: 1rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f6f6f6;
    border-radius: 10px;
}

/* Убрал hover эффекты для элементов списка */

.galka-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.exam-timer__cta {
    background: rgb(255, 176, 92);
    color: white;
    border: none;
    padding: 1rem 11rem;
    font-size: 1.1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    white-space: nowrap;
}

.exam-timer__cta:hover {
    background: #ffc471;
}

.exam-timer__right {
    position: relative;
}

.exam-timer__image {
    height: 430px;
    background: linear-gradient(135deg, #ffc471 0%, #ffb464 25%, #ffa257 50%, #ff6a13 100%);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.exam-timer__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    opacity: 0.6;
}

.exam-timer__overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.exam-timer__overlay-text {
    text-align: center;
    color: #333;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.exam-timer__countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.exam-timer__item {
    text-align: center;
}

.exam-timer__number {
    display: block;
    background: rgb(255, 176, 92);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 0.5rem 0.3rem;
    border-radius: 8px;
    margin-bottom: 0.3rem;
}

.exam-timer__label {
    display: block;
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

/* Раздел отзывов */
.reviews {
    background: #f8f9fa;
    padding: 5rem 0;
    box-shadow: none;
}

.reviews__title {
    font-family: 'TTFirsNeue', sans-serif;
    font-weight: 600;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-color: rgb(255, 176, 92);
}

.review-card__content {
    margin-bottom: 1.5rem;
}

.review-card__text {
    font-family: 'TTFirsNeue', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
    transition: all 0.3s ease;
}

.review-card__text.truncated {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-card__read-more {
    background: none;
    border: none;
    color: rgb(255, 176, 92);
    font-family: 'TTFirsNeue', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    transition: color 0.3s ease;
    text-align: left;
    width: 100%;
}

.review-card__read-more:hover {
    color: #ff6a13;
}

.review-card__author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-card__avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffc471 0%, #ffb464 25%, #ffa257 50%, #ff6a13 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.review-card__info {
    flex: 1;
}

.review-card__name {
    font-family: 'TTFirsNeue', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
    margin: 0 0 0.3rem 0;
}

.review-card__name a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.review-card__name a:hover {
    color: rgb(255, 176, 92);
    text-decoration: none;
}

.review-card__subject {
    font-family: 'TTFirsNeue', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    color: rgb(255, 176, 92);
    margin: 0;
}

.review-card__rating {
    display: flex;
    gap: 0.2rem;
    justify-content: flex-end;
}

.review-card__rating .star {
    color: #ffd700;
    font-size: 1.2rem;
}

.reviews__cta {
    text-align: center;
    margin-top: 3rem;
}

.reviews__button {
    display: inline-block;
    background: rgb(255, 176, 92);
    color: white;
    text-decoration: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'TTFirsNeue', sans-serif;
}

.reviews__button:hover {
    background: #ffc471;
    text-decoration: none;
    color: white;
}

/* Раздел FAQ */
.faq {
    background: white;
    margin: 0;
    border-radius: 0;
}

/* ПК версия - добавляем отступы только для контейнера */
@media (min-width: 769px) {
    .faq__container {
        border-radius: 15px;
        background: white;
    }
    
    .faq {
        background: transparent;
    }
}

/* Базовые стили для мобильной версии */
.faq__container {
    max-width: 1200px;
    margin: 0 auto 70px;
    padding: 4rem 2rem;
    width: 100%;
}

/* ПК версия - переопределяем стили контейнера */
@media (min-width: 769px) {
    .faq__container {
        max-width: 1200px;
        margin: 0 auto 70px;
        padding: 4rem 2rem;
        width: 100%;
    }
}

.faq__title {
    font-family: 'TTFirsNeue', sans-serif;
    font-weight: 600;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    margin-bottom: 0.6rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq__item:hover {
    border-color: rgb(255, 176, 92);
    box-shadow: 0 4px 15px rgba(255, 176, 92, 0.1);
}

    .faq__question {
        padding: 0.8rem;
        background: #f8f9fa;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: background-color 0.3s ease;
    }

.faq__question:hover {
    background: #f0f0f0;
}

.faq__question h3 {
    font-family: 'TTFirsNeue', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: #333;
    margin: 0;
}

.faq__toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: rgb(255, 176, 92);
    transition: transform 0.3s ease;
}

.faq__item.active .faq__toggle {
    transform: rotate(45deg);
}

.faq__answer {
    padding: 0 0.8rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.faq__item.active .faq__answer {
    padding: 0.8rem;
    max-height: 200px;
}

.faq__answer p {
    font-family: 'TTFirsNeue', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Footer */
.footer {
    background: #ffffff;
    color: rgb(0, 0, 0);
    text-align: center;
    padding: 2rem 0 1rem 0;
}

.footer__disclaimer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px 0 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer__disclaimer p {
    font-family: 'TTFirsNeue', sans-serif;
    font-weight: 300;
    font-size: 0.75rem;
    color: rgba(0, 0, 0, 0.5);
    line-height: 1.4;
    margin: 0;
    max-width: 800px;
    margin: 0 auto;
}

/* Адаптивность */
@media (max-width: 1297px) {
    .nav__menu {
        display: none;
    }
    
    .nav__toggle {
        display: flex;
    }
}

/* ПК версия - остается как было изначально */
@media (min-width: 1298px) {
    .nav__toggle {
        display: none;
    }
    
    .nav__menu {
        display: flex;
    }
}

@media (max-width: 768px) {
    /* Общие отступы для всех контейнеров */
    .nav__container,
    .hero__container,
    .about__container,
    .services__container,
    .footer__container {
        padding: 0 10px;
    }
    
    .reviews__container {
        padding: 0 20px;
        width: 100%;
    }
    
    /* Уменьшение логотипа в мобильной версии */
    .logo-image {
        height: 20px;
        max-height: 25px;
        min-height: 15px;
    }
    
    /* Отступы для секций */
    .services, .exam-timer {
        padding: 1rem 0;
        margin-top: 50px;
    }
    
    .about {
        padding: 1rem 0;
        margin-top: 0;
    }
    
    /* Дополнительный отступ сверху для reviews в мобильной версии */
    .reviews {
        margin-top: 50px;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }
    
    /* Убираем padding у reviews в мобильной версии */
    .reviews {
        padding: 0;
    }
    
    /* Адаптация кнопки "Записаться" для мобильной версии */
    .nav__cta {
        font-size: 0.9rem !important;
        padding: 0.4rem 1rem !important;
        margin-left: 0.5rem !important;
    }
    
    /* Добавляем margin-top для faq__container в мобильной версии */
    .faq__container {
        margin-top: 50px;
    }
    
    /* Адаптивность для островного состояния header */
    .header.island {
        left: 120px;
        right: 120px;
        margin: 10px 0 10px 0;
        border-radius: 15px;
    }
    
    /* Сохраняем стандартные отступы nav__container в островном состоянии на планшетах */
    .header.island .nav__container {
        padding: 0 20px;
    }
    

    
    .hero__title {
        font-size: 2.2rem;
    }
    
    .hero__subtitle {
        font-size: 1.1rem;
    }
    

    
    .services__grid {
        grid-template-columns: 1fr;
        margin-top: 1.5rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
        gap: 0.5rem;
    }
    
    .exam-timer__content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        display: flex;
        flex-direction: column;
    }
    
    .exam-timer__left {
        order: 1;
    }
    
    .exam-timer__left .exam-timer__cta {
        display: none;
    }
    
    .exam-timer__right {
        order: 2;
    }
    
    .exam-timer__right::after {
        content: "Начать готовиться";
        display: block;
        background: rgb(255, 176, 92);
        color: white;
        border: none;
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
        border-radius: 10px;
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: bold;
        white-space: nowrap;
        text-align: center;
        margin-top: 1.5rem;
        order: 3;
    }
    
    .exam-timer__right::after:hover {
        background: #ffc471;
    }
    
    .exam-timer__left {
        padding-right: 0;
    }
    
    .exam-timer__title {
        font-size: 1.6rem;
    }
    
    .exam-timer__subtitle {
        font-size: 1rem;
        text-align: left;
    }
    
    .exam-timer__image {
        height: 300px;
    }
    
    .exam-timer__countdown {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }
    
    .exam-timer__list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 0;
        justify-content: flex-start;
    }
    
    .exam-timer__overlay {
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        top: auto;
        right: auto;
        padding: 0.6rem;
        width: 95%;
    }
    
    .exam-timer__overlay-text {
        font-size: 0.8rem;
        white-space: nowrap;
    }
    
    .exam-timer__list li {
        min-width: auto;
        width: auto;
        flex: 0 0 auto;
        padding: 0.3rem 0.5rem;
        font-size: 0.85rem;
    }
    
    .reviews__grid {
        display: flex;
        overflow-x: auto;
        gap: 1rem;
        margin-top: 1.5rem;
        padding: 0 20px 1rem 20px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    
    .reviews__grid::before {
        content: '';
        flex-shrink: 0;
        width: 0;
    }
    
    .reviews__grid::after {
        content: '';
        flex-shrink: 0;
        width: 0;
    }
    
    .reviews__grid::-webkit-scrollbar {
        height: 6px;
    }
    
    .reviews__grid::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 3px;
    }
    
    .reviews__grid::-webkit-scrollbar-thumb {
        background: rgb(255, 176, 92);
        border-radius: 3px;
    }
    
    .reviews__grid::-webkit-scrollbar-thumb:hover {
        background: #ffc471;
    }
    
    /* Кнопки прокрутки отзывов - скрыты */
    .reviews__scroll-indicators {
        display: none;
    }
    
    .about h2, .services h2, .reviews__title, .faq__title {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    .about p {
        font-size: 0.9rem;
    }
    
    .review-card {
        padding: 0.8rem;
        min-width: 260px;
        max-width: 300px;
        flex: 0 0 auto;
        scroll-snap-align: start;
    }
    
    .reviews__button {
        display: none;
    }
    
    .review-card__read-more {
        font-size: 0.75rem;
        padding: 0.3rem 0;
    }
    
    .faq {
        margin: 20px;
        margin-top: 50px;
        border-radius: 15px;
    }
    
    .faq__container {
        padding: 1rem 0.8rem;
    }
    
    .faq__title {
        font-size: 1.5rem;
    }
    
    .about h2, .services h2, .reviews__title, .faq__title {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    .about__stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.4rem;
    }
    
    .stat-card {
        padding: 0.8rem 0.3rem;
    }
    
    .stat-number {
        font-size: 1rem;
        line-height: 1;
        margin-bottom: 0.2rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
        line-height: 1.1;
    }
    
    .service-card {
        padding: 0.8rem 0.3rem;
    }
    
    .service-card h3 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }
    
    .service-card p {
        font-size: 0.65rem;
        line-height: 1.1;
    }
    
    /* Уменьшенные hover эффекты для мобильной версии */
    .service-card:hover {
        transform: translateY(-3px);
    }
    
    .stat-card:hover {
        transform: translateY(-2px);
    }
    
    .review-card {
        box-shadow: none;
    }
    
    .review-card:hover {
        transform: translateY(-2px);
        box-shadow: none;
        border: 2px solid rgb(255, 176, 92);
    }
    
    .hero__cta:hover {
        transform: translateY(-1px);
    }
    
    .nav__cta:hover {
        transform: translateY(-1px);
    }
    
    .footer__disclaimer {
        padding: 0.8rem 15px 0 15px;
    }
    
    .footer__disclaimer p {
        font-size: 0.7rem;
    }
    
    /* Адаптация exam-timer секции для мобильных */
    .exam-timer {
        margin: 20px;
        margin-top: 50px;
        border-radius: 15px;
    }
    
    .exam-timer__container {
        padding: 0 10px;
    }
    
    .faq {
        margin: 20px;
        margin-top: 50px;
        border-radius: 15px;
    }
    
    .faq__container {
        padding: 1rem 0.8rem;
    }
    
    .exam-timer__cta {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
        margin-top: 1.5rem;
    }
    
    .exam-timer__title {
        font-size: 1.5rem;
    }
    
    .exam-timer__subtitle {
        font-size: 0.9rem;
        text-align: left;
    }
    
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .hero__subtitle {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }
    
    /* Дополнительное уменьшение логотипа для маленьких экранов */
    .logo-image {
        height: 18px;
        max-height: 22px;
        min-height: 14px;
    }
    
    /* Дополнительная адаптация кнопки "Записаться" для маленьких экранов */
    .nav__cta {
        font-size: 0.8rem !important;
        padding: 0.3rem 0.8rem !important;
        margin-left: 0.3rem !important;
    }
    
    .hero__cta {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    /* Адаптивность для островного состояния header на маленьких экранах */
    .header.island {
        left: 60px;
        right: 60px;
        margin: 10px 0 8px 0;
        border-radius: 12px;
    }
    
    /* Сохраняем стандартные отступы nav__container в островном состоянии на мобильных */
    .header.island .nav__container {
        padding: 0 20px;
    }
    

    
    .nav__container {
        padding: 0 10px;
    }
    
    .hero__container,
    .about__container,
    .services__container,
    .footer__container {
        padding: 0 10px;
    }
    
    .reviews__container {
        padding: 0 20px;
        width: 100%;
    }
    
    .exam-timer__container {
        padding: 0 10px;
    }
    
    .faq__container {
        padding: 1rem 0.8rem;
    }
    
    .reviews__grid {
        display: flex;
        overflow-x: auto;
        gap: 0.8rem;
        margin-top: 1.5rem;
        padding: 0 20px 1rem 20px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    
    .reviews__grid::before {
        content: '';
        flex-shrink: 0;
        width: 0;
    }
    
    .reviews__grid::after {
        content: '';
        flex-shrink: 0;
        width: 0;
    }
    
    .reviews__grid::-webkit-scrollbar {
        height: 4px;
    }
    
    .reviews__grid::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 2px;
    }
    
    .reviews__grid::-webkit-scrollbar-thumb {
        background: rgb(255, 176, 92);
        border-radius: 2px;
    }
    
    /* Кнопки прокрутки отзывов - скрыты */
    .reviews__scroll-indicators {
        display: none;
    }
    
    /* Вертикальная надпись "Посмотреть еще" для 480px */
    .reviews__more {
        min-width: 50px;
        max-width: 70px;
        height: auto;
        min-height: 180px;
        font-size: 0.8rem;
        margin-left: 0.8rem;
        align-self: stretch;
    }
    
    .review-card {
        padding: 0.7rem;
        min-width: 240px;
        max-width: 280px;
        flex: 0 0 auto;
        scroll-snap-align: start;
        box-shadow: none;
    }
    
    .review-card__author {
        gap: 0.8rem;
    }
    
    .review-card__avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .reviews__button {
        display: none;
    }
    
    .review-card__read-more {
        font-size: 0.75rem;
        padding: 0.3rem 0;
    }
    
    .footer__disclaimer {
        padding: 0.6rem 15px 0 15px;
    }
    
    .footer__disclaimer p {
        font-size: 0.65rem;
    }
    
    .services__grid {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        gap: 0.5rem;
    }
    
    .about__stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .stat-card {
        padding: 0.8rem 0.3rem;
    }
    
    .stat-number {
        font-size: 1rem;
        line-height: 1;
        margin-bottom: 0.2rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
        line-height: 1.1;
    }
    
    .service-card {
        padding: 0.8rem 0.3rem;
    }
    
    .service-card h3 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }
    
    .service-card p {
        font-size: 0.65rem;
        line-height: 1.1;
    }
    
    /* Еще более уменьшенные hover эффекты для маленьких экранов */
    .service-card:hover {
        transform: translateY(-2px);
    }
    
    .stat-card:hover {
        transform: translateY(-1px);
    }
    
    .review-card:hover {
        transform: translateY(-1px);
        box-shadow: none;
        border: 2px solid rgb(255, 176, 92);
    }
    
    .hero__cta:hover {
        transform: translateY(-1px);
    }
    
    .nav__cta:hover {
        transform: translateY(-1px);
    }
    
    /* Дополнительная адаптация exam-timer для очень маленьких экранов */
    .exam-timer {
        margin: 20px;
        margin-top: 50px;
        border-radius: 15px;
    }
    
    .exam-timer__title {
        font-size: 1.3rem;
    }
    
    .exam-timer__subtitle {
        font-size: 0.85rem;
        text-align: left;
    }
    
    .exam-timer__right::after {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
        margin-top: 1.5rem;
    }
    
    .exam-timer__image {
        height: 250px;
    }
    
    .exam-timer__overlay {
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        top: auto;
        right: auto;
        padding: 0.5rem;
        width: 95%;
    }
    
    .exam-timer__overlay-text {
        font-size: 0.7rem;
        white-space: nowrap;
    }
    
    .exam-timer__countdown {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.4rem;
    }
    
    .exam-timer__number {
        font-size: 1.2rem;
        padding: 0.4rem 0.2rem;
    }
    
    .exam-timer__label {
        font-size: 0.7rem;
    }
}

/* Адаптация для очень маленьких экранов (320px) */
@media (max-width: 320px) {
    .hero__title {
        font-size: 1.4rem;
    }
    
    .hero__subtitle {
        font-size: 0.8rem;
    }
    
    .hero__cta {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Минимальный размер логотипа для очень маленьких экранов */
    .logo-image {
        height: 16px;
        max-height: 20px;
        min-height: 12px;
    }
    
    /* Минимальная адаптация кнопки "Записаться" для очень маленьких экранов */
    .nav__cta {
        font-size: 0.75rem !important;
        padding: 0.25rem 0.6rem !important;
        margin-left: 0.2rem !important;
    }
    
    .nav__container {
        padding: 0 10px;
    }
    
    .hero__container,
    .about__container,
    .services__container,
    .footer__container {
        padding: 0 10px;
    }
    
    .reviews__container {
        padding: 0 20px;
        width: 100%;
    }
    
    .exam-timer__container {
        padding: 0 10px;
    }
    
    .faq__container {
        padding: 1rem 0.8rem;
    }
    
    .about h2, .services h2, .reviews__title, .faq__title {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }
    
    .about p {
        font-size: 1rem;
    }
    
    .exam-timer {
        margin: 20px;
        margin-top: 50px;
        border-radius: 15px;
    }
    
    .exam-timer__title {
        font-size: 1.2rem;
    }
    
    .exam-timer__subtitle {
        font-size: 0.8rem;
        text-align: left;
    }
    
    .exam-timer__right::after {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        margin-top: 1.5rem;
    }
    
    .exam-timer__image {
        height: 200px;
    }
    
    .exam-timer__overlay {
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        top: auto;
        right: auto;
        padding: 0.4rem;
        width: 90%;
    }
    
    .exam-timer__overlay-text {
        font-size: 0.6rem;
        white-space: nowrap;
    }
    
    .exam-timer__countdown {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.3rem;
    }
    
    .exam-timer__number {
        font-size: 1rem;
        padding: 0.3rem 0.1rem;
    }
    
    .exam-timer__label {
        font-size: 0.6rem;
    }
    
    .reviews__grid {
        display: flex;
        overflow-x: auto;
        gap: 0.6rem;
        margin-top: 1.5rem;
        padding: 0 20px 1rem 20px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    
    .reviews__grid::before {
        content: '';
        flex-shrink: 0;
        width: 0;
    }
    
    .reviews__grid::after {
        content: '';
        flex-shrink: 0;
        width: 0;
    }
    
    .reviews__grid::-webkit-scrollbar {
        height: 3px;
    }
    
    .reviews__grid::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 1px;
    }
    
    .reviews__grid::-webkit-scrollbar-thumb {
        background: rgb(255, 176, 92);
        border-radius: 1px;
    }
    
    /* Кнопки прокрутки отзывов - скрыты */
    .reviews__scroll-indicators {
        display: none;
    }
    
    /* Вертикальная надпись "Посмотреть еще" для 320px */
    .reviews__more {
        min-width: 40px;
        max-width: 60px;
        height: auto;
        min-height: 160px;
        font-size: 0.75rem;
        margin-left: 0.6rem;
        align-self: stretch;
    }
    
    .review-card {
        padding: 0.6rem;
        min-width: 220px;
        max-width: 260px;
        flex: 0 0 auto;
        scroll-snap-align: start;
        box-shadow: none;
    }
    
    .review-card__text {
        font-size: 0.9rem;
    }
    
    .review-card__avatar {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .review-card__name {
        font-size: 1rem;
    }
    
    .review-card__subject {
        font-size: 0.8rem;
    }
    
    .reviews__button {
        display: none;
    }
    
    .faq__question h3 {
        font-size: 1.1rem;
    }
    
    .faq__answer p {
        font-size: 1rem;
    }
    
    .about__stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.4rem;
    }
    
    .stat-card {
        padding: 0.7rem 0.2rem;
    }
    
    .stat-number {
        font-size: 0.9rem;
        line-height: 1;
        margin-bottom: 0.2rem;
    }
    
    .stat-label {
        font-size: 0.6rem;
        line-height: 1.1;
    }
    
    .service-card {
        padding: 0.7rem 0.2rem;
    }
    
    .service-card h3 {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    .service-card p {
        font-size: 0.6rem;
        line-height: 1.1;
    }
    
    /* Минимальные hover эффекты для очень маленьких экранов */
    .service-card:hover {
        transform: translateY(-1px);
    }
    
    .stat-card:hover {
        transform: translateY(-1px);
    }
    
    .review-card:hover {
        transform: translateY(-1px);
        box-shadow: none;
        border: 2px solid rgb(255, 176, 92);
    }
    
    .hero__cta:hover {
        transform: translateY(-1px);
    }
    
    .nav__cta:hover {
        transform: translateY(-1px);
    }
    
    .services__grid {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        gap: 0.5rem;
    }
}

/* Остров готовности к подготовке */
.readiness-island {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: auto;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(100px);
}

.readiness-island.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.readiness-island.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(100px);
}

.readiness-island__container {
    padding: 1.5rem 2rem;
    max-width: 100%;
    box-sizing: border-box;
}

.readiness-island__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    white-space: nowrap;
}

.readiness-island__title {
    font-family: 'TTFirsNeue', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: #333;
    margin: 0;
    flex: 1;
    white-space: nowrap;
}

.readiness-island__buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.readiness-island__btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-family: 'TTFirsNeue', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.readiness-island__btn--primary {
    background: rgb(255, 176, 92);
    color: white;
}

.readiness-island__btn--primary:hover {
    background: #ffc471;
    transform: translateY(-2px);
}

.readiness-island__btn--secondary {
    background: transparent;
    color: #666;
    border: 1px solid rgba(102, 102, 102, 0.3);
}

.readiness-island__btn--secondary:hover {
    background: rgba(102, 102, 102, 0.15);
    color: #333;
    transform: translateY(-2px);
}

/* Убираем эффект поднятия кнопок на мобильных устройствах */
@media (max-width: 768px) {
    .readiness-island__btn--primary:hover {
        transform: none;
    }
    
    .readiness-island__btn--secondary:hover {
        transform: none;
    }
}

/* Адаптивность для острова готовности */
@media (max-width: 768px) {
    .readiness-island {
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 15px;
        max-width: calc(100vw - 40px);
        width: calc(100vw - 40px);
    }
    
    .readiness-island__container {
        padding: 0.8rem 1rem;
        max-width: 100%;
    }
    
    .readiness-island__content {
        flex-direction: row;
        gap: 0.8rem;
        text-align: center;
        white-space: nowrap;
    }
    
    .readiness-island__title {
        font-size: 0.9rem;
        white-space: nowrap;
        flex: 1;
        min-width: 0;
    }
    
    .readiness-island__buttons {
        flex-shrink: 0;
        display: flex;
        gap: 0.5rem;
    }
    
    .readiness-island__btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        white-space: nowrap;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .readiness-island {
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 12px;
        max-width: calc(100vw - 40px);
        width: calc(100vw - 40px);
    }
    
    .readiness-island__container {
        padding: 0.6rem 0.8rem;
        max-width: 100%;
    }
    
    .readiness-island__content {
        gap: 0.6rem;
    }
    
    .readiness-island__title {
        font-size: 0.8rem;
        white-space: nowrap;
        flex: 1;
        min-width: 0;
    }
    
    .readiness-island__buttons {
        gap: 0.4rem;
    }
    
    .readiness-island__btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
        white-space: nowrap;
        min-width: 0;
    }
}

@media (max-width: 320px) {
    .readiness-island {
        bottom: 8px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 10px;
        max-width: calc(100vw - 40px);
        width: calc(100vw - 40px);
    }
    
    .readiness-island__container {
        padding: 0.5rem 0.6rem;
        max-width: 100%;
    }
    
    .readiness-island__content {
        gap: 0.4rem;
    }
    
    .readiness-island__title {
        font-size: 0.7rem;
        white-space: nowrap;
        flex: 1;
        min-width: 0;
    }
    
    .readiness-island__buttons {
        gap: 0.3rem;
    }
    
    .readiness-island__btn {
        padding: 0.3rem 0.5rem;
        font-size: 0.7rem;
        white-space: nowrap;
        min-width: 0;
    }
}
