:root {
    --primary: #2c5f7c;
    --primary-dark: #1e4258;
    --accent: #d4a574;
    --max-color: #0088cc;
    --text: #2d3748;
    --text-light: #718096;
    --bg: #ffffff;
    --bg-cream: #f7f5f0;
    --border: #e2e8f0;
    --radius: 8px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; color: var(--text); line-height: 1.6; background: var(--bg); padding-bottom: 60px; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: 'Playfair Display', serif; }

/* ============================================ */
/* ЛОГОТИП - СТИЛИ (легко заменить) */
/* ============================================ */
.logo-container {
    text-align: center;
    padding: 30px 0;
    background: linear-gradient(135deg, #f7f5f0 0%, #ffffff 100%);
}

.logo {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    position: relative;
}

.logo-letter {
    display: inline-block;
    color: var(--primary);
    transition: all 0.3s ease;
}

.logo-k { font-size: 3.5rem; }
.logo-l1 { font-size: 2.8rem; }
.logo-a { font-size: 3.2rem; color: var(--accent); }
.logo-s1 { font-size: 2.6rem; }
.logo-s2 { font-size: 2.6rem; }
.logo-i { font-size: 3rem; color: var(--accent); }
.logo-k2 { font-size: 3.5rem; }
.logo-i2 { font-size: 3rem; color: var(--accent); }

/* Эффект пересечения букв */
.logo-a {
    position: relative;
    left: -5px;
}

.logo-i, .logo-i2 {
    position: relative;
    top: -3px;
}

.logo:hover .logo-letter {
    transform: translateY(-2px);
}
/* ============================================ */
/* ЛОГОТИП - КОНЕЦ СТИЛЕЙ */
/* ============================================ */

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border-radius: var(--radius); font-weight: 600; transition: 0.2s; cursor: pointer; border: none; font-size: 1rem; }
.btn--primary { background: var(--primary); color: white; }
.btn--primary:hover { background: var(--primary-dark); }
.btn--outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn--outline:hover { background: var(--primary); color: white; }
.btn--max { background: var(--max-color); color: white; }
.btn--max:hover { opacity: 0.9; }

/* Шапка */
.header { background: white; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; padding: 10px 0; }
.header__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.header__logo { display: flex; align-items: center; gap: 12px; }
.header__info { display: flex; flex-direction: column; }
.header__name { font-weight: 700; font-size: 1.1rem; font-family: 'Playfair Display', serif; }
.header__descriptor { font-size: 0.85rem; color: var(--text-light); }
.header__contacts { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.header__address { font-size: 0.85rem; color: var(--text-light); text-align: right; }
.header__phones { display: flex; gap: 15px; font-weight: 600; }
.phone-link { color: var(--primary); }
.phone-link:hover { text-decoration: underline; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; padding: 80px 0; text-align: center; }
.hero__content { max-width: 700px; margin: 0 auto; }
.hero h1 { font-size: 2.5rem; margin-bottom: 15px; line-height: 1.2; }
.hero__subtitle { font-size: 1.2rem; margin-bottom: 25px; opacity: 0.95; }
.hero__benefits { list-style: none; text-align: left; max-width: 500px; margin: 0 auto 20px; }
.hero__benefits li { margin-bottom: 10px; font-size: 1.05rem; }
.hero__trust { font-size: 0.9rem; opacity: 0.85; margin-bottom: 30px; font-style: italic; }
.hero__actions { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* Секции */
.section { padding: 60px 0; }
.section--cream { background: var(--bg-cream); }
.section__title { font-size: 2rem; text-align: center; margin-bottom: 15px; color: var(--text); }
.section__subtitle { text-align: center; color: var(--text-light); margin-bottom: 40px; max-width: 700px; margin-left: auto; margin-right: auto; }

/* О студии */
.about-text { max-width: 800px; margin: 0 auto; font-size: 1.05rem; color: var(--text); }
.about-text p { margin-bottom: 15px; }

/* Преподаватели */
.teachers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 30px; }
.teacher-card { background: white; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.teacher-card__image { height: 300px; overflow: hidden; }
.teacher-card__image img { width: 100%; height: 100%; object-fit: cover; }
.teacher-card__content { padding: 25px; }
.teacher-card h3 { font-size: 1.5rem; margin-bottom: 8px; color: var(--primary); }
.teacher-card__subject { font-size: 1.1rem; font-weight: 600; color: var(--accent); margin-bottom: 5px; }
.teacher-card__experience { font-size: 0.9rem; color: var(--text-light); margin-bottom: 15px; }
.teacher-card__desc { font-size: 0.95rem; color: var(--text); margin-bottom: 15px; }
.teacher-card__skills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.teacher-card__skills span { background: var(--bg-cream); padding: 5px 12px; border-radius: 20px; font-size: 0.85rem; color: var(--text); }
.teacher-card__contacts { display: flex; gap: 10px; flex-wrap: wrap; }

/* Направления */
.subjects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.subject-card { background: white; padding: 25px; border-radius: var(--radius); box-shadow: var(--shadow); }
.subject-icon { font-size: 3rem; margin-bottom: 15px; text-align: center; }
.subject-card h3 { font-size: 1.2rem; margin-bottom: 15px; color: var(--primary); text-align: center; }
.subject-card ul { list-style: none; }
.subject-card li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.subject-card li:last-child { border-bottom: none; }

/* Формат занятий */
.formats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.format-card { background: white; padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.format-icon { font-size: 4rem; margin-bottom: 20px; }
.format-card h3 { font-size: 1.3rem; margin-bottom: 15px; color: var(--primary); }
.format-card p { font-size: 0.95rem; color: var(--text); margin-bottom: 20px; }
.format-details { list-style: none; text-align: left; }
.format-details li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.format-details li:last-child { border-bottom: none; }

/* Преимущества */
.advantages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.advantage-item { background: white; padding: 25px; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.advantage-icon { font-size: 3rem; margin-bottom: 15px; }
.advantage-item h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--primary); }
.advantage-item p { font-size: 0.95rem; color: var(--text-light); }

/* Галерея */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.gallery__item { background: white; padding: 15px; border-radius: var(--radius); box-shadow: var(--shadow); }
.gallery__item img { width: 100%; height: 250px; object-fit: cover; border-radius: 6px; margin-bottom: 10px; }
.gallery__item p { text-align: center; font-size: 0.9rem; color: var(--text-light); }

/* Аккордеон (FAQ) */
.accordion { max-width: 800px; margin: 0 auto; }
.accordion__item { border-bottom: 1px solid var(--border); }
.accordion__header { width: 100%; text-align: left; padding: 20px; background: white; border: none; font-size: 1.05rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--text); }
.accordion__icon { font-size: 1.5rem; font-weight: 300; transition: transform 0.3s; }
.accordion__header.active .accordion__icon { transform: rotate(45deg); }
.accordion__content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background: var(--bg-cream); }
.accordion__content p { padding: 0 20px 20px; }

/* Отзывы */
.reviews-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-bottom: 30px; }
.review-card { background: white; padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); }
.review__header { display: flex; gap: 12px; margin-bottom: 12px; }
.review__avatar-placeholder { width: 50px; height: 50px; border-radius: 50%; background: var(--primary); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem; }
.review__name { font-weight: 600; }
.review__stars { color: #fbbf24; letter-spacing: 2px; }
.review__date { font-size: 0.8rem; color: var(--text-light); }
.review__text { font-size: 0.95rem; color: var(--text); }
.hidden-review { display: none; }
.reviews__actions { text-align: center; }

/* SEO и Футер */
.seo-text { max-width: 800px; margin: 0 auto; color: var(--text-light); font-size: 0.95rem; }
.seo-text p { margin-bottom: 15px; }
.footer { background: var(--text); color: white; padding: 50px 0 30px; }
.footer__title { text-align: center; margin-bottom: 30px; font-size: 1.8rem; color: white; }
.footer__contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.footer__info h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--accent); }
.footer__info p { margin-bottom: 12px; }
.footer__link { color: #93c5fd; }
.footer__map iframe { border-radius: var(--radius); }
.footer__legal { text-align: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid #4a5568; font-size: 0.85rem; color: #a0aec0; }
.footer__legal a { color: #a0aec0; margin: 0 10px; }

/* Мобильная липкая панель */
.mobile-sticky-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: white; border-top: 1px solid var(--border); padding: 10px 20px; z-index: 1000; box-shadow: 0 -4px 6px rgba(0,0,0,0.05); }
.sticky-btn { flex: 1; text-align: center; padding: 12px; border-radius: var(--radius); font-weight: 600; color: white; font-size: 0.9rem; }
.sticky-btn--janna { background: var(--primary); margin-right: 10px; }
.sticky-btn--anna { background: var(--accent); }

/* Адаптив */
@media (max-width: 768px) {
    .header__inner { flex-direction: column; align-items: flex-start; }
    .header__contacts { align-items: flex-start; width: 100%; margin-top: 10px; }
    .header__phones { flex-direction: column; gap: 5px; }
    .hero h1 { font-size: 1.8rem; }
    .teachers-grid { grid-template-columns: 1fr; }
    .footer__contacts { grid-template-columns: 1fr; }
    .mobile-sticky-bar { display: flex; }
    body { padding-bottom: 70px; }
    
    /* Логотип на мобильном */
    .logo-k { font-size: 2.5rem; }
    .logo-l1 { font-size: 2rem; }
    .logo-a { font-size: 2.3rem; }
    .logo-s1, .logo-s2 { font-size: 1.9rem; }
    .logo-i, .logo-i2 { font-size: 2.2rem; }
    .logo-k2 { font-size: 2.5rem; }
}