
/* ==================================================
   HOPPY CHEF — CONTACT FORM
   Font: Inter
   ================================================== */

.hcf-wrap,
.hcf-wrap *,
.hcf-popup,
.hcf-popup * {
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

.hcf-wrap {
    width: 100%;
    margin: 0;
    padding: 0;
    color: #f5f2ec;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

.hcf-form {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(245, 242, 236, 0.35);
}

.hcf-row {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0;
    margin: 0;
    padding: 25px 0;
    border-bottom: 1px solid rgba(245, 242, 236, 0.25);
}

.hcf-label {
    display: block;
    flex: 0 0 40%;
    width: 40%;
    margin: 0;
    padding: 0 30px 0 0;
    color: #f5f2ec;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
}

.hcf-label h3,
.hcf-label span {
    display: block;
    margin: 0;
    padding: 0;
    color: inherit;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: normal;
    text-transform: none;
}

.hcf-field {
    flex: 0 0 60%;
    width: 60%;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.hcf-field input[type="text"],
.hcf-field input[type="email"],
.hcf-field textarea {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 5px 0;
    border: 0 !important;
    border-radius: 0 !important;
    outline: none;
    background: transparent !important;
    box-shadow: none !important;
    color: #f5f2ec !important;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: normal;
    appearance: none;
    -webkit-appearance: none;
    transition: opacity 0.2s ease;
}

.hcf-field input[type="text"],
.hcf-field input[type="email"] {
    min-height: 32px;
}

.hcf-field textarea {
    min-height: 110px;
    resize: vertical;
}

.hcf-field input::placeholder,
.hcf-field textarea::placeholder {
    color: rgba(245, 242, 236, 0.55) !important;
    opacity: 1;
}

.hcf-field input:focus,
.hcf-field textarea:focus {
    outline: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

.hcf-field input:focus::placeholder,
.hcf-field textarea:focus::placeholder {
    opacity: 0.7;
}

/* Rodzaj wydarzenia */

.hcf-row-services {
    align-items: flex-start;
}

.hcf-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.hcf-option {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin: 0;
    padding: 9px 16px;
    border: 1px solid rgba(245, 242, 236, 0.55);
    border-radius: 999px;
    background: transparent;
    color: #f5f2ec;
    cursor: pointer;
    white-space: nowrap;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.hcf-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hcf-option span {
    color: inherit;
    font: inherit;
}

.hcf-option:hover,
.hcf-option:has(input:checked) {
    border-color: #f5f2ec;
    background: #f5f2ec;
    color: #171714;
}

.hcf-option:focus-within {
    outline: 2px solid #f5f2ec;
    outline-offset: 4px;
}

/* Przycisk wysyłania i polityka prywatności */

.hcf-row-submit {
    align-items: center;
    border-bottom: 0;
    padding-top: 25px;
}

.hcf-submit-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
}

.hcf-privacy-notice {
    width: 100%;
    margin: 0;
    padding: 0;
    color: rgba(245, 242, 236, 0.7);
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.6;
    text-align: left;
}

.hcf-privacy-notice a {
    color: #f5f2ec;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: opacity 0.2s ease;
}

.hcf-privacy-notice a:hover {
    opacity: 0.7;
}

.hcf-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-width: 174px;
    min-height: 48px;
    margin: 0;
    padding: 12px 20px;
    border: 1px solid #f5f2ec !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #f5f2ec !important;
    box-shadow: none !important;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: normal;
    text-transform: none;
    cursor: pointer;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        opacity 0.2s ease;
}

.hcf-submit:hover,
.hcf-submit:focus-visible {
    border-color: #f5f2ec !important;
    background: #f5f2ec !important;
    color: #171714 !important;
}

.hcf-submit-icon {
    display: inline-block;
    font-size: 18px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.hcf-submit:hover .hcf-submit-icon {
    transform: translate(2px, -2px);
}

.hcf-submit:disabled {
    opacity: 0.55;
    cursor: wait;
}

.hcf-submit.is-loading .hcf-submit-icon {
    visibility: hidden;
}

/* Komunikaty formularza */

.hcf-feedback {
    margin: 15px 0 0;
    padding: 0;
    color: #f5f2ec;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    line-height: 1.6;
}

.hcf-feedback.is-error {
    color: #ffb7a9;
}

.hcf-feedback.is-success {
    color: #c8e7c5;
}

.hcf-feedback[hidden],
.hcf-popup[hidden] {
    display: none !important;
}

/* Pole antyspamowe */

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

/* Popup potwierdzenia */

.hcf-popup {
    position: fixed;
    z-index: 999999;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: #f5f2ec;
    font-family: "Inter", sans-serif;
}

.hcf-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.hcf-popup-box {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 460px;
    margin: auto;
    padding: 42px;
    border: 1px solid rgba(245, 242, 236, 0.25);
    background: #191916;
    color: #f5f2ec;
    text-align: left;
}

.hcf-popup-kicker {
    display: block;
    margin: 0 0 18px;
    color: rgba(245, 242, 236, 0.6);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hcf-popup-box h3 {
    margin: 0 0 14px;
    color: #f5f2ec;
    font-family: "Inter", sans-serif;
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: normal;
    text-transform: none;
}

.hcf-popup-box p {
    margin: 0 0 28px;
    color: rgba(245, 242, 236, 0.8);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
}

.hcf-popup-close {
    position: absolute;
    top: 12px;
    right: 15px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #f5f2ec;
    font-family: "Inter", sans-serif;
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
}

.hcf-popup-ok {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 22px;
    border: 1px solid #f5f2ec;
    border-radius: 999px;
    background: #f5f2ec;
    color: #171714;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.hcf-popup-ok:hover {
    opacity: 0.8;
}

/* Responsywność */

@media (max-width: 768px) {
    .hcf-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 21px 0;
    }

    .hcf-label,
    .hcf-field {
        flex: 0 0 100%;
        width: 100%;
        padding-right: 0;
    }

    .hcf-label {
        margin: 0;
    }

    .hcf-row-services {
        gap: 16px;
    }

    .hcf-options {
        gap: 9px;
    }

    .hcf-option {
        min-height: 40px;
        padding: 8px 13px;
        font-size: 12px;
    }

    .hcf-row-submit {
        padding-top: 21px;
    }

    .hcf-submit-wrap {
        align-items: flex-start;
        justify-content: flex-start;
        gap: 14px;
    }

    .hcf-popup-box {
        padding: 36px 25px 28px;
    }
}

@media (max-width: 420px) {
    .hcf-options {
        gap: 8px;
    }

    .hcf-option {
        min-height: 38px;
        padding: 8px 11px;
        font-size: 11px;
    }

    .hcf-submit {
        min-width: 160px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hcf-wrap *,
    .hcf-popup * {
        transition: none !important;
    }
}