/* === ЭТАЛОННЫЕ ПЕРЕМЕННЫЕ === */
:root {
    --bg-main: #F2F0EB;
    --bg-card: #FFFFFF;
    --bg-dark: #3E3B36;
    --text-main: #3E3B36;
    --text-light: #FFFFFF;
    --text-muted: #8C8681;
    --border-line: #DBCBBC;
    --accent: #B09B87;
    --accent-gold: #C4A76B;
    --radius-box: 24px;
    --radius-btn: 100px;
    --radius-sm: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
:focus:not(:focus-visible) {
    outline: none;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--accent);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius-btn);
    z-index: 10000;
    font-size: 14px;
    text-decoration: none;
    transition: top .2s;
}
.skip-link:focus {
    top: 12px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    line-height: 1.5;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* === HEADER === */
header {
    position: fixed;
    top: 20px;
    left: 0; right: 0;
    display: flex;
    justify-content: center;
    z-index: 1000;
    padding: 0 20px;
}

.navbar {
    width: 100%;
    max-width: 1280px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 12px 24px;
    border-radius: var(--radius-btn);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 30px rgba(62, 59, 54, 0.06);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-mark {
    height: 28px;
    width: auto;
}

.logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.2;
}

/* Десктопный текст-однострочник скрыт */
.logo-text--desktop {
    display: none;
}

/* Divider + двухстрочное название */
.logo-divider {
    width: 1px;
    height: 30px;
    background: var(--text-main);
    opacity: 0.15;
    flex-shrink: 0;
}

.logo-name-mobile {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-name__primary {
    font-family: inherit;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--text-main);
    line-height: 1.2;
    white-space: nowrap;
}

.logo-name__secondary {
    font-family: inherit;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    line-height: 1.2;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 1;
    min-width: 0;
}

.nav-menu a {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-main);
    opacity: 0.7;
    font-weight: 400;
    white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
    opacity: 1;
    color: var(--accent);
}

.nav-gift {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, var(--accent), var(--accent-gold));
    color: #fff !important;
    opacity: 1 !important;
    padding: 5px 12px;
    border-radius: var(--radius-btn);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: 0.3s;
    white-space: nowrap;
    line-height: 1;
    margin-left: 4px;
}
.nav-gift:hover {
    filter: brightness(1.1);
    transform: scale(1.03);
}
.nav-gift svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

.nav-buttons .nav-book {
    white-space: nowrap;
}

.btn-pill {
    padding: 10px 22px;
    border: 1px solid var(--border-line);
    border-radius: var(--radius-btn);
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.05em;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Manrope', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-pill:hover {
    border-color: var(--text-main);
    background: var(--text-main);
    color: #fff;
}

.btn-pill.primary {
    background: var(--text-main);
    color: #fff;
    border-color: var(--text-main);
}

.btn-pill.primary:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.btn-pill.gold {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent));
    color: #fff;
    border: none;
}

.btn-pill.gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(196, 167, 107, 0.3);
}

.btn-pill.outline-light {
    border-color: var(--border-line);
    color: var(--text-main);
    background: var(--bg-card);
}

.btn-pill.outline-light:hover {
    background: var(--text-main);
    color: var(--text-light);
    border-color: var(--text-main);
}

.btn-icon {
    padding: 10px;
    border: none;
    background: transparent;
    font-size: 12px;
    color: var(--text-muted);
}

.btn-icon:hover {
    color: var(--text-main);
}

/* === МОБИЛЬНОЕ МЕНЮ === */
.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-line);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: var(--bg-main);
    border-color: var(--accent);
}

.mobile-menu-btn span {
    width: 18px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translateY(7px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-7px);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 999;
    display: none;
}

.mobile-menu-overlay.active {
    display: block;
}

.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-card);
    z-index: 1001;
    padding: 80px 30px 30px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu-panel.active {
    right: 0;
}

.mobile-menu-panel nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-menu-panel a {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-main);
    font-weight: 400;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-line);
    transition: all 0.3s ease;
}

.mobile-menu-panel a:hover {
    color: var(--accent);
    padding-left: 10px;
}

.mobile-gift-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    padding: 14px 20px !important;
    background: linear-gradient(135deg, var(--accent), var(--accent-gold));
    color: #fff !important;
    border-radius: var(--radius-sm);
    font-size: 14px !important;
    font-weight: 500;
    text-align: center;
    border-bottom: none !important;
}
.mobile-gift-link:hover {
    color: #fff !important;
    padding-left: 20px !important;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-line);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text-main);
}

/* === HERO ACADEMY === */
.hero-academy {
    padding-top: 130px;
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, var(--bg-main) 0%, #EBE9E4 100%);
    position: relative;
    overflow: hidden;
}

.hero-academy::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(196, 167, 107, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-academy-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-academy-content {
    position: relative;
    z-index: 2;
}

.hero-academy-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(196, 167, 107, 0.2), rgba(176, 155, 135, 0.15));
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-gold);
    margin-bottom: 30px;
    font-weight: 500;
}

.hero-academy h1 {
    font-size: 48px;
    line-height: 1.15;
    margin-bottom: 25px;
    color: var(--text-main);
}

.hero-academy h1 span {
    color: var(--accent-gold);
}

.hero-academy-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 480px;
    line-height: 1.7;
}

.hero-academy-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    padding: 12px 18px;
    border-radius: 50px;
    font-size: 13px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.hero-feature::before {
    content: '✓';
    color: var(--accent-gold);
    font-weight: 600;
}

.hero-academy-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-academy-image {
    position: relative;
}

.hero-academy-card {
    background: var(--bg-card);
    border-radius: var(--radius-box);
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
    position: relative;
}

.hero-academy-card::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent));
    border-radius: 20px;
    opacity: 0.1;
}

.hero-price-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.hero-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 52px;
    font-weight: 400;
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 8px;
}

.hero-price-sub {
    font-size: 14px;
    color: var(--accent);
    margin-bottom: 30px;
}

.hero-price-includes {
    border-top: 1px solid var(--border-line);
    padding-top: 25px;
}

.hero-price-includes h4 {
    font-size: 14px;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-price-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-price-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
}

.hero-price-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-gold);
    border-radius: 50%;
    flex-shrink: 0;
}

/* === СЕКЦИИ === */
section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
    text-align: center;
}

.section-header h2 {
    font-size: 40px;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.section-header.left {
    text-align: left;
}

.section-header.left p {
    margin: 0;
}

.section-label {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 15px;
}

/* === ДЛЯ КОГО === */
.for-who {
    background: var(--bg-card);
    border-radius: 40px;
    padding: 80px;
    position: relative;
    overflow: hidden;
}

.for-who::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(196, 167, 107, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.for-who-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.for-who h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.for-who-text {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
}

.for-who-text strong {
    color: var(--text-main);
    font-weight: 500;
}

.professions-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.profession-tag {
    padding: 12px 20px;
    background: var(--bg-main);
    border-radius: 50px;
    font-size: 13px;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.profession-tag:hover {
    background: linear-gradient(135deg, rgba(196, 167, 107, 0.2), rgba(176, 155, 135, 0.15));
    color: var(--accent-gold);
}

/* === ЭТАПЫ ОБУЧЕНИЯ === */
.stages-section {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #4a4640 100%);
    border-radius: 40px;
    padding: 80px;
    color: white;
    position: relative;
    overflow: hidden;
}

.stages-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(196, 167, 107, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.stages-section .section-header h2 {
    color: white;
}

.stages-section .section-header p {
    color: rgba(255,255,255,0.6);
}

.stages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.stage-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-box);
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
}

.stage-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}

.stage-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 500;
    color: white;
    margin-bottom: 20px;
}

.stage-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: white;
}

.stage-card p {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    margin-bottom: 15px;
}

.stage-duration {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-gold);
}

/* === ПРОГРАММА ПО ДНЯМ === */
.program-section {
    background: var(--bg-card);
}

.days-timeline {
    position: relative;
}

.days-timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-line);
}

.day-item {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 30px;
    margin-bottom: 30px;
    position: relative;
}

.day-number {
    width: 50px;
    height: 50px;
    background: var(--bg-main);
    border: 2px solid var(--border-line);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 500;
    color: var(--text-main);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.day-item:hover .day-number {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: white;
}

.day-content {
    background: var(--bg-main);
    border-radius: var(--radius-sm);
    padding: 25px 30px;
    transition: all 0.3s ease;
}

.day-item:hover .day-content {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.day-content h4 {
    font-size: 18px;
    margin-bottom: 10px;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
}

.day-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

.day-content ul {
    margin-top: 10px;
}

.day-content ul li {
    font-size: 13px;
    color: var(--text-muted);
    padding-left: 16px;
    position: relative;
    margin-bottom: 6px;
}

.day-content ul li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
}

.day-highlight {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(196, 167, 107, 0.15), rgba(176, 155, 135, 0.1));
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    color: var(--accent-gold);
    margin-top: 12px;
    font-weight: 500;
}

/* === ПРЕПОДАВАТЕЛИ === */
.teachers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.teacher-card {
    background: var(--bg-card);
    border-radius: var(--radius-box);
    padding: 35px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.teacher-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.teacher-card.featured {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #4a4640 100%);
    color: white;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.teacher-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--border-line), var(--accent));
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    color: white;
}

.teacher-card.featured .teacher-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent));
    font-size: 42px;
}

.teacher-role {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(176, 155, 135, 0.15);
    border-radius: 50px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 15px;
    color: var(--accent);
}

.teacher-card.featured .teacher-role {
    background: rgba(196, 167, 107, 0.3);
    color: var(--accent-gold);
}

.teacher-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.teacher-card.featured h3 {
    color: white;
    font-size: 28px;
}

.teacher-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.teacher-card.featured p {
    color: rgba(255,255,255,0.7);
}

/* === БОНУСЫ === */
.bonuses-section {
    background: var(--bg-card);
    border-radius: 40px;
    padding: 80px;
}

.bonuses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.bonus-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: var(--bg-main);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.bonus-card:hover {
    background: linear-gradient(135deg, rgba(196, 167, 107, 0.1), rgba(176, 155, 135, 0.05));
}

.bonus-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    color: var(--accent);
}
.bonus-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bonus-content h4 {
    font-size: 16px;
    margin-bottom: 6px;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
}

.bonus-content p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* === ДРУГИЕ КУРСЫ === */
.other-courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.course-card {
    background: var(--bg-card);
    border-radius: var(--radius-box);
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}
.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border-color: var(--accent);
}

.course-tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(176, 155, 135, 0.15);
    border-radius: 20px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin-bottom: 15px;
    align-self: flex-start;
}

.course-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.course-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 20px;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-line);
}

.course-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    color: var(--accent);
}

.course-arrow {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-line);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

.course-card:hover .course-arrow {
    background: var(--text-main);
    border-color: var(--text-main);
    color: white;
}

/* --- Экскурсия: баннер-кнопка --- */
.excursion-banner {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    margin: 30px 0;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.excursion-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.excursion-banner__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.excursion-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(42,36,32,0.82), rgba(42,36,32,0.6));
}
.excursion-banner__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 30px;
    color: #fff;
}
.excursion-banner__icon {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
}
.excursion-banner__heading {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}
.excursion-banner__sub {
    font-size: 13px;
    font-weight: 300;
    color: rgba(255,255,255,0.7);
    margin-bottom: 18px;
}
.excursion-banner__btn {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 10px 28px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s;
}
.excursion-banner:hover .excursion-banner__btn {
    background: #fff;
    color: var(--text-main);
}

/* --- Экскурсия: модалка-книга --- */
.excursion-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}
.excursion-modal-overlay.active {
    display: flex;
}
.excursion-modal {
    position: relative;
    width: 92vw;
    max-width: 500px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.excursion-modal__close {
    position: absolute;
    top: -40px;
    right: 0;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10;
}
.excursion-modal__close:hover {
    background: rgba(255,255,255,0.3);
}
.excursion-modal__viewer {
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.excursion-modal__viewer img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    user-select: none;
    -webkit-user-drag: none;
}
.excursion-modal__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 16px 0 0;
}
.excursion-modal__nav button {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.excursion-modal__nav button:hover {
    background: rgba(255,255,255,0.25);
}
.excursion-modal__nav button:disabled {
    opacity: 0.3;
    cursor: default;
}
.excursion-modal__counter {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    font-weight: 400;
    min-width: 60px;
    text-align: center;
}

/* === CTA СЕКЦИЯ === */
.cta-section {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #4a4640 100%);
    border-radius: 40px;
    padding: 80px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before,
.cta-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(196, 167, 107, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section::before {
    top: -200px;
    left: -100px;
}

.cta-section::after {
    bottom: -200px;
    right: -100px;
}

.cta-section h2 {
    font-size: 42px;
    color: white;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.cta-section p {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 2;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.cta-contact {
    margin-top: 40px;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    position: relative;
    z-index: 2;
}

.cta-contact a {
    color: var(--accent-gold);
}

/* === ФОРМА ЗАЯВКИ === */
.application-section {
    background: var(--bg-card);
    border-radius: 40px;
    padding: 80px;
}

.application-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.application-info h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.application-info p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 30px;
}

.application-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.application-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.application-benefit::before {
    content: '✓';
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, rgba(196, 167, 107, 0.2), rgba(176, 155, 135, 0.15));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.application-form {
    background: var(--bg-main);
    border-radius: var(--radius-box);
    padding: 40px;
}

.application-form h3 {
    font-size: 24px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-line);
    border-radius: var(--radius-sm);
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    background: var(--bg-card);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-submit {
    width: 100%;
    padding: 16px;
    background: var(--text-main);
    color: white;
    border: none;
    border-radius: var(--radius-btn);
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.form-submit:hover {
    background: var(--accent);
}

.form-note {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 15px;
}

/* === FOOTER === */
footer {
    padding: 60px 0 100px;
    border-top: 1px solid var(--border-line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 280px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-column h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-column ul li a:hover {
    color: var(--accent);
}

.footer-brand-link-wrap {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 30px;
}

.footer-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid var(--border-line);
    border-radius: var(--radius-btn);
    color: var(--text-main);
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s;
    white-space: nowrap;
}

.footer-brand-link:hover {
    background: var(--text-main);
    color: #fff;
    border-color: var(--text-main);
}

.footer-brand-link__icon {
    display: flex;
    flex-shrink: 0;
    opacity: 0.55;
    transition: opacity 0.3s;
}

.footer-brand-link:hover .footer-brand-link__icon {
    opacity: 1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-line);
    font-size: 12px;
    color: var(--text-muted);
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-line);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.footer-socials a:hover {
    border-color: var(--accent);
    background: var(--accent);
    color: white;
}

/* === КНОПКА НАВЕРХ === */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--text-main);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 998;
    transition: all 0.3s ease;
}

.back-to-top.visible {
    display: flex;
}

.back-to-top:hover {
    background: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* === RESPONSIVE === */
@media (max-width: 1200px) and (min-width: 1025px) {
    .navbar {
        padding: 10px 18px;
        gap: 12px;
    }

    .nav-menu {
        gap: 14px;
    }

    .nav-menu a {
        font-size: 10px;
        letter-spacing: 0.04em;
    }

    .nav-gift {
        padding: 5px 10px !important;
        font-size: 10px !important;
    }

    .btn-pill {
        padding: 8px 16px;
        font-size: 10px;
    }

    .logo-name__primary,
    .logo-name__secondary {
        font-size: 9px;
        letter-spacing: 1.5px;
    }

    .logo-divider {
        height: 24px;
    }
}

@media (max-width: 1024px) {
    .hero-academy-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-academy h1 {
        font-size: 38px;
    }

    .for-who-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .teachers-grid {
        grid-template-columns: 1fr 1fr;
    }

    .teacher-card.featured {
        grid-row: span 1;
        grid-column: span 2;
    }

    .bonuses-grid {
        grid-template-columns: 1fr;
    }

    .other-courses-grid {
        grid-template-columns: 1fr 1fr;
    }

    .application-layout {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* Логотип: уменьшаем на мобайле */
    .logo-divider {
        height: 24px;
    }

    .logo-name__primary,
    .logo-name__secondary {
        font-size: 8.5px;
    }

    /* Скрыть TG и «Записаться» из шапки на мобайле */
    .nav-tg,
    .nav-book {
        display: none !important;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .for-who,
    .bonuses-section,
    .application-section,
    .stages-section,
    .cta-section {
        padding: 50px 30px;
        border-radius: 30px;
    }
}

@media (max-width: 640px) {
    .hero-academy h1 {
        font-size: 32px;
    }

    .stages-grid {
        grid-template-columns: 1fr;
    }

    .teachers-grid {
        grid-template-columns: 1fr;
    }

    .teacher-card.featured {
        grid-column: span 1;
    }

    .other-courses-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-brand-link-wrap {
        justify-content: center;
    }

    .footer-brand-link {
        white-space: normal;
        text-align: center;
        max-width: 280px;
    }

    .cta-section h2 {
        font-size: 32px;
    }
}

/* === STICKY-БАР === */
.sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: rgba(242, 240, 235, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(62, 59, 54, 0.08);
    padding: 10px 20px max(14px, env(safe-area-inset-bottom));
    transform: translateY(110%);
    opacity: 0;
    transition:
        transform 0.4s cubic-bezier(0.32, 0, 0.15, 1),
        opacity 0.3s ease;
    pointer-events: none;
}

.sticky-bar.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.sticky-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 44px;
}

.sticky-tg {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-main);
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}

.sticky-tg__circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-line);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-main);
}

.sticky-tg__circle svg {
    width: 16px;
    height: 16px;
}

.sticky-tg__text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.sticky-tg__label {
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    color: var(--text-main);
}

.sticky-tg__sub {
    font-family: inherit;
    font-size: 10px;
    font-weight: 300;
    color: var(--text-muted);
}

.sticky-btn-book {
    font-family: inherit;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: var(--text-main);
    color: var(--bg-main);
    border: none;
    border-radius: 28px;
    padding: 0 24px;
    height: 44px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    transition: opacity 0.2s;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.sticky-btn-book:active {
    opacity: 0.75;
}

.reviews-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.reviews-track {
    display: flex;
    transition: transform 0.5s ease;
}

.review-slide {
    min-width: 100%;
    padding: 0 20px;
}

.review-image {
    width: 100%;
    height: auto;
    max-width: 500px;
    margin: 0 auto;
    border-radius: var(--radius-box);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    display: block;
    background: var(--bg-main);
    object-fit: contain;
}

.review-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.review-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-line);
    cursor: pointer;
    transition: all 0.3s ease;
}

.review-dot:hover {
    background: var(--accent);
    opacity: 0.7;
}

.review-dot.active {
    background: var(--accent);
    width: 32px;
    border-radius: 6px;
}
