/* ==========================================================================
   STYLE DLA STRON PRAWNYCH (ATLANTIC DEPTH + HARMONIJKA)
   ========================================================================== */

/* --- 1. HERO LEGAL --- */
.legal-hero {
    padding: 160px 20px 80px;
    text-align: center;
    background: radial-gradient(circle at 50% 100%, rgba(52, 99, 153, 0.08) 0%, transparent 60%);
}

.hero-title { 
    font-size: clamp(2.5rem, 5vw, 3.5rem); 
    margin-bottom: 20px; 
    line-height: 1.2; 
    color: var(--color-accent-1); 
    font-family: var(--font-head);
}

.hero-desc {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* --- 2. HARMONIJKA (ACCORDION) --- */
.legal-section {
    background: #fff;
    padding-top: 0;
}

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

.accordion-item {
    background: #fff;
    border: 1px solid rgba(15, 42, 74, 0.08); /* Delikatna ramka */
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: 0.3s;
}

.accordion-item:hover {
    border-color: rgba(52, 99, 153, 0.3);
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

/* NAGŁÓWEK (PRZYCISK) */
.accordion-header {
    width: 100%;
    background: #fff;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    cursor: pointer;
    text-align: left;
    outline: none;
    transition: background 0.3s;
}

.accordion-header:hover {
    background: #f8faff;
}

.accordion-header.active {
    background: #f0f7ff; /* Jasny błękit gdy otwarte */
    border-bottom: 1px solid rgba(15, 42, 74, 0.05);
}

.question-text {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-accent-1);
}

.icon {
    font-size: 1rem;
    color: var(--color-accent-2); /* Błękitny plus */
    transition: transform 0.3s;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(52, 99, 153, 0.1);
}

/* TREŚĆ (CHOWANA) */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fff;
}

.content-inner {
    padding: 25px;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.7;
}

/* FORMATOWANIE TEKSTU WEWNĄTRZ */
.content-inner p { margin-bottom: 15px; }
.content-inner ul, .content-inner ol { margin-bottom: 15px; padding-left: 20px; }
.content-inner li { margin-bottom: 8px; }
.content-inner strong { color: var(--color-accent-1); }

/* Linki w tekście */
.content-inner a {
    color: var(--color-accent-2);
    text-decoration: underline;
}

/* RWD */
@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .question-text { font-size: 1rem; }
}