/* ==========================================================================
   GLOBALNE USTAWIENIA (Zoptymalizowane RWD)
   ========================================================================== */
body, html {
    overflow-x: hidden;
    width: 100%;
}

.services-container {
    max-width: 1300px;
    margin: 0 auto;
}

.mt-auto {
    margin-top: auto;
}

/* ==========================================================================
   SEKCJA 1: HERO & BRUKARSTWO
   ========================================================================== */
.services-hero-section {
    padding: clamp(40px, 5vw, 60px) 0 clamp(60px, 8vw, 100px) 0;
    background-color: #ffffff;
}

.services-header-wrapper {
    text-align: center;
    margin-bottom: clamp(40px, 5vw, 60px);
}

.services-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    border-radius: 30px;
    background-color: #dbeafe;
    color: #306EB5;
    font-weight: 600;
    font-size: clamp(12px, 1.2vw, 14px);
    margin-bottom: 16px;
}

.services-main-title {
    font-weight: 700;
    margin-bottom: 16px;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
}

.services-main-desc {
    font-size: clamp(16px, 1.5vw, 18px);
    color: #4b5563;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.brukarstwo-card {
    background-color: #ffffff;
    border-radius: clamp(20px, 3vw, 32px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    position: relative;
}

.brukarstwo-image-col {
    width: 50%;
    position: relative;
    overflow: hidden;
    background-color: #e5e7eb;
    min-height: clamp(300px, 30vw, 400px);
}

.brukarstwo-image-col img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.brukarstwo-card:hover .brukarstwo-image-col img {
    transform: scale(1.05);
}

.brukarstwo-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent, transparent);
    pointer-events: none;
}

.brukarstwo-image-badge {
    position: absolute;
    bottom: clamp(16px, 2vw, 24px);
    left: clamp(16px, 2vw, 24px);
    right: clamp(16px, 2vw, 24px);
}

.brukarstwo-image-badge span {
    background-color: #306EB5;
    color: #ffffff;
    font-size: clamp(10px, 1vw, 12px);
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 8px;
    display: inline-block;
}

.brukarstwo-content-col {
    width: 50%;
    padding: clamp(32px, 5vw, 64px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brukarstwo-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    color: #1e293b;
    margin-bottom: clamp(16px, 2vw, 24px);
    line-height: 1.2;
}

.brukarstwo-desc {
    color: #4b5563;
    margin-bottom: 24px;
    line-height: 1.6;
    font-size: clamp(15px, 1.5vw, 18px);
}

.brukarstwo-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(12px, 1.5vw, 16px);
    margin: 1em 1em 1.5em 3em; 
    padding: 0;
    list-style: none;
}

.brukarstwo-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #374151;
    font-weight: 500;
    font-size: clamp(13px, 1.2vw, 15px);
}

.brukarstwo-features li svg {
    width: 16px;
    height: 16px;
    color: #306EB5;
    margin-top: 4px;
    flex-shrink: 0;
}

.brukarstwo-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #f3f4f6;
    color: #1e293b;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: clamp(14px, 1.2vw, 16px);
}

.brukarstwo-btn:hover {
    background-color: #e5e7eb;
}

.brukarstwo-btn svg {
    width: 14px;
    transition: transform 0.3s ease;
}

.brukarstwo-btn:hover svg {
    transform: translateX(4px);
}

/* ==========================================================================
   SEKCJA 2: TRANSPORT I DOSTAWY
   ========================================================================== */
.services-transport-section {
    background-color: #306EB5;
    padding: clamp(60px, 6vw, 80px) 0 clamp(80px, 8vw, 100px) 0;
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
#transport .services-container {
    padding: 0 clamp(16px, 3vw, 24px);
}

.transport-bg-icon {
    position: absolute;
    left: 20px;
    top: 80px; 
    color: #ffffff;
    opacity: 0.05;
    pointer-events: none;
    z-index: 1;
}

.transport-bg-icon svg {
    width: clamp(250px, 20vw, 350px);
    height: clamp(250px, 20vw, 350px);
}

.transport-container {
    position: relative;
    z-index: 10;
}

.transport-header {
    text-align: center;
    margin-bottom: clamp(40px, 5vw, 60px);
}

.transport-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.transport-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(16px, 1.5vw, 18px);
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.6;
}

.transport-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 2vw, 24px);
    align-items: stretch;
}

.transport-card {
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.transport-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
}

.tc-image-box {
    height: clamp(180px, 15vw, 250px);
    background-color: #f3f4f6;
    position: relative;
    overflow: hidden;
}

.tc-image-box img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.transport-card:hover .tc-image-box img {
    transform: scale(1.05);
}

.tc-content {
    padding: clamp(20px, 2vw, 30px);
    display: flex;
    flex-direction: column;
    flex: 1; 
}

.tc-name {
    font-size: clamp(18px, 1.8vw, 22px);
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 12px;
}

.tc-info {
    font-size: clamp(13px, 1.2vw, 15px);
    color: #4b5563;
    margin-bottom: clamp(16px, 2vw, 24px);
    line-height: 1.6;
}

.tc-features {
    background-color: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 8px;
    padding: 14px;
    list-style: none;
    margin-top: auto; 
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tc-features li {
    font-size: clamp(12px, 1vw, 13px);
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tc-features li svg {
    width: 14px;
    height: 14px;
    color: #306EB5;
    flex-shrink: 0;
}

/* ==========================================================================
   SEKCJA 3: CENNIK TRANSPORTU
   ========================================================================== */
.services-pricing-section {
    background-color: #306EB5; 
    padding: 0 0 clamp(60px, 8vw, 100px) 0; 
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
.services-pricing-section .services-container {
padding: 0 clamp(16px, 3vw, 24px);
}

.pricing-card {
    background-color: #ffffff;
    border-radius: clamp(20px, 3vw, 32px);
    padding: clamp(24px, 4vw, 40px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 10;
}

.pricing-header {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2vw, 24px);
    margin-bottom: clamp(24px, 3vw, 32px);
}

.ph-icon {
    background-color: #eff6ff; 
    color: #306EB5;
    width: clamp(48px, 5vw, 64px);
    height: clamp(48px, 5vw, 64px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ph-icon svg {
    width: clamp(24px, 2.5vw, 32px);
    height: clamp(24px, 2.5vw, 32px);
}

.ph-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.ph-subtitle {
    font-size: clamp(14px, 1.2vw, 15px);
    color: #64748b;
}

.pricing-info-box {
    background-color: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: clamp(16px, 2vw, 24px);
    margin-bottom: clamp(24px, 3vw, 40px);
}

.pi-title {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.pi-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pi-list li {
    font-size: clamp(13px, 1.2vw, 14px);
    color: #475569;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.pi-list li svg {
    width: 16px;
    height: 16px;
    color: #306EB5;
    margin-top: 3px;
    flex-shrink: 0;
}

.pricing-table-wrapper {
    overflow-x: auto; 
    border-radius: 16px;
    border: 2px solid rgba(48, 110, 181, 0.15); 
    box-shadow: 0 10px 25px rgba(48, 110, 181, 0.05);
}

.pricing-table {
    width: 100%;
    min-width: 800px; 
    border-collapse: collapse;
    text-align: left;
}

.pricing-table th {
    background-color: #f1f5f9;
    color: #1e293b;
    font-weight: 700;
    font-size: clamp(11px, 1vw, 13px);
    padding: clamp(12px, 1.5vw, 16px) clamp(16px, 2vw, 20px);
    letter-spacing: 0.5px;
    border: 1px solid #e2e8f0;
}

.pricing-table th:not(.col-pojazd) {
    text-align: center;
}

.pricing-table td {
    padding: clamp(12px, 1.5vw, 16px) clamp(16px, 2vw, 20px);
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: clamp(13px, 1.2vw, 14px);
}

.pricing-table td:not(.td-pojazd) {
    text-align: center;
}

.pricing-table tr.row-highlight {
    background-color: rgba(248, 250, 252, 0.6);
}

.pricing-table tr:hover {
    background-color: #eff6ff;
}

.td-pojazd {
    font-weight: 700;
    color: #306EB5 !important;
    text-transform: uppercase;
    font-size: clamp(13px, 1.2vw, 15px) !important;
}

.price-netto {
    font-weight: 800;
    color: #1e293b;
    font-size: clamp(14px, 1.5vw, 16px);
}

.price-brutto {
    font-size: 12px;
    color: #64748b;
}

.td-empty {
    font-weight: 800;
    color: #94a3b8 !important;
}

/* ==========================================================================
   SEKCJA 4 & 5: KATALOG WYNAJMU SPRZĘTU
   ========================================================================== */
.services-catalog-section {
    padding: clamp(40px, 5vw, 60px) 0;
    background-color: #ffffff;
}

.services-catalog-section.pt-0 {
    padding-top: 0;
}

.catalog-main-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: clamp(30px, 4vw, 40px);
    padding-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
}

@media (min-width: 768px) {
    .catalog-main-header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.catalog-main-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.catalog-main-desc {
    color: #4b5563;
    font-size: clamp(14px, 1.5vw, 16px);
}

.catalog-info-badge {
    background-color: #f1f5f9;
    color: #374151;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: clamp(13px, 1vw, 14px);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.catalog-info-badge svg {
    width: 20px;
    height: 20px;
    color: #306EB5;
}

.category-header-box {
    background-color: #ffffff;
    border-left: 4px solid #306EB5;
    border-radius: 2px 16px 16px 2px;
    padding: clamp(16px, 2vw, 20px) clamp(20px, 3vw, 24px);
    margin-bottom: clamp(24px, 3vw, 32px);
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.category-icon {
    background-color: #eff6ff;
    color: #306EB5;
    width: clamp(40px, 4vw, 48px);
    height: clamp(40px, 4vw, 48px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-icon svg {
    width: clamp(20px, 2vw, 24px);
    height: clamp(20px, 2vw, 24px);
}

.category-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 2vw, 24px);
    margin-bottom: clamp(40px, 5vw, 60px);
}

.catalog-card {
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.catalog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.cc-image-box {
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.cc-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
    transition: transform 0.5s ease;
}

.catalog-card:hover .cc-image-box img {
    transform: scale(1.05);
}

.cc-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: #306EB5;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    z-index: 2;
}

.cc-content {
    padding: clamp(16px, 2vw, 24px);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.cc-title {
    font-size: clamp(14px, 1.2vw, 15px);
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
    margin-bottom: 8px;
    min-height: 42px;
}

.cc-desc {
    font-size: clamp(11px, 1vw, 12px);
    color: #64748b;
    margin-bottom: 16px;
    line-height: 1.5;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

.cc-pricing-footer {
    border-top: 1px solid #f1f5f9;
    padding-top: 16px;
    margin-top: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.cc-price-col {
    display: flex;
    flex-direction: column;
}

.cc-deposit-col {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.cc-price-label {
    font-size: 10px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.cc-price-value {
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 700;
    color: #16a34a; 
}

.cc-price-value small {
    font-size: clamp(12px, 1vw, 14px);
    font-weight: 400;
}

.cc-deposit-value {
    font-size: clamp(16px, 1.5vw, 18px);
    font-weight: 600;
    color: #64748b;
}

.catalog-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(30px, 4vw, 40px) 0 clamp(40px, 5vw, 60px) 0;
    width: 100%;
}

.cs-line-left {
    flex: 1;
    min-width: 50px; 
    height: 2px; 
    background: linear-gradient(to right, transparent, #cbd5e1);
}

.cs-line-right {
    flex: 1;
    min-width: 50px;
    height: 2px;
    background: linear-gradient(to left, transparent, #cbd5e1);
}

.cs-icon {
    padding: 0 clamp(16px, 2vw, 24px);
    color: #cbd5e1;
}

.cs-icon svg {
    width: 24px;
    height: 24px;
}

.giant-icon-box {
    background-color: #f8fafc;
}

.giant-icon-box svg {
    width: clamp(48px, 5vw, 64px);
    height: clamp(48px, 5vw, 64px);
    color: #cbd5e1; 
    transition: color 0.3s ease, transform 0.5s ease;
}

.catalog-card:hover .giant-icon-box svg {
    color: #306EB5; 
    transform: scale(1.1);
}

/* ==========================================================================
   RESPONSYWNOŚĆ (RWD) DLA CAŁEJ PODSTRONY
   ========================================================================== */
@media (max-width: 1024px) {
    .brukarstwo-card {
        flex-direction: column;
    }
    .brukarstwo-image-col, .brukarstwo-content-col {
        width: 100%;
    }
    .brukarstwo-content-col {
        padding: clamp(30px, 4vw, 40px);
    }
    .brukarstwo-features {
        margin: 1em 1em 1.5em 1em;
    }
    
    .transport-grid, 
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .transport-bg-icon {
        top: 40px;
        left: -50px;
    }
}

@media (max-width: 768px) {
    .pricing-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .brukarstwo-features {
        grid-template-columns: 1fr;
        margin: 1em 0 1.5em 0;
    }
    
    .transport-grid,
    .catalog-grid {
        grid-template-columns: 1fr;
    }
    
    .transport-bg-icon {
        display: none;
    }
}