/* ============================================================
   26. SEKCJA PLIKI BIM I DWG
   ============================================================ */
.rev-bim-section {
    padding: 60px;
    width: 100%;
    box-sizing: border-box;
}
.rev-bim-layout {
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: start;
}
.rev-bim-sidebar {
    position: sticky;
    top: 24px;
    background: #fff;
    border: 1px solid #e0e0e0;
}
.rev-bim-sidebar-label {
    font-family: "Bahnschrift", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #999;
    padding: 16px 20px 8px;
    margin: 0 !important;
    border-bottom: 1px solid #f0f0f0;
}
.rev-bim-nav {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.rev-bim-nav li {
    margin: 0 !important;
}
.rev-bim-nav-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: none;
    border: none;
    border-left: 3px solid transparent;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
    border-bottom: 1px solid #f8f8f8;
    gap: 8px;
}
.rev-bim-nav-btn:hover {
    background: #f8f8f8;
    border-left-color: #e0e0e0;
}
.rev-bim-nav-btn.active {
    background: #f8f8f8;
    border-left-color: #e30613;
}
.rev-bim-nav-name {
    font-family: "Bahnschrift", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #1c1c1b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex: 1;
}
.rev-bim-nav-btn.active .rev-bim-nav-name {
    color: #e30613;
}
.rev-bim-nav-count {
    font-family: "Bahnschrift", sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: #ccc;
    padding: 2px 7px;
    flex-shrink: 0;
    min-width: 24px;
    text-align: center;
}
.rev-bim-nav-btn.active .rev-bim-nav-count {
    background: #e30613;
}
.rev-bim-panel {
    display: none;
}
.rev-bim-panel.active {
    display: block;
}
.rev-bim-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.rev-bim-panel-title {
    font-family: "Bahnschrift", sans-serif !important;
    font-size: clamp(20px, 2.5vw, 30px) !important;
    font-weight: 300 !important;
    text-transform: uppercase !important;
    color: #1c1c1b !important;
    line-height: 1 !important;
    margin: 0 !important;
}
.rev-bim-subtabs {
    display: flex;
    gap: 0;
    border: 1px solid #e0e0e0;
    flex-shrink: 0;
}
.rev-bim-subtab {
    padding: 10px 20px;
    background: #fff;
    border: none;
    border-right: 1px solid #e0e0e0;
    font-family: "Bahnschrift", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #888;
    cursor: pointer;
    transition: all 0.2s;
}
.rev-bim-subtab:last-child {
    border-right: none;
}
.rev-bim-subtab:hover {
    background: #f8f8f8;
    color: #1c1c1b;
}
.rev-bim-subtab.active {
    background: #e30613;
    color: #fff;
}
.rev-bim-subpanel {
    display: none;
}
.rev-bim-subpanel.active {
    display: block;
}
.rev-bim-group-title {
    font-family: "Bahnschrift", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #888;
    padding: 8px 0 10px;
    margin-top: 24px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 8px;
}
.rev-bim-group-title:first-child {
    margin-top: 0;
}
.rev-bim-files {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 8px;
}
.rev-bim-file {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #e8e8e8;
    text-decoration: none !important;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}
.rev-bim-file:hover {
    border-left-color: #e30613;
    background: #fafafa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    text-decoration: none !important;
}
.rev-bim-file-ext {
    font-family: "Bahnschrift", sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 3px 7px;
    flex-shrink: 0;
    min-width: 36px;
    text-align: center;
}
.rev-bim-file-ext--bim {
    background: #1c1c1b;
    color: #fff;
}
.rev-bim-file-ext--dwg {
    background: #e30613;
    color: #fff;
}
.rev-bim-file-name {
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    color: #1c1c1b;
    flex: 1;
    line-height: 1.3;
}
.rev-bim-file-dl {
    font-family: "Bahnschrift", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #ccc;
    flex-shrink: 0;
    transition: color 0.2s;
}
.rev-bim-file:hover .rev-bim-file-dl {
    color: #e30613;
}

