/* =========================================================
   KONTAKT
========================================================= */

.contact-page {
    padding-bottom: 0;
}

.contact-page .site-header {
    padding-bottom: 14px;
}

.contact-page .container {
    position: relative;
}


/* =========================================================
   SHARED
========================================================= */

.contact-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 17px;
    color: #73795d;
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
}

.contact-eyebrow span {
    display: block;
    width: 34px;
    height: 1px;
    background: #8d9277;
}

.contact-hero h1,
.contact-section-heading h2 {
    margin: 0;
    color: #252728;
    font-family: "Cormorant Garamond", serif;
    font-weight: 600;
    letter-spacing: -1px;
}

.contact-hero h1 {
    max-width: 560px;
    font-size: 54px;
    line-height: .93;
}

.contact-hero h1 em,
.contact-section-heading h2 em {
    color: #74795e;
    font-weight: 600;
}

.contact-hero__intro,
.contact-section-heading > p:last-child {
    color: #626361;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    line-height: 1.65;
}


/* =========================================================
   HERO
========================================================= */

.contact-hero {
    position: relative;
    isolation: isolate;
    overflow: visible;
    padding: 55px 0 44px;
}

.contact-hero > .container {
    position: relative;
    z-index: 3;
}

.contact-hero__visual {
    position: absolute;
    z-index: 0;
    top: -140px;
    right: calc((100vw - min(100vw, var(--page-width))) / -2);
    left: auto;
    width: min(1100px, 60vw);
    height: auto;
    max-width: none;
    overflow: visible;
    pointer-events: none;
}

.contact-hero__visual img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    object-fit: contain;
    object-position: top right;
}

.contact-hero__visual::before {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            var(--cream) 0%,
            rgba(247,243,235,.91) 7%,
            rgba(247,243,235,.60) 14%,
            rgba(247,243,235,.28) 21%,
            rgba(247,243,235,.09) 27%,
            rgba(247,243,235,.02) 31%,
            rgba(247,243,235,0) 34%
        ),
        linear-gradient(
            0deg,
            var(--cream) 0%,
            rgba(247,243,235,.74) 7%,
            rgba(247,243,235,.46) 14%,
            rgba(247,243,235,.23) 21%,
            rgba(247,243,235,.08) 27%,
            rgba(247,243,235,.02) 31%,
            rgba(247,243,235,0) 34%
        );
}

.contact-hero__intro {
    max-width: 560px;
    margin: 23px 0 0;
}

.contact-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    margin-top: 35px;
}

.contact-option {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 38px;
    align-items: center;
    gap: 15px;
    min-height: 104px;
    padding: 16px 17px;
    border: 1px solid rgba(188, 183, 172, .62);
    border-radius: 13px;
    color: inherit;
    text-decoration: none;
    background: rgba(255, 255, 255, .14);
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.contact-option:hover {
    transform: translateY(-2px);
    border-color: rgba(142, 143, 117, .65);
    background: rgba(255, 255, 255, .28);
}

.contact-option__icon,
.contact-reassurance__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(224, 221, 207, .72);
}

.contact-option__icon {
    width: 52px;
    height: 52px;
}

.contact-option__icon svg,
.contact-reassurance__icon svg {
    fill: none;
    stroke: #59603e;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-option__icon svg {
    width: 28px;
    height: 28px;
}

.contact-option__copy {
    min-width: 0;
}

.contact-option__copy strong {
    display: block;
    margin-bottom: 5px;
    color: #303232;
    font-family: "Cormorant Garamond", serif;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.05;
}

.contact-option__copy small {
    display: block;
    color: #6b6b67;
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.contact-option__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    background: rgba(224, 221, 207, .64);
}

.contact-option__arrow svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #59603e;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   FORM
========================================================= */

.contact-form-section {
    padding: 50px 0 52px;
    border-top: 1px solid rgba(188, 183, 172, .46);
}

.contact-section-heading {
    margin-bottom: 27px;
}

.contact-section-heading h2 {
    max-width: 500px;
    font-size: 43px;
    line-height: .95;
}

.contact-section-heading > p:last-child {
    max-width: 540px;
    margin: 17px 0 0;
    font-size: 13px;
}

.contact-form {
    padding: 27px;
    border: 1px solid rgba(188, 183, 172, .55);
    border-radius: 15px;
    background: rgba(255, 255, 255, .14);
}

.contact-field {
    margin-bottom: 19px;
}

.contact-field label {
    display: block;
    margin-bottom: 8px;
    color: #353737;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 600;
}

.contact-field label span {
    color: #8a6d5e;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    border: 1px solid rgba(181, 177, 168, .7);
    border-radius: 10px;
    outline: none;
    background: rgba(255, 255, 255, .22);
    color: #393a39;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
    box-sizing: border-box;
}

.contact-field input,
.contact-field select {
    height: 51px;
    padding: 0 15px;
}

.contact-field textarea {
    min-height: 155px;
    padding: 15px;
    resize: vertical;
    line-height: 1.6;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #9a9892;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: #858a6c;
    background: rgba(255, 255, 255, .4);
    box-shadow: 0 0 0 3px rgba(133, 138, 108, .08);
}

.contact-counter {
    margin-top: 5px;
    color: #92908a;
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    text-align: right;
}

.contact-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: 100%;
    min-height: 53px;
    margin-top: 4px;
    border: 0;
    border-radius: 999px;
    background: #777c5c;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .2s ease, opacity .2s ease;
}

.contact-submit:hover {
    transform: translateY(-1px);
    opacity: .94;
}

.contact-submit span {
    font-size: 19px;
    font-weight: 400;
}

.contact-form__privacy {
    margin: 12px 0 0;
    color: #85837d;
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    line-height: 1.5;
    text-align: center;
}

.contact-form__privacy a {
    color: inherit;
    text-underline-offset: 2px;
}

.contact-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.contact-alert {
    margin-bottom: 20px;
    padding: 17px 19px;
    border-radius: 11px;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    line-height: 1.55;
}

.contact-alert--success {
    border: 1px solid rgba(124, 134, 94, .4);
    background: rgba(218, 222, 201, .42);
    color: #50563d;
}

.contact-alert--success strong,
.contact-alert--success span {
    display: block;
}

.contact-alert--success strong {
    margin-bottom: 3px;
    font-family: "Cormorant Garamond", serif;
    font-size: 20px;
}

.contact-alert--error {
    border: 1px solid rgba(178, 112, 91, .35);
    background: rgba(236, 211, 202, .35);
    color: #744e42;
}


/* =========================================================
   REASSURANCE
========================================================= */

.contact-reassurance {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 34px;
}

.contact-reassurance__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-reassurance__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
}

.contact-reassurance__icon svg {
    width: 26px;
    height: 26px;
}

.contact-reassurance__item p {
    margin: 0;
    color: #4f514f;
    font-family: "Cormorant Garamond", serif;
    font-size: 16px;
    line-height: 1.16;
}


/* =========================================================
   FAQ
========================================================= */

.contact-faq {
    padding: 48px 0 50px;
    border-top: 1px solid rgba(188, 183, 172, .46);
}

.contact-section-heading--faq {
    margin-bottom: 25px;
}

.contact-faq__list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.contact-faq__item {
    overflow: hidden;
    border: 1px solid rgba(188, 183, 172, .55);
    border-radius: 11px;
    background: rgba(255, 255, 255, .12);
}

.contact-faq__item summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 36px;
    align-items: center;
    gap: 15px;
    min-height: 65px;
    padding: 11px 12px 11px 19px;
    cursor: pointer;
    list-style: none;
    color: #303232;
    font-family: "Cormorant Garamond", serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.15;
}

.contact-faq__item summary::-webkit-details-marker {
    display: none;
}

.contact-faq__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(225, 219, 207, .5);
    transition: transform .2s ease;
}

.contact-faq__arrow svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: #606448;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-faq__item[open] .contact-faq__arrow {
    transform: rotate(180deg);
}

.contact-faq__item > div {
    padding: 1px 58px 21px 19px;
    color: #5d5e5b;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    line-height: 1.65;
}




/* =========================================================
   HERO — GRAFIKA JAK NA STRONIE GŁÓWNEJ
========================================================= */

@media (min-width: 1351px) {
    .contact-hero__visual {
        right: calc((100vw - min(100vw, var(--page-width))) / -2);
        width: min(1210px, 66vw);
        top: -80px;
    }
}

@media (min-width: 1001px) and (max-width: 1350px) {
    .contact-hero__visual {
        right: calc((100vw - min(100vw, var(--page-width))) / -2);
        width: 74.8vw;
        top: -80px;
    }
}

@media (min-width: 601px) and (max-width: 1000px) {
    .contact-hero__visual {
        right: calc((100vw - min(100vw, var(--page-width))) / -2);
        width: 79.2vw;
        top: -80px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .contact-page .site-header {
        padding-bottom: 10px;
    }

    .contact-hero {
        overflow: visible;
        padding: 35px 0 36px;
    }

    .contact-hero__visual {
        position: absolute;
        z-index: -2;
        top: -93px;
        right: -27vw;
        left: auto;
        width: 127.6vw;
        height: auto;
        max-width: none;
        overflow: visible;
        opacity: 1;
        pointer-events: none;
    }

    .contact-hero__visual img {
        display: block;
        width: 100%;
        height: auto;
        max-width: none;
        object-fit: contain;
        object-position: top left;
    }

    .contact-hero__visual::before {
        background:
            linear-gradient(
                90deg,
                var(--cream) 0%,
                rgba(247,243,235,.91) 7%,
                rgba(247,243,235,.60) 14%,
                rgba(247,243,235,.28) 21%,
                rgba(247,243,235,.09) 27%,
                rgba(247,243,235,.02) 31%,
                rgba(247,243,235,0) 34%
            ),
            linear-gradient(
                0deg,
                var(--cream) 0%,
                rgba(247,243,235,.74) 7%,
                rgba(247,243,235,.46) 14%,
                rgba(247,243,235,.23) 21%,
                rgba(247,243,235,.08) 27%,
                rgba(247,243,235,.02) 31%,
                rgba(247,243,235,0) 34%
            );
    }

    .contact-eyebrow {
        margin-bottom: 14px;
        font-size: 10px;
        letter-spacing: 2.6px;
    }

    .contact-hero h1 {
        max-width: 340px;
        font-size: 42px;
        line-height: .94;
        letter-spacing: -.7px;
    }

    .contact-hero__intro {
        margin-top: 18px;
        font-size: 13px;
        line-height: 1.6;
    }

    .contact-options {
        grid-template-columns: 1fr;
        gap: 9px;
        margin-top: 27px;
    }

    .contact-option {
        grid-template-columns: 48px minmax(0, 1fr) 34px;
        gap: 12px;
        min-height: 88px;
        padding: 13px 13px;
        border-radius: 12px;
    }

    .contact-option__icon {
        width: 48px;
        height: 48px;
    }

    .contact-option__icon svg {
        width: 25px;
        height: 25px;
    }

    .contact-option__copy strong {
        margin-bottom: 4px;
        font-size: 19px;
    }

    .contact-option__copy small {
        font-size: 11px;
        line-height: 1.4;
    }

    .contact-option__arrow {
        width: 32px;
        height: 32px;
    }

    .contact-option__arrow svg {
        width: 16px;
        height: 16px;
    }

    .contact-form-section {
        padding: 39px 0 42px;
    }

    .contact-section-heading {
        margin-bottom: 22px;
    }

    .contact-section-heading h2 {
        max-width: 330px;
        font-size: 36px;
        line-height: .95;
        letter-spacing: -.6px;
    }

    .contact-section-heading > p:last-child {
        margin-top: 14px;
        font-size: 13px;
        line-height: 1.58;
    }

    .contact-form {
        padding: 18px 15px;
        border-radius: 13px;
    }

    .contact-field {
        margin-bottom: 16px;
    }

    .contact-field label {
        margin-bottom: 7px;
        font-size: 12px;
    }

    .contact-field input,
    .contact-field select {
        height: 49px;
        font-size: 13px;
    }

    .contact-field textarea {
        min-height: 145px;
        font-size: 13px;
    }

    .contact-submit {
        min-height: 50px;
        font-size: 12px;
    }

    .contact-reassurance {
        gap: 8px;
        margin-top: 29px;
    }

    .contact-reassurance__icon {
        width: 44px;
        height: 44px;
        margin-bottom: 8px;
    }

    .contact-reassurance__icon svg {
        width: 23px;
        height: 23px;
    }

    .contact-reassurance__item p {
        font-size: 14px;
        line-height: 1.15;
    }

    .contact-faq {
        padding: 38px 0 40px;
    }

    .contact-faq__item summary {
        grid-template-columns: minmax(0, 1fr) 32px;
        gap: 9px;
        min-height: 61px;
        padding: 10px 10px 10px 14px;
        font-size: 18px;
        line-height: 1.14;
    }

    .contact-faq__arrow {
        width: 31px;
        height: 31px;
    }

    .contact-faq__arrow svg {
        width: 13px;
        height: 13px;
    }

    .contact-faq__item > div {
        padding: 1px 14px 19px;
        font-size: 13px;
        line-height: 1.62;
    }

}

@media (max-width: 380px) {

    .contact-hero__visual {
        right: -31vw;
        width: 134.2vw;
    }

    .contact-option__copy strong {
        font-size: 18px;
    }

    .contact-option__copy small {
        font-size: 10px;
    }

    .contact-reassurance__item p {
        font-size: 13px;
    }

}
