.talk-page--contact {
    background-image: url("/images/PolishCountryside.jpg");
    background-size: cover;
    background-position: center;
    position: relative;
}

.talk-container {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 120px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

/* ---------- LEFT ---------- */
.talk-left h1 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 24px;
}

.talk-left p {
    font-size: 15px;
    margin-bottom: 12px;
}

.talk-right h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
}

.bank {
    margin-bottom: 24px;
}

.bank p {
    font-size: 14px;
}

.talk-socials {
    margin-top: 32px;
    display: flex;
    gap: 18px;
}

.talk-socials a {
    font-size: 20px;
    color: #4b1c5c;
}
.talk-page--full {
    min-height: calc(100vh - 80px);
}
.talk-page--full .talk-container {
    padding: 180px 24px 120px;
}

.talk-page--full::before {
    top: 80px;
}

.talk-page--split {
    min-height: auto;
}

.talk-page--split::before {
    top: 0;
}
.talk-page--split .talk-container {
    padding: 140px 24px;
}
@media (max-width: 900px) {

    .form-wrapper {
        padding: 140px 20px 100px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .form-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}
.talk-scroll {
    position: relative;
    z-index: 1;
}
.talk-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}
.talk-form-section {
    background: #ffffff;
    padding: 80px 32px 60px;
}

.talk-form-section::before {
    display: none;
}
@media (max-width: 768px) {
    .talk-form-section {
        padding: 60px 16px;
    }

    .form-wrapper {
        padding: 40px 24px;
        border-radius: 20px;

    }
}

.form-wrapper {
    max-width: 760px;
    margin-left: auto;
    margin-right: 6%;


    background: rgba(246, 242, 236, 0.92);
    border-radius: 28px;
    padding: 52px 52px 60px;

    border: 2px solid rgba(255, 255, 255, 0.75);
    box-shadow:
            0 25px 70px rgba(0, 0, 0, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.6);

    backdrop-filter: blur(6px);
}
.form-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 28px;
    pointer-events: none;
    border: 2px solid rgba(200, 200, 200, 0.8);
    box-shadow:
            inset 0 0 0 1px rgba(255, 255, 255, 0.35),
            inset 0 -1px 0 rgba(255, 255, 255, 0.25);
}

.form-wrapper h1 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 6px;
    color: #4b1c5c;
}


.form-subtitle {
    font-size: 16px;
    margin-bottom: 36px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    padding: 14px 16px;
    font-family: inherit;
    font-size: 15px;
    border: 1px solid #ccc;
    background: #fff;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
}

.checkbox {
    font-size: 14px;
}

.btn-primary {
    background: #4b1c5c;
    color: #fff;
    padding: 12px 28px;
    border: none;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.4px;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary:hover {
    background: #3a1448;
}
.form-group select {
    padding: 14px 16px;
    font-family: inherit;
    font-size: 15px;
    border: 1px solid #ccc;
    background: #fff;
}

.privacy-error {
    display: none;
    font-size: 12px;
    color: #000000;
    margin-left: 6px;
}

input[type="checkbox"]:invalid + .privacy-error {
    display: inline;
}
.form-success {
    background: #e7f3ee;
    color: #215a47;
    padding: 14px 18px;
    margin-bottom: 24px;
    font-size: 14px;
    border-left: 4px solid #2f6f5e;
}
.form-error {
    background: #fdecea;
    color: #8a1c1c;
    padding: 14px 18px;
    margin-bottom: 24px;
    font-size: 14px;
    border-left: 4px solid #c62828;
}
.form-group textarea {
    min-height: 140px;
    resize: vertical;
    border-radius: 6px;
    box-shadow: none;
}
.form-group input,
.form-group textarea,
.form-group select {
    border-radius: 6px;
}
/* ================= CONTACT SECTION (MAIN PAGE) ================= */

.talk-page {
    background: #ffffff !important;
    padding: 120px 0;
}

.talk-bg {
    position: relative;
    width: 100%;
    padding: 80px 0;

    background-image: url("/images/PolishMountains.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border-radius: 0;
}

.talk-bg::before {
    display: none;
}


.talk-bg .form-wrapper {
    max-width: 720px;
    margin-left: auto;
    margin-right: 6%;

    padding: 52px 52px 60px;
}

.quick-form-section {
    width: 100%;
    margin-top: 18px;
    padding-top: 6px;
}

.quick-form-section h3 {
    font-size: 18px !important;
    font-weight: 700;
    margin-bottom: 12px;
}

.quick-form-section .radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quick-form-section .radio-group label {
    width: 100%;
}
/* ================= MOBILE FIX: CONTACT SECTION ================= */
@media (max-width: 768px) {

    .talk-page {
        padding: 30px 0 !important;
    }

    .talk-bg {
        padding: 28px 0 !important;
        border-radius: 0 !important;
    }

    .talk-bg .form-wrapper {
        margin: 0 auto !important;
        width: calc(100% - 24px);
        max-width: 520px;

        padding: 22px 18px 24px !important;
        border-radius: 18px !important;
    }

    .form-wrapper h1 {
        font-size: 30px !important;
        line-height: 1.05;
        margin-bottom: 10px !important;
    }

    .form-subtitle {
        font-size: 14px !important;
        line-height: 1.45;
        margin-bottom: 14px !important;
    }

    .contact-form {
        gap: 14px !important;
    }

    .form-group label {
        margin-bottom: 6px !important;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px 12px !important;
        font-size: 14px !important;
    }

    .form-group textarea {
        min-height: 110px !important;
    }

    .form-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px !important;
        margin-top: 8px !important;
    }

    .btn-primary {
        width: 100%;
        padding: 14px 18px !important;
        font-size: 14px !important;
        white-space: normal !important;
    }

}
/* ================= MOBILE: CONTACT SECTION (FINAL COMPACT) ================= */

@media (max-width: 768px) {


    .talk-page {
        padding: 16px 0 !important;
    }


    .talk-bg {
        padding: 16px 0 !important;
        border-radius: 0 !important;
        background-position: center;
    }


    .talk-bg .form-wrapper {
        width: calc(100% - 18px) !important;
        max-width: 430px !important;
        margin: 0 auto !important;

        padding: 14px 12px 16px !important;
        border-radius: 16px !important;
    }


    .form-wrapper h1 {
        font-size: 22px !important;
        line-height: 1.1 !important;
        margin-bottom: 6px !important;
    }


    .form-subtitle {
        font-size: 12.5px !important;
        line-height: 1.45 !important;
        margin-bottom: 8px !important;
    }


    .contact-form {
        gap: 8px !important;
    }


    .form-row {
        gap: 8px !important;
    }


    .form-group label {
        font-size: 12.5px !important;
        margin-bottom: 4px !important;
    }


    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px 10px !important;
        font-size: 14px !important;
    }


    .form-group textarea {
        min-height: 78px !important;
    }


    .form-footer {
        flex-direction: column !important;
        align-items: stretch !important;
        margin-top: 6px !important;
        gap: 8px !important;
    }

    .checkbox {
        font-size: 12.5px !important;
    }


    .btn-primary {
        width: 100% !important;
        padding: 12px 14px !important;
        font-size: 13px !important;
        white-space: normal !important;
    }
}
@media (max-width: 768px) {
    .step-image img {
        mask-image: none !important;
        -webkit-mask-image: none !important;
        filter: none !important;
        opacity: 1 !important;
    }
}
/* ================= CONTACT SPLIT FIX (LEFT 3 IMAGES + RIGHT FORM) ================= */

.talk-page--split {
    padding: 80px 0;
}

.talk-split-layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 24px;
     gap: 55px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

/* ================= LEFT SIDE (3 IMAGES) ================= */

.talk-left-images {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 18px;
}

.talk-image-big {
    height: 520px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0,0,0,0.14);
}

.talk-image-big img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.talk-image-right-column {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
}

.talk-image-small {
    height: 251px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0,0,0,0.14);
}

.talk-image-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ================= RIGHT SIDE (FORM) ================= */

.talk-right-form {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.talk-right-form .form-wrapper {
    margin-right: 0 !important;
    margin-left: auto;
    width: 100%;
    max-width: 720px;
}

.form-wrapper {
    position: relative;
}

@media (max-width: 1000px) {
    .talk-split-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 18px;
    }

    .talk-right-form {
        justify-content: center;
    }

    .talk-right-form .form-wrapper {
        max-width: 620px;
    }
}

@media (max-width: 600px) {
    .talk-left-images {
        grid-template-columns: 1fr;
    }

    .talk-image-big {
        height: 320px;
    }

    .talk-image-right-column {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .talk-image-small {
        height: 160px;
    }
}

@media (max-width: 420px) {
    .talk-image-right-column {
        grid-template-columns: 1fr;
    }

    .talk-image-small {
        height: 180px;
    }
}

.talk-right-form .form-wrapper {
    max-width: 680px !important;
}

.talk-left-images {
    max-width: 610px !important;
}

.talk-left-images {
    grid-template-columns: 1.35fr 1fr !important;
}

.talk-image-big {
    height: 610px !important; /* było 520px */
}

.talk-image-right-column {
    gap: 20px !important;
}

.talk-image-small {
    height: 400px !important;
}

.talk-image-big,
.talk-image-small {
    box-shadow: 0 22px 55px rgba(0,0,0,0.14) !important;
}


@media (max-width: 1000px) {
    .talk-right-form .form-wrapper {
        max-width: 620px !important;
    }

    .talk-image-big {
        height: 420px !important;
    }

    .talk-image-small {
        height: 200px !important;
    }
}

.talk-split-layout {
    align-items: stretch !important; /* ważne */
}

.talk-right-form {
    align-items: stretch;
}

.talk-right-form .form-wrapper {
    height: 100%;
}

.talk-left-images {
    height: 100%;
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 18px;
    align-items: stretch;
}

.talk-image-big {
    height: 100% !important;
}

.talk-image-right-column {
    height: 100%;
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 18px;
}

.talk-image-small {
    height: 100% !important;
}

.talk-image-big img,
.talk-image-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.talk-left-images {
    max-width: 720px !important;
    grid-template-columns: 1.25fr 1.05fr !important;
}

.talk-image-big {
    height: 100% !important;
    min-height: 640px;
}

.talk-image-right-column {
    gap: 18px !important;
}

.talk-image-small {
    height: auto !important;
    aspect-ratio: 16 / 10;
}

.talk-left-images {
    align-items: center !important;
}

.talk-image-right-column {
    display: flex !important;
    flex-direction: column;
    justify-content: center !important;
    align-items: flex-end !important;
    gap: 22px !important;
    height: 100% !important;
}


.talk-image-small {
    width: 100% !important;
    max-width: 300px !important;
    height: 100% !important;

    aspect-ratio: 16 / 9 !important;
}
.talk-image-small img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.talk-split-layout {
    max-width: 1600px !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
    gap: 25px !important;
}
/* ================= MOBILE FIX: DO NOT STRETCH FORM WRAPPER ================= */
@media (max-width: 768px) {

    .talk-split-layout {
        align-items: start !important;
    }

    .talk-right-form {
        align-items: start !important;
    }

    .talk-right-form .form-wrapper {
        height: auto !important;
        min-height: unset !important;
    }

    .talk-left-images {
        height: auto !important;
    }

    .talk-image-big,
    .talk-image-small {
        height: auto !important;
    }
}
@media (max-width: 768px) {

    .talk-image-big {
        height: 320px !important;
    }

    .talk-image-small {
        height: 170px !important;
    }
}
/* ================= MOBILE FIX: CONTACT FORM NOT TOO TALL ================= */
@media (max-width: 768px) {

    /* usuwa ogromne wysokości sekcji */
    .talk-section {
        min-height: unset !important;
        align-items: flex-start !important;
        padding: 0 !important;
    }

    /* zbija paddingi tła */
    .talk-bg {
        padding: 14px 0 !important;
    }


    .talk-bg .form-wrapper,
    .talk-right-form .form-wrapper,
    .form-wrapper {
        margin: 0 auto !important;
        padding: 18px 16px 22px !important;
        max-width: 520px !important;
        width: calc(100% - 18px) !important;

        height: auto !important;
        min-height: unset !important;
    }
}
@media (max-width: 768px) {
    .talk-page--full,
    .talk-page--split {
        min-height: unset !important;
        padding: 20px 0 !important;
    }
}














