.wp-block-dkhjemmeside-contact-form,
.dkhcf-saved-wrap,
.dkhcf-editor-wrap,
.dkhcf-contact,
.dkhcf-contact * {
    box-sizing: border-box;
}

.dkhcf-contact {
    --dkhcf-blue: #2b55d9;
    --dkhcf-blue-dark: #1d3fb8;
    --dkhcf-blue-deep: #172a72;
    --dkhcf-orange: #ff9638;
    --dkhcf-ink: #232735;
    --dkhcf-muted: #5f6678;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin: 42px auto;
    padding: clamp(22px, 4vw, 54px);
    color: var(--dkhcf-ink);
    border: 1px solid #dfe6ff;
    border-radius: 30px;
    background:
        radial-gradient(circle at 12% 16%, rgba(43, 85, 217, 0.13), transparent 32%),
        radial-gradient(circle at 94% 0%, rgba(255, 150, 56, 0.11), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f7f9ff 55%, #ffffff 100%);
    box-shadow: 0 28px 80px rgba(24, 38, 82, 0.13);
}

.dkhcf-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: clamp(22px, 4vw, 54px);
    width: 34px;
    height: 52px;
    border-radius: 0 0 8px 8px;
    background: var(--dkhcf-orange);
    box-shadow: 0 12px 34px rgba(255, 150, 56, 0.38);
}

.dkhcf-contact::after {
    content: '';
    position: absolute;
    top: 48px;
    left: calc(clamp(22px, 4vw, 54px) + 13px);
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: #ffffff;
}

.dkhcf-orb {
    position: absolute;
    z-index: -1;
    border-radius: 999px;
    filter: blur(36px);
    pointer-events: none;
}

.dkhcf-orb-one {
    top: -80px;
    right: 8%;
    width: 250px;
    height: 250px;
    background: rgba(43, 85, 217, 0.22);
}

.dkhcf-orb-two {
    left: -80px;
    bottom: -110px;
    width: 280px;
    height: 280px;
    background: rgba(255, 150, 56, 0.14);
}

.dkhcf-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(330px, 1.08fr);
    gap: clamp(24px, 4.5vw, 62px);
    align-items: center;
    padding-top: 20px;
}

.dkhcf-copy {
    max-width: 540px;
}

.dkhcf-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 34px;
    margin-bottom: 20px;
    padding: 7px 15px;
    color: var(--dkhcf-blue-dark) !important;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.01em;
    border: 1px solid rgba(43, 85, 217, 0.22);
    border-radius: 999px;
    background: #edf2ff;
    box-shadow: 0 12px 30px rgba(43, 85, 217, 0.11);
}

.dkhcf-badge-dot {
    display: inline-block;
    width: 11px;
    height: 11px;
    border-radius: 3px;
    background: var(--dkhcf-orange);
    box-shadow: 0 0 0 4px rgba(255, 150, 56, 0.16);
}

.dkhcf-title {
    margin: 0;
    color: var(--dkhcf-blue) !important;
    font-size: clamp(34px, 5vw, 62px);
    font-weight: 950;
    letter-spacing: -0.06em;
    line-height: 0.95;
}

.dkhcf-intro {
    margin: 22px 0 0;
    max-width: 560px;
    color: var(--dkhcf-muted) !important;
    font-size: clamp(16px, 1.35vw, 19px);
    line-height: 1.72;
}

.dkhcf-note {
    position: relative;
    margin: 24px 0 0;
    padding: 15px 18px 15px 20px;
    color: #4d5568 !important;
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid #e0e7ff;
    border-left: 5px solid var(--dkhcf-orange);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
}

.dkhcf-form {
    position: relative;
    display: grid;
    gap: 16px;
    width: 100%;
    padding: clamp(20px, 3vw, 34px);
    border: 1px solid rgba(43, 85, 217, 0.18);
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,255,0.98));
    box-shadow: 0 22px 58px rgba(24, 38, 82, 0.12);
}

.dkhcf-form::before {
    content: '';
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(145deg, rgba(43, 85, 217, 0.40), rgba(255, 150, 56, 0.36), rgba(255,255,255,0));
}

.dkhcf-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.dkhcf-field,
.dkhcf-consent {
    display: grid;
    gap: 8px;
}

.dkhcf-field > span,
.dkhcf-consent > span {
    color: #252a38 !important;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.4;
}

.dkhcf-field input,
.dkhcf-field textarea {
    width: 100%;
    min-height: 54px;
    padding: 15px 16px;
    color: #202432 !important;
    font: inherit;
    border: 1px solid #dbe4fb;
    border-radius: 16px;
    outline: none;
    background: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.dkhcf-field textarea {
    min-height: 140px;
    resize: vertical;
}

.dkhcf-field input::placeholder,
.dkhcf-field textarea::placeholder {
    color: #8b94aa;
}

.dkhcf-field input:focus,
.dkhcf-field textarea:focus {
    border-color: var(--dkhcf-blue);
    box-shadow: 0 0 0 4px rgba(43, 85, 217, 0.13);
}

.dkhcf-consent {
    grid-template-columns: 20px 1fr;
    align-items: start;
    gap: 12px;
    margin-top: 2px;
    padding: 14px;
    color: #4d5568 !important;
    border: 1px solid #e0e7ff;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.74);
}

.dkhcf-consent input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--dkhcf-blue);
}

.dkhcf-error input,
.dkhcf-error textarea {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.10) !important;
}

.dkhcf-error.dkhcf-consent {
    border-color: rgba(220, 38, 38, 0.55) !important;
}

.dkhcf-button {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px;
    width: fit-content;
    min-height: 56px;
    margin-top: 4px;
    padding: 15px 24px !important;
    color: #ffffff !important;
    font: inherit;
    font-weight: 950 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.01em;
    text-decoration: none !important;
    cursor: pointer;
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, var(--dkhcf-blue), #2348ca 56%, #1737a9) !important;
    box-shadow: 0 16px 36px rgba(43, 85, 217, 0.30);
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.dkhcf-button:hover,
.dkhcf-button:focus-visible {
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 20px 44px rgba(43, 85, 217, 0.38);
    filter: saturate(1.05);
}

.dkhcf-button-mark {
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    color: #1b2f86 !important;
    border-radius: 999px;
    background: #ffffff;
}

.dkhcf-success {
    margin-top: 2px;
    padding: 14px 16px;
    color: #14532d !important;
    font-weight: 850;
    border: 1px solid rgba(34, 197, 94, 0.26);
    border-radius: 16px;
    background: #ecfdf3;
}

.dkhcf-success-error {
    color: #7f1d1d !important;
    border-color: rgba(220, 38, 38, 0.30) !important;
    background: #fff1f2 !important;
}

.dkhcf-editor-wrap .dkhcf-form input,
.dkhcf-editor-wrap .dkhcf-form textarea,
.dkhcf-editor-wrap .dkhcf-button,
.dkhcf-editor-wrap .dkhcf-consent input {
    cursor: default;
}

@media (max-width: 920px) {
    .dkhcf-shell,
    .dkhcf-grid {
        grid-template-columns: 1fr;
    }

    .dkhcf-copy {
        max-width: none;
    }
}

@media (max-width: 560px) {
    .dkhcf-contact {
        margin: 28px auto;
        padding: 20px;
        border-radius: 24px;
    }

    .dkhcf-contact::before {
        left: 24px;
        width: 30px;
        height: 44px;
    }

    .dkhcf-contact::after {
        left: 35px;
        top: 40px;
    }

    .dkhcf-form {
        padding: 18px;
        border-radius: 22px;
    }

    .dkhcf-button {
        width: 100%;
    }
}
