/* ============================================================
   15. SEKCJA GRUP DOCELOWYCH
   ============================================================ */
.rev-groups-section {
    padding: 0;
    background: #fff;
    overflow: hidden;
}
.rev-groups-header {
    padding: 0px 60px 40px;
    max-width: 1500px;
    margin: 0 auto;
}
.rev-groups-subtitle {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #e30613;
    margin-bottom: 12px;
    display: block;
}
.rev-groups-title {
    font-family: "Bahnschrift", sans-serif;
    font-size: 36px !important;
    font-weight: 300;
    text-transform: uppercase;
    color: #1c1c1b;
    line-height: 1.05;
    margin-bottom: 16px !important;
}
.rev-groups-title strong {
    font-weight: 900;
    display: block;
}
.rev-groups-header-line {
    width: 48px;
    height: 3px;
    background: #e30613;
}
.rev-groups-tabs {
    display: flex;
    align-items: left !important;
    justify-content: space-between;
    border-top: 2px solid #e0e0e0;
    border-bottom: none;
    max-width: 1380px;
    margin: 0 auto;
}
.rev-groups-tab {
    display: flex;
    align-items: left;
    gap: 10px;
    padding: 16px 20px;
    background: none;
    border: none;
    border-top: 3px solid transparent;
    margin-top: -2px;
    cursor: pointer;
    font-family: "Bahnschrift", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #aaa;
    transition: color 0.2s;
    flex: 1;
    justify-content: left;
}
.rev-groups-tab:first-child {
    justify-content: flex-start;
}
.rev-groups-tab:last-child {
    justify-content: start;
}
.rev-groups-tab:hover {
    color: #fff;
}
.rev-groups-tab:hover .rev-groups-tab-num {
    color: #fff;
}
.rev-groups-tab.active {
    background: #e30613;
    color: #fff;
    border-top-color: #e30613;
}
.rev-groups-tab.active .rev-groups-tab-num,
.rev-groups-tab.active .rev-groups-tab-name {
    color: #fff;
}
.rev-groups-tab-num {
    color: #e30613;
    font-size: 13px;
}
.rev-groups-panels {
    max-width: 1500px;
    margin: 0 auto;
    padding: 48px 60px 72px;
}
.rev-groups-panel {
    display: none;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: start;
}
.rev-groups-panel.active {
    display: grid;
    animation: panelFadeIn 0.3s ease;
}
@keyframes panelFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.rev-groups-panel-img {
    overflow: hidden;
}
.rev-groups-panel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 460px;
}
.rev-groups-panel-content {
    display: flex;
    flex-direction: column;
}
.rev-groups-panel-title {
    font-family: "Bahnschrift", sans-serif;
    font-size: clamp(20px, 2.5vw, 30px);
    font-weight: 300;
    color: #1c1c1b;
    line-height: 1.3;
    margin-bottom: 12px !important;
    text-transform: none !important;
}
.rev-groups-panel-title strong {
    font-weight: 700;
}
.rev-groups-panel-lead {
    font-size: 16px !important;
    color: #666 !important;
    line-height: 1.7 !important;
    margin-bottom: 28px !important;
}
.rev-groups-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: #e0e0e0;
    border: 1px solid #e0e0e0;
    margin-bottom: 28px;
}
.rev-groups-panel-grid--221 {
    grid-template-columns: 1fr 1fr;
}
.rev-groups-panel-card--full {
    grid-column: 1 / -1;
}
.rev-groups-panel-card {
    background: #fff;
    padding: 24px;
    transition: background 0.2s;
}
.rev-groups-panel-card:hover {
    background: #f8f8f8;
}
.rev-groups-panel-card-title {
    font-family: "Bahnschrift", sans-serif;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1c1c1b !important;
    margin-bottom: 8px !important;
    line-height: 1.3 !important;
}
.rev-groups-panel-card-text {
    font-size: 14px !important;
    color: #777 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}
.rev-groups-panel-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    background: #e30613;
    color: #fff !important;
    font-family: "Bahnschrift", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: background 0.3s;
    align-self: flex-start;
}
.rev-groups-panel-btn:hover {
    background: #c00510;
    color: #fff !important;
}