.contact-page .cms-page-header {
    margin-bottom: 24px;
}

.k8-contact {
    font-family: 'Mulish', sans-serif;
    color: #3d4248;
    width: 100%;
}

.k8-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
}

.k8-contact-left {
    display: flex;
    flex-direction: column;
    padding: 28px 32px;
    background: #fafafa;
    border: 1px solid #ececec;
    border-radius: 8px;
}

.k8-contact-right {
    display: flex;
    min-height: 100%;
}

.k8-contact-lead {
    margin: 0 0 24px;
    font-size: 15px;
    line-height: 1.7;
    color: #666;
}

.k8-contact-info {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.k8-contact-row {
    display: flex;
    align-items: baseline;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.k8-contact-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.k8-contact-label {
    flex: 0 0 110px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #999;
}

.k8-contact-value {
    flex: 1;
    font-size: 15px;
    line-height: 1.6;
    color: #3d4248;
}

.k8-contact-value a {
    color: #3d4248;
    text-decoration: none;
    transition: color 0.2s ease;
}

.k8-contact-value a:hover {
    color: #453326;
}

.k8-contact-sep {
    margin: 0 8px;
    color: #ccc;
}

.k8-contact-location {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e5e5;
}

.k8-contact-location-title {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #999;
}

.k8-contact-address {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.7;
    color: #3d4248;
}

.k8-contact-map-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #453326;
    text-decoration: none;
}

.k8-contact-map-link:hover {
    color: #3d4248;
}

.k8-contact-map {
    width: 100%;
    flex: 1;
    min-height: 100%;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    background: #f5f5f5;
}

.k8-contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    border: 0;
}

.k8-contact-form--embedded {
    margin-top: auto;
    padding-top: 8px;
}

.k8-contact-form--embedded .k8-contact-form__grid {
    display: block;
}

.k8-contact-form--embedded .form-group {
    margin-bottom: 14px;
}

.k8-contact-form--embedded label {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #888;
}

.k8-contact-form--embedded .form-control {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    color: #111;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.k8-contact-form--embedded textarea.form-control {
    height: auto;
    min-height: 110px;
    padding: 12px;
    resize: vertical;
    line-height: 1.55;
}

.k8-contact-form--embedded .form-control:focus {
    outline: none;
    border-color: #111;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.k8-contact-form--embedded .k8-contact-form__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
}

.k8-contact-form--embedded .k8-contact-form__submit {
    min-width: 140px;
    height: 44px;
    padding: 0 20px;
    border: none;
    border-radius: 8px;
    background: #111;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease;
}

.k8-contact-form--embedded .k8-contact-form__submit:hover {
    background: #000;
}

.k8-contact-form--embedded .k8-contact-form__submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

@media (max-width: 900px) {
    .k8-contact-grid {
        grid-template-columns: 1fr;
    }

    .k8-contact-left {
        padding: 24px 20px;
    }

    .k8-contact-right {
        display: block;
        min-height: 0;
    }

    .k8-contact-map {
        height: 320px;
        min-height: 320px;
    }
}

@media (max-width: 600px) {
    .k8-contact-row {
        flex-direction: column;
        gap: 6px;
    }

    .k8-contact-label {
        flex: none;
    }
}
