/* ===== СТРАНИЦА — БЕЗОПАСНОЕ ОБРАЩЕНИЕ С ОРУЖИЕМ ===== */
.page-hero {
    padding: 140px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(220,30,30,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 18px;
}

.page-hero-label-line { width: 50px; height: 1px; background: #dc1e1e; }

.page-hero-label-text {
    font-size: 12px;
    letter-spacing: 4px;
    color: #dc1e1e;
    font-weight: 700;
    text-transform: uppercase;
}

.page-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(32px, 5.5vw, 66px);
    letter-spacing: 4px;
    color: #fff;
    line-height: 1.05;
    margin-bottom: 20px;
}

.page-subtitle {
    font-size: 15px;
    color: rgba(255,255,255,0.5);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.75;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

.breadcrumb a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover { color: #dc1e1e; }
.breadcrumb span { color: rgba(255,255,255,0.2); }
.breadcrumb-current { color: rgba(255,255,255,0.7); }

.content-block { max-width: 820px; margin: 0 auto; text-align: left; }

.law-box {
    background: rgba(220,30,30,0.07);
    border: 1px solid rgba(220,30,30,0.2);
    border-radius: 12px;
    padding: 28px 32px;
    margin-bottom: 40px;
    text-align: left;
}

.law-box p { font-size: 14.5px; color: rgba(255,255,255,0.72); line-height: 1.8; }
.law-box p + p { margin-top: 14px; }
.law-box strong { color: #fff; font-weight: 600; }

.law-link {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(220,30,30,0.5);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s, color 0.2s;
}

.law-link:hover {
    color: #ff4444;
    text-decoration-color: #ff4444;
}

.course-table-wrap { margin: 40px 0; }

.course-table-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 18px;
}

.course-table {
    width: 100%;
    max-width: 480px;
    border-collapse: collapse;
    font-size: 15px;
    border: 1px solid rgba(255,255,255,0.18);
    overflow: hidden;
    margin: 0 auto;
}

.course-table th {
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    font-size: 14px;
    padding: 11px 18px;
    text-align: left;
    border: 1px solid rgba(255,255,255,0.14);
}

.course-table th:last-child { text-align: center; min-width: 140px; }

.course-table td {
    padding: 10px 18px;
    color: rgba(255,255,255,0.72);
    font-size: 14.5px;
    border: 1px solid rgba(255,255,255,0.1);
}

.course-table td:last-child {
    text-align: center;
    font-weight: 700;
    font-size: 17px;
    color: #fff;
}

.course-table tbody tr:hover { background: rgba(255,255,255,0.03); }

.contact-box {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin: 36px 0;
}

.contact-box-icon { font-size: 32px; flex-shrink: 0; }
.contact-box-text { flex: 1; min-width: 180px; }
.contact-box-text p { font-size: 14px; color: rgba(255,255,255,0.5); margin-bottom: 4px; }

.contact-box-phone {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-box-phone:hover { color: #ff3333; }
.contact-box-hours { font-size: 13px; color: rgba(255,255,255,0.4); margin-top: 4px; }

.contact-box--centered {
    justify-content: center;
    text-align: center;
}

.contact-box--centered .contact-box-text {
    flex: unset;
}

.docs-section { margin: 36px 0; text-align: left; }

.docs-section h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 16px;
    text-align: left;
}

.docs-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }

.docs-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14.5px;
    color: rgba(255,255,255,0.68);
    line-height: 1.65;
}

.docs-list li::before { content: '→'; color: #dc1e1e; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.docs-list li small { display: block; font-size: 12px; color: rgba(255,255,255,0.35); margin-top: 3px; }

.outcome-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 18px 0 24px;
}

/* Если только одна карточка - центрируем как фото */
.outcome-cards:has(.outcome-card:only-child) {
    grid-template-columns: 1fr;
    justify-items: center;
}

.outcome-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    transition: border-color 0.3s, transform 0.3s;
    width: 100%;
}

/* Ограничиваем ширину одиночной карточки как у фото */
.outcome-cards:has(.outcome-card:only-child) .outcome-card {
    max-width: 500px;
}

.outcome-card:hover { border-color: rgba(220,30,30,0.4); transform: translateY(-3px); }

.outcome-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(220,30,30,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}

.outcome-card p { 
    font-size: 14px; 
    color: rgba(255,255,255,0.75); 
    line-height: 1.5; 
    font-weight: 500;
    margin: 0;
}

.photo-placeholder {
    width: 100%;
    min-height: 180px;
    background: rgba(255,255,255,0.03);
    border: 2px dashed rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 32px 0;
    color: rgba(255,255,255,0.28);
    font-size: 13px;
    padding: 40px;
}

.photo-placeholder-icon { font-size: 34px; opacity: 0.4; }

/* Сетка двух фото */
.photos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 32px 0;
    align-items: start;
}

.photos-grid-item {
    border-radius: 12px;
    overflow: hidden;
}

.photos-grid-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    cursor: zoom-in;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.photos-grid-img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.photos-grid-placeholder {
    background: rgba(255,255,255,0.03);
    border: 2px dashed rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255,255,255,0.28);
    font-size: 13px;
    min-height: 200px;
}

/* Лайтбокс для фото страницы safe-handling */
.sh-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    animation: fadeInUp 0.2s ease-out;
}

.sh-lightbox.active {
    display: flex;
}

.sh-lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    cursor: default;
}

.sh-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    font-size: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    line-height: 1;
}

.sh-lightbox-close:hover {
    background: rgba(220,30,30,0.6);
}

.cta-section { text-align: center; padding: 60px 0 80px; }

.cta-section h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(26px, 4vw, 46px);
    letter-spacing: 3px;
    margin-bottom: 14px;
}

.cta-section p { color: rgba(255,255,255,0.5); font-size: 15px; margin-bottom: 30px; }

.btn-outline {
    display: inline-block;
    padding: 13px 28px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 25px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 15px;
    transition: all 0.3s;
}

.btn-outline:hover { border-color: #ff3333; color: #ff3333; }

/* Адаптивное видео 16:9 */
.video-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    margin-top: 16px;
}

.video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}


/* === Загрузочный плейсхолдер === */
.pg-loading {
    padding: 40px 0;
    color: rgba(255,255,255,0.3);
    font-size: 14px;
    text-align: center;
}

/* === Фото результатов обучения === */
.outcome-photos-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
}

.outcome-photos-row:has(.outcome-photo:only-child) {
    grid-template-columns: 1fr;
    justify-items: center;
}

.outcome-photo {
    width: 100%;
    height: 240px;
    object-fit: contain;
    object-position: center;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
    border: 1px solid rgba(255,255,255,0.12);
    display: block;
    background: rgba(255,255,255,0.03);
}

.outcome-photo:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

@media (max-width: 480px) {
    .outcome-photos-row { grid-template-columns: 1fr; }
    .outcome-photo { height: 200px; }
}

@media (max-width: 768px) {
    .course-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }
    .course-table {
        min-width: 480px;
        max-width: none;
        width: max-content;
    }
}
