.cscf-contact {
    --cscf-title: rgb(243, 245, 244);
    --cscf-text: rgb(156, 164, 160);
    --cscf-green: rgb(53, 232, 120);
    --cscf-border: rgb(41, 46, 51);
    --cscf-bg: rgb(24, 28, 32);
    --cscf-field: rgb(12, 16, 19);
    width: 100%;
    color: var(--cscf-title);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cscf-contact,
.cscf-contact * {
    box-sizing: border-box;
}

.cscf-contact__card {
    width: min(100%, 1400px);
    margin: 0 auto;
    padding: clamp(28px, 3vw, 40px);
    background: var(--cscf-bg);
    border: 1px solid var(--cscf-border);
    border-radius: 28px;
    box-shadow:
        0 18px 55px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.cscf-contact__title {
    margin: 0 0 34px;
    color: var(--cscf-title);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
}

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

.cscf-contact__field {
    display: grid;
    gap: 10px;
    margin: 0 0 22px;
}

.cscf-contact__field span {
    color: var(--cscf-text);
    font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.cscf-contact__field input,
.cscf-contact__field textarea {
    display: block;
    width: 100%;
    color: var(--cscf-title);
    background: var(--cscf-field);
    border: 1px solid rgb(45, 52, 58);
    border-radius: 20px;
    font: 500 14px/1.25 Inter, ui-sans-serif, system-ui, sans-serif;
    letter-spacing: 0;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.cscf-contact__field input {
    min-height: 46px;
    padding: 0 16px;
}

.cscf-contact__field textarea {
    min-height: 132px;
    padding: 16px;
    resize: vertical;
}

.cscf-contact__field input::placeholder,
.cscf-contact__field textarea::placeholder {
    color: rgba(156, 164, 160, 0.58);
}

.cscf-contact__field input:focus,
.cscf-contact__field textarea:focus {
    border-color: rgba(53, 232, 120, 0.72);
    box-shadow: 0 0 0 3px rgba(53, 232, 120, 0.12);
}

.cscf-contact__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    min-height: 46px;
    margin-top: 0;
    padding: 12px 22px;
    color: rgb(4, 15, 10);
    background: var(--cscf-green);
    border: 1px solid var(--cscf-green);
    border-radius: 18px;
    cursor: pointer;
    font: 700 14px/1.15 Inter, ui-sans-serif, system-ui, sans-serif;
    letter-spacing: 0;
    text-align: center;
    transition: background-color 160ms ease, transform 160ms ease;
}

.cscf-contact__button:hover,
.cscf-contact__button:focus-visible {
    background: rgb(69, 244, 136);
    transform: translateY(-1px);
    outline: none;
}

.cscf-contact__notice {
    margin: 0 0 26px;
    padding: 14px 18px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.cscf-contact__notice--success {
    color: rgb(4, 15, 10);
    background: rgba(53, 232, 120, 0.92);
}

.cscf-contact__notice--error {
    color: var(--cscf-title);
    background: rgba(220, 53, 69, 0.22);
    border: 1px solid rgba(220, 53, 69, 0.36);
}

@media (max-width: 1024px) {
    .cscf-contact__card {
        padding: 28px 22px;
        border-radius: 24px;
    }

    .cscf-contact__title {
        margin-bottom: 30px;
        font-size: 16px;
    }

    .cscf-contact__row {
        gap: 22px;
    }

    .cscf-contact__field {
        margin-bottom: 22px;
    }

    .cscf-contact__field input,
    .cscf-contact__field textarea {
        font-size: 14px;
    }

    .cscf-contact__field input {
        min-height: 46px;
    }

    .cscf-contact__field textarea {
        min-height: 132px;
    }

    .cscf-contact__button {
        min-height: 46px;
        font-size: 14px;
    }
}

@media (max-width: 720px) {
    .cscf-contact__card {
        padding: 30px 20px;
        border-radius: 22px;
    }

    .cscf-contact__title {
        margin-bottom: 28px;
        font-size: 16px;
    }

    .cscf-contact__row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .cscf-contact__field {
        gap: 12px;
        margin-bottom: 22px;
    }

    .cscf-contact__field span {
        font-size: 12px;
        letter-spacing: 1.5px;
    }

    .cscf-contact__field input,
    .cscf-contact__field textarea {
        border-radius: 18px;
        font-size: 14px;
    }

    .cscf-contact__field input {
        min-height: 54px;
        padding: 0 18px;
    }

    .cscf-contact__field textarea {
        min-height: 160px;
        padding: 18px;
    }

    .cscf-contact__button {
        width: 100%;
        min-width: 0;
        min-height: 46px;
        padding: 14px 20px;
        border-radius: 18px;
        font-size: 14px;
    }
}
