/* =============================================
   Reset & Base
   ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    /* فیکس ناوبری anchor با هدر فیکس */
    scroll-padding-top: var(--header-height, 100px);
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: hidden;
}

:root {
    /* Alpine design system — earth, forest, stone (WCAG 2.2 AA) */
    --primary-color: #7A5C18;
    --primary-bright: #C9973B;
    --primary-hover: #9A7234;
    --secondary-color: #2F4F35;
    --accent-soft: #D4A574;
    --dark-bg: #1A1612;
    --light-bg: #F0EBE3;
    --white: #FAFAF8;
    --surface: #FFFFFF;
    --text-dark: #1A1612;
    --text-light: #4A4540;
    --text-muted: #6B6560;
    --border-subtle: rgba(26, 22, 18, 0.1);
    --focus-ring: 0 0 0 3px rgba(47, 79, 53, 0.35);
    --success: #2F6B3A;
    --warning: #9A6218;
    --danger: #A32D2D;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: clamp(72px, 14vw, 100px);
    --page-gutter: clamp(12px, 4vw, 20px);
    color-scheme: light;
}

body {
    /* فونت فارسی Vazirmatn — با fallback کامل برای حالتی که فونت لود نشه */
    font-family: 'Vazirmatn', 'IRANSans', Tahoma, 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    transition: var(--transition);
    overflow-x: hidden;
    max-width: 100%;
    min-width: 0;
}

img,
video,
svg {
    max-width: 100%;
}

/* ===== Particle Background Canvas ===== */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* همه سکشن‌ها باید روی canvas باشن */
.header,
.hero-map,
.services,
.peaks-section,
.shelters-showcase,
.routes-section,
.about-section,
.footer {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--page-gutter);
    width: 100%;
}

/* =============================================
   Header
   ============================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 22, 18, 0.97);
    backdrop-filter: blur(10px);
    z-index: 2000;
    padding: 0.55rem 0;
    padding-top: max(0.55rem, env(safe-area-inset-top));
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.logo {
    flex-shrink: 0;
    min-width: 0;
}

.logo h2 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-img {
    height: clamp(44px, 11vw, 70px);
    width: auto;
    max-width: min(140px, 38vw);
    display: block;
}

.header .logo-img {
    height: clamp(44px, 11vw, 70px) !important;
    max-width: min(140px, 38vw);
}

/* =============================================
   Navigation
   ============================================= */
.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: rgba(44, 36, 22, 0.98);
    min-width: 220px;
    padding: 0.75rem 0;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    border-top: 2px solid var(--primary-color);
    z-index: 2100;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    padding: 0;
    width: 100%;
}

.dropdown a {
    display: block;
    padding: 0.65rem 1.25rem;
    color: rgba(255,255,255,0.85);
    white-space: nowrap;
    font-size: 0.875rem;
}

.dropdown a::after {
    display: none;
}

.dropdown a:hover {
    background: rgba(212, 165, 116, 0.12);
    color: var(--primary-color);
    padding-right: 1.6rem;
}

/* =============================================
   Header Actions
   ============================================= */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
}

.header .lang-switch {
    border-color: rgba(255, 255, 255, 0.22);
}

.header .lang-switch-btn {
    color: rgba(255, 255, 255, 0.82);
}

.lang-switch {
    display: inline-flex;
    border: 1.5px solid rgba(58, 50, 38, 0.15);
    border-radius: 100px;
    overflow: hidden;
    flex-shrink: 0;
}

.lang-switch-btn {
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.38rem 0.7rem;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.lang-switch-btn.active {
    background: var(--primary-color);
    color: #1a1208;
}

body.dark-mode .lang-switch {
    border-color: rgba(255, 255, 255, 0.12);
}

body.dark-mode .lang-switch-btn {
    color: #ccc;
}

body.dark-mode .lang-switch-btn.active {
    color: #1a1208;
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: rgba(212, 165, 116, 0.2);
    border-color: var(--primary-color);
    transform: rotate(180deg);
}

.theme-toggle svg {
    color: var(--white);
}

.sun-icon { display: block; }
.moon-icon { display: none; }
body.dark-mode .sun-icon { display: none; }
body.dark-mode .moon-icon { display: block; }

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 2200;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    transition: all 0.35s ease;
}

/* انیمیشن X */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Overlay موبایل */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1500;
}

.nav-overlay.active {
    display: block;
}

/* =============================================
   Hero Map Section - تمام صفحه
   ============================================= */
.hero-map {
    position: relative;
    height: 100vh;
    height: 100dvh;
    min-height: min(600px, 100dvh);
    overflow: hidden;
}

/* نقشه زیر همه چیز */
.hero-map #map,
.hero-map-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
    z-index: 1;
}

.hero-map-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 0.5s ease;
}

.hero-map #map {
    z-index: 1;
    background: transparent;
    width: 100%;
    height: 100%;
}

/* پنل‌های جستجو روی نقشه صفحات رشته کوه */
.range-map-panel {
    position: absolute;
    right: 10px;
    z-index: 900;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    width: 210px;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    direction: rtl;
}

.range-map-panel--peaks { top: 110px; }
.range-map-panel--shelters { top: 280px; }
.range-map-panel--climbing { top: 450px; }

#map .map-search-panel {
    position: absolute;
    right: 10px;
    z-index: 900;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    width: 220px;
    max-width: calc(50% - 16px);
    font-family: 'Vazirmatn', Tahoma, sans-serif;
}

#map .map-search-panel--mountains { top: 110px; }
#map .map-search-panel--shelters { top: 310px; }
#map .map-search-panel--climbing { top: 470px; }

.range-map-panel h4 {
    margin: 0 0 8px;
    font-size: 13px;
}

.range-map-panel--peaks h4 { color: #2d6a4f; }
.range-map-panel--shelters h4 { color: #d97706; }

.range-map-panel input,
.range-map-panel select {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 13px;
    box-sizing: border-box;
    font-family: inherit;
    direction: rtl;
    outline: none;
    margin-top: 8px;
}

.range-map-panel input { margin-top: 0; }

.range-map-panel #peak-count,
.range-map-panel #shelter-count {
    margin-top: 8px;
    font-size: 11px;
    color: #888;
    text-align: center;
}

html[dir="ltr"] .range-map-panel {
    direction: ltr;
    right: auto;
    left: 10px;
}

/* لایه گرادیان تیره - فقط پایین صفحه تا متن خوانا بشه */
.hero-map-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(20, 16, 8, 0.25) 0%,
        rgba(20, 16, 8, 0.55) 50%,
        rgba(20, 16, 8, 0.8)  100%
    );
    z-index: 2;
    pointer-events: none;
}

/* محتوای متنی روی نقشه */
.hero-map-content {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    color: var(--white);
    width: 100%;
    max-width: 860px;
    padding: 0 var(--page-gutter);
    pointer-events: none; /* کلیک از متن رد بشه به نقشه */
}

/* دکمه‌ها کلیک‌پذیر باشن */
.hero-map-content .hero-actions {
    pointer-events: all;
}

.hero-title {
    font-size: clamp(2rem, 9vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
    text-shadow: 0 2px 24px rgba(0,0,0,0.6);
    animation: fadeInUp 0.9s ease both;
    line-height: 1.2;
    word-break: break-word;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 3.5vw, 1.3rem);
    font-weight: 400;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    text-shadow: 0 1px 10px rgba(0,0,0,0.5);
    animation: fadeInUp 0.9s ease 0.15s both;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.9s ease 0.3s both;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.stat-item .stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.stat-item .stat-label {
    font-size: 0.9rem;
    opacity: 0.85;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 0.9s ease 0.45s both;
}

.hero-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.hero-btn-primary {
    background: var(--primary-bright);
    color: var(--dark-bg);
    box-shadow: 0 4px 20px rgba(154, 114, 52, 0.35);
}

.hero-btn-primary:hover {
    background: var(--accent-soft);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(154, 114, 52, 0.45);
}

.hero-btn-secondary {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(6px);
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.45);
}

.hero-btn-secondary:hover {
    background: rgba(255,255,255,0.22);
    border-color: var(--white);
    transform: translateY(-3px);
}

/* فلش اسکرول */
.hero-scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    animation: bounce 2s infinite;
    transition: color 0.2s;
}

.hero-scroll-down:hover {
    color: var(--primary-color);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =============================================
   Map Section (جداگانه - دیگه hero نیست)
   ============================================= */

/* =============================================
   Services Section
   ============================================= */
.services {
    padding: 5rem 0;
    background: rgba(245, 241, 232, 0.82);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(240px, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

.services-grid--duo {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    max-width: 920px;
    margin-inline: auto;
}

.services-grid--trio {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 1100px;
    margin-inline: auto;
}

.services-grid--duo > .service-card,
.services-grid--trio > .service-card {
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.service-card--tour,
.service-card--assistant {
    text-align: center;
    justify-content: flex-start;
    padding: 1.1rem 1.15rem;
    text-decoration: none;
    color: inherit;
}

a.service-card--assistant:hover,
a.service-card--assistant:focus-visible {
    color: inherit;
}

.service-tour-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.45rem;
}

.services-grid--duo .service-icon,
.services-grid--trio .service-icon {
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 0.35rem;
}

.services-grid--duo .service-icon svg,
.services-grid--trio .service-icon svg {
    width: 1.65rem;
    height: 1.65rem;
}

.services-grid--duo .service-title,
.services-grid--trio .service-title {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.services-grid--duo .service-description,
.services-grid--trio .service-description {
    font-size: 0.82rem;
    line-height: 1.55;
    margin-bottom: 0;
}

.service-tour-features {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    width: 100%;
    max-width: 100%;
    text-align: start;
}

.service-tour-features li {
    padding: 0.2rem 0;
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.45;
}

.services-grid--duo .service-cta,
.services-grid--trio .service-cta {
    margin-top: auto;
    padding-top: 0.75rem;
    font-size: 0.82rem;
}

.service-tour-features li::before {
    content: '✓ ';
    color: var(--primary-color);
    font-weight: 700;
}

.services-side-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 26rem;
}

.services-side-stack .service-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.35rem 1.15rem;
    min-height: 0;
}

.services-side-stack .service-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 0.75rem;
}

.services-side-stack .service-icon svg {
    width: 42px;
    height: 42px;
}

.services-side-stack .service-title {
    font-size: 1.08rem;
    margin-bottom: 0.45rem;
}

.services-side-stack .service-description {
    font-size: 0.86rem;
    line-height: 1.65;
}

@media (max-width: 960px) {
    .services-grid,
    .services-grid--duo,
    .services-grid--trio {
        grid-template-columns: 1fr;
    }

    .services-grid--duo > .service-card,
    .services-grid--trio > .service-card {
        min-height: auto;
    }

    .services-side-stack {
        flex-direction: column;
        min-height: auto;
    }

    .services-side-stack .service-card {
        flex: 1 1 auto;
        min-height: 8.5rem;
        padding: 1.65rem 1.35rem;
    }

    .service-card--route-preview {
        min-height: auto;
    }
}

@media (min-width: 961px) {
    .services-side-stack .service-card {
        min-height: 7.5rem;
    }
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

.service-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
}

.service-icon svg {
    stroke: var(--white);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.service-description {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* =============================================
   Famous Peaks Section
   ============================================= */
.peaks-section {
    padding: 5rem 0;
    background: rgba(253, 251, 247, 0.80);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1rem;
    margin-top: -2rem;
    margin-bottom: 3rem;
}

/* صفحات رشته کوه — فاصله تیتر و زیرتیتر */
.peaks-section .section-title {
    margin-bottom: 0.5rem;
}

.peaks-section .section-subtitle {
    margin-top: 0.75rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.peaks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: clamp(1rem, 3vw, 2rem);
}

.peak-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.09);
    transition: var(--transition);
    position: relative;
}

.peak-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.15);
}

.peak-image-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.peak-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.peak-card:hover .peak-image-wrap img {
    transform: scale(1.06);
}

/* badge ارتفاع روی عکس */
.peak-elevation-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(20, 16, 8, 0.75);
    backdrop-filter: blur(6px);
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(212,165,116,0.35);
}

/* badge سختی */
.peak-difficulty-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.peak-difficulty-badge.آسان  { background: #d1fae5; color: #065f46; }
.peak-difficulty-badge.متوسط { background: #fef3c7; color: #92400e; }
.peak-difficulty-badge.سخت   { background: #fee2e2; color: #991b1b; }
.peak-difficulty-badge.خیلی‌سخت { background: #ede9fe; color: #5b21b6; }

.peak-body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.peak-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.6rem;
}

.peak-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.peak-province {
    font-size: 0.8rem;
    color: var(--text-light);
    background: var(--light-bg);
    padding: 3px 10px;
    border-radius: 12px;
    white-space: nowrap;
}

.peak-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.peak-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    border-top: 1px solid var(--light-bg);
    padding-top: 0.9rem;
    font-size: 0.82rem;
    color: var(--text-light);
}

.peak-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* dark mode */
body.dark-mode .peaks-section { background: rgba(26, 26, 26, 0.82); }
body.dark-mode .peak-card { background: #2a2a2a; box-shadow: 0 4px 16px rgba(0,0,0,0.3); }
body.dark-mode .peak-name { color: #f0f0f0; }
body.dark-mode .peak-desc,
body.dark-mode .peak-meta { color: #c8c4bc; }
body.dark-mode .peak-province { background: #333; }

/* =============================================
   Routes Section
   ============================================= */
.routes-section {
    padding: 5rem 0;
    background: rgba(253, 251, 247, 0.80);
}

.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.65rem 1.75rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    font-family: inherit;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.routes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: clamp(1rem, 3vw, 2rem);
}

.route-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.09);
    transition: var(--transition);
}

.route-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.route-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: grayscale(40%);
    transition: var(--transition);
    display: block;
}

.route-card:hover .route-image {
    filter: grayscale(0%);
}

.route-content {
    padding: 1.5rem;
}

.route-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.route-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.difficulty-badge {
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.difficulty-badge.آسان  { background: #d1fae5; color: #065f46; }
.difficulty-badge.متوسط { background: #fef3c7; color: #92400e; }
.difficulty-badge.سخت   { background: #fee2e2; color: #991b1b; }

.route-region {
    background: var(--light-bg);
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    font-size: 0.82rem;
    color: var(--primary-color);
    font-weight: 600;
}

.route-description {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.65;
    font-size: 0.9rem;
}

.route-info {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--light-bg);
    font-size: 0.875rem;
    color: var(--text-light);
}

/* =============================================
   Shelter Cards - پناهگاه و جانپناه
   ============================================= */
.shelter-history {
    background: #fdf8f0;
    border-right: 3px solid #c8a96e;
    padding: 0.6rem 0.9rem;
    border-radius: 8px;
    font-size: 0.83rem;
    color: #7a6040;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.shelter-history-label {
    display: block;
    font-weight: 700;
    color: #a07840;
    margin-bottom: 4px;
    font-size: 0.8rem;
}

.shelter-footer {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: nowrap;
    padding-top: 0.9rem;
    border-top: 1px solid var(--light-bg);
    margin-top: auto;
    overflow: hidden;
}

.shelter-capacity {
    font-size: 0.75rem;
    color: var(--text-dark);
    font-weight: 600;
    white-space: nowrap;
}

.shelter-amenity {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 0.72rem;
    border-radius: 20px;
    padding: 2px 7px;
    font-weight: 600;
    white-space: nowrap;
}

.shelter-amenity.has {
    background: #e6f4ea;
    color: #2e7d32;
}

.shelter-amenity.no {
    background: #fce8e6;
    color: #c62828;
}

.shelter-province {
    font-size: 0.72rem;
    color: var(--text-light);
    white-space: nowrap;
    margin-right: auto;
}

/* dark mode برای پناهگاه */
body.dark-mode .shelter-history {
    background: rgba(200, 169, 110, 0.1);
    color: #c8a96e;
}

body.dark-mode .shelter-amenity.has {
    background: rgba(46, 125, 50, 0.2);
    color: #81c784;
}

body.dark-mode .shelter-amenity.no {
    background: rgba(198, 40, 40, 0.2);
    color: #ef9a9a;
}

/* =============================================
   Services Section
   ============================================= */
.about-section {
    padding: 5rem 0;
    background: rgba(245, 241, 232, 0.82);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text .section-title {
    text-align: right;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.9;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-box {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--light-bg);
    border-radius: 15px;
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.stat-box .stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.4rem;
    line-height: 1;
}

.stat-box .stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* =============================================
   About Gallery Slider
   ============================================= */
.about-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.gallery-slider-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.gallery-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.gallery-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: linear-gradient(transparent, rgba(20,16,8,0.78));
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 1.5rem 1.25rem 0.85rem;
    text-align: center;
}

/* دکمه‌های قبلی / بعدی */
.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(44,36,22,0.65);
    backdrop-filter: blur(4px);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-btn:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
}

.gallery-prev { right: 0.75rem; }
.gallery-next { left: 0.75rem; }

/* شمارنده */
.gallery-counter {
    position: absolute;
    top: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20,16,8,0.55);
    color: var(--white);
    font-size: 0.8rem;
    padding: 3px 12px;
    border-radius: 20px;
    z-index: 10;
}

/* نقاط */
.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(92,107,74,0.35);
    cursor: pointer;
    transition: background 0.25s, transform 0.25s;
    padding: 0;
}

.gallery-dot.active {
    background: var(--primary-color);
    transform: scale(1.25);
}

/* تامب‌نیل‌ها */
.gallery-thumbs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.gallery-thumbs::-webkit-scrollbar { height: 4px; }
.gallery-thumbs::-webkit-scrollbar-thumb { background: var(--primary-color); border-radius: 2px; }

.gallery-thumb {
    width: 64px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.55;
    border: 2px solid transparent;
    flex-shrink: 0;
    transition: opacity 0.25s, border-color 0.25s;
}

.gallery-thumb.active,
.gallery-thumb:hover {
    opacity: 1;
    border-color: var(--primary-color);
}

/* ریسپانسیو gallery */
@media (max-width: 768px) {
    .gallery-slider-container {
        aspect-ratio: 3 / 2;
    }
    .gallery-thumb {
        width: 52px;
        height: 38px;
    }
}

/* dark mode gallery */
body.dark-mode .gallery-btn {
    background: rgba(0,0,0,0.55);
}

/* =============================================
   Footer
   ============================================= */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.75;
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.65;
    font-size: 0.875rem;
}

/* =============================================
   Footer Social Links
   ============================================= */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.25rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.875rem;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    transition: var(--transition);
    width: fit-content;
}

.social-link svg {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.social-link:hover {
    transform: translateX(-4px);
    color: #fff;
}

.social-link:hover svg {
    transform: scale(1.15);
}

.social-instagram:hover { background: rgba(225, 48, 108, 0.18); color: #e1306c; }
.social-telegram:hover  { background: rgba(41, 182, 246, 0.18); color: #29b6f6; }
.social-whatsapp:hover  { background: rgba(37, 211, 102, 0.18); color: #25d366; }
.social-aparat:hover    { background: rgba(237, 28, 36, 0.18);  color: #ed1c24; }

/* =============================================
   Dark Mode
   ============================================= */
body.dark-mode {
    background: #1a1a1a;
    color: #e0e0e0;
    color-scheme: dark;
}

body.dark-mode .header {
    background: rgba(15, 12, 8, 0.98);
}

body.dark-mode .services,
body.dark-mode .map-section {
    background: rgba(34, 34, 34, 0.82);
}

body.dark-mode .routes-section,
body.dark-mode .about-section {
    background: rgba(26, 26, 26, 0.82);
}

body.dark-mode .service-card,
body.dark-mode .route-card {
    background: #2a2a2a;
    box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}

body.dark-mode .stat-box {
    background: #2a2a2a;
}

body.dark-mode .route-name,
body.dark-mode .service-title {
    color: #f0f0f0;
}

body.dark-mode .route-description,
body.dark-mode .service-description,
body.dark-mode .route-info,
body.dark-mode .about-text p {
    color: #c8c4bc;
}

body.dark-mode .filter-btn {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: transparent;
}

body.dark-mode .filter-btn:hover,
body.dark-mode .filter-btn.active {
    background: var(--primary-color);
    color: #1a1a1a;
}

body.dark-mode .route-region {
    background: #333;
    color: var(--primary-color);
}

body.dark-mode .section-title {
    color: var(--accent-soft);
}

body.dark-mode .shelter-tab.active {
    background: var(--primary-bright);
    color: var(--dark-bg);
}

body.dark-mode .light-bg {
    background: #222;
}

/* =============================================
   Responsive - موبایل
   ============================================= */
@media (max-width: 768px) {

    /* منوی موبایل - از راست داخل می‌شه */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -280px;
        width: min(86vw, 270px);
        height: 100vh;
        height: 100dvh;
        background: rgba(30, 24, 14, 0.99);
        padding: calc(var(--header-height) + 1rem) 1.25rem 2rem;
        padding-bottom: max(2rem, env(safe-area-inset-bottom));
        transition: right 0.35s ease;
        z-index: 1800;
        overflow-y: auto;
    }

    /* ← این کلاس موقع کلیک اضافه می‌شه */
    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 0.25rem;
        align-items: flex-start;
    }

    .nav-menu ul li {
        width: 100%;
    }

    .nav-menu > ul > li > a {
        display: block;
        padding: 0.75rem 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.07);
    }

    /* Dropdown در موبایل */
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(0,0,0,0.2);
        box-shadow: none;
        padding: 0.25rem 0 0.5rem 1rem;
        border-top: none;
        border-right: 2px solid var(--primary-color);
        margin: 0.25rem 0 0.5rem;
        display: none;
        border-radius: 0;
    }

    .has-dropdown.open .dropdown {
        display: flex;
    }

    .has-dropdown > a::before {
        content: '▾ ';
        font-size: 0.75rem;
    }

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

    .theme-toggle {
        width: 38px;
        height: 38px;
    }

    .services,
    .peaks-section,
    .shelters-showcase,
    .routes-section,
    .about-section {
        padding: clamp(2.5rem, 8vw, 5rem) 0;
    }

    .section-title {
        font-size: clamp(1.45rem, 5.5vw, 1.8rem);
        margin-bottom: clamp(1.5rem, 5vw, 3rem);
    }

    .hero-map {
        min-height: min(520px, 100dvh);
        width: 100%;
        max-width: 100vw;
    }

    .hero-map #map,
    .hero-map .leaflet-container {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
    }

    .hero-map-overlay {
        background: linear-gradient(
            to bottom,
            rgba(20, 16, 8, 0.45) 0%,
            rgba(20, 16, 8, 0.65) 45%,
            rgba(20, 16, 8, 0.88) 100%
        );
    }

    .hero-map .map-search-panel {
        display: none !important;
    }

    .hero-map-content {
        bottom: 6%;
        padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
    }

    .hero-stats {
        gap: clamp(1rem, 5vw, 2.5rem);
        flex-wrap: wrap;
    }

    .stat-item .stat-number {
        font-size: clamp(1.8rem, 7vw, 2.8rem);
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 18rem;
        margin: 0 auto;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .range-map-panel {
        left: var(--page-gutter);
        right: var(--page-gutter);
        width: auto;
        max-width: none;
    }

    .range-map-panel--peaks {
        top: calc(var(--header-height) + 0.75rem);
    }

    .range-map-panel--shelters {
        top: auto;
        bottom: 5.5rem;
    }

    #map .map-search-panel {
        left: var(--page-gutter);
        right: var(--page-gutter);
        width: auto;
        max-width: none;
    }

    #map .map-search-panel--mountains {
        top: calc(var(--header-height) + 0.75rem);
    }

    #map .map-search-panel--shelters {
        top: auto;
        bottom: 5.5rem;
    }

    #map .map-search-panel--climbing {
        top: auto;
        bottom: 1rem;
    }

    .filters {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }

    .filter-btn {
        padding: 0.55rem 1.1rem;
        font-size: 0.82rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .back-to-top {
        bottom: max(1rem, env(safe-area-inset-bottom));
        left: max(1rem, env(safe-area-inset-left));
    }
    .about-content {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .stat-box {
        padding: 1.25rem 0.5rem;
    }

    /* Map — فقط سکشن‌های جدا از هیرو */
    section:not(.hero-map) #map {
        height: min(450px, 55dvh);
    }
}

@media (max-width: 480px) {
    .about-stats {
        grid-template-columns: 1fr;
    }

    .stat-box {
        padding: 1rem 0.75rem;
    }

    .service-card {
        padding: 1.35rem;
    }

    .peak-image-wrap {
        height: 180px;
    }

    .hero-scroll-indicator {
        display: none;
    }
}

/* =============================================
   Dropdown دو سطحی (sub-menu)
   ============================================= */
.has-dropdown-sub {
    position: relative;
}

.dropdown-sub {
    position: absolute;
    top: 0;
    right: 100%;
    background: rgba(44, 36, 22, 0.98);
    min-width: 185px;
    padding: 0.5rem 0;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0,0,0,0.35);
    border-top: 2px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    z-index: 2200;
}

.has-dropdown-sub:hover .dropdown-sub {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.dropdown-sub li {
    width: 100%;
    padding: 0;
}

.dropdown-sub a {
    display: block;
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
    white-space: nowrap;
}

.dropdown-sub a:hover {
    background: rgba(212, 165, 116, 0.12);
    color: var(--primary-color);
    padding-right: 1.6rem;
}

/* موبایل - dropdown-sub */
@media (max-width: 768px) {
    .dropdown-sub {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border-top: none;
        border-right: 2px solid var(--primary-color);
        padding: 0.25rem 0 0.25rem 0.75rem;
        margin: 0.25rem 0 0.25rem 1rem;
        display: none;
        background: transparent;
    }

    .has-dropdown-sub.open .dropdown-sub {
        display: flex;
    }
}

/* =============================================
   Back to Top Button
   ============================================= */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--dark-bg);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(212, 165, 116, 0.45);
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s;
    pointer-events: none;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    background: #e8bc87;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(212, 165, 116, 0.55);
}

/* =============================================
   Peak Card — linked variant
   ============================================= */
a.peak-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.peak-card--linked {
    cursor: pointer;
    position: relative;
}

.peak-card--linked::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 2px solid transparent;
    transition: border-color 0.25s ease;
    pointer-events: none;
}

.peak-card--linked:hover::after {
    border-color: var(--primary-color);
}

.peak-link-badge {
    display: inline-flex;
    align-items: center;
    margin-top: 0.85rem;
    padding: 0.4rem 0.9rem;
    background: linear-gradient(135deg, var(--dark-bg), #3d301a);
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 100px;
    transition: all 0.25s ease;
    letter-spacing: 0.02em;
}

.peak-card--linked:hover .peak-link-badge {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateX(-3px);
}

/* =============================================
   دسترس‌پذیری (Accessibility) — افزوده شده
   ============================================= */
.skip-link {
    position: absolute;
    top: -100px;
    right: 1rem;
    z-index: 10000;
    background: var(--primary-color, #D4A574);
    color: #1a1208;
    padding: .75rem 1.5rem;
    border-radius: .5rem;
    font-weight: 700;
    text-decoration: none;
    transition: top .2s ease;
}
.skip-link:focus {
    top: 1rem;
}

/* حلقه فوکوس واضح — WCAG 2.2 Focus Appearance */
:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 3px;
    box-shadow: var(--focus-ring);
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
    outline: none;
}

/* حالت کاهش انیمیشن برای کاربرانی که در سیستم‌عاملشون این تنظیم فعاله */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* =============================================
   Shelter Showcase (صفحه اصلی)
   ============================================= */
.shelters-showcase {
    background: var(--light-bg);
    padding: 5rem 0;
}

.shelters-showcase .section-subtitle {
    margin-top: -1rem;
    margin-bottom: 2.5rem;
}

.shelter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.shelter-tab {
    padding: 0.55rem 1.2rem;
    border-radius: 100px;
    border: 1.5px solid rgba(58, 50, 38, 0.18);
    background: var(--white);
    color: var(--text-light);
    font-family: inherit;
    font-size: 0.83rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.shelter-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.shelter-tab.active {
    background: var(--dark-bg);
    color: #fff;
    border-color: transparent;
}

.shelter-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: clamp(1rem, 3vw, 1.75rem);
}

.shelter-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.sh-card {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 3px 18px rgba(44, 36, 22, 0.07);
    border: 1px solid rgba(58, 50, 38, 0.06);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: translateY(0);
    animation: sh-fade 0.45s ease;
}

@keyframes sh-fade {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.sh-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(44, 36, 22, 0.13);
}

.sh-card-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #d0ccc6;
    overflow: hidden;
    flex-shrink: 0;
}

.sh-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.sh-card:hover .sh-card-img img {
    transform: scale(1.06);
}

.sh-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #c8c4be 0%, #a8a49e 100%);
    gap: 0.4rem;
}

.sh-img-placeholder svg { opacity: 0.4; }

.sh-img-placeholder span {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
}

.sh-type-badge {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    backdrop-filter: blur(6px);
}

.sh-type-badge.پناهگاه { background: rgba(92, 107, 74, 0.88); color: #fff; }
.sh-type-badge.جانپناه { background: rgba(181, 86, 47, 0.88); color: #fff; }
.sh-type-badge.کلبه    { background: rgba(140, 106, 63, 0.88); color: #fff; }

.sh-altitude {
    position: absolute;
    bottom: 0.7rem;
    left: 0.7rem;
    background: rgba(20, 16, 10, 0.55);
    backdrop-filter: blur(6px);
    color: var(--primary-color);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
}

.sh-card-body {
    padding: 1.1rem 1.1rem 0.8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sh-card-region {
    font-size: 0.7rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.3rem;
    letter-spacing: 0.03em;
}

.sh-card-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.55rem;
    line-height: 1.4;
}

.sh-card-desc {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.7;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 5.5em;
}

.sh-divider {
    height: 1px;
    margin: 0.65rem 1.1rem 0.85rem;
    background-image: repeating-linear-gradient(to left, rgba(58, 50, 38, 0.15) 0 5px, transparent 5px 10px);
}

.sh-stats {
    display: flex;
    gap: 0;
    padding: 0 1.1rem 1.1rem;
}

.sh-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.45rem 0.2rem;
    border-radius: 0.6rem;
    transition: background 0.2s;
}

.sh-stat:hover { background: rgba(58, 50, 38, 0.04); }

.sh-stat-icon { font-size: 1.1rem; }

.sh-stat-value {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.sh-stat-label {
    font-size: 0.62rem;
    color: var(--text-light);
}

.sh-stat.yes .sh-stat-value { color: #3a7d44; }
.sh-stat.no  .sh-stat-value { color: #9a3a2a; }

.sh-history {
    padding: 0 1.1rem 0.75rem;
    font-size: 0.78rem;
    color: var(--text-light);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sh-history-label {
    display: block;
    font-weight: 700;
    font-size: 0.68rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.sh-card-extra {
    padding: 0 1.1rem 0.65rem;
    font-size: 0.78rem;
    color: var(--text-light);
    line-height: 1.6;
}

.sh-card-extra b { color: var(--text-dark); font-weight: 700; }

.sh-card-foot {
    padding: 0 1.1rem 1.1rem;
    display: flex;
    justify-content: flex-end;
}

.sh-map-btn {
    cursor: pointer;
    font-family: inherit;
    background: none;
}

.sh-map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    padding: 0.35rem 0.9rem;
    border: 1px solid rgba(122, 92, 24, 0.35);
    border-radius: 100px;
    transition: var(--transition);
}

.sh-map-link:hover {
    background: rgba(201, 151, 59, 0.12);
}

/* مودال نقشه پناهگاه — صفحه اصلی و پناهگاه‌ها */
.ph-map-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.ph-map-modal.open {
    display: flex;
}

.ph-map-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 16, 10, 0.62);
    backdrop-filter: blur(2px);
}

.ph-map-modal-box {
    position: relative;
    z-index: 1;
    width: min(92vw, 38rem);
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
}

.ph-map-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.9rem 1.1rem;
    border-bottom: 1px solid rgba(58, 50, 38, 0.08);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.ph-map-modal-close {
    flex-shrink: 0;
    background: none;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-light);
    padding: 0 0.3rem;
}

.ph-map-modal-close:hover {
    color: var(--text-dark);
}

.ph-map-modal-map {
    width: 100%;
    height: 22rem;
}

body.dark-mode .ph-map-modal-box {
    background: #232323;
}

body.dark-mode .ph-map-modal-head {
    border-color: rgba(255, 255, 255, 0.08);
    color: #f0f0f0;
}

.btn-view-all {
    display: inline-block;
    padding: 0.85rem 2rem;
    background: var(--primary-bright);
    color: var(--dark-bg);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 100px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-view-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(154, 114, 52, 0.35);
}

body.dark-mode .shelters-showcase { background: #161616; }
body.dark-mode .shelter-tab { background: #252525; border-color: rgba(255, 255, 255, 0.1); color: #bbb; }
body.dark-mode .sh-card { background: #232323; border-color: rgba(255, 255, 255, 0.06); }
body.dark-mode .sh-card-name { color: #f0f0f0; }
body.dark-mode .sh-stat-value { color: #e0e0e0; }
body.dark-mode .sh-divider { background-image: repeating-linear-gradient(to left, rgba(255, 255, 255, 0.1) 0 5px, transparent 5px 10px); }
body.dark-mode .sh-stat.yes .sh-stat-value { color: #6dbf7e; }
body.dark-mode .sh-stat.no  .sh-stat-value { color: #e07a6a; }
body.dark-mode .sh-history-label { color: #e0e0e0; }
body.dark-mode .sh-card-extra b { color: #f0f0f0; }

@media (max-width: 600px) {
    .shelter-tab { font-size: 0.76rem; padding: 0.45rem 0.9rem; }
    .shelter-cards-grid { grid-template-columns: 1fr; }
}

/* =============================================
   Climbing showcase (homepage)
   ============================================= */
.climbing-showcase {
    padding: clamp(2.5rem, 7vw, 4rem) 0;
}

.climbing-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 3vw, 1.75rem);
    margin-top: 2rem;
    align-items: stretch;
}

.cl-home-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: fadeUp 0.5s ease both;
}

.cl-home-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
}

.cl-home-card-img {
    flex-shrink: 0;
    position: relative;
    height: 200px;
    overflow: hidden;
}

.cl-home-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.cl-home-card:hover .cl-home-card-img img {
    transform: scale(1.05);
}

.cl-home-grade {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(194, 65, 12, 0.92);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.65rem;
    border-radius: 100px;
}

html[dir="ltr"] .cl-home-grade {
    right: auto;
    left: 10px;
}

.cl-home-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.1rem 1.25rem 1.25rem;
}

.cl-home-region {
    font-size: 0.78rem;
    color: #c2410c;
    font-weight: 600;
}

.cl-home-name {
    margin: 0.35rem 0 0.5rem;
    font-size: 1.15rem;
    line-height: 1.4;
    color: var(--dark-bg);
}

.cl-home-desc {
    flex: 1;
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.7;
    color: #666;
}

.cl-home-link {
    display: block;
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(58, 50, 38, 0.1);
    font-size: 0.82rem;
    font-weight: 700;
    color: #c2410c;
    flex-shrink: 0;
}

.climbing-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: #888;
}

body.dark-mode .cl-home-card { background: #2a2a2a; box-shadow: 0 4px 16px rgba(0,0,0,0.3); }
body.dark-mode .cl-home-name { color: #f0f0f0; }
body.dark-mode .cl-home-desc { color: #b0b0b0; }

@media (max-width: 900px) {
    .climbing-cards-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
}

/* =============================================
   Tour Planner
   ============================================= */
.service-card--action {
    cursor: pointer;
    border: 2px solid transparent;
}

.service-card--action:hover,
.service-card--action:focus-visible {
    border-color: var(--primary-color);
}

.service-cta {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.service-card--action:hover .service-cta {
    color: var(--primary-color);
}

.tour-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s;
}

.tour-modal.open {
    opacity: 1;
    visibility: visible;
}

.tour-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 16, 10, 0.65);
    backdrop-filter: blur(4px);
}

.tour-modal-panel {
    position: relative;
    z-index: 1;
    width: min(640px, 100%);
    max-height: min(90vh, 820px);
    background: var(--white);
    border-radius: 1.25rem;
    padding: 1.75rem 1.5rem 1.5rem;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.tour-modal-close {
    position: absolute;
    top: 0.85rem;
    left: 1rem;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    background: rgba(58, 50, 38, 0.08);
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-dark);
}

.tour-modal-title {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.tour-progress {
    height: 4px;
    background: rgba(58, 50, 38, 0.1);
    border-radius: 4px;
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.tour-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    transition: width 0.35s ease;
}

.tour-step-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.35rem;
}

.tour-step-question {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1208;
    margin-bottom: 1.1rem;
}

.tour-step-body {
    min-height: 200px;
    max-height: 340px;
    overflow-y: auto;
    margin-bottom: 1.25rem;
    padding: 0.25rem;
}

.tour-step-body.tour-shake {
    animation: tour-shake 0.35s ease;
}

@keyframes tour-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    75% { transform: translateX(6px); }
}

.tour-options {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.tour-options--grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.55rem;
}

.tour-options--scroll {
    max-height: min(48vh, 340px);
    overflow-y: auto;
    padding-left: 0.15rem;
    margin-top: 0.25rem;
}

.tour-peak-search {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid rgba(58, 50, 38, 0.18);
    border-radius: 0.65rem;
    font-family: inherit;
    font-size: 0.9rem;
    direction: rtl;
    box-sizing: border-box;
}

.tour-peak-search:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(212, 165, 116, 0.25);
}

.tour-peak-count,
.tour-loading-peaks {
    margin: 0.5rem 0 0;
    font-size: 0.78rem;
    color: var(--text-light);
    text-align: center;
}

.tour-opt {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    padding: 0.85rem 1rem 0.85rem 2.5rem;
    border: 2px solid rgba(58, 50, 38, 0.22);
    border-radius: 0.75rem;
    background: #fff;
    cursor: pointer;
    text-align: right;
    font-family: inherit;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.tour-opt:hover {
    border-color: var(--primary-color);
    background: #fffaf3;
}

.tour-opt.selected {
    border-color: #4a5638;
    background: var(--secondary-color);
    box-shadow: 0 4px 18px rgba(92, 107, 74, 0.45);
    transform: scale(1.02);
}

.tour-opt.selected::before {
    content: '✓';
    position: absolute;
    left: 0.7rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.4rem;
    height: 1.4rem;
    background: var(--primary-color);
    color: #1a1208;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.tour-opt-icon { font-size: 1.25rem; }

.tour-opt-label {
    font-weight: 700;
    font-size: 0.92rem;
    color: #1a1208;
}

.tour-opt-sub {
    font-size: 0.75rem;
    color: #5a4e42;
}

.tour-opt.selected .tour-opt-label,
.tour-opt.selected .tour-opt-sub {
    color: #fff;
}

.tour-nav,
.tour-result-actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    justify-content: center;
}

.tour-btn {
    padding: 0.7rem 1.4rem;
    border-radius: 100px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.tour-btn--primary {
    background: var(--primary-color);
    color: #1a1208;
}

.tour-btn--primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.45);
}

.tour-btn--primary:disabled {
    opacity: 0.6;
    cursor: wait;
}

.tour-btn--ghost {
    background: transparent;
    color: var(--text-dark);
    border: 1.5px solid rgba(58, 50, 38, 0.2);
}

.tour-btn--ghost:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

#tourResult {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

#tourResult[hidden] { display: none !important; }

.tour-result-scroll {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 1rem;
    border: 1px solid rgba(58, 50, 38, 0.15);
    border-radius: 0.75rem;
    background: #fff;
}

.tour-plan-pdf {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    color: #1a1208;
    padding: 1.5rem;
}

.tour-watermarks {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    z-index: 0;
}

.tour-watermarks span {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 800;
    color: rgba(160, 120, 70, 0.07);
    transform: rotate(-35deg);
    user-select: none;
}

.tour-plan-inner {
    position: relative;
    z-index: 1;
}

.tour-plan-header {
    text-align: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.tour-plan-brand {
    font-size: 0.75rem;
    font-weight: 700;
    color: #8a6030;
    margin-bottom: 0.35rem;
}

.tour-plan-header h2 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1a1208;
    margin-bottom: 0.25rem;
}

.tour-plan-date {
    font-size: 0.78rem;
    color: #4a4034;
}

.tour-plan-meta {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    margin-bottom: 1.25rem;
}

.tour-plan-meta th,
.tour-plan-meta td {
    padding: 0.45rem 0.6rem;
    border-bottom: 1px solid rgba(58, 50, 38, 0.12);
    text-align: right;
}

.tour-plan-meta th {
    width: 38%;
    color: #4a4034;
    font-weight: 700;
}

.tour-plan-meta td {
    color: #1a1208;
    font-weight: 500;
}

.tour-plan-section {
    margin-bottom: 1.1rem;
}

.tour-plan-section h3 {
    font-size: 0.95rem;
    font-weight: 800;
    color: #3d5230;
    margin-bottom: 0.5rem;
}

.tour-plan-section ul,
.tour-plan-section ol {
    padding-right: 1.25rem;
    font-size: 0.82rem;
    line-height: 1.85;
    color: #1a1208;
}

.tour-day {
    margin-bottom: 0.85rem;
    padding: 0.75rem;
    background: #f5f0e8;
    border: 1px solid #ddd5c8;
    border-radius: 0.5rem;
}

.tour-day h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: #1a1208;
}

.tour-gear-list {
    columns: 2;
    column-gap: 1.5rem;
}

.tour-plan-safety {
    background: #fdf3ee;
    border: 1px solid #e8c4b0;
    border-radius: 0.5rem;
    padding: 0.75rem;
}

.tour-plan-safety ul {
    color: #3a2010;
}

.tour-plan-footer {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px dashed rgba(58, 50, 38, 0.25);
    font-size: 0.75rem;
    color: #4a4034;
    text-align: center;
}

.tour-plan-footer strong {
    color: #1a1208;
}

body.dark-mode .tour-modal-panel { background: #232323; }
body.dark-mode .tour-step-question { color: #f5f0e8; }
body.dark-mode .tour-opt {
    background: #2e2e2e;
    border-color: rgba(255, 255, 255, 0.18);
}
body.dark-mode .tour-opt-label { color: #f0ece4; }
body.dark-mode .tour-opt-sub { color: #b8aea0; }
body.dark-mode .tour-opt:hover { background: #383028; border-color: var(--primary-color); }
body.dark-mode .tour-opt.selected {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 18px rgba(212, 165, 116, 0.35);
}
body.dark-mode .tour-opt.selected::before {
    background: #1a1208;
    color: var(--primary-color);
}
body.dark-mode .tour-opt.selected .tour-opt-label,
body.dark-mode .tour-opt.selected .tour-opt-sub {
    color: #1a1208;
}
body.dark-mode .tour-result-scroll {
    background: #fff;
    border-color: rgba(255, 255, 255, 0.15);
}

.tour-departure-fields {
    display: grid;
    gap: 1rem;
    max-width: 320px;
    margin: 0 auto;
}

.tour-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.tour-field-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
}

.tour-date-input {
    width: 100%;
    padding: 0.75rem 0.85rem;
    border: 1.5px solid rgba(58, 50, 38, 0.2);
    border-radius: 0.65rem;
    font-family: inherit;
    font-size: 0.95rem;
    background: #fff;
    color: var(--text-dark);
}

.tour-jalali-date {
    display: grid;
    grid-template-columns: 1fr 1.5fr 0.85fr;
    gap: 0.5rem;
}

.tour-jalali-time {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0.5rem;
    align-items: center;
}

.tour-time-sep {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
    text-align: center;
}

.tour-date-select {
    cursor: pointer;
    appearance: auto;
}

.tour-date-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.25);
}

.tour-departure-hint {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: center;
    line-height: 1.7;
}

.tour-plan-weather .tour-weather-card {
    background: linear-gradient(135deg, #f0f7ff 0%, #fff8ef 100%);
    border: 1px solid rgba(58, 50, 38, 0.12);
    border-radius: 0.75rem;
    padding: 1rem 1.15rem;
}

.tour-weather-days {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.tour-weather-row {
    background: linear-gradient(135deg, #f0f7ff 0%, #fff8ef 100%);
    border: 1px solid rgba(58, 50, 38, 0.12);
    border-radius: 0.65rem;
    padding: 0.85rem 1rem;
}

.tour-weather-row-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 1rem;
    margin-bottom: 0.35rem;
}

.tour-weather-day {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.tour-weather-date {
    font-size: 0.82rem;
    color: var(--text-light);
}

.tour-weather-main {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
}

.tour-weather-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.tour-weather-note {
    margin: 0.75rem 0 0;
    font-size: 0.75rem;
    color: var(--text-light);
    line-height: 1.6;
}

.tour-weather-note--warn {
    color: #b45309;
    font-weight: 600;
}

@media (max-width: 600px) {
    .tour-modal-panel { padding: 1.25rem 1rem; max-height: 95vh; }
    .tour-gear-list { columns: 1; }
    .tour-options--grid { grid-template-columns: 1fr 1fr; }
}

/* English (LTR) */
html[dir="ltr"] .service-route-preview-head,
html[dir="ltr"] .service-card--route-preview .service-title,
html[dir="ltr"] .service-card--route-preview .service-description {
    text-align: left;
}

html[dir="ltr"] .service-route-picker {
    margin-right: 0;
    margin-left: auto;
}

html[dir="ltr"] .service-card--route-preview {
    text-align: left;
}
