/* fizichna.html — компонент, винесено з інлайн-стилів */

.bz-guard-control-section {
    position: relative;
    padding: 110px 0;
    background:
            radial-gradient(circle at 15% 35%, rgba(198, 0, 28, 0.22), transparent 34%),
            radial-gradient(circle at 85% 70%, rgba(198, 0, 28, 0.14), transparent 30%),
            #020202;
    color: #fff;
    overflow: hidden;
}

.bz-guard-control-section:before {
    content: "";
    position: absolute;
    inset: 0;
    background:
            linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
            linear-gradient(0deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 72px 72px;
    opacity: 0.32;
    pointer-events: none;
}

.bz-guard-control-section:after {
    content: "";
    position: absolute;
    right: -180px;
    top: 60px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(224, 0, 31, 0.22);
    border-radius: 50%;
    opacity: 0.5;
    pointer-events: none;
}

.bz-guard-control-section .container {
    position: relative;
    z-index: 2;
}

.bz-section-head {
    max-width: 760px;
    margin-bottom: 56px;
}

.bz-section-kicker {
    position: relative;
    display: inline-block;
    margin-bottom: 18px;
    padding-bottom: 12px;
    color: #e0001f;
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bz-section-kicker:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 96px;
    height: 1px;
    background: #e0001f;
}

.bz-section-title {
    margin-bottom: 20px;
    font-size: clamp(32px, 4vw, 58px);
    line-height: 1.08;
    letter-spacing: 0.02em;
    font-weight: 400;
}

.bz-section-title span {
    color: #e0001f;
}

.bz-section-text {
    max-width: 680px;
    color: rgba(255,255,255,0.74);
    font-size: 17px;
    line-height: 1.65;
}

.bz-guard-control-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 72px;
    align-items: center;
}

.bz-control-left {
    position: relative;
    padding: 12px 0 12px 62px;
}

.bz-control-line {
    position: absolute;
    left: 15px;
    top: 30px;
    bottom: 30px;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.45), transparent);
}

.bz-control-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 0 42px;
}

.bz-control-item:last-child {
    padding-bottom: 0;
}

.bz-control-dot {
    position: absolute;
    left: -55px;
    top: 6px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #e0001f;
    box-shadow: 0 0 0 8px rgba(224, 0, 31, 0.13), 0 0 26px rgba(224, 0, 31, 0.65);
}

.bz-control-content {
    position: relative;
    padding: 26px 28px;
    border: 1px solid rgba(255,255,255,0.12);
    background: linear-gradient(135deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012));
    transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.bz-control-content:hover {
    transform: translateX(8px);
    border-color: rgba(224, 0, 31, 0.65);
    background: linear-gradient(135deg, rgba(224,0,31,0.12), rgba(255,255,255,0.018));
}

.bz-control-number {
    margin-bottom: 12px;
    color: #e0001f;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0.18em;
}

.bz-control-name {
    margin-bottom: 10px;
    color: #fff;
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.bz-control-desc {
    color: rgba(255,255,255,0.62);
    font-size: 15px;
    line-height: 1.6;
}

.bz-control-visual {
    position: relative;
    min-height: 620px;
    padding: 34px;
}

.bz-control-visual-bg {
    position: absolute;
    inset: 0;
    background:
            linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.92)),
            url("images/guard-control-bg.jpg") center / cover no-repeat;
    opacity: 0.34;
    filter: grayscale(1);
}

.bz-control-visual:before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(224, 0, 31, 0.28);
    background: radial-gradient(circle at 50% 42%, rgba(224, 0, 31, 0.18), transparent 48%);
}

.bz-control-panel {
    position: relative;
    z-index: 2;
    padding: 32px;
    min-height: 552px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(4, 4, 4, 0.74);
    backdrop-filter: blur(12px);
}

.bz-panel-top {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 38px;
}

.bz-panel-label {
    margin-bottom: 8px;
    color: rgba(255,255,255,0.48);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bz-panel-title {
    color: #fff;
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: 0.03em;
}

.bz-panel-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.78);
    font-size: 13px;
    white-space: nowrap;
}

.bz-panel-status span {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e0001f;
    box-shadow: 0 0 18px rgba(224, 0, 31, 0.85);
}

.bz-route-map {
    position: relative;
    height: 245px;
    margin-bottom: 34px;
    border: 1px solid rgba(255,255,255,0.09);
    background:
            linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px),
            linear-gradient(0deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    overflow: hidden;
}

.bz-route-map:before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px dashed rgba(255,255,255,0.12);
}

.bz-route-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, rgba(224,0,31,0.12), rgba(224,0,31,0.9), rgba(224,0,31,0.12));
    transform-origin: left center;
}

.bz-route-line-1 {
    left: 19%;
    top: 62%;
    width: 32%;
    transform: rotate(-21deg);
}

.bz-route-line-2 {
    left: 44%;
    top: 42%;
    width: 28%;
    transform: rotate(24deg);
}

.bz-route-line-3 {
    left: 65%;
    top: 55%;
    width: 22%;
    transform: rotate(-30deg);
}

.bz-route-point {
    position: absolute;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,0.18);
    background: #090909;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.58);
    font-size: 13px;
}

.bz-route-point span {
    position: relative;
    z-index: 2;
}

.bz-route-point.active,
.bz-route-point.current {
    border-color: rgba(224, 0, 31, 0.9);
    color: #fff;
}

.bz-route-point.current {
    background: #e0001f;
    box-shadow: 0 0 32px rgba(224, 0, 31, 0.45);
    animation: bzPulsePoint 1.8s infinite;
}

.bz-route-point-1 {
    left: 14%;
    top: 58%;
}

.bz-route-point-2 {
    left: 42%;
    top: 35%;
}

.bz-route-point-3 {
    left: 64%;
    top: 55%;
}

.bz-route-point-4 {
    left: 82%;
    top: 33%;
}

.bz-panel-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.bz-stat-card {
    padding: 18px 14px;
    border: 1px solid rgba(255,255,255,0.11);
    background: rgba(255,255,255,0.025);
}

.bz-stat-value {
    margin-bottom: 6px;
    color: #e0001f;
    font-size: 28px;
    line-height: 1;
    letter-spacing: 0.04em;
}

.bz-stat-label {
    color: rgba(255,255,255,0.54);
    font-size: 13px;
    line-height: 1.35;
}

.bz-panel-events {
    display: grid;
    gap: 8px;
}

.bz-event-row {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.09);
}

.bz-event-time {
    color: #e0001f;
    font-size: 13px;
}

.bz-event-text {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.bz-control-float {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 16px;
    border: 1px solid rgba(224, 0, 31, 0.42);
    background: rgba(5, 5, 5, 0.82);
    color: rgba(255,255,255,0.78);
    font-size: 13px;
    backdrop-filter: blur(10px);
}

.bz-control-float span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e0001f;
}

.bz-control-float-1 {
    left: 0;
    top: 92px;
}

.bz-control-float-2 {
    right: 0;
    bottom: 112px;
}

@keyframes bzPulsePoint {
    0% {
        box-shadow: 0 0 0 0 rgba(224, 0, 31, 0.5);
    }

    70% {
        box-shadow: 0 0 0 18px rgba(224, 0, 31, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(224, 0, 31, 0);
    }
}

@media (max-width: 1199.98px) {
    .bz-guard-control-grid {
        gap: 44px;
    }

    .bz-control-visual {
        padding: 24px;
    }

    .bz-control-panel {
        padding: 26px;
    }
}

@media (max-width: 991.98px) {
    .bz-guard-control-section {
        padding: 82px 0;
    }

    .bz-guard-control-grid {
        grid-template-columns: 1fr;
    }

    .bz-control-visual {
        min-height: auto;
    }

    .bz-control-panel {
        min-height: auto;
    }
}

@media (max-width: 767.98px) {
    .bz-section-head {
        margin-bottom: 38px;
    }

    .bz-section-title {
        font-size: 34px;
    }

    .bz-section-text {
        font-size: 15px;
    }

    .bz-control-left {
        padding-left: 42px;
    }

    .bz-control-line {
        left: 7px;
    }

    .bz-control-dot {
        left: -42px;
    }

    .bz-control-content {
        padding: 22px 20px;
    }

    .bz-control-name {
        font-size: 18px;
    }

    .bz-panel-top {
        flex-direction: column;
    }

    .bz-panel-stats {
        grid-template-columns: 1fr;
    }

    .bz-route-map {
        height: 220px;
    }

    .bz-control-float {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        margin-top: 12px;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .bz-guard-control-section {
        padding: 68px 0;
    }

    .bz-control-visual {
        padding: 14px;
    }

    .bz-control-panel {
        padding: 20px;
    }

    .bz-panel-title {
        font-size: 23px;
    }

    .bz-event-row {
        grid-template-columns: 48px 1fr;
    }
}
