/* ═══════════════════════════════════════════════════════ */
/* PUBLIC TOUR PAGE */
/* ═══════════════════════════════════════════════════════ */

.tour-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    gap: 20px;
    color: var(--gray);
}
.tour-loading__spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.tour-loading p { font-size: 14px; font-weight: 500; }

.tour-error {
    text-align: center;
    padding: 100px 20px;
    max-width: 480px;
    margin: 0 auto;
}
.tour-error i {
    font-size: 64px;
    color: var(--accent);
    margin-bottom: 20px;
    opacity: 0.5;
}
.tour-error h2 {
    font-family: var(--font-h);
    font-size: 26px;
    color: var(--dark);
    margin-bottom: 12px;
}
.tour-error p {
    font-size: 14.5px;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 24px;
}

.tour-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}
.tour-lightbox.active { display: flex; }
.tour-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}
.tour-lightbox__close,
.tour-lightbox__nav {
    position: absolute;
    background: rgba(255,255,255,.15);
    color: #fff;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: background .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tour-lightbox__close { top: 24px; right: 24px; }
.tour-lightbox__nav--prev { left: 24px; top: 50%; transform: translateY(-50%); }
.tour-lightbox__nav--next { right: 24px; top: 50%; transform: translateY(-50%); }
.tour-lightbox__close:hover,
.tour-lightbox__nav:hover { background: var(--accent); }

.tour-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: var(--gray);
    margin-bottom: 16px;
}
.tour-breadcrumbs a { color: var(--gray); transition: var(--t); }
.tour-breadcrumbs a:hover { color: var(--accent); }
.tour-breadcrumbs i { font-size: 10px; color: var(--sand-2); }

.tour-geo {
    background: linear-gradient(135deg, rgba(74,124,89,.06), rgba(224,122,63,.04));
    border-left: 4px solid var(--green);
    border-radius: var(--r-sm);
    padding: 16px 20px;
    margin-bottom: 20px;
}
.tour-geo__title {
    font-family: var(--font-h);
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.tour-geo__title i { color: var(--green); }
.tour-geo__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}
.tour-geo__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--dark);
}
.tour-geo__item i { color: var(--accent); font-size: 12px; width: 16px; }

.tour-aeo {
    background: var(--sand);
    border-radius: var(--r-md);
    padding: 20px;
    margin-bottom: 20px;
}
.tour-aeo__title {
    font-family: var(--font-h);
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.tour-aeo__title i { color: var(--accent); }
.tour-aeo__list { display: flex; flex-direction: column; gap: 10px; }
.tour-aeo__q {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}
.tour-aeo__a {
    font-size: 13.5px;
    color: var(--gray);
    line-height: 1.6;
}

.tour-faq { display: flex; flex-direction: column; gap: 10px; }
.tour-faq__item {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: var(--t);
}
.tour-faq__item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}
.tour-faq__q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: var(--t);
}
.tour-faq__q:hover { color: var(--accent); }
.tour-faq__q i {
    color: var(--accent);
    font-size: 12px;
    transition: transform .3s ease;
    flex-shrink: 0;
}
.tour-faq__item.active .tour-faq__q i { transform: rotate(180deg); }
.tour-faq__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
    padding: 0 18px;
}
.tour-faq__item.active .tour-faq__a {
    max-height: 300px;
    padding: 0 18px 16px;
}
.tour-faq__a p {
    font-size: 13.5px;
    color: var(--gray);
    line-height: 1.65;
}

@media (max-width: 640px) {
    .tour-lightbox__close { top: 12px; right: 12px; }
    .tour-lightbox__nav--prev { left: 12px; }
    .tour-lightbox__nav--next { right: 12px; }
    .tour-lightbox__nav,
    .tour-lightbox__close { width: 40px; height: 40px; font-size: 16px; }

    .tour-geo, .tour-aeo { padding: 14px 16px; }
    .tour-geo__grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .tour-geo__item { font-size: 12px; }
}