/* ═══ CONTACT PAGE ═══ */
.ct {
    background: #0f1114;
    color: #e8eaed;
    font-family: Rubik, sans-serif;
    padding: 52px 0 56px
}

.ct__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start
}

.ct__inner + .ct__inner {
    display: block;
    margin-top: 34px
}

/* ── LEFT ── */
.ct__label {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #a78bfa
}

.ct__title {
    margin: 0 0 14px;
    font-size: 38px;
    line-height: 1.14;
    font-weight: 700;
    color: #fff
}

.ct__accent {
    color: #a78bfa
}

.ct__desc {
    margin: 0 0 30px;
    max-width: 400px;
    font-size: 14.5px;
    line-height: 1.7;
    color: #9aa0aa
}

.ct__items {
    display: flex;
    flex-direction: column;
    gap: 22px
}

.ct-item__head {
    display: flex;
    align-items: center;
    gap: 13px;
    width: 100%;
    padding: 0;
    margin: 0;
    background: none;
    border: 0;
    font-family: inherit;
    text-align: left;
    cursor: default
}

.ct-item__ico {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(139, 92, 246, .14);
    border: 1px solid rgba(139, 92, 246, .26);
    color: #a78bfa
}

.ct-item__ico svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round
}

.ct-item__name {
    font-size: 14.5px;
    font-weight: 600;
    color: #fff
}

.ct-chev {
    display: none;
    margin-left: auto;
    width: 8px;
    height: 8px;
    border-right: 2px solid #9aa0aa;
    border-bottom: 2px solid #9aa0aa;
    transform: rotate(-135deg);
    transition: transform .22s;
    flex-shrink: 0
}

.ct-item__body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-left: 47px;
    margin-top: 4px
}

.ct-item__link {
    font-size: 13.5px;
    color: #a78bfa;
    text-decoration: none;
    width: fit-content
}

.ct-item__link:hover {
    text-decoration: underline;
    color: #c4b5fd
}

.ct-item__note {
    font-size: 12.5px;
    line-height: 1.55;
    color: #9aa0aa
}

/* ── FORM ── */
.ct-form {
    background: #15181d;
    border: 1px solid #1e2128;
    border-radius: 16px;
    padding: 24px
}

.ct-form__title {
    display: block;
    margin-bottom: 18px;
    font-size: 16px;
    color: #fff
}

.ct-field {
    margin-bottom: 15px
}

.ct-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: #cbd0d8
}

.ct-field input,
.ct-field textarea {
    width: 100%;
    background: #1c1f24;
    border: 1px solid #2a2e35;
    border-radius: 9px;
    padding: 11px 13px;
    color: #e8eaed;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color .15s
}

.ct-field textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.55
}

.ct-field input::placeholder,
.ct-field textarea::placeholder {
    color: #6b7079
}

.ct-field input:focus,
.ct-field textarea:focus {
    border-color: #7b22ff
}

.ct-err {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #ff6b6b
}

.ct-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    margin-top: 6px;
    padding: 13px 20px;
    background: #7b22ff;
    color: #fff;
    border: 0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    transition: .15s
}

.ct-submit:hover {
    background: #6818d6
}

.ct-submit:disabled {
    opacity: .6;
    cursor: not-allowed
}

.ct-submit svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round
}

.ct-submit.is-loading span::after {
    content: "…"
}

.ct-note {
    display: none;
    margin-top: 12px;
    padding: 11px 13px;
    border-radius: 9px;
    font-size: 13px;
    line-height: 1.5
}

.ct-note--ok {
    background: rgba(30, 188, 163, .1);
    border: 1px solid rgba(30, 188, 163, .3);
    color: #6ee7c8
}

.ct-note--bad {
    background: rgba(255, 107, 107, .08);
    border: 1px solid rgba(255, 107, 107, .28);
    color: #ff9b9b
}

/* ── HELP CTA ── */
.ct-help {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    background: rgba(139, 92, 246, .06);
    border: 1px solid rgba(139, 92, 246, .22);
    border-radius: 16px
}

.ct-help__ico {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(139, 92, 246, .18);
    color: #a78bfa
}

.ct-help__ico svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round
}

.ct-help__body {
    flex: 1
}

.ct-help__body strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
    color: #fff
}

.ct-help__body p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #9aa0aa
}

.ct-help__body a {
    color: #a78bfa;
    text-decoration: none
}

.ct-help__body a:hover {
    text-decoration: underline
}

.ct-help__btn {
    flex-shrink: 0;
    padding: 11px 18px;
    background: transparent;
    border: 1px solid #2f333b;
    border-radius: 10px;
    color: #e8eaed !important;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: .15s
}

.ct-help__btn:hover {
    border-color: #7b22ff;
    color: #fff !important
}

/* ── TABLET ── */
@media (max-width:960px) {
    .ct__inner {
        grid-template-columns: 1fr;
        gap: 34px
    }

    .ct__desc {
        max-width: none
    }
}

/* ── MOBILE ── */
@media (max-width:860px) {
    .ct {
        padding: 32px 0 40px
    }

    .ct__inner {
        padding: 0 18px
    }

    .ct__title {
        font-size: 28px
    }

    .ct__items {
        gap: 0
    }

    .ct-item {
        border-top: 1px solid #1c1f24
    }

    .ct-item:last-child {
        border-bottom: 1px solid #1c1f24
    }

    .ct-item__head {
        padding: 15px 0;
        cursor: pointer
    }

    .ct-chev {
        display: block
    }

    .ct-item.is-closed .ct-chev {
        transform: rotate(45deg);
        margin-top: -4px
    }

    .ct-item.is-closed .ct-item__body {
        display: none
    }

    .ct-item__body {
        padding: 0 0 15px 47px
    }

    .ct-form {
        padding: 18px
    }

    .ct-field input,
    .ct-field textarea {
        padding: 13px;
        font-size: 15px
    }

    .ct-submit {
        padding: 15px 20px
    }

    .ct-help {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 18px
    }

    .ct-help__btn {
        width: 100%;
        text-align: center
    }
}

/* ── override theme input styles ── */
.ct .ct-form .ct-field input[type="text"],
.ct .ct-form .ct-field input[type="email"],
.ct .ct-form .ct-field textarea {
    background: #1c1f24 !important;
    background-color: #1c1f24 !important;
    background-image: none !important;
    border: 1px solid #2a2e35 !important;
    border-radius: 9px !important;
    color: #e8eaed !important;
    -webkit-text-fill-color: #e8eaed !important;
    box-shadow: none !important;
    font-family: Rubik, sans-serif !important;
    font-size: 14px !important;
    height: auto !important;
    padding: 11px 13px !important;
    width: 100% !important;
    opacity: 1 !important;
}

.ct .ct-form .ct-field input::placeholder,
.ct .ct-form .ct-field textarea::placeholder {
    color: #6b7079 !important;
    -webkit-text-fill-color: #6b7079 !important;
    opacity: 1 !important;
}

.ct .ct-form .ct-field input:focus,
.ct .ct-form .ct-field textarea:focus {
    background: #1c1f24 !important;
    border-color: #7b22ff !important;
    color: #e8eaed !important;
    -webkit-text-fill-color: #e8eaed !important;
    outline: none !important
}

/* Chrome autofill */
.ct .ct-form .ct-field input:-webkit-autofill,
.ct .ct-form .ct-field input:-webkit-autofill:hover,
.ct .ct-form .ct-field input:-webkit-autofill:focus {
    -webkit-text-fill-color: #e8eaed !important;
    -webkit-box-shadow: 0 0 0 1000px #1c1f24 inset !important;
    box-shadow: 0 0 0 1000px #1c1f24 inset !important;
    caret-color: #e8eaed !important
}

.ct .ct-form .ct-field textarea {
    min-height: 110px !important;
    line-height: 1.55 !important;
    resize: vertical !important
}
