/* NAGŁÓWEK */

.contact-hero {
    text-align: center;
    padding: 35px 20px 30px;
    background: radial-gradient(
        ellipse at top,
        rgba(56, 189, 248, 0.09),
        transparent 70%
    );
}

.contact-hero .subtitle {
    color: #38bdf8;
    font-size: 13px;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.contact-hero h1 {
    color: #ffffff;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.2;
    margin: 0 0 12px;
}

.contact-hero h1 span {
    color: #38bdf8;
}

.contact-hero > p:last-child {
    color: #94a3b8;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 auto;
}


/* KAFELKI KONTAKTOWE */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px 25px 25px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #111c2d;
    border: 1px solid #243449;
    border-radius: 14px;
    padding: 22px;
    min-width: 0;
    transition: border-color 0.3s,
                box-shadow 0.3s;
}

.contact-item:hover {
    border-color: #38bdf8;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.08);
}


/* IKONY */

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(56, 189, 248, 0.08);
    color: #38bdf8;
    border-radius: 10px;
    margin-bottom: 12px;
}

.contact-icon svg {
    width: 25px;
    height: 25px;
}


/* TEKST */

.contact-item h2 {
    color: #ffffff;
    font-size: 19px;
    margin: 0 0 8px;
}

.contact-item p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    overflow-wrap: anywhere;
}

.contact-item a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #38bdf8;
}


/* WYBRANA USŁUGA */

.order-info {
    max-width: 950px;
    margin: 0 auto 25px;
    padding: 20px;
    text-align: center;
    background: #111c2d;
    border: 1px solid #38bdf8;
    border-radius: 12px;
}

.order-info[hidden] {
    display: none;
}

.order-info h2 {
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 10px;
}

.order-info p {
    color: #38bdf8;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.order-info .btn-primary {
    display: inline-block;
    padding: 9px 18px;
    font-size: 13px;
}


/* FAQ */

.faq-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px 25px 35px;
}

.faq-section h2 {
    text-align: center;
    color: #ffffff;
    font-size: 25px;
    margin: 0 0 20px;
}

.faq-section details {
    background: #111c2d;
    border: 1px solid #243449;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-section summary {
    position: relative;
    padding: 15px 45px 15px 20px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.faq-section summary::-webkit-details-marker {
    display: none;
}

.faq-section summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #38bdf8;
    font-size: 22px;
}

.faq-section details[open] summary::after {
    content: "−";
}

.faq-section details[open] {
    border-color: #38bdf8;
}

.faq-section details p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.7;
    padding: 0 20px 16px;
    margin: 0;
}


/* TELEFONY */

@media (max-width: 600px) {

    .contact-hero {
        padding: 25px 15px 20px;
    }

    .contact-hero h1 {
        font-size: 30px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 10px 15px 20px;
    }

    .contact-item {
        padding: 18px;
    }

    .contact-item h2 {
        font-size: 18px;
    }

    .order-info {
        margin: 0 15px 20px;
    }

    .faq-section {
        padding: 10px 15px 25px;
    }

    .faq-section h2 {
        font-size: 22px;
    }

}