/* contact.css — strona kontaktowa */

.contact-page {
    padding: 72px 0 90px;
    background-color: var(--white);
    background-image: none;
}

.contact-heading {
    max-width: 760px;
    margin-bottom: 46px;
}

.contact-heading .overline {
    margin: 0 0 12px;
    color: var(--pink);
    font-family: Inter, Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.contact-heading h1 {
    margin: 0;
    color: var(--navy);
    font-family: Manrope, sans-serif;
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.contact-heading h1 em {
    display: block;
    color: var(--pink);
    font-style: normal;
}

.contact-heading-text {
    max-width: 670px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 18px;
}

.contact-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 0.85fr)
        minmax(0, 1.15fr);
    gap: 28px;
    align-items: start;
}

.contact-details,
.contact-form-card,
.contact-map-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow:
        0 20px 55px
        rgba(42, 64, 95, 0.08);
}

.contact-details {
    padding: 38px;
}

.contact-details h2,
.contact-form-card h2,
.contact-map-card h2 {
    margin: 0;
    color: var(--navy);
    font-family: Manrope, Inter, Arial, sans-serif;
    font-size: 28px;
    line-height: 1.2;
}

.contact-company {
    margin: 10px 0 30px;
    color: var(--pink);
    font-weight: 700;
}

.contact-item {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 16px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    color: var(--pink);
    background: var(--pink-soft);
    border-radius: 50%;
    font-size: 18px;
}

.contact-item strong {
    display: block;
    margin-bottom: 4px;
    color: var(--navy);
}

.contact-item p {
    margin: 0;
    color: var(--muted);
}

.contact-item a {
    color: var(--navy);
    font-weight: 600;
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: var(--pink);
}

.contact-bank-number {
    word-break: break-word;
    font-feature-settings: "tnum";
}

.contact-form-card {
    padding: 38px;
}

.contact-form-intro {
    margin: 10px 0 28px;
    color: var(--muted);
}

.contact-alert {
    margin-bottom: 24px;
    padding: 16px 18px;
    border-radius: 14px;
    line-height: 1.55;
}

.contact-alert-success {
    color: #17683a;
    background: #edf9f2;
    border: 1px solid #bce5cd;
}

.contact-alert-error {
    color: #8b2635;
    background: #fff2f4;
    border: 1px solid #f1c4cc;
}

.contact-alert-error ul {
    margin: 0;
    padding-left: 20px;
}

.contact-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-field-full {
    grid-column: 1 / -1;
}

.contact-field label {
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    padding: 14px 16px;
    color: var(--text);
    background: var(--white);
    border: 1px solid #dce1e7;
    border-radius: 13px;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.contact-field textarea {
    min-height: 170px;
    resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
    border-color: var(--pink);
    box-shadow:
        0 0 0 4px
        rgba(229, 24, 115, 0.1);
}

.contact-privacy {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.contact-privacy input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--pink);
}

.contact-submit {
    grid-column: 1 / -1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 13px 24px;
    color: var(--white);
    background: var(--pink);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 800;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.contact-submit:hover {
    background: var(--pink-dark);
    transform: translateY(-2px);
}

.contact-submit:focus-visible {
    outline: 3px solid rgba(229, 24, 115, 0.28);
    outline-offset: 3px;
}

.contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.contact-map-card {
    margin-top: 28px;
    padding: 18px;
    overflow: hidden;
}

.contact-map-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 20px 24px;
}

.contact-map-heading p {
    margin: 8px 0 0;
    color: var(--muted);
}

.contact-map-link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--pink);
    font-weight: 700;
    transition: color 0.2s ease;
}

.contact-map-link:hover {
    color: var(--pink-dark);
}

.contact-map {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    border-radius: 18px;
    background: #eef1f5;
}

.contact-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .contact-page {
        padding: 48px 0 64px;
    }

    .contact-page .container {
        width: min(100% - 32px, 1240px);
    }

    .contact-details,
    .contact-form-card {
        padding: 26px 20px;
    }

    .contact-fields {
        grid-template-columns: 1fr;
    }

    .contact-field-full,
    .contact-privacy,
    .contact-submit {
        grid-column: auto;
    }

    .contact-map-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-map {
        min-height: 340px;
    }

}