/* ================================================
   BIURO RACHUNKOWE - CSS
   Kolory: Seledyn (#1fb1c1) i Szary (#3e4f60)
   ================================================ */

.office-section {
    padding: 40px 20px;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    margin: 40px 0;
}

.office-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== HEADER ===== */
.office-header {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInDown 0.6s ease-out;
}

.office-header h2 {
    font-size: 2.5rem;
    color: #1fb1c1;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.office-intro {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== MAIN INTRO ===== */
.office-main-intro {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(31, 177, 193, 0.1);
    margin-bottom: 50px;
}

.office-main-intro p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1rem;
}

.office-main-intro h3 {
    color: #1fb1c1;
    font-size: 1.3rem;
    margin: 30px 0 20px 0;
    font-weight: 600;
}

.office-services-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.office-services-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.office-services-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #1fb1c1;
    font-weight: bold;
    font-size: 1.2rem;
}

.office-closing {
    margin-top: 25px;
    padding: 20px;
    background: #e8f5f7;
    border-left: 4px solid #1fb1c1;
    border-radius: 4px;
    color: #333;
}

.office-cta-text {
    margin-top: 20px;
    font-weight: 600;
    color: #3e4f60;
    font-size: 1.05rem;
}

/* ===== EXPANDABLE SECTIONS ===== */
.office-expandable-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.office-expand-box {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.office-expand-box:hover {
    box-shadow: 0 12px 35px rgba(31, 177, 193, 0.2);
}

/* ===== IMAGE WITH OVERLAY ===== */
.office-expand-image {
    height: 350px;
    background-size: cover;
    background-position: center;
    position: relative;
    cursor: pointer;
}

.office-expand-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(31, 177, 193, 0.75) 0%, rgba(62, 79, 96, 0.75) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    transition: all 0.4s ease;
}

.office-expand-box:hover .office-expand-overlay {
    background: linear-gradient(135deg, rgba(31, 177, 193, 0.85) 0%, rgba(62, 79, 96, 0.85) 100%);
}

.office-expand-overlay h3 {
    color: white;
    font-size: 2rem;
    margin: 0 0 20px 0;
    font-weight: 700;
    text-align: center;
}

/* ===== EXPANDABLE CONTENT ===== */
.office-expand-content {
    display: block;
}

.office-expand-inner {
    padding: 40px;
}

.office-expand-inner p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1rem;
}

.office-expand-inner h4 {
    color: #1fb1c1;
    font-size: 1.5rem;
    margin: 0 0 25px 0;
    font-weight: 700;
}

.office-expand-inner h5 {
    color: #3e4f60;
    font-size: 1.2rem;
    margin: 20px 0 10px 0;
    font-weight: 600;
}

.office-expand-inner ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.office-expand-inner ul li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.office-expand-inner ul li:before {
    content: "•";
    position: absolute;
    left: 10px;
    color: #1fb1c1;
    font-weight: bold;
    font-size: 1.4rem;
}

.office-highlight {
    background: #e8f5f7;
    padding: 15px 20px;
    border-radius: 6px;
    margin: 20px 0;
    font-style: italic;
}

/* ===== HIGHLIGHT BOX ===== */
.office-highlight-box {
    background: linear-gradient(135deg, #e8f5f7 0%, #f0f9fa 100%);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 60px;
    border: 2px solid #1fb1c1;
    box-shadow: 0 4px 15px rgba(31, 177, 193, 0.15);
}

.office-highlight-box p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0 0 15px 0;
}

.office-highlight-strong {
    color: #1fb1c1;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

/* ===== BOTTOM CTA ===== */
.office-bottom-cta {
    text-align: center;
    padding: 50px;
    background: linear-gradient(135deg, #1fb1c1 0%, #3e4f60 100%);
    border-radius: 16px;
    color: white;
}

.office-bottom-cta h3 {
    font-size: 2rem;
    margin: 0 0 15px 0;
    font-weight: 700;
    color: white;
}

.office-bottom-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.8;
    opacity: 0.95;
}

.office-cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: white;
    color: #1fb1c1;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.office-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .office-expandable-sections {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .office-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .office-section {
        padding: 40px 15px;
    }

    .office-header h2 {
        font-size: 1.8rem;
    }

    .office-intro {
        font-size: 1rem;
    }

    .office-main-intro {
        padding: 25px;
    }

    .office-expand-image {
        height: 250px;
    }

    .office-expand-overlay h3 {
        font-size: 1.6rem;
    }

    .office-expand-inner {
        padding: 25px;
    }

    .office-bottom-cta {
        padding: 35px 25px;
    }

    .office-bottom-cta h3 {
        font-size: 1.6rem;
    }

    .office-bottom-cta p {
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    .office-section {
        padding: 30px 10px;
    }

    .office-header h2 {
        font-size: 1.5rem;
    }

    .office-intro {
        font-size: 0.9rem;
    }

    .office-main-intro {
        padding: 20px;
    }

    .office-main-intro h3 {
        font-size: 1.1rem;
    }

    .office-expandable-sections {
        gap: 20px;
    }

    .office-expand-image {
        height: 200px;
    }

    .office-expand-overlay h3 {
        font-size: 1.3rem;
    }

    .office-expand-toggle {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .office-expand-inner {
        padding: 20px;
    }

    .office-expand-inner h4 {
        font-size: 1.2rem;
    }

    .office-expand-inner h5 {
        font-size: 1rem;
    }

    .office-benefit {
        padding: 15px;
    }

    .office-bottom-cta {
        padding: 25px 15px;
    }

    .office-bottom-cta h3 {
        font-size: 1.3rem;
    }

    .office-bottom-cta p {
        font-size: 0.95rem;
    }

    .office-cta-button {
        padding: 12px 30px;
        font-size: 0.95rem;
    }
}
