/* ============================================================
   42. SEKCJA DIAGRAM INTERAKTYWNY
   ============================================================ */
.rev-diagram-section {
    padding: 0px 10px;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
}
.rev-diagram-inner {
    max-width: 1500px;
    margin: 0 auto;
}
.rev-diagram-header {
    margin-bottom: 56px;
}
.rev-diagram-title {
    font-family: "Bahnschrift", sans-serif !important;
    font-size: 36px !important;
    font-weight: 300 !important;
    text-transform: uppercase !important;
    color: #1c1c1b !important;
    line-height: 1.1 !important;
    margin-bottom: 16px !important;
    margin-top: 0 !important;
}
.rev-diagram-title strong {
    font-weight: 900 !important;
}
.rev-diagram-title-line {
    width: 48px;
    height: 3px;
    background: #e30613;
}
.rev-diagram-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
}
.rev-diagram-texts {
    display: flex;
    flex-direction: column;
    padding-right: 48px;
    align-self: stretch;
    justify-content: space-around;
}
.rev-diagram-item {
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: opacity 0.3s;
    opacity: 1;
}
.rev-diagram-item:first-child {
    padding-top: 0;
}
.rev-diagram-item:last-child {
    border-bottom: none;
}
.rev-diagram-texts.has-active .rev-diagram-item {
    opacity: 0.35;
}
.rev-diagram-texts.has-active .rev-diagram-item.active {
    opacity: 1;
}
.rev-diagram-item:hover {
    opacity: 0.7;
}
.rev-diagram-texts.has-active .rev-diagram-item.active:hover {
    opacity: 1;
}
.rev-diagram-desc {
    font-family: "Noto Sans", sans-serif !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #444 !important;
    margin: 0 0 12px !important;
}
.rev-diagram-desc strong {
    color: #1c1c1b !important;
    font-weight: 700 !important;
}
.rev-diagram-line {
    width: 40px;
    height: 2px;
    background: #e30613;
    transition: width 0.3s;
}
.rev-diagram-item.active .rev-diagram-line {
    width: 64px;
}
.rev-diagram-image-wrap {
    position: relative;
    width: 100%;
}
.rev-diagram-img {
    width: 100%;
    height: auto;
    display: block;
}
.rev-diagram-dot {
    position: absolute;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #e30613;
    background: transparent;
    transform: translate(-50%, -50%);
    z-index: 3;
    cursor: pointer;
    padding: 0;
    transition:
        background 0.2s,
        transform 0.2s;
}
.rev-diagram-dot:hover {
    background: rgba(227, 6, 19, 0.12);
    transform: translate(-50%, -50%) scale(1.1);
}
.rev-diagram-dot.active {
    border-color: transparent;
    background: transparent;
}
.rev-diagram-dot:not(.active) {
    animation: diagPulse 2.5s ease-in-out infinite;
}
@keyframes diagPulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(227, 6, 19, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(227, 6, 19, 0);
    }
}
.rev-diagram-overlay {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #e30613;
    transform: translate(-50%, -50%) scale(0.7);
    z-index: 5;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition:
        opacity 0.35s ease,
        transform 0.35s ease;
}
.rev-diagram-overlay.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.rev-diagram-overlay-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

