/* Футер «Точка опоры» */
.to-footer {
    font-size: 0.9rem;
}

.to-footer-col {
    max-width: 360px;
}

.to-footer-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #e5e7eb;
    background: rgba(15, 23, 42, 0.75);
}

.to-footer-text {
    color: #e5e7eb;
    line-height: 1.6;
}

.to-footer-heading {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #9ca3af;
}

.to-footer-nav {
    display: grid;
    gap: 0.35rem;
}

.to-footer-link {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.86rem;
    color: #e5e7eb;
    text-decoration: none;
    background: rgba(31, 41, 55, 0.8);
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease, box-shadow 0.12s ease;
}

.to-footer-link:hover {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    border-color: rgba(129, 140, 248, 0.85);
    box-shadow: 0 6px 14px rgba(79, 70, 229, 0.4);
    transform: translateY(-1px);
    color: #f9fafb;
}

.to-footer-link-inline {
    color: #e5e7eb;
    text-decoration: none;
    border-bottom: 1px dashed rgba(156, 163, 175, 0.7);
    padding-bottom: 1px;
}

.to-footer-link-inline:hover {
    color: #ffffff;
    border-bottom-color: transparent;
}

.to-footer-inline-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.to-footer-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.26rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(55, 65, 81, 0.9);
    font-size: 0.82rem;
    color: #e5e7eb;
    text-decoration: none;
    background: radial-gradient(circle at top left, #111827 0, #020617 55%, #000 100%);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.15s ease;
}

.to-footer-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.65);
    border-color: rgba(129, 140, 248, 0.9);
    color: #f9fafb;
}

.to-footer-divider {
    border: 0;
    border-top: 1px solid rgba(55, 65, 81, 0.8);
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
}

.to-footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
/* Глобально задаём шрифт Mulish для всего проекта */
html,
body,
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
p, a, li, span, small, strong, em,
button, input, textarea, select,
label, blockquote, code, pre,
table, th, td, caption
{
    font-family: 'Mulish', Arial, sans-serif !important;
}

/* Гарантируем наследование для вложенных элементов */
*, *::before, *::after {
    font-family: inherit !important;
}

/* Текстовые акценты шрифтами Libertinus Sans */
.libertinus-regular {
    font-family: 'Libertinus Sans', Arial, sans-serif !important;
    font-weight: normal;
    font-style: normal;
}

.libertinus-bold {
    font-family: 'Libertinus Sans', Arial, sans-serif !important;
    font-weight: bold;
    font-style: normal;
}

p {
    margin-bottom: inherit;
}

/* Слайды скаутов: одинаковая высота и обрезка по центру */
.scauts-slide-img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
}

/* Слайды ТО: такой же размер, как у скаутов */
.to-slide-img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
}

/* Квадратный блок с VK-видео под слайдером */
.vk-video-square {
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 5;
}

.vk-video-square-inner {
    display: block;
    position: relative;
    width: 100%;
    padding-top: 100%; /* квадрат 1:1 */
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.vk-video-square-inner iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Фото команды: одинаковый размер и обрезка по центру */
.team-member-photo {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
}

/* Главное слайдшоу в начале страницы: одинаковая высота кадров */
.hero-slide-img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
}

/* Кнопка-превью для видео во ВК (открывается в лайтбоксе) */
.vk-video-square-inner.vk-video-trigger {
    cursor: pointer;
    background: radial-gradient(circle at top, #1f2937 0, #020617 55%, #000 100%);
    color: #f9fafb;
}

.vk-video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
}

.vk-video-play-icon {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    border: 2px solid rgba(248, 250, 252, 0.85);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 12px;
    background: rgba(15, 23, 42, 0.65);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
    animation: vk-video-pulse 1.8s ease-in-out infinite;
}

.vk-video-text {
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 18rem;
}

.vk-video-square-inner.vk-video-trigger:hover .vk-video-play-icon {
    background: rgba(37, 99, 235, 0.9);
    border-color: transparent;
}

.vk-video-square-inner.vk-video-trigger:hover {
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.6);
    transform: translateY(-2px);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

@keyframes vk-video-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.5), 0 12px 25px rgba(0, 0, 0, 0.35);
    }
    70% {
        box-shadow: 0 0 0 16px rgba(59, 130, 246, 0), 0 12px 25px rgba(0, 0, 0, 0.35);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0), 0 12px 25px rgba(0, 0, 0, 0.35);
    }
}

/* Маленькие кнопки-ссылки на видео под линией */
.video-inline-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.video-inline-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 1rem;
    border-radius: 999px;
    border: none;
    background-image: linear-gradient(135deg, #4f46e5, #6366f1);
    font-size: 0.86rem;
    font-weight: 600;
    color: #f9fafb;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background-image 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease, color 0.15s ease;
}

.video-inline-btn::before {
    content: '▶';
    font-size: 0.8rem;
    margin-right: 6px;
    opacity: 0.9;
}

.video-inline-btn:hover {
    background-image: linear-gradient(135deg, #6366f1, #4f46e5);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.45);
    transform: translateY(-1px);
}

/* Кнопки для онлайн‑квеста и Адвент‑календаря */
.project-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.project-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.3rem;
    border-radius: 999px;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.project-cta-btn-primary {
    background-image: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #f9fafb;
    box-shadow: 0 8px 18px rgba(79, 70, 229, 0.4);
}

.project-cta-btn-primary::before {
    content: '▶';
    font-size: 0.8rem;
    margin-right: 8px;
    opacity: 0.9;
}

.project-cta-btn-primary:hover {
    background-image: linear-gradient(135deg, #6366f1, #4f46e5);
    box-shadow: 0 10px 22px rgba(79, 70, 229, 0.5);
    transform: translateY(-1px);
}

.project-cta-btn-secondary {
    background: rgba(243, 244, 246, 0.95);
    color: #1f2937;
    border: 1px solid rgba(156, 163, 175, 0.8);
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
}

.project-cta-btn-secondary::before {
    content: '★';
    font-size: 0.8rem;
    margin-right: 8px;
    color: #f97316;
}

.project-cta-btn-secondary:hover {
    background: #ffffff;
    border-color: rgba(107, 114, 128, 0.9);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
    transform: translateY(-1px);
}

