/* ==========================================================================
   MANAWA FLOW - FAQ STYLES (BRAND HEADER + 2-COL GRID)
   ========================================================================== */

/* --- 1. HERO SECTION (BRAND STYLE) --- */
.faq-hero {
    padding: 180px 20px 80px; /* Duży padding od góry jak na innych stronach */
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(52, 99, 153, 0.05) 0%, transparent 70%);
}

/* Upewniamy się, że style tekstowe są spójne z marką */
.faq-hero .brand-subhead {
    justify-content: center; /* Wyśrodkowanie małego napisu */
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
}

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

.faq-hero p {
    font-size: 1.15rem;
    color: #475569;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- 2. FAQ GRID CONTAINER (UKŁAD 2-KOLUMNOWY) --- */
.faq-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dwie równe kolumny */
    gap: 25px; /* Odstęp między kafelkami */
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 100px;
}

/* --- 3. FAQ ITEM (KAFELEK) --- */
.faq-item {
    background: #fff;
    border-radius: 20px; /* Brandowy radius */
    overflow: hidden;
    border: 1px solid rgba(15, 42, 74, 0.08);
    box-shadow: 0 10px 30px -10px rgba(15, 42, 74, 0.03);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Stan aktywny (otwarty) lub hover */
.faq-item.active,
.faq-item:hover {
    box-shadow: 0 20px 40px -5px rgba(15, 42, 74, 0.1);
    border-color: rgba(52, 99, 153, 0.3);
    transform: translateY(-3px);
}

.faq-item.active {
     background: linear-gradient(to bottom, #fff, #f8faff);
}

/* --- 4. FAQ HEADER (PYTANIE) --- */
.faq-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    outline: none;
    min-height: 90px; /* Wysokość dla wyrównania wizualnego */
}

/* Tekst pytania */
.faq-question {
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-accent-1);
    padding-right: 20px;
    line-height: 1.4;
}

.faq-item.active .faq-question {
    color: var(--color-accent-2); /* Błękit przy otwarciu */
}

/* Ikona (Plus/Minus) */
.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(52, 99, 153, 0.08);
    color: var(--color-accent-2);
    font-size: 1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

/* Animacja ikony */
.faq-item.active .faq-icon {
    transform: rotate(135deg);
    background: var(--color-accent-2);
    color: #fff;
}

/* --- 5. FAQ BODY (TREŚĆ) --- */
.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.4s ease;
    opacity: 0;
}

.faq-content {
    padding: 0 30px 30px 30px;
    color: #475569;
    line-height: 1.7;
    font-size: 1rem;
    border-top: 1px solid rgba(0,0,0,0.03); /* Delikatna linia oddzielająca */
    margin-top: 5px;
    padding-top: 20px;
}

/* Stan aktywny (otwieranie) */
.faq-item.active .faq-body {
    max-height: 600px; /* Bezpieczny zapas */
    opacity: 1;
}

/* --- RWD --- */
@media (max-width: 992px) {
    .faq-grid-container {
        grid-template-columns: 1fr; /* 1 kolumna na mniejszych ekranach */
        gap: 20px;
    }
    
    .faq-hero { padding-top: 140px; }
    .hero-title { font-size: 2.5rem; }
}
/* ==========================================================================
   FAQ FINAL CTA - DEEP OCEAN STRIP (PEŁNA SZEROKOŚĆ)
   ========================================================================== */

/* 1. KOREKTA SIATKI PYTAŃ (Mniej odstępu na dole) */
.faq-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    /* Zmniejszamy padding dolny, bo zaraz wchodzi ciemna sekcja */
    padding-bottom: 60px; 
}

/* 2. NOWA SEKCJA CTA (PEŁNA SZEROKOŚĆ) */
.faq-final-cta {
    width: 100%;
    /* Głęboki gradient na całą szerokość */
    background: linear-gradient(135deg, var(--color-accent-1) 0%, #050a10 100%);
    padding: 100px 20px; /* Duży padding wewnątrz dla oddechu */
    margin-top: 0; /* Zero marginesu - przyklejamy do sekcji wyżej */
    position: relative;
    overflow: hidden;
    color: #fff;
    text-align: center;
}

/* Dekoracyjny blask w tle */
.faq-final-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px; /* Większy blask */
    height: 800px;
    background: radial-gradient(circle, rgba(52, 99, 153, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* Kontener na treść wewnątrz paska */
.faq-cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.faq-final-cta h2 {
    font-family: var(--font-head);
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 25px;
}

.faq-final-cta p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 45px;
    line-height: 1.6;
}

/* Przyciski */
.faq-btns-wrapper {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white-solid {
    background: #fff;
    color: var(--color-accent-1);
    padding: 18px 50px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-white-solid:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
    background: #fff; /* Pozostaje biały */
}

.btn-glass-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    padding: 18px 50px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-glass-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    transform: translateY(-3px);
}

/* RWD */
@media (max-width: 992px) {
    .faq-grid-container { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .faq-final-cta h2 { font-size: 2rem; }
    .faq-btns-wrapper { flex-direction: column; gap: 15px; }
    .btn-white-solid, .btn-glass-outline { width: 100%; justify-content: center; }
}