/* ============================================
   OFFER PAGES - WSPÓLNE STYLE
   ============================================
   
   Plik zawiera style współdzielone przez wszystkie
   podstrony oferty (indywidualna, młodzież, pary, etc.)
   
   KOLORYSTYKA SPÓJNA Z GŁÓWNĄ STRONĄ:
   --psp-primary: #47657b
   --psp-secondary: #8299bb
   --psp-light: #f4f6f8
   --psp-text: #2d3436
   
   ============================================ */

/* ============================================
   HERO SECTION - WSPÓLNY LAYOUT
   ============================================ */

.psp-offer-hero {
    min-height: 70vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
    padding: 100px 0 80px 0;
    position: relative;
    /* Gradient ustawiany inline w każdym shortcode */
}

.psp-offer-hero-content {
    position: relative;
    z-index: 2;
}

/* Breadcrumb */
.psp-breadcrumb {
    margin-bottom: 30px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.psp-breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.psp-breadcrumb a:hover {
    opacity: 0.7;
}

.psp-breadcrumb-sep {
    margin: 0 10px;
    opacity: 0.6;
}

/* Header z ikoną */
.psp-offer-header {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 50px;
}

.psp-offer-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.psp-offer-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Białe ikony */
}

.psp-offer-title {
    font-family: var(--psp-font-heading);
    font-size: 3rem;
    color: white;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.psp-offer-lead {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.95;
    margin: 0;
    max-width: 600px;
}

/* Quick Stats */
.psp-offer-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.psp-stat-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.psp-stat-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.psp-stat-icon svg {
    width: 28px;
    height: 28px;
}

.psp-stat-content strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 3px;
}

.psp-stat-content span {
    font-size: 0.85rem;
    opacity: 0.85;
}

/* CTA Buttons */
.psp-offer-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.psp-btn-white {
    background: white;
    color: var(--psp-primary);
}

.psp-btn-white:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.psp-btn-outline-white {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.psp-btn-outline-white:hover {
    background: white;
    color: var(--psp-primary);
}

/* ============================================
   DETAIL SECTION - GRID 2 KOLUMNY
   ============================================ */

.psp-detail-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
}

/* ============================================
   PRICE BOX - SIDEBAR
   ============================================ */

.psp-price-box {
    background: white;
    border: 2px solid var(--psp-secondary);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}

.psp-price-box-header {
    background: var(--psp-primary);
    color: white;
    padding: 20px;
    text-align: center;
}

.psp-price-box-header h3 {
    margin: 0;
    font-family: var(--psp-font-heading);
    font-size: 1.3rem;
  color:white;
}

.psp-price-box-body {
    padding: 30px;
}

.psp-price-main {
    text-align: center;
    margin-bottom: 20px;
}

.psp-price-amount {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--psp-primary);
    font-family: var(--psp-font-heading);
}

.psp-price-duration {
    font-size: 0.9rem;
    color: #999;
}

.psp-price-note {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

/* ============================================
   INFO BOX - SIDEBAR
   ============================================ */

.psp-info-box {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
}

.psp-info-box h4 {
    margin: 0 0 15px 0;
    font-family: var(--psp-font-heading);
    color: var(--psp-primary);
}

.psp-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.psp-info-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.psp-info-list li:last-child {
    border-bottom: none;
}

.psp-info-list strong {
    color: var(--psp-primary);
    margin-right: 8px;
}

/* ============================================
   ALERT/NOTE BOXES
   ============================================ */

.psp-alert-box {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    padding: 20px;
    margin-top: 20px;
}

.psp-alert-box strong {
    display: block;
    color: #856404;
    margin-bottom: 8px;
    font-size: 1rem;
}

.psp-alert-box p {
    margin: 0;
    color: #856404;
    font-size: 0.9rem;
    line-height: 1.6;
}

.psp-info-note {
    background: linear-gradient(135deg, #f4f6f8 0%, #e8ecf0 100%);
    border-left: 4px solid var(--psp-secondary);
    padding: 25px;
    border-radius: 6px;
    margin-top: 30px;
}

.psp-info-note h4 {
    margin: 0 0 10px 0;
    font-family: var(--psp-font-heading);
    color: var(--psp-primary);
    font-size: 1.1rem;
}

.psp-info-note p {
    margin: 0;
    color: #555;
    line-height: 1.7;
}

/* ============================================
   WHY GRID - 3 KOLUMNY BENEFITÓW
   ============================================ */

.psp-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.psp-why-card {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.psp-why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(71, 101, 123, 0.1);
    border-color: var(--psp-secondary);
}

.psp-why-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px auto;
    color: var(--psp-secondary);
}

.psp-why-icon svg {
    width: 100%;
    height: 100%;
}

.psp-why-title {
    font-family: var(--psp-font-heading);
    font-size: 1.2rem;
    color: var(--psp-primary);
    margin: 0 0 12px 0;
}

.psp-why-desc {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   APPROACHES GRID - 2 KOLUMNY
   ============================================ */

.psp-approaches-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.psp-approach-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 35px;
    transition: all 0.3s ease;
}

.psp-approach-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(71, 101, 123, 0.1);
    border-color: var(--psp-secondary);
}

.psp-approach-name {
    font-family: var(--psp-font-heading);
    font-size: 1.3rem;
    color: var(--psp-primary);
    margin: 0 0 15px 0;
}

.psp-approach-desc {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.psp-approach-link {
    color: var(--psp-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.psp-approach-link:hover {
    color: var(--psp-primary);
}

/* ============================================
   PROCESS TIMELINE
   ============================================ */

.psp-process-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.psp-process-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 50px;
    bottom: 50px;
    width: 2px;
    background: linear-gradient(to bottom, var(--psp-secondary), var(--psp-primary));
}

.psp-process-item {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
}

.psp-process-item:last-child {
    margin-bottom: 0;
}

.psp-process-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--psp-primary) 0%, var(--psp-secondary) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(71, 101, 123, 0.3);
    position: relative;
    z-index: 2;
}

.psp-process-content {
    flex: 1;
    padding-top: 10px;
}

.psp-process-title {
    font-family: var(--psp-font-heading);
    font-size: 1.3rem;
    color: var(--psp-primary);
    margin: 0 0 10px 0;
}

.psp-process-desc {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   PROCESS CARDS (alternatywa dla timeline)
   ============================================ */

.psp-process-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.psp-process-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.psp-process-card:hover {
    transform: translateY(-5px);
    border-color: var(--psp-secondary);
    box-shadow: 0 10px 25px rgba(71, 101, 123, 0.1);
}

.psp-process-step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--psp-primary), var(--psp-secondary));
    color: white;
    border-radius: 50%;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 50px;
    margin-bottom: 20px;
}

.psp-process-card-title {
    font-family: var(--psp-font-heading);
    font-size: 1.1rem;
    color: var(--psp-primary);
    margin: 0 0 12px 0;
}

.psp-process-card-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   HELP GRID - COMPACT (dla dłuższych list)
   ============================================ */

.psp-help-grid-compact {
    grid-template-columns: repeat(2, 1fr);
}

/* ============================================
   RESPONSYWNOŚĆ - OGÓLNA
   ============================================ */

@media (max-width: 992px) {
    .psp-offer-header {
        flex-direction: column;
    }
    
    .psp-offer-title {
        font-size: 2.2rem;
    }
    
    .psp-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .psp-detail-sidebar {
        order: -1; /* Sidebar na górę na mobile */
    }
    
    .psp-approaches-grid {
        grid-template-columns: 1fr;
    }
    
    .psp-why-grid {
        grid-template-columns: 1fr;
    }
    
    .psp-help-grid-compact {
        grid-template-columns: 1fr;
    }
    
    .psp-process-timeline::before {
        left: 30px;
    }
    
    .psp-process-number {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
    
    .psp-process-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .psp-offer-hero {
        padding: 80px 0 60px 0;
    }
    
    .psp-offer-title {
        font-size: 1.8rem;
    }
    
    .psp-offer-lead {
        font-size: 1rem;
    }
    
    .psp-offer-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .psp-offer-icon {
        width: 70px;
        height: 70px;
    }
    
    .psp-process-timeline::before {
        display: none;
    }
    
    .psp-process-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .psp-process-cards {
        grid-template-columns: 1fr;
    }
}


/**
 * PSP FAQ Component Styles
 * Globalny plik ze stylami dla sekcji FAQ
 * Używany w: offer_pary.php, offer-diagnoza.php, offer_biznes.php
 */

/* ============================================
   FAQ CONTAINER & ITEMS
   ============================================ */

.psp-faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.psp-faq-item {
    background: white;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 20px;
    border-left: 4px solid var(--psp-secondary);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.psp-faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(71, 101, 123, 0.12);
}

.psp-faq-question {
    font-family: var(--psp-font-heading);
    color: var(--psp-primary);
    font-size: 1.2rem;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.psp-faq-question::before {
    content: 'Q: ';
    font-weight: 700;
    color: var(--psp-secondary);
    margin-right: 5px;
}

.psp-faq-answer {
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

/* ============================================
   RESPONSYWNOŚĆ
   ============================================ */

@media (max-width: 768px) {
    .psp-faq-item {
        padding: 25px 20px;
    }
    
    .psp-faq-question {
        font-size: 1.1rem;
    }
    
    .psp-faq-answer {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .psp-faq-item {
        padding: 20px 15px;
    }
    
    .psp-faq-question {
        font-size: 1rem;
    }
}