/*
|--------------------------------------------------------------------------
| Layout
|--------------------------------------------------------------------------
*/

.ctc-enquiry-page {
    padding: 48px 24px 120px;
}

.ctc-enquiry-container {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}


/*
|--------------------------------------------------------------------------
| Header
|--------------------------------------------------------------------------
*/

.ctc-enquiry-header {
    margin-bottom: 72px;
}

.ctc-enquiry-title {
    margin-bottom: 28px;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1.05;
    font-weight: 400;
    color: rgba(255,255,255,0.96);
}

.ctc-enquiry-intro {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ctc-enquiry-intro p {
    margin: 0;
    line-height: 1.95;
    color: rgba(255,255,255,0.78);
}

.ctc-enquiry-intro-secondary {
    opacity: 0.64;
}


/*
|--------------------------------------------------------------------------
| Response Messaging
|--------------------------------------------------------------------------
*/

.ctc-form-response {
    display: none;
    margin-bottom: 28px;
    padding: 26px 30px;
    border: 1px solid rgba(201, 162, 74, 0.18);
    background: rgba(255,255,255,0.02);
    line-height: 1.9;
    color: rgba(255,255,255,0.84);
}

.ctc-form-response.ctc-visible-response {
    display: block;
}

.ctc-success-response {
    border-color: rgba(201, 162, 74, 0.34);
}

.ctc-error-response {
    border-color: rgba(201, 123, 123, 0.38);
}

.ctc-submit-guidance {
    display: none;
    margin-bottom: 20px;
    font-size: 0.88rem;
    line-height: 1.75;
    color: rgba(201, 123, 123, 0.88);
}

.ctc-submit-guidance.ctc-visible-guidance {
    display: block;
}


/*
|--------------------------------------------------------------------------
| Investor Groups
|--------------------------------------------------------------------------
*/

.ctc-enquiry-investor-group {
    margin-bottom: 52px;
}

.ctc-enquiry-group-title {
    margin-bottom: 18px;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.46);
}


/*
|--------------------------------------------------------------------------
| Investor Selector
|--------------------------------------------------------------------------
*/

.ctc-investor-selector {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ctc-investor-option {
    position: relative;
    overflow: hidden;

    display: flex;
    align-items: flex-start;
    gap: 18px;

    padding: 22px 24px;

    border: 1px solid rgba(201, 162, 74, 0.16);

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.016) 0%,
            rgba(255,255,255,0.008) 100%
        );

    cursor: pointer;

    transition:
        border-color 180ms ease,
        background 180ms ease,
        transform 180ms ease;
}

.ctc-investor-option:hover {
    border-color: rgba(201, 162, 74, 0.34);

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.028) 0%,
            rgba(255,255,255,0.014) 100%
        );
}

.ctc-investor-option:focus-visible {
    outline: none;

    border-color: rgba(201, 162, 74, 0.58);

    box-shadow:
        0 0 0 1px rgba(201, 162, 74, 0.18);

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.028) 0%,
            rgba(255,255,255,0.014) 100%
        );
}

.ctc-investor-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ctc-investor-option-icon {
    width: 34px;
    height: 34px;

    color: rgba(201, 162, 74, 0.88);

    flex-shrink: 0;

    margin-top: -1px;
}

.ctc-investor-option-icon svg {
    width: 100%;
    height: 100%;

    stroke-width: 1.9;
}

.ctc-investor-option-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ctc-investor-option-title {
    font-size: 0.98rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.94);
}

.ctc-investor-option-description {
    font-size: 0.88rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.56);
}

.ctc-investor-option:has(input[type="radio"]:checked) {
    border-color: rgba(201, 162, 74, 0.52);

    background:
        linear-gradient(
            180deg,
            rgba(201, 162, 74, 0.06) 0%,
            rgba(201, 162, 74, 0.02) 100%
        );
}

.ctc-investor-option:has(input[type="radio"]:checked)::before {
    content: '';

    position: absolute;

    top: 0;
    left: 0;

    width: 3px;
    height: 100%;

    background: rgba(201, 162, 74, 0.92);
}


/*
|--------------------------------------------------------------------------
| Investor Summary
|--------------------------------------------------------------------------
*/

.ctc-investor-summary {
    display: none;
    margin-bottom: 48px;
    padding: 18px 22px;

    border: 1px solid rgba(201, 162, 74, 0.18);

    background:
        linear-gradient(
            180deg,
            rgba(201, 162, 74, 0.04) 0%,
            rgba(201, 162, 74, 0.015) 100%
        );
}

.ctc-investor-summary.ctc-visible {
    display: block;
}

.ctc-investor-summary-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.ctc-investor-summary-label {
    font-size: 0.94rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.92);
}

.ctc-change-investor-button {
    background: transparent;
    border: none;

    color: rgba(201, 162, 74, 0.82);

    font-size: 0.84rem;

    cursor: pointer;

    transition:
        color 180ms ease,
        opacity 180ms ease;
}

.ctc-change-investor-button:hover {
    color: rgba(255,255,255,0.92);
}


/*
|--------------------------------------------------------------------------
| Panels
|--------------------------------------------------------------------------
*/

.ctc-retail-panel,
.ctc-sophistication-section {
    display: none;

    margin-bottom: 42px;

    padding: 34px;

    border: 1px solid rgba(201, 162, 74, 0.18);

    background: rgba(255,255,255,0.02);
}

.ctc-retail-panel.ctc-visible,
.ctc-sophistication-section.ctc-visible {
    display: block;
}

.ctc-retail-panel h3,
.ctc-sophistication-section h3 {
    margin-bottom: 18px;

    font-size: 2rem;
    line-height: 1.2;
    font-weight: 400;

    color: rgba(255,255,255,0.96);
}

.ctc-retail-panel p,
.ctc-sophistication-section p {
    line-height: 1.95;
    color: rgba(255,255,255,0.74);
}


/*
|--------------------------------------------------------------------------
| Checkbox Groups
|--------------------------------------------------------------------------
*/

.ctc-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ctc-checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 14px;

    line-height: 1.9;

    color: rgba(255,255,255,0.82);

    font-size: 0.94rem;
}

.ctc-checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;

    margin-top: 5px;

    accent-color: #C9A24A;
}

.ctc-checkbox-group a {
    color: rgba(201, 162, 74, 0.88);

    text-decoration: none;

    border-bottom: 1px solid rgba(201, 162, 74, 0.32);

    transition:
        border-color 180ms ease,
        color 180ms ease;
}

.ctc-checkbox-group a:hover {
    color: rgba(255,255,255,0.92);

    border-color: rgba(201, 162, 74, 0.62);
}


/*
|--------------------------------------------------------------------------
| Inquiry Form
|--------------------------------------------------------------------------
*/

.ctc-inquiry-section {
    display: none;
}

.ctc-inquiry-section.ctc-visible {
    display: block;
}

.ctc-enquiry-form {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.ctc-form-group {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    align-items: start;
}

.ctc-form-group > label {
    padding-top: 18px;

    font-size: 0.82rem;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    color: rgba(255,255,255,0.72);
}

.ctc-required {
    color: #C97B7B;
    margin-left: 4px;
}

.ctc-form-group input,
.ctc-form-group select,
.ctc-form-group textarea {
    width: 100%;

    padding: 16px;

    background: transparent;

    border: 1px solid rgba(201, 162, 74, 0.25);

    color: rgba(255,255,255,0.92);

    font-size: 1rem;

    line-height: 1.6;

    appearance: none;
    -webkit-appearance: none;

    border-radius: 0;

    transition:
        border-color 180ms ease,
        background 180ms ease;
}

.ctc-form-group input:focus,
.ctc-form-group textarea:focus,
.ctc-form-group select:focus {
    outline: none;

    border-color: rgba(201, 162, 74, 0.62);
}

.ctc-form-group:has(> label .ctc-required) > input,
.ctc-form-group:has(> label .ctc-required) > select,
.ctc-form-group:has(> label .ctc-required) > textarea {
    border-color: rgba(201, 162, 74, 0.75);
}

.ctc-form-group:has(> label .ctc-required) > .ts-wrapper.single .ts-control {
    border-color: rgba(201, 162, 74, 0.75) !important;
}

.ctc-form-group textarea {
    resize: vertical;
}


/*
|--------------------------------------------------------------------------
| Validation
|--------------------------------------------------------------------------
*/

.ctc-field-error {
    border-color: rgba(201, 123, 123, 0.7) !important;
}

.ctc-inline-error {
    margin-top: 8px;

    font-size: 0.82rem;

    line-height: 1.6;

    color: rgba(201, 123, 123, 0.88);

    grid-column: 2;
}


/*
|--------------------------------------------------------------------------
| Submit Section
|--------------------------------------------------------------------------
*/

.ctc-submit-section {
    padding-top: 12px;
}

.ctc-submit-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.ctc-submit-section button {
    padding: 16px 32px;

    border: 1px solid rgba(201, 162, 74, 0.52);

    background:
        linear-gradient(
            180deg,
            rgba(201, 162, 74, 0.06) 0%,
            rgba(201, 162, 74, 0.025) 100%
        );

    color: rgba(255,255,255,0.94);

    cursor: pointer;

    transition:
        opacity 180ms ease,
        border-color 180ms ease,
        background 180ms ease;
}

.ctc-submit-section button:hover {
    border-color: rgba(201, 162, 74, 0.72);

    background:
        linear-gradient(
            180deg,
            rgba(201, 162, 74, 0.09) 0%,
            rgba(201, 162, 74, 0.04) 100%
        );
}

.ctc-soft-disabled {
    opacity: 0.34;
    pointer-events: none;
}

.ctc-reset-button {
    background: transparent !important;
    border: none !important;

    color: rgba(255,255,255,0.54) !important;

    padding: 14px 0 !important;

    font-size: 0.88rem;

    letter-spacing: 0.04em;
}

.ctc-reset-button:hover {
    color: rgba(201, 162, 74, 0.82) !important;
}


/*
|--------------------------------------------------------------------------
| Honeypot
|--------------------------------------------------------------------------
*/

.ctc-honeypot-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}


/*
|--------------------------------------------------------------------------
| Visibility
|--------------------------------------------------------------------------
*/

.ctc-hidden {
    display: none !important;
}

.ctc-visible {
    display: block !important;
}


/*
|--------------------------------------------------------------------------
| Tom Select
|--------------------------------------------------------------------------
*/

.ts-wrapper {
    width: 100%;
}

.ts-wrapper.single .ts-control {
    display: flex;
    align-items: center;

    min-height: 58px;

    padding: 0 16px;

    background: transparent !important;

    border: 1px solid rgba(201, 162, 74, 0.42) !important;

    border-radius: 0 !important;

    box-shadow: none !important;

    font-size: 0.95rem;

    font-weight: 500;

    color: rgba(255,255,255,0.92) !important;
}

.ts-wrapper.focus .ts-control {
    border-color: rgba(201, 162, 74, 0.68) !important;
}

.ts-wrapper.single .ts-control .item {
    color: rgba(255,255,255,0.92) !important;
}

.ts-wrapper.single .ts-control input {
    color: rgba(255,255,255,0.92) !important;

    background: transparent !important;

    opacity: 1 !important;

    min-width: 1px !important;
}

.ts-wrapper.single .ts-control input::placeholder {
    color: rgba(255,255,255,0.42) !important;
}

.ts-dropdown {
    background: rgba(11, 31, 58, 0.985) !important;

    border: 1px solid rgba(201, 162, 74, 0.18);

    border-radius: 0;

    margin-top: 4px;

    overflow: hidden;

    box-shadow: none;
}

.ts-dropdown-content {
    max-height: 260px;
    overflow-y: auto;
}

.ts-dropdown .option {
    padding: 12px 16px;

    background: transparent !important;

    color: rgba(255,255,255,0.84) !important;

    font-size: 0.94rem;

    line-height: 1.5;
}

.ts-dropdown .active {
    background: rgba(201, 162, 74, 0.08) !important;

    color: rgba(255,255,255,0.96) !important;
}

.ts-control,
.ts-dropdown,
.ts-dropdown input {
    box-shadow: none !important;
}


/*
|--------------------------------------------------------------------------
| Autofill Override
|--------------------------------------------------------------------------
*/

.ctc-form-group input:-webkit-autofill,
.ctc-form-group input:-webkit-autofill:hover,
.ctc-form-group input:-webkit-autofill:focus,
.ctc-form-group textarea:-webkit-autofill,
.ctc-form-group textarea:-webkit-autofill:hover,
.ctc-form-group textarea:-webkit-autofill:focus,
.ctc-form-group select:-webkit-autofill,
.ctc-form-group select:-webkit-autofill:hover,
.ctc-form-group select:-webkit-autofill:focus {

    -webkit-text-fill-color: rgba(255,255,255,0.92) !important;

    box-shadow:
        0 0 0px 1000px #0B1F3A inset !important;

    -webkit-box-shadow:
        0 0 0px 1000px #0B1F3A inset !important;

    border: 1px solid rgba(201, 162, 74, 0.25) !important;

    transition:
        background-color 9999s ease-in-out 0s;

    caret-color: rgba(255,255,255,0.92);
}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 768px) {

    .ctc-enquiry-page {
        padding: 80px 20px;
    }

    .ctc-retail-panel,
    .ctc-sophistication-section {
        padding: 24px;
    }

    .ctc-form-group {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .ctc-form-group > label {
        padding-top: 0;
    }

    .ctc-submit-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .ctc-submit-actions button {
        width: 100%;
    }

    .ctc-investor-summary-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .ctc-investor-option {
        gap: 16px;
    }
}