/* =================================================================
   ENQUIRE MODAL STYLES
   ================================================================= */
.c-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 22, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    padding: 20px;
}

.c-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.c-modal {
    width: 100%;
    max-width: 600px;
    background: rgba(10, 15, 46, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 50px;
    position: relative;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.05);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.c-modal-backdrop.active .c-modal {
    transform: scale(1);
}

.c-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.c-modal__close:hover {
    background: var(--color-primary);
    color: white;
    transform: rotate(90deg);
}

.c-modal__progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    gap: 20px;
}

.progress-bar {
    flex-grow: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 33%;
    background: var(--color-primary);
    transition: width 0.4s ease;
    box-shadow: 0 0 10px var(--color-primary);
}

.step-indicator {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 600;
}

.c-modal__header {
    text-align: center;
    margin-bottom: 30px;
}

.c-modal__header .tagline {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary-light);
    margin-bottom: 10px;
    font-weight: 700;
}

.c-modal__header h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 10px;
    line-height: 1.1;
}

.c-modal__header p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.form-step {
    display: none;
    animation: fadeInStep 0.5s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeInStep {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.selection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.selection-card {
    cursor: pointer;
    position: relative;
}

.selection-card input {
    position: absolute;
    opacity: 0;
}

.card-inner {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px 10px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.selection-card:hover .card-inner {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.card-inner i {
    font-size: 1.8rem;
    color: var(--color-text-muted);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.card-inner span {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.card-inner p {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    line-height: 1.2;
}

.selection-card input:checked+.card-inner {
    background: rgba(138, 66, 255, 0.15);
    border-color: var(--color-primary);
    box-shadow: 0 10px 20px rgba(138, 66, 255, 0.15);
}

.selection-card input:checked+.card-inner i {
    color: var(--color-primary-light);
}

.step-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.step-actions.right {
    justify-content: flex-end;
}

.c-modal__form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.c-modal__form .input-group {
    margin-bottom: 15px;
}

.c-modal__form input,
.c-modal__form select,
.c-modal__form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--color-text);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

.c-modal__form input:focus,
.c-modal__form select:focus,
.c-modal__form textarea:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(138, 66, 255, 0.1);
}

.c-modal__form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='rgba(154, 148, 194, 0.5)'%3E%3Cpath d='M12 16L6 10H18L12 16Z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    cursor: pointer;
}

.c-modal__submit,
.next-btn {
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.c-modal__submit:hover,
.next-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(138, 66, 255, 0.3);
}

.back-btn {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-btn:hover {
    border-color: var(--color-text);
    color: var(--color-text);
}

.c-modal__form select option {
    background-color: #0a0f2e;
    color: var(--color-text);
}

@media (max-width: 640px) {
    .c-modal {
        padding: 30px 20px;
    }

    .c-modal__form .form-grid {
        grid-template-columns: 1fr;
    }

    .c-modal__header h3 {
        font-size: 1.6rem;
    }

    .selection-grid {
        grid-template-columns: 1fr;
    }

    .card-inner {
        flex-direction: row;
        text-align: left;
        justify-content: flex-start;
        gap: 15px;
        padding: 15px;
    }

    .card-inner i { margin-bottom: 0; }
}