/* ===== CONTACT SECTION (CARD ON GREEN BG) ===== */

.gr-contact{
    padding: 0 0 100px;
    position: relative;
    overflow: hidden;
    background: #d8e8cf;

    margin-left: calc(50% - 50vw);
    width: 100vw;
}

.gr-contact::before{ top:-70px; right:-90px; }
.gr-contact::after{ bottom:-90px; left:-110px; }

.gr-contact__container{
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 32px;
    padding: 70px 64px;
    box-shadow: 0 20px 60px rgba(0,0,0,.06);
}

/* HEAD */
.gr-contact__head{
    text-align: center;
    margin-bottom: 56px;
}

.gr-contact__badge{
    display: inline-block;
    background: #dcfce7;
    color: #166534;
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 14px;
}

.gr-contact__title{
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #0f172a;
}

.gr-contact__subtitle{
    font-size: 18px;
    color: #64748b;
}

/* CARD (formularz) – zostaje jako delikatna wewnętrzna karta */
.gr-contact__card{
    background: #f8fafc;
    border-radius: 28px;
    padding: 56px;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.08);
}

/* FORM GRID */
.gr-contact__grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 28px;
}

.gr-contact__field{
    display: flex;
    flex-direction: column;
}

.gr-contact__field label{
    text-align: left;
    font-size: 14px;
    margin-bottom: 8px;
    color: #334155;
}

.gr-contact__field input,
.gr-contact__field textarea{
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    font-size: 15px;
    background: #fff;
}

.gr-contact__field textarea{
    margin-top: 0;
}

/* UWAGA: :has() nie działa wszędzie (np. część przeglądarek)
   więc robimy to bez :has() */
.gr-contact__field + .gr-contact__field textarea{
    margin-top: 0;
}

/* button */
.gr-contact__btn{
    margin-top: 32px;
    width: 100%;
    height: 56px;
    border-radius: 14px;
    background: #15803d;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: .2s;
}

.gr-contact__btn:hover{
    background: #166534;
}

/* FOOTER */
.gr-contact__footer{
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid #e2e8f0;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.gr-contact__footerItem{
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.gr-contact__footerIcon{
    width: 36px;
    height: 36px;
    background: #dcfce7;
    color: #15803d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.gr-contact__footerLabel{
    font-size: 14px;
    color: #64748b;
    margin-bottom: 4px;
}

.gr-contact__footerValue{
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
}

/* MOBILE */
@media (max-width: 900px){
    .gr-contact{
        padding: 80px 0;
        margin-top: 60px;
    }

    .gr-contact__container{
        padding: 36px 20px;
        border-radius: 24px;
    }

    .gr-contact__card{
        padding: 26px;
    }

    .gr-contact__grid{
        grid-template-columns: 1fr;
    }

    .gr-contact__title{
        font-size: 30px;
    }

    .gr-contact__footer{
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Smooth scroll */
html{
    scroll-behavior: smooth;
}
/* Sociale */

.gr-social-bar-contact {
    padding: 0 0 100px;
    position: relative;
    isolation: isolate;
}


.gr-social-bar__container {
    max-width: 80%;
    margin: 0 auto;
    padding: 0 16px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.gr-social-bar__item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 999px;
    text-decoration: none !important;
    color: #fff !important;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.22);
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.gr-social-bar__item:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.20);
    border-color: rgba(255,255,255,0.32);
}

.gr-social-bar__icon {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.18);
}

.gr-social-bar__label {
    font-weight: 600;
    font-size: 15px;
}

@media (max-width: 768px) {
    .gr-social-bar__container {
        max-width: 100%;
        gap: 12px;
    }
    .gr-social-bar__item {
        width: 100%;
        max-width: 520px;
        justify-content: center;
    }
}

/* NEW: "Śledź nas →" hint next to icons */
.gr-social-bar__hint{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-right: 12px;
    color: rgba(255,255,255,0.92);
    font-weight: 700;
    letter-spacing: 0.01em;
    user-select: none;
}

.gr-social-bar__hintText{
    font-size: 80px;
}

.gr-social-bar__hintArrow{
    font-size: 30px;
    line-height: 1;
    opacity: 0.95;
}

@media (max-width: 768px) {
    .gr-social-bar__container {
        max-width: 100%;
        gap: 12px;
    }

    .gr-social-bar__hint{
        width: 100%;
        justify-content: center;
        margin-right: 0;
        margin-bottom: 6px;
    }

    .gr-social-bar__hintArrow{
        transform: rotate(90deg);
    }

    .gr-social-bar__item {
        width: 100%;
        max-width: 520px;
        justify-content: center;
    }
}

.gr-contact__consent{
    padding-top: 20px;
}

/* NEW: brand colors for icons (uses aria-label on the <a>) */
.gr-social-bar__item[aria-label="Facebook"] .gr-social-bar__icon{
    background: #1877F2; /* Facebook Blue */
}

.gr-social-bar__item[aria-label="Instagram"] .gr-social-bar__icon{
    /* Instagram gradient-like */
    background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 8%, #fd5949 35%, #d6249f 62%, #285AEB 100%);
}

.gr-social-bar__item[aria-label="TikTok"] .gr-social-bar__icon{
    background: #000; /* TikTok is typically black */
}

/* Make the SVG inside icon white for contrast */
.gr-social-bar__item .gr-social-bar__icon svg{
    color: #fff;
}

