﻿/* ============================================
   СПОРТМАРШРУТ - ЕДИНЫЙ ФАЙЛ СТИЛЕЙ
   Версия: 3.0 (Финальная)
   Дата: Март 2026
   ============================================ */

/* === СБРОС И ПЕРЕМЕННЫЕ === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --text-dark: #1e293b;
    --text-light: #f8fafc;
    --primary: #f97316;
    --primary-hover: #ea580c;
    --bg-light: #f8fafc;
    --card-bg: #ffffff;
    --border-light: #e2e8f0;
    --goal-blue: #38bdf8;
    --font-main: 'Inter', sans-serif;
    --font-head: 'Montserrat', sans-serif;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.5;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === ОБЩИЕ СТИЛИ === */
a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}
a:hover {
    color: var(--primary);
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    font-family: var(--font-head);
}
.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 8px 16px rgba(249, 115, 22, 0.25);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    color: white;
    transform: translateY(-2px);
}
.btn-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.section-title {
    font-family: var(--font-head);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
}
.section-title:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}
.section-subtitle {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 2rem;
}

/* === ХЕДЕР (ШАПКА) === */
.header {
    background-color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 0;
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.logo {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    white-space: nowrap;
}
.logo span {
    color: var(--primary);
}
.mchs-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e6f0fa;
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 0.95rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.2s ease;
}
.mchs-link:hover {
    background: var(--primary);
    color: white;
}
.mchs-link:hover i {
    color: white;
}
.mchs-link i {
    color: var(--primary);
    transition: color 0.2s ease;
}

/* Десктопное меню */
.desktop-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}
.menu-row {
    display: flex;
    align-items: center;
    gap: 24px;
}
.menu-row.small {
    gap: 16px;
    font-size: 0.95rem;
}
.menu-item {
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.menu-item:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}
.menu-item.primary {
    font-weight: 700;
    color: var(--primary);
}
.menu-item.btn-item {
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 40px;
    border-bottom: none;
}
.menu-item.btn-item:hover {
    background: var(--primary-hover);
    color: white;
    transform: translateY(-2px);
}

/* Мобильное меню (бургер) */
.burger-menu {
    display: none;
    width: 100%;
}
.burger-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.burger-icon {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
}
.burger-icon span {
    width: 24px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.2s ease;
}
.burger-links {
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid var(--border-light);
    margin-top: 16px;
}
.burger-links.show {
    display: flex;
}
.burger-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
}
.burger-links a.primary {
    color: var(--primary);
    font-weight: 700;
}
.burger-links .btn-item {
    background: var(--primary);
    color: white;
    padding: 12px;
    border-radius: 40px;
    text-align: center;
    margin-top: 8px;
    border: none;
}
.burger-links .btn-item:hover {
    background: var(--primary-hover);
}

/* Хлебные крошки */
.breadcrumbs {
    padding: 20px 0;
    font-size: 0.95rem;
    color: #64748b;
}
.breadcrumbs a {
    color: #64748b;
    text-decoration: none;
}
.breadcrumbs a:hover {
    color: var(--primary);
}
.breadcrumbs i {
    margin: 0 8px;
    font-size: 0.8rem;
    color: #94a3b8;
}

/* === БЕГУЩАЯ СТРОКА (TICKER) === */
.ticker {
    background: var(--text-dark);
    color: white;
    padding: 12px 0;
    overflow: hidden;
    white-space: nowrap;
    margin-bottom: 30px;
}
.ticker-content {
    display: inline-block;
    animation: ticker 35s linear infinite;
}
@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.ticker-content a {
    color: white;
    text-decoration: none;
    transition: color 0.2s ease;
}
.ticker-content a:hover {
    color: var(--primary);
}
.ticker-content a:hover i {
    color: white;
}
.ticker-content span {
    margin-right: 40px;
}
.ticker-content i {
    color: var(--primary);
    margin-right: 8px;
    transition: color 0.2s ease;
}

/* === HERO (ГЛАВНАЯ) === */
.hero {
    padding: 40px 0 60px;
    background: white;
}
.hero .container {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}
.hero-content {
    flex: 1;
    min-width: 300px;
}
.hero-content h1 {
    font-family: var(--font-head);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero-content p {
    font-size: 1.2rem;
    color: #475569;
    margin: 24px 0 32px;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.hero-card {
    flex: 1;
    min-width: 280px;
    background: linear-gradient(145deg, #1e293b, #334155);
    border-radius: 24px;
    padding: 40px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.hero-card i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 20px;
}
.hero-card .big-number {
    font-size: 2.8rem;
    font-weight: 700;
}
.hero-card ul {
    list-style: none;
    margin-top: 20px;
    text-align: left;
}
.hero-card li {
    margin-bottom: 10px;
}
.hero-card li i {
    font-size: 1rem;
    color: #4ade80;
    margin-right: 8px;
}

/* === БЛОК ДЛЯ НОВИЧКОВ (СПОРТИВНЫЙ ТУРИЗМ) === */
.beginner-block {
    background: #e6f0fa;
    border-radius: 24px;
    padding: 32px 40px;
    margin: 40px 0;
    border-left: 8px solid var(--primary);
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}
.beginner-block h2 {
    font-family: var(--font-head);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    color: var(--text-dark);
}
.beginner-block h2:after {
    display: none;
}
.beginner-block > p {
    font-size: 1.2rem;
    margin-bottom: 24px;
    color: var(--text-dark);
    line-height: 1.6;
    max-width: 900px;
}
.beginner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 24px 0;
}
.beginner-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.7);
    padding: 20px;
    border-radius: 16px;
    transition: transform 0.2s ease;
}
.beginner-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.9);
}
.beginner-icon {
    background: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
.beginner-item h4 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: var(--text-dark);
    font-weight: 600;
}
.beginner-item p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* === КАРТОЧКИ РАЗДЕЛОВ (ДЛЯ ГЛАВНОЙ) === */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 30px 0;
}
.feature-card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 28px 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    border: 1px solid var(--border-light);
    transition: transform 0.2s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}
.feature-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 16px;
}
.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-family: var(--font-head);
}
.feature-card p {
    color: #4b5563;
    margin-bottom: 16px;
    font-size: 0.95rem;
}
.feature-card a {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* === БАННЕРЫ (РЕКЛАМА) === */
.banners {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 40px 0;
}
.banner {
    background: white;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    border: 2px solid var(--border-light);
    transition: all 0.2s ease;
}
.banner:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}
.banner.timetrial {
    background: linear-gradient(145deg, #1e3c5c, #0f2a40);
    color: white;
    border: none;
}
.banner.vertical {
    background: linear-gradient(145deg, #2b5e3b, #1d4229);
    color: white;
    border: none;
}
.banner h4 {
    font-size: 2rem;
    margin-bottom: 8px;
    font-family: var(--font-head);
}
.banner p {
    font-size: 1rem;
    opacity: 0.9;
}
.banner .btn-banner {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 30px;
    background-color: white;
    color: var(--text-dark);
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}
.banner .btn-banner:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* === ЛЕСТНИЦА РАЗРЯДОВ === */
.rank-ladder {
    background: var(--text-dark);
    border-radius: 40px;
    padding: 40px;
    margin: 40px 0;
    color: white;
}
.rank-ladder h2 {
    color: white;
    font-family: var(--font-head);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}
.rank-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}
.rank-step {
    text-align: center;
    flex: 1;
    min-width: 80px;
}
.rank-step .badge {
    width: 60px;
    height: 60px;
    background: #2d3a4f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-weight: 700;
    font-size: 1.2rem;
    border: 2px solid transparent;
    transition: transform 0.2s ease;
}
.rank-step .badge:hover {
    transform: scale(1.1);
}
.rank-step.active .badge {
    background: var(--primary);
    border-color: white;
}
.rank-step.target .badge {
    background: var(--goal-blue);
}
.rank-steps i {
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}
.rank-steps i.fa-arrow-right:last-of-type {
    color: #475569;
}
.info-badge {
    text-align: center;
    margin-top: 30px;
    color: #cbd5e1;
    background: #2d3a4f;
    padding: 16px;
    border-radius: 40px;
}
.info-badge i {
    color: var(--primary);
    margin-right: 8px;
}

/* === ЖИВАЯ ЛЕНТА (ГЛАВНАЯ) === */
.feed-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin: 30px 0;
}
.feed-main, .feed-side {
    background: white;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}
.feed-main h3, .feed-side h3 {
    font-family: var(--font-head);
    margin-bottom: 20px;
    font-size: 1.3rem;
}
.feed-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
    transition: background 0.2s ease;
}
.feed-item:hover {
    background: #f8fafc;
    padding-left: 8px;
    border-radius: 8px;
}
.feed-item:last-child {
    border-bottom: none;
}
.feed-avatar {
    width: 48px;
    height: 48px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    font-size: 1.5rem;
}
.feed-content {
    flex: 1;
}
.feed-content p {
    margin-bottom: 4px;
}
.feed-content a {
    color: var(--primary);
    font-weight: 500;
}
.feed-meta {
    font-size: 0.85rem;
    color: #64748b;
}
.feed-meta i {
    margin-right: 4px;
}

/* === ПОДПИСКИ (ГЛАВНАЯ) === */
.subscribe-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    transition: background 0.2s ease;
}
.subscribe-item:hover {
    background: #f8fafc;
    padding-left: 8px;
    border-radius: 8px;
}
.subscribe-item:last-child {
    border-bottom: none;
}
.subscribe-item i {
    font-size: 1.3rem;
    color: var(--primary);
    width: 30px;
    text-align: center;
}
.subscribe-item > div {
    flex: 1;
}
.sub-btn {
    background: #f1f5f9;
    border: none;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--text-dark);
    transition: all 0.2s ease;
}
.sub-btn:hover {
    background: var(--primary);
    color: white;
}

/* === БЛОК СОРЕВНОВАНИЙ === */
.competitions-block {
    background: white;
    border-radius: 32px;
    padding: 40px;
    margin: 40px 0;
    border: 2px solid var(--border-light);
}
.competitions-block h2 {
    font-family: var(--font-head);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}
.comp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 24px 0;
}
.comp-card {
    background: #f8fafc;
    border-radius: 20px;
    padding: 24px;
    border-left: 4px solid var(--primary);
    transition: transform 0.2s ease;
}
.comp-card:hover {
    transform: translateY(-5px);
}
.comp-date {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}
.comp-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-family: var(--font-head);
}
.comp-card p {
    color: #64748b;
    margin-bottom: 16px;
}

/* === БЛОК ПОДГОТОВКИ === */
.preparation-block {
    background: white;
    border-radius: 32px;
    padding: 40px;
    margin: 40px 0;
    border: 2px solid var(--border-light);
}
.preparation-block h2 {
    font-family: var(--font-head);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}
.prep-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 24px 0;
}
.prep-item {
    background: #f8fafc;
    border-radius: 20px;
    padding: 24px;
    transition: transform 0.2s ease;
}
.prep-item:hover {
    transform: translateY(-5px);
}
.prep-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 16px;
}
.prep-item h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-family: var(--font-head);
}
.prep-item p {
    color: #64748b;
    margin-bottom: 16px;
    font-size: 0.95rem;
}
.prep-item a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

/* ========== РАЗДЕЛ "ПОХОДЫ" ========== */

/* Заголовок раздела */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
.section-header h1 {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
}
.section-header .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Описание раздела */
.section-description {
    background: #f8fafc;
    border-radius: 16px;
    padding: 24px;
    margin: 20px 0 30px;
    border-left: 4px solid var(--primary);
    font-size: 1rem;
    line-height: 1.6;
    color: #334155;
}
.section-description p {
    margin-bottom: 12px;
}
.section-description p:last-child {
    margin-bottom: 0;
}
.section-description i {
    color: var(--primary);
    margin-right: 8px;
}
.section-description a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}
.section-description a:hover {
    text-decoration: underline;
}
.section-description .highlight {
    background: #fff7ed;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 500;
}

/* Статистика */
.stats-bar {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.stat-icon {
    width: 48px;
    height: 48px;
    background: #fff7ed;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
}
.stat-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}
.stat-info p {
    color: #64748b;
    font-size: 0.9rem;
}
.stat-note {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 4px;
}

/* Поисковая строка */
.search-section {
    margin-bottom: 30px;
}
.search-container {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.search-wrapper {
    flex: 1;
    min-width: 300px;
    position: relative;
}
.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}
.search-input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    border: 2px solid var(--border-light);
    border-radius: 40px;
    font-size: 1rem;
    font-family: var(--font-main);
    transition: all 0.2s ease;
}
.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}
.search-btn {
    padding: 16px 32px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-head);
}
.search-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* Фильтры */
.filters-section {
    background: white;
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    border: 1px solid var(--border-light);
}
.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 16px;
}
.filters-header h2 {
    font-family: var(--font-head);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.filter-tags-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.filter-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.filter-tag {
    background: #f1f5f9;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-weight: 500;
}
.filter-tag:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}
.filter-tag.active {
    background: var(--primary);
    color: white;
}
.filter-more {
    position: relative;
}
.filter-more-btn {
    background: #f1f5f9;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.95rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}
.filter-more-btn:hover {
    background: #e2e8f0;
}
.filter-more-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 1px solid var(--border-light);
    width: 250px;
    z-index: 100;
    display: none;
    margin-top: 8px;
}
.filter-more-dropdown.show {
    display: block;
}
.filter-more-dropdown:before {
    content: '';
    position: absolute;
    top: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: white;
    transform: rotate(45deg);
    border-top: 1px solid var(--border-light);
    border-left: 1px solid var(--border-light);
}
.filter-more-item {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    background: none;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s ease;
}
.filter-more-item:hover {
    background: #f1f5f9;
    color: var(--primary);
}
.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 20px;
}
.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.filter-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}
.filter-select, .filter-input {
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    font-family: var(--font-main);
    background: white;
    cursor: pointer;
    transition: border-color 0.2s ease;
    font-size: 0.95rem;
}
.filter-select:hover, .filter-input:hover {
    border-color: var(--primary);
}
.filter-select:focus, .filter-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}
.filter-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    justify-content: flex-end;
    flex-wrap: wrap;
}
.filter-actions .btn {
    padding: 12px 28px;
    font-size: 0.95rem;
}
.telegram-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e6f0fa;
    color: var(--text-dark);
    border: 2px solid transparent;
    padding: 12px 24px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-head);
    text-decoration: none;
    margin-left: auto;
}
.telegram-share-btn:hover {
    background: #d1e0f0;
    transform: translateY(-2px);
}
.telegram-share-btn i {
    color: #0088cc;
    font-size: 1.2rem;
}
.share-tooltip {
    position: relative;
}
.share-tooltip:hover:after {
    content: 'Поделиться подборкой в Telegram';
    position: absolute;
    bottom: 100%;
    right: 0;
    background: var(--text-dark);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    white-space: nowrap;
    margin-bottom: 8px;
    z-index: 1000;
}

/* Сортировка */
.sort-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}
.sort-options {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.sort-options span {
    color: #64748b;
    font-weight: 500;
}
.sort-link {
    color: var(--text-dark);
    text-decoration: none;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    font-weight: 500;
}
.sort-link:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}
.sort-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 600;
}
.view-options {
    display: flex;
    gap: 8px;
}
.view-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: white;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}
.view-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.view-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* КАРТОЧКИ ПОХОДОВ - ДВЕ ВЕРСИИ */

/* Версия 1: Подробная (сетка) */
.hikes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}
.hike-card {
    background: white;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
}
.hike-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
    border-color: var(--primary);
}
.hike-header {
    margin-bottom: 16px;
}
.hike-category {
    display: inline-block;
    background: #fff7ed;
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.hike-header h3 {
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}
.hike-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
    color: #64748b;
    font-size: 0.95rem;
}
.hike-meta i {
    width: 18px;
    color: var(--primary);
    margin-right: 4px;
}
.hike-description {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}
.hike-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.hike-leader {
    display: flex;
    align-items: center;
    gap: 10px;
}
.leader-avatar-small {
    width: 36px;
    height: 36px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
}
.leader-info-small {
    font-size: 0.9rem;
}
.leader-info-small strong {
    display: block;
    color: var(--text-dark);
}
.leader-info-small span {
    color: #64748b;
    font-size: 0.8rem;
}
.hike-price-block {
    text-align: right;
    position: relative;
}
.hike-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    cursor: help;
    border-bottom: 1px dashed var(--primary);
}
.hike-price small {
    font-weight: 400;
    color: #64748b;
    font-size: 0.85rem;
}
.price-tooltip {
    position: absolute;
    bottom: 100%;
    right: 0;
    background: var(--text-dark);
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    width: 250px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 10;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    pointer-events: none;
    margin-bottom: 10px;
}
.price-tooltip:after {
    content: '';
    position: absolute;
    top: 100%;
    right: 20px;
    border-width: 8px;
    border-style: solid;
    border-color: var(--text-dark) transparent transparent transparent;
}
.hike-price-block:hover .price-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-5px);
}

/* Версия 2: Компактная (список) */
.hikes-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.hikes-list .hike-card {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    gap: 20px;
}
.hikes-list .hike-header {
    margin-bottom: 0;
    min-width: 250px;
}
.hikes-list .hike-category {
    margin-bottom: 4px;
}
.hikes-list .hike-header h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}
.hikes-list .hike-meta {
    margin-bottom: 0;
    gap: 12px;
}
.hikes-list .hike-description {
    display: none;
}
.hikes-list .hike-footer {
    flex: 1;
    border: none;
    padding: 0;
}
.hikes-list .hike-leader {
    min-width: 150px;
}
.hikes-list .hike-price-block {
    margin-left: auto;
}

/* Пагинация */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0;
}
.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: white;
    border: 1px solid var(--border-light);
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.2s ease;
}
.pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.pagination a.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.pagination a.next-prev {
    width: auto;
    padding: 0 16px;
}

/* === ФУТЕР === */
.footer {
    background: white;
    padding: 48px 0 24px;
    border-top: 1px solid var(--border-light);
    margin-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col .logo {
    margin-bottom: 20px;
}
.footer-col p {
    color: #64748b;
}
.footer-col h4 {
    font-family: var(--font-head);
    margin-bottom: 20px;
    color: var(--text-dark);
}
.footer-col ul {
    list-style: none;
}
.footer-col li {
    margin-bottom: 8px;
}
.footer-col a {
    text-decoration: none;
    color: #64748b;
    transition: color 0.2s ease;
}
.footer-col a:hover {
    color: var(--primary);
    transform: translateX(5px);
    display: inline-block;
}
.contact-info {
    color: #64748b;
    line-height: 2;
}
.contact-info i {
    color: var(--primary);
    width: 25px;
    margin-right: 10px;
}
.footer-disclaimer {
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
    background-color: rgba(249, 115, 22, 0.05);
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
}
.footer-disclaimer i {
    color: var(--primary);
    margin-right: 10px;
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #94a3b8;
}

/* === АДАПТИВ (ДЛЯ ВСЕХ УСТРОЙСТВ) === */
@media (max-width: 1024px) {
    .beginner-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .comp-grid, .prep-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hikes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .desktop-menu {
        display: none !important;
    }
    .burger-menu {
        display: block;
    }
    .hero .container {
        flex-direction: column;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .beginner-grid {
        grid-template-columns: 1fr;
    }
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .banners {
        grid-template-columns: 1fr;
    }
    .feed-wrapper {
        grid-template-columns: 1fr;
    }
    .comp-grid, .prep-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .rank-steps {
        justify-content: center;
    }
    .rank-step {
        min-width: 70px;
    }
    .beginner-block, .rank-ladder, .competitions-block, .preparation-block {
        padding: 30px 20px;
    }
    .hikes-grid {
        grid-template-columns: 1fr;
    }
    .hikes-list .hike-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .hikes-list .hike-header {
        min-width: 100%;
    }
    .hikes-list .hike-footer {
        width: 100%;
    }
    .search-container {
        flex-direction: column;
    }
    .search-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    .rank-step {
        min-width: 60px;
    }
    .rank-step .badge {
        width: 45px;
        height: 45px;
        font-size: 0.9rem;
    }
    .rank-steps i {
        font-size: 1rem;
    }
    .stat-item {
        width: 100%;
    }
    .filter-tags-wrapper {
        justify-content: center;
    }
    .sort-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    .filter-actions {
        flex-direction: column;
    }
    .filter-actions .btn {
        width: 100%;
    }
    .telegram-share-btn {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
}
/* === ДОПОЛНЕНИЯ ДЛЯ СТРАНИЦЫ ПОХОДОВ === */

/* Кнопки отправки боту */
.bot-share-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-left: auto;
}
.bot-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    color: var(--text-dark);
    border: 2px solid transparent;
    padding: 12px 20px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-head);
    text-decoration: none;
}
.bot-share-btn:hover {
    transform: translateY(-2px);
}
.bot-share-btn.telegram {
    background: #e6f0fa;
}
.bot-share-btn.telegram:hover {
    background: #d1e0f0;
}
.bot-share-btn.telegram i {
    color: #0088cc;
}
.bot-share-btn.max {
    background: #f0e6fa;
}
.bot-share-btn.max:hover {
    background: #e1d1f0;
}
.bot-share-btn.max i {
    color: #8B5CF6;
}
.bot-share-btn i {
    font-size: 1.2rem;
}

/* Расширенная сортировка */
.sort-options {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.sort-group {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    padding: 4px;
    border-radius: 40px;
    border: 1px solid var(--border-light);
}
.sort-direction {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: white;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid var(--border-light);
}
.sort-direction:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.sort-direction.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.sort-link {
    color: var(--text-dark);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 30px;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.95rem;
}
.sort-link:hover {
    background: #e2e8f0;
}
.sort-link.active {
    background: var(--primary);
    color: white;
}
.sort-hint {
    font-size: 0.85rem;
    color: #64748b;
    margin-left: 8px;
}

/* Популярные направления */
.popular-destinations {
    background: white;
    border-radius: 24px;
    padding: 24px;
    margin: 30px 0;
    border: 1px solid var(--border-light);
}
.popular-destinations h3 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}
.destination-tag {
    background: #f8fafc;
    padding: 10px 16px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}
.destination-tag:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}
.destination-tag i {
    color: var(--primary);
}
.destination-tag:hover i {
    color: white;
}
.destination-tag span {
    font-size: 0.9rem;
    font-weight: 500;
}
.destination-tag small {
    margin-left: auto;
    color: #64748b;
    font-size: 0.8rem;
}
.destination-tag:hover small {
    color: white;
}

/* Календарь сезонов */
.season-calendar {
    background: white;
    border-radius: 24px;
    padding: 24px;
    margin: 30px 0;
    border: 1px solid var(--border-light);
}
.season-calendar h3 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.months-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.month-tag {
    flex: 1 0 calc(12.5% - 8px);
    min-width: 80px;
    background: #f8fafc;
    padding: 10px;
    border-radius: 40px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 2px solid transparent;
}
.month-tag:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}
.month-tag.active {
    background: var(--primary);
    color: white;
    border-color: var(--text-dark);
}
.month-tag.peak {
    background: #fff7ed;
    border-color: var(--primary);
}

/* Быстрые фильтры */
.quick-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 20px 0;
}
.quick-filter {
    background: white;
    border: 1px solid var(--border-light);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.quick-filter:hover {
    border-color: var(--primary);
    background: #fff7ed;
}
.quick-filter i {
    color: var(--primary);
}

/* Адаптив для новых элементов */
@media (max-width: 768px) {
    .bot-share-buttons {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
    .sort-group {
        width: 100%;
    }
    .months-grid {
        justify-content: center;
    }
    .month-tag {
        flex: 0 0 calc(25% - 8px);
    }
}