/* 54ka contact form */

.cf-card { box-sizing: border-box; }
.cf-card h1, .cf-card .box-title { margin-bottom: 6px !important; }

.cf-intro { margin: 0 0 22px 0; font-size: 15px; line-height: 1.6; color: #555; }

.cf-form { margin: 0; }
.cf-form section, .cf-form p,
.cf-error, .cf-check, .cf-turnstile, .cf-meta { display: block; }

.cf-form .cf-row { display: flex; gap: 20px; }
.cf-row .cf-field { flex: 1 1 0; min-width: 0; }

.cf-field { margin: 0 0 18px 0; }

.cf-field label {
    display: block;
    margin: 0 0 6px 0;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #333;
}
.cf-field label span, .cf-note span { color: #b00020; }

.cf-form input[type="text"],
.cf-form input[type="email"],
.cf-form textarea {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 12px 14px;
    font-family: 'OpensansR', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: #111;
    background: #fafafa;
    border: 1px solid #d6d6d6;
    border-radius: 4px;
    transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.cf-form textarea { min-height: 190px; resize: vertical; }

.cf-form input[type="text"]:focus,
.cf-form input[type="email"]:focus,
.cf-form textarea:focus {
    outline: none;
    background: #fff;
    border-color: #111;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.cf-field.has-error input,
.cf-field.has-error textarea { border-color: #b00020; background: #fff8f8; }

.cf-error { margin-top: 6px; font-size: 13px; color: #b00020; }

.cf-meta { display: flex !important; justify-content: space-between; align-items: flex-start; gap: 10px; }
.cf-meta .cf-error { margin-top: 6px; }
.cf-counter { margin: 6px 0 0 auto; font-size: 12px; color: #999; white-space: nowrap; }

.cf-alert {
    margin: 0 0 20px 0;
    padding: 12px 16px;
    font-size: 14px;
    color: #7a0016;
    background: #fdecee;
    border-left: 4px solid #b00020;
    border-radius: 2px;
}

.cf-bottom {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 6px;
}
.cf-turnstile { min-height: 65px; }
.cf-check-hint { display: none !important; }
.cf-need-check .cf-check-hint { display: block !important; }

.cf-submit {
    padding: 14px 34px;
    font-family: 'OpensansR', Arial, sans-serif;
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    background: #111;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color .15s, transform .05s;
}
.cf-submit:hover { background: #333; }
.cf-submit:active { transform: translateY(1px); }
.cf-submit:focus-visible { outline: 3px solid rgba(0, 0, 0, 0.25); outline-offset: 2px; }
.cf-submit:disabled { background: #888; cursor: wait; }

.cf-note { margin: 18px 0 0 0; font-size: 12px; color: #888; }

/* Honeypot - hidden from people (not display:none, some bots skip those) */
.cf-hp { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Thank-you page */
.cf-success { text-align: center; padding: 30px 10px 20px 10px; }
.cf-success-icon {
    display: inline-block !important;
    width: 64px; height: 64px; line-height: 64px;
    margin-bottom: 16px;
    font-size: 34px; color: #fff;
    background: #2BA800;
    border-radius: 50%;
}
.cf-success h1, .cf-success h2 { margin: 0 0 12px 0; font-size: 26px; font-family: 'OpensansR', sans-serif; font-weight: normal; }
.cf-success p { margin: 0 0 10px 0; font-size: 15px; line-height: 1.6; color: #555; }
.cf-success .cf-submit { display: inline-block; box-sizing: border-box; margin-top: 18px; text-decoration: none; }
.cf-success .cf-submit:hover { opacity: 1; }

/* Phones and small tablets */
@media (max-width: 800px) {
    .page-content { margin: 10px 0 50px 0 !important; padding: 0 10px; box-sizing: border-box; }
    .page-content-box, .contact { width: 100% !important; margin-left: 0 !important; float: none !important; }
    .cf-form .cf-row { flex-direction: column; gap: 0; }
    .cf-bottom { flex-direction: column; align-items: stretch; }
    .cf-submit { width: 100%; }
}
